Move MessageLoop to base namespace.

This adds a "using" to the header to avoid having to update everything at once. However, all forward declares and the locations that use the forward declares need to be updated (since they don't see the using in message_loop.h).

BUG=

Review URL: https://codereview.chromium.org/13243003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191566 0039d316-1c4b-4281-b951-d872f2087c98
Add support for P-256 key exchange in crypto handshake.

Merge internal change: 44173744

Add default return to avoid crashing when we get an unknown
error code from the peer. 

Merge internal change: 44160057

Fix incorrect DCHECK while serializing version negotiation
packet.

Merge internal change: 44156166

Reorder the addends in GetPacketHeaderSize to match the order
of the public header fields.

Merge internal change: 44153020

Changing retransmission and retransmittable data boolean flags
to enums.

Merge internal change: 44071662

Remove methods from QuicTime for converting to/from
microseconds and milliseconds since the epoch for QuicTime is
unspecified.  (It wraps TimeTicks in Chromium). 

Merge internal change: 44069965

Change InterArrival feedback message to traffic in delta since
the "start" of the connection instead of a delta since the epoch.

One step closer to being able to remove QuicTime::To/FromMicroseconds
since those methods don't "do the right thing".

Merge internal change: 44037996

Changing kForce into an enum.

Merge internal change: 44024887

Cleanups from landing P-256 key exchange in Chromium.

Merge internal change: 44023801

Fix for std::vector in QuicPacketPublicHeader's memory
corruption by memset.

Merge internal change: 44022862

Merging cleanup changes from chromium.

Merge internal change: 44009665

Plug in the new decrypter and encrypter after the new keys have
been derived.

This is a first cut, as some details on changing the encryption
keys still need to be worked out.  Our interim solution is
permissive trial decryption, which allows the peer to encrypt
with the wrong key, either using the new key too early or using
the null key for too long.  The latter will leak confidential
information, so we err on the side of using the new key too early.

WARNING: the interim solution protects against eavesdroppers, but
is vulberable to active attackers.

Merge internal change: 44006658

Start tracking server and client stream resets and export them
via varz.

Merge internal change: 43971847

Pull out RstStreamFrame error code from QuicErrorCode so that
they don't appear in the tracked ConnectionClose error map.

This will also help in tracking RstStream error codes separately.

Merge internal change: 43968620

Adding Client/Server logging to all LOGS/DLOGs Not bothering
with VLOGs/DVLOGS unless it's requested.

Merge internal change: 43948596

crypto: step 5. 

This change implements source-address tokens at the server and has the client 
echo them. Source address tokens are opaque (to the client) bytestrings that 
prove ownership of an IP address. In order to prevent amplification attacks, 
the server demands that the client have a valid source address token for the IP 
address that it's claiming to come from and that the token is reasonably 
recent. 

Since we already have it implemented, this code uses AES-GCM to encrypt and 
authenticate the tokens with a fixed, dummy secret (for now). In the future, 
the secret will be derived from the primary, private key in the same way that 
SessionTicket keys used to be. 

The QuicEncrypter/Decrypter code was written to be quite specific to the task 
of encrypting and decrypting packets and, as part of this, it exposed only 64 
bits of the AEAD nonce. 

Since all GFEs will share the same token secret, and they'll all create tokens 
with random nonces, that runs an unacceptably high risk of an attacker 
obtaining two tokens with the same nonce. 

Thus this change also reworks the QuicEncrypter/Decrypter so that the full 
nonce is exposed and thus we can use 96-bit nonces. That's still not completely 
wonderful but, at 10Mpps an attacker would still take a year to obtain a pair 
of nonces, so it's good enough for a while at least. 

Merge internal change: 43893806 

R=rch@chromium.org


Review URL: https://chromiumcodereview.appspot.com/13282004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191569 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Remove dead SoftwareScreenDimmingRequested code.

This removes code that listened for
SoftwareScreenDimmingRequested D-Bus signals emitted by
powerd.  powerd now calls a SetDisplaySoftwareDimming method
exported by Chrome.

BUG=221391
TBR=brettw@chromium.org

Review URL: https://chromiumcodereview.appspot.com/13247009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191570 0039d316-1c4b-4281-b951-d872f2087c98
Move AppIsolation out of Extension Class

TBR=ben@chromium.org, joi@chromium.org
(ben - gypis, joi - public/browser/ comment update)
BUG=159265


Review URL: https://chromiumcodereview.appspot.com/12770031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191571 0039d316-1c4b-4281-b951-d872f2087c98
Introduce GetComponentExtensionIMEManager.

BUG=164377
TEST=None

Review URL: https://chromiumcodereview.appspot.com/13207005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191572 0039d316-1c4b-4281-b951-d872f2087c98
Revert 191571 "Move AppIsolation out of Extension Class"

browser_tests and unit_tests failures on many bots.  For example:
IsolatedAppsManifestTest.IsolatedApps crashes here:

http://goo.gl/3iAgy

> Move AppIsolation out of Extension Class
> 
> TBR=ben@chromium.org, joi@chromium.org
> (ben - gypis, joi - public/browser/ comment update)
> BUG=159265
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/12770031

TBR=rdevlin.cronin@chromium.org

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191573 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1458.0 to 1459.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191575 0039d316-1c4b-4281-b951-d872f2087c98
Attempt to fix chromium.chrome linux compile.

BUG=none
TBR=alyssar@google.com

Review URL: https://codereview.chromium.org/13394002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191581 0039d316-1c4b-4281-b951-d872f2087c98