[SyncFS] Support Delete operation on LevelDBWrapper::Iterator

After running Delete() method, the iterator is expected to index
the next entry, if exists.


BUG=347425
TEST=./unit_tests --gtest_filter="LevelDBWrapper*"

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288991 0039d316-1c4b-4281-b951-d872f2087c98
Simplify android_webview wrap_contents mode.

This changes the webview implementation of wrap_contents mode
from custom code explicitly calculating the layout size to a
pair of settings: "ignore viewport tag" (for older apps) and
"set layout size height to 0".

This means this code gets simpler and means we don't have to
fix a bunch of races present in the current version of the
code.

BUG=392460, 398445
TBR=cevans@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288992 0039d316-1c4b-4281-b951-d872f2087c98
Fix an issue with view manager init service where you had to retain a connection to the init service until the window tree host was created otherwise embed calls would be dropped.

R=sky@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288993 0039d316-1c4b-4281-b951-d872f2087c98
Service Worker: in Unregister, wait until after the active worker no longer controls a document

As per spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#unregister-algorithm

Unregister shouldn't doom the active worker or delete the registration until
the active worker no longer controls a document. This means that if register()
is called before that happens, the unregistration is effectively canceled.

BUG=388095
TEST=https://codereview.chromium.org/416003003/

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288994 0039d316-1c4b-4281-b951-d872f2087c98
Add owner for HttpCache.EntryLockWait

BUG=
NOTRY=true

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288996 0039d316-1c4b-4281-b951-d872f2087c98
Add a bit of logging to AutoEnrollmentController.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288997 0039d316-1c4b-4281-b951-d872f2087c98
Disable PlatformAppBrowserTest.Messaging on Windows as its flaky.
TBR=mgiuca
BUG=171450

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288998 0039d316-1c4b-4281-b951-d872f2087c98
Supervised users: Add prefs for custodian profile URLs.

BUG=372381

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288999 0039d316-1c4b-4281-b951-d872f2087c98
Certificate Transparency: Use component updater for EV whitelist

Fetches the list of EV certificate hashes using the component updater.
Once this is in, we could gather data on how many EV certificates do
not appear in any Certificate Transparency log.

BUG=339128

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289001 0039d316-1c4b-4281-b951-d872f2087c98
Only deactivate SupervisedUserService when removing its delegate.

BUG=372381

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289002 0039d316-1c4b-4281-b951-d872f2087c98
Disable MSE_ClearKey/EncryptedMediaTest.Playback_VP9Video_WebM/0 as its failing often.

BUG=402766
TBR=xhwang@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289003 0039d316-1c4b-4281-b951-d872f2087c98
[Mac, Win] Only show the user manager tutorial if "See what's new" is clicked.

- remove the profile preference that used to keep track of showing the
tutorial any time the user manager was shown for a particular profile.

- show the upgrade bubble for local profiles as well (so that local profiles
have a chance to see the tutorial)

- for the local profiles upgrade bubble, don't show the "Not you?" link as
it doesn't really make sense.

BUG=399679
TBR=rpetterson@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289005 0039d316-1c4b-4281-b951-d872f2087c98
mojo: Reland "Convert gles2 to the new thunking system."

This maintains the fixes for the mac isolate files, and switches around
the targets used in the gyp files to fix the unit tests in component builds.

BUG=386799
First Review URL: https://codereview.chromium.org/413303002
Second Review URL: https://codereview.chromium.org/448873002

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289006 0039d316-1c4b-4281-b951-d872f2087c98
GN: Make content_shell and webkit_unit_tests work in component build

Except for webrtc, this produces content_shell and webkit_unit_tests
binaries that link and run successfully on linux.

R=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289007 0039d316-1c4b-4281-b951-d872f2087c98
Mac Video Capture: correct to float the erroneous handling of frame rate as int.

This is a fix for a latent bug.

Tentatively, this is also causing http://crbug.com/394315.

BUG=380463, 394315

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289008 0039d316-1c4b-4281-b951-d872f2087c98
Tiny alignment for HID screen.

Screenshots https://drive.google.com/a/google.com/folderview?id=0B0Pq_70XQgc1YzAxUWVXV2JyWkE&usp=sharing

BUG=398880
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289009 0039d316-1c4b-4281-b951-d872f2087c98
Browsing Data Deletion: Style fixes

These nits were noted when a new storage type was added in
crrev.com/394063003 and this CL applies those style changes and other
suggestions to the other files. Standardize on DCHECK(!x), use
DCHECK_CURRENTLY_ON() where possible, use empty() rather than !size(),
all the trivial cpplint.py findings, and add/use ASSERTs in mock
classes (vs. CHECK/DCHECKs)

No functional changes.

R=bauerb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289010 0039d316-1c4b-4281-b951-d872f2087c98
GetProfileByUser deprecated and renamed to GetProfileByUserUnsafe.

Created safe alternative which is called GetProfileByUser.
The plan is to investigate all usages of GetProfileByUserUnsafe one by one and
replace them with a safe version, if possible.
Also warning message added for cases when GetProfileByUserUnsafe returns profile
of a wrong user or signin profile. That will help us to detect suspicious calls
to GetProfileByUserUnsafe while work in progress.

BUG=361528
TBR=yoz,dcheng,agl,dewittj,skuhne,derat

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289011 0039d316-1c4b-4281-b951-d872f2087c98
Disable ServiceWorkerBrowserTest.Reload which sometimes crashes

BUG=393486
TEST=Tree is open more of the time
TBR=horo
NOTRY=TRUE

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

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