Refactoring Geolocation Infobar part4

Changes in this CL.
One google_location_settings_helper.h can be implemented separately for
chrome and unit_tests.
Removed google_location_settings_helper_factory.*
Removed the java GoogleLocationSettingsHelper files
Added 3 new unittests to test the new android infobar functionailty.

BUG=152236


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166343 0039d316-1c4b-4281-b951-d872f2087c98
Try #2: Run safebrowsing_service_test through the net testserver code.

Allows us to use ephemeral ports.

Original review: https://chromiumcodereview.appspot.com/10073033

BUG=96459,119403

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166344 0039d316-1c4b-4281-b951-d872f2087c98
Reorder ExtensionSystem members to be destroyed in the order they're created.

BUG=159265


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166345 0039d316-1c4b-4281-b951-d872f2087c98
Implement listing functions in DriveSyncClient.

BUG=157815

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166346 0039d316-1c4b-4281-b951-d872f2087c98
cc: Disable partial resource updates on Android.
    
This makes partialTextureUpdatesMax constant 0 when building for OS_ANDROID.
    
BUG=156945
TEST=manual


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166347 0039d316-1c4b-4281-b951-d872f2087c98
Removed hack that hid Calculator's one-column-of-white-pixels-on-OS-X

Issue 151985 caused a one pixel wide column of white on the right side
of the Calculator app on OS X. To make this less visible, elements were
added to the Calculator in http://crrev.com/11091078 that would mask
that column on OS X only. Since then the area next to the Calculator
keyboard has been made gray on all platforms to mitigate any bug that
would allow the Calculator window to be resized. This effectively hides
the one-column-of-white-pixels on OS X so the pixel-hiding hack can be
removed.

BUG=155383


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166348 0039d316-1c4b-4281-b951-d872f2087c98
[win] Activate launcher after showing it.

Without this, if chrome is already running and the launcher is run it does not get activated, causing it to close after 2 seconds.


BUG=159667, 159713, 159618


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166349 0039d316-1c4b-4281-b951-d872f2087c98
win: Do not present with GDI if the device is lost or the swap chain suspended.

BUG=159744

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166350 0039d316-1c4b-4281-b951-d872f2087c98
IPC to generate mailbox names on the GPU process IO thread.

This allows the browser and renderer processes to get new unique mailbox names without syncing with the GPU process main thread.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166351 0039d316-1c4b-4281-b951-d872f2087c98
Removed BluetoothAdapterWin from BluetoothAdapterFactory.

BluetotohAdapterWin is not fully implemented and causes a lot of noises in other tests, so we are removing it for now.


BUG=135470


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166352 0039d316-1c4b-4281-b951-d872f2087c98
LayerImpl::tryScroll must convert its content-space point to layer space before comparing to the nonFastScrollableRegion.

The hit test resulting point that the tryScroll() method gets is in content
space, since it is the result of mapping via the inverse screenSpaceTransform.
However, the nonFastScrollableRegion is in layer space, so it should not compare
the point against the region directly. We add a conversion from content to layer
space before doing the test.

This is now covered by the following tests. Because the layer is given a
contentsScale, the tests fail without the above change made to tryScroll.

Tests:
cc_unittests:LayerTreeHostImplTest.nonFastScrollableRegionBasic
cc_unittests:LayerTreeHostImplTest.nonFastScrollableRegionWithOffset

R=enne
BUG=159676


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166353 0039d316-1c4b-4281-b951-d872f2087c98
Random tests in browser_tests fail on linux coverage bot. Disable it from running until we figure out the cause.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166354 0039d316-1c4b-4281-b951-d872f2087c98
Update libjingle 226:230.

TEST=try bots

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166356 0039d316-1c4b-4281-b951-d872f2087c98
Fix adb_run_content_shell to correctly pass URL.

Also fixes testshell to support launching with a URL and triggering
new intents (and fixes it's adb_run_chromium_testshell.

BUG=159602


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166357 0039d316-1c4b-4281-b951-d872f2087c98
First couple of steps of improving the extension/app update process.

For Apps and Extensions with a lazy background page, this will delay installing
an update until the background page gets unloaded (or next chrome restart).
Also adds a chrome.runtime.onUpdateAvailable event which is fired when an update is
available but isn't being installed immediately because the app is not idle.
It doesn't change anything yet for Extensions with a persistent background page
(or extensions without a background page at all). Those still get updated as soon
as an update is found.

BUG=37971
BUG=143260
TBR=nick@chromium.org 

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166358 0039d316-1c4b-4281-b951-d872f2087c98
Update Time and TimeTicks for NaCl now that it has CLOCK_MONOTONIC.
BUG=116317
TEST=browser_tests, PPB_Core

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166359 0039d316-1c4b-4281-b951-d872f2087c98
Get rid of unnecessary header file #includes.


BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166360 0039d316-1c4b-4281-b951-d872f2087c98
Add dmikurube+clang to WATCHLIST.


BUG=none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166361 0039d316-1c4b-4281-b951-d872f2087c98
cc: Replace the WebCore::UnitBezier class with the SkUnitCubicInterp() method from Skia.

This method exists in Skia, but is not publicly consumable/linkable with a
component build. Skia will expose this (or a similar) method through a proper
public API, and we should use it. But in the meantime, we make a copy of the
method in timing_function.cc, and use it there in place of WebCore's UnitBezier
class.

Tests:
cc_unittests:TimingFunctionTest.CubicBezierTimingFunction

This test compares the output of the timing function against baseline values
recorded with WebCore's UnitBezier class. If new methods are able to come
closer to those values, we should decrease the epsilon used in the test
accordingly.

R=jamesr
BUG=147395

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

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