Disable TCP Keep Alive on mobile to reduce power usage.

TCP Keep Alives will periodically send TCP packets to keep the
connection alive. This may wake up the radio, which is expensive in
terms of power utilization. Disable it on mobile.

BUG=258361

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243047 0039d316-1c4b-4281-b951-d872f2087c98
Add tests to make sure ChromeELF.dll imports are correct:

1. Make sure chrome_elf.dll imports nothing besides kernel32 and some
msvc libs (DEBUG builds)
2. make sure chrome_elf.dll is always the first entry in chrome.exe's
import table.

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243048 0039d316-1c4b-4281-b951-d872f2087c98
ui: Rename ui_export.h to ui_base_export.h

Also renames UI_EXPORT to UI_BASE_EXPORT.

BUG=299841
TEST=None, no functional changes
TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243050 0039d316-1c4b-4281-b951-d872f2087c98
Revert of https://codereview.chromium.org/109483003/
Reason for revert: Breaking WIN tests on waterfall

TBR=robertshield@chromium.org,siggi@chromium.org
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243055 0039d316-1c4b-4281-b951-d872f2087c98
Mac: Fix content shell crash on startup

We don't need to register WebKitWeightWatcher fonts any more because of [1].

[1] http://src.chromium.org/viewvc/blink?view=revision&revision=164460

BUG=331629
TBR=jochen@chromium.org,eae@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243058 0039d316-1c4b-4281-b951-d872f2087c98
Initial implementation of Bare Metal Mode for NaCl.

This CL introduces bare_metal_main, which contains the implementation for
Bare Metal Mode replacing nacl_secure_service, and ELF related utility.
Some codes are extracted from native_client/src/trusted/service_runtime
in order to separate Bare Metal related stuff completely from service runtime.
Some parts should be refactored and merged eventually, probably after we
convince ourselves that the Bare Metal is stable enough.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3734
TEST=Tried to load the elf binary with this loader, and made sure that the entry point is reached.
TBR=jln@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243060 0039d316-1c4b-4281-b951-d872f2087c98
FileAPI: Remove unused function from CallbackDispatcher

A callsite of this function was removed by pepper-side overhaul.
http://crrev.com/234883


BUG=n/a
TEST=n/a
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243061 0039d316-1c4b-4281-b951-d872f2087c98
Add third_party/brotli/src to .gitignore.

BUG=330462
NOTRY=true
TBR=thakis

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243062 0039d316-1c4b-4281-b951-d872f2087c98
Remove calls of PrerenderTracker::TryCancelOnIOThread in SafeBrowsingResourceThrottle and instead PrerenderContents::Destroy directly on the UI thread.

This is part of the work on removing calls to ResourceRequestInfo::GetAssociatedRenderView. The last callers to that method are using it to cancel prerenders if they haven't been used yet, so the checking/cancelling needs to all move to the UI thread.

BUG=304341
R=davidben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243063 0039d316-1c4b-4281-b951-d872f2087c98
Add svn:ignore for third_party/brotli.

BUG=330462
TEST=None



git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243064 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 164482:164487

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=164483:164487&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243068 0039d316-1c4b-4281-b951-d872f2087c98
Make "//" label illegal.

Currently GN implies empty target name for such label since
it thinks that the last path segment is between the slashes.

BUG= none
TEST= gn_unittests
R=brettw@chromium.org

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243071 0039d316-1c4b-4281-b951-d872f2087c98
Remove getCurrentMountPointUrl from the directory model.

This function uses paths and it is redundant, therefore it is removed by this patch.

TEST=Tested manually.
BUG=328252

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243072 0039d316-1c4b-4281-b951-d872f2087c98
Ensure the Mac app_list's initial NSCollectionView layouts obey frameForItemAtIndex:

AppKit's NSCollectionView will delay layout of items it contains until
the view is visible on screen and needs a display. The Mac App Launcher
populates collection views for all pages when created, leading to some
pages having their layout delayed. Sometimes, the first display (and
subsequent layout) is triggered during a scroll animation provided by an
NSScrollView.

In these cases, I've traced down AppKit attempting to set the frame of
the collection items to a non-integral origin. Furthermore, it's an
NSRect that differs from the view's self-reported -[NSCollectionView
frameForItemAtIndex:] from when the item cell was first created. These
non-integer coordinates lead to drawing and animation glitches because
the grid items are no longer properly pixel-aligned.

This CL intercepts the -[NSView setFrame:] call that NSCollectionView
attempts in its sometimes-delayed layout, and ensures that it matches
the value that would be given by [NSCollectionView frameForItemAtIndex:]
when no animations are running. We need to provide our own
implementation of frameForItemAtIndex because the grid view can create
new views when dragging items between pages, which can also be triggered
during a scroll animation.

BUG=329454

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243075 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Re-implement the notifications for removable devices in JavaScript.

Currently the notifications for removable devices are implemented in C++. But
now we have the extension notification API, so we can implement thme in
JavaScript.

This CL adds an event of device state change to the file manager private API,
and handles it to show the notifications.

BUG=330096
TEST=insert USB on link

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243076 0039d316-1c4b-4281-b951-d872f2087c98
Remove getCurrentDirectoryURL and getCurrentDirPath from directory_model.js.

This CL removes two methods which rely on URL and full paths, what is deprecated.

TEST=Tested manually.
BUG=328252

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243077 0039d316-1c4b-4281-b951-d872f2087c98
telemetry: Fix screen recording with multiple connected devices

Make it possible to use the Android screen recording profiler with
multiple connected devices. Only the screen on the device that is
actually running the telemetry test will get recorded.

BUG=331435
TEST=tools/perf/run_benchmark smoothness.key_mobile_sites \
--page-filter=linus --browser=android-content-shell \
--profiler=android-screen-recorder
NOTRY=true

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

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