Whitelist some Google apps for OAuth auto_approve

BUG=280372
NOTRY=true

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220105 0039d316-1c4b-4281-b951-d872f2087c98
[Sync] Don't journal/unapply types that are already disabled

If a type has already been journaled/unapplied, we don't need to do it again.
Just ignore those types in that case.

BUG=270054
TEST=Enable full sync encryption. Disable a datatype. Sync should not DCHECK.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220106 0039d316-1c4b-4281-b951-d872f2087c98
cc: Handle deferred GL initialization failure.

Adds some tests that demonstrate behaviour when deferred GL
initialization fails, and changes to prevent crashes and lose the
output surface in this case.

The changes are kept local to the deferred initialization path
in LayerTreeHostImpl.

R=boliu
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220107 0039d316-1c4b-4281-b951-d872f2087c98
ErrorConsole Switch, Duplicate Error Detection, Dev Mode Check

Add in a command-line switch for ErrorConsole ('enable-error-console').
Add in duplicate-error detection, so that multiple copies of the same error aren't both stored.
Add in a check so that the ErrorConsole only stores errors if the user is in Developer Mode.
Rename ManifestParsingError to ManifestError, JavascriptRuntimeError to RuntimeError

BUG=21734

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220108 0039d316-1c4b-4281-b951-d872f2087c98
Minor status tray notification cleanup

BUG=none
For display_error_observer_chromeos.cc:
TBR=mukai@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220109 0039d316-1c4b-4281-b951-d872f2087c98
Replace ContinueGetResourceList by GetRemainingFileList().

ContinueGetResourceList is deprecated and split into GetRemainingChangeList and
GetRemainingFileList(). For Sync file system, it is called only for the
FileList, so this CL simply replaces it by GetRemainingFileList().

BUG=277253
TEST=Ran unit_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220110 0039d316-1c4b-4281-b951-d872f2087c98
Revert 219811 "Opt *.corp.google.com into HSTS."

> Opt *.corp.google.com into HSTS.
> 
> BUG=270911
> R=mal@chromium.org, rsleevi@chromium.org
> 
> Review URL: https://codereview.chromium.org/23251006

TBR=cevans@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220112 0039d316-1c4b-4281-b951-d872f2087c98
Added documentation for Courgette internals. 

It consists of a markdown file, png diagrams, and the generated html output. 

BUG=274829
R=benchan@chromium.org, dgarrett@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220113 0039d316-1c4b-4281-b951-d872f2087c98
Factored common functionality out of the Courgette stress test scripts

BUG=274054
R=dgarrett@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220115 0039d316-1c4b-4281-b951-d872f2087c98
Revert 219673 "Fix Views Combobox and Tree View text input."
Reverting because of most probable regression (https://code.google.com/p/chromium/issues/detail?id=280605).
Note: We need to implement gettextinputclient in the webview class, which needs to get client from web contents.

> Fix Views Combobox and Tree View text input.
> 
> Make InputMethodBridge not a TextInputClient, use actual clients.
> InputMethodBridge was simply forwarding to actual client views.
> (e.g. NativeTextfieldViews and PrefixSelector for TreeView/Combobox)
> 
> Remove Views::InputMethod::On[Focus|Blur]() and their calls.
> Simply update the host's TextInputClient on View focus changes. 
> Fixes r216992's regression (input not sent to Combobox/TreeView).
> The IME mode indicator also now shows in dialogs more often :)
> 
> Ignore Widget activation in InputMethodBase::GetTextInputClient.
> (fixes linux_chromeos initial omnibox input with this patch, seems ok)
> 
> Call View::On[Focus|Blur] from Combobox and TreeView.
> (mostly for correctness and NotifyAccessibilityEvent, not critical)
> Remove the OnCaretBoundsChanged call from TreeView.
> (unnecessary and doesn't set correct candidate window bounds)
> Remove unused DesktopRootWindowHost::OnNativeWidget[Focus|Blur].
> Handle NULL TextInputClient* objects in TextInputTestHelper.
> 
> BUG=276720,271754,265337
> TEST=Test Win (desktop, Win8 Metro, and Aura builds), CrOS, and Linux Aura's Omnibox, Find Bar, Bookmark Bubble, and Edit Bookmark Dialog's textfield text entry (and text input handling to select combobox and tree view elements) with EN, JA, and other IMEs, and related IME usage (Win+Space to change IME on Win8, Alt+` to change modes, etc.). Also test with --enable-text-services-framework. Note that IME candidate windows may not appear or may appear at incorrect positions for tree views and comboboxes, but this seems like a separate issue.
> R=sky@chromium.org
> 
> Review URL: https://chromiumcodereview.appspot.com/23245012

TBR=msw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220121 0039d316-1c4b-4281-b951-d872f2087c98
Remove simple_util::GetMTime from simple cache.

With base::PlatformFile::GetPlatformFileInfo now being high resolution, there's
no need for this system specific cruft in the simple disk cache.

R=clamy,pasko
BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220123 0039d316-1c4b-4281-b951-d872f2087c98
Add support for inverse transform animations.

This allows creation of a transform and its inverse that would be used
to counter-animate some child layer.

BUG=270857

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220124 0039d316-1c4b-4281-b951-d872f2087c98
Fix possible NULL pointer deferencement.

R=rch@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220125 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Index argument range check for GetPrepopulatedTemplateUrlAt.

BUG=278480
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220126 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] Disabled running nacl_io_test for glibc on Windows.

These NEXEs take > 40seconds to load on the trybots, so the browser_tester is
timing out. It is strange because the buildbots are able to load the NEXE in ~4
seconds.

BUG=280753
R=sbc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220127 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] Improve the speed of the MemMountNode.

* The MemMountNode was reallocating in 65k chunks, so was incredibly slow when
writing large amounts of data. Instead, grow the length expoentially up to
fixed size, then grow linearly. In my test, the previous code took 30 seconds
to write 65Mb, the new code takes less than a second.

* Lock the node_lock_ when calling MemMountNode::FTruncate.
* Add some tests for FTruncate.

BUG=none
R=sbc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220128 0039d316-1c4b-4281-b951-d872f2087c98
Update notification tray icons for Mac.

BUG=none
TEST=none
R=dewittj@chromium.org, oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220129 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused variable declaration.

This issue was found by a linter.

R=pkasting

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220130 0039d316-1c4b-4281-b951-d872f2087c98
PNaCl test: Use "private" version of nacl_exception library to bypass IRT

Since I changed the PNaCl shims to filter out IRT interfaces that are
not supported under PNaCl (in
http://src.chromium.org/viewvc/chrome?view=revision&revision=213741),
this test no longer tests that the nacl_exception syscalls are
disabled under PNaCl.  It passes because the nacl_exception IRT
interface is blocked.

Changing the test to use the "private" version of the library means it
uses the syscalls directly, which ensures we test whether the
nacl_exception syscalls are disabled under PNaCl.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3574
TEST=browser_tests

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

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