[Profiles] Don't treat GAIA names differently than regular profile names.

This also half-enables the ability to use the Gaia profile pictures as the profile 
avatar on the main truck if you had previously used the 
--new-profile-management or --gaia-profile-info flags before. (Because
the chrome://settings doesn't enable setting it outside the flag).

There was special, ancient logic that treated profiles using a Gaia names 
as "special", which didn't mix well with syncing of the profile name. Basically, 
you could either use a synced profile name, or a Gaia name, but not both 
(i.e. download the synced name and then be able to rename the profile back
to its Gaia name).

I think this fixes it. and shouldn't really break a lot of other things, as the two 
functions that I've deleted weren't really used anywhere.

BUG=352090
TEST=Be able to rename a local profile. Be able to sign in to a profile, and if 
this is the first time you're doing it, the profile name should be the user's Gaia
 first name. Be able to rename this profile to a custom name, and back to the
 Gaia name. Finally, if you're signing in with this account on a different profile,
 the name that you last left off should be the one that is synced/used.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259161 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Improve RawSharedBuffer's error reporting, kind of.

* Make Create() just require |num_bytes| to be nonzero (so any failure
  is due to "resource exhaustion".
* Make a |IsValidMap()| to validate arguments to |Map()|, and add a
  |MapNoCheck()| that's like |Map()| but skips argument validation.
* Uncomment the part of SharedBufferDispatcherTest.CreateInvalidNumBytes
  that failed.

R=davemoore@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259162 0039d316-1c4b-4281-b951-d872f2087c98
Remove PlatformFile from spell checker

BUG=322664

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259163 0039d316-1c4b-4281-b951-d872f2087c98
Pull bookmark app creation from TabHelper into its own class.

This CL adds a BookmarkAppHelper which encapsulates the creation
of a bookmark app from a WebContents, allowing tests to be written.

The implementation is pulled from TabHelper where this functionality was previously implemented.

BUG=318607

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259165 0039d316-1c4b-4281-b951-d872f2087c98
Create new Autofill tables as part of DB migration.

Currently, migration from a version 20 database to the latest version fails,
because the migration code assumes that the autofill_dates table exists, but it
was not present at version 20, and is never created during migration.  This CL
fixes the migration path to be more careful and more sane.

BUG=none
TEST=unit_tests
R=pkasting@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259166 0039d316-1c4b-4281-b951-d872f2087c98
[VideoPlayer] Update manifest file.

- Make sure that it works correctly from incognito world.
- Add handlers for movie extensions.

BUG=none
TEST=manually
R=hirono@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259167 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Reland "Move EventSender from CppBoundClass to gin::Wrappable." (https://codereview.chromium.org/199793025/)

Reason for revert:
Causes LayoutTest failures. Examples:

http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.6/builds/25557

Original issue's description:
> Reland "Move EventSender from CppBoundClass to gin::Wrappable."
> 
> BUG=297480, 331301
> COLLABORATOR=hajimehoshi@chromium.org
> R=jochen@chromium.org
> TBR=jochen
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259127

TBR=jochen@chromium.org,hajimehoshi@chromium.org,tfarina@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=297480, 331301

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259168 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 5683.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259169 0039d316-1c4b-4281-b951-d872f2087c98
Use of validating IPC enum macros for quota messages

This is part of long-running background task to remove remaining
uses of the unchecked IPC_ENUM_TRAITS() macro

BUG=246708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259170 0039d316-1c4b-4281-b951-d872f2087c98
Always use system drag to implement "-webkit-app-region: drag | no-drag". (Mac)

This gives consistent behavior regardless of the number of draggable regions.

This also removes the NativeAppWindowCocoa* in ControlRegionView. 

BUG=355948,354896

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259171 0039d316-1c4b-4281-b951-d872f2087c98
Widened suppression for uninitialized access in gtest print further.

TBR=glider
NOTRY=true
BUG=64887

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259172 0039d316-1c4b-4281-b951-d872f2087c98
Encrypted Media: Guess init data type in GenerateKeyRequest call.

BUG=355795

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259173 0039d316-1c4b-4281-b951-d872f2087c98
Safebrowsing download protection: include tab url chain & referrer.

BUG=342617

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

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

BUG=321767
TEST=NetworkPortalDetectorImplBrowserTest.InSessionDetection
R=nkostylev@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259185 0039d316-1c4b-4281-b951-d872f2087c98
Update V8 to version 3.25.24.1 (based on bleeding_edge revision r20219).

R=svenpanne@chromium.org
TBR=svenpanne@chromium.org

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259194 0039d316-1c4b-4281-b951-d872f2087c98
IA power data provider.

BUG=337138

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259197 0039d316-1c4b-4281-b951-d872f2087c98
Binary files for new PeImageReader unittests.

BUG=none
R=robertshield@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258998

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259198 0039d316-1c4b-4281-b951-d872f2087c98
Move DNS API to //extensions.

This was an easy target to move and it kills one more //chrome dep
from //extensions.

BUG=355752
TBR=rpaquay@chromium.org FYI for mechanical sockets changes

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

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