Keep the original size of the HTML document with the page size specified in CSS while saving it to PDF.

BUG=401801

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

Cr-Commit-Position: refs/heads/master@{#289771}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289771 0039d316-1c4b-4281-b951-d872f2087c98
Deprecate the QUIC field trial param "congestion_options"
in favor of "connection_options".

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

Cr-Commit-Position: refs/heads/master@{#289772}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289772 0039d316-1c4b-4281-b951-d872f2087c98
Update the Website Settings option page when content settings are updated.

BUG=372607

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

Cr-Commit-Position: refs/heads/master@{#289773}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289773 0039d316-1c4b-4281-b951-d872f2087c98
Use correct icon for the disconnect button in the new avatar bubble

BUG=403018

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

Cr-Commit-Position: refs/heads/master@{#289774}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289774 0039d316-1c4b-4281-b951-d872f2087c98
Propagate error details via the onError delegate in Cast Socket, then to the client via chrome.cast.channel.onError.

Fire an onError event and close the socket on connection failure.


BUG=343228

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

Cr-Commit-Position: refs/heads/master@{#289775}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289775 0039d316-1c4b-4281-b951-d872f2087c98
Fix memory leak in NotificationConversionHelper (CL
441753002) and re-upload the part routing newly created notifications to notification provider API.

CL 441753002 was reverted. The only difference between this
CL and CL 441753002 is: starting from line 126 of
notification_conversion_helper.cc, changed a raw pointer
(unsigned char* bitmap_data) to a scoped pointer
(scoped_ptr<unsigned char[]> bitmap_data).

BUG=403759
BUG=403775

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

Cr-Commit-Position: refs/heads/master@{#289776}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289776 0039d316-1c4b-4281-b951-d872f2087c98
Keep a copy of page id in RenderViewHost.

Also, ensure that it stays in sync with the renderer's copy.

(This is fixing and recommitting r288196 which was reverted with r288444.)

BUG=99379, 369661
TEST=no CHECKs hit in the wild, all tests stay green

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

Cr-Commit-Position: refs/heads/master@{#289777}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289777 0039d316-1c4b-4281-b951-d872f2087c98
[Findit] changed stacktrace, crash_util and component dictionary to support any Git repository in DEPS file.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#289778}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289778 0039d316-1c4b-4281-b951-d872f2087c98
Chromecast: MP2TS stream parser should always be enabled.

R=lcwu@chromium.org,damienv@chromium.org
BUG=None

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

Cr-Commit-Position: refs/heads/master@{#289779}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289779 0039d316-1c4b-4281-b951-d872f2087c98
Fix mojo_example_apptests service application termination.

Quit ExampleServiceImpl RunLoop on Ping and RunCallback.
(this terminate the service application after each call)
Extended ExampleService lifetime is not required for now.

BUG=392646
TEST=mojo_example_apptests passes and terminates correctly.
R=ben@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#289780}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289780 0039d316-1c4b-4281-b951-d872f2087c98
Revert "Fix for missing change in the revert of default surprise me behaviour."

This CL reverts: https://codereview.chromium.org/362393002


BUG=402542
TEST=
1. enable "surprise me" from wallpaper picker on ChromeOS
2. verify the wallpaper change to a different wallpaper next day (may take a few seconds after login)

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

Cr-Commit-Position: refs/heads/master@{#289781}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289781 0039d316-1c4b-4281-b951-d872f2087c98
Add error string for case when a pre Jelly Bean phone is setup for easy unlock

BUG=None
TEST=None

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

Cr-Commit-Position: refs/heads/master@{#289782}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289782 0039d316-1c4b-4281-b951-d872f2087c98
[SyncFS] Count added/removed DB entries in building/deleteing indexes.


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

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

Cr-Commit-Position: refs/heads/master@{#289783}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289783 0039d316-1c4b-4281-b951-d872f2087c98
Hook up new easyUnlockPrivate API function for updating lock screen

This will replace screenlockPrivate methods for updating screenlock
icon, auth type, and message.

The cl starts migration of the Easy Unlocking logic from Chrome app
to native code. The new easyUnlockPrivate function should be removed once
the migration is complete (probably in M39). It moves resources used
on screen lock from Easy Unlock app to Chrome, and simplifies
generating icon URL to be used in the screenlock web ui.

Adds support for setting icon tooltip and animating the icon directly in
screenlock web ui (instead of calling showCustomIcon for each animation
frame, which can produce somewhat laggy animation).

BUG=393792,397366,397360,385719, 402106

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

Cr-Commit-Position: refs/heads/master@{#289784}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289784 0039d316-1c4b-4281-b951-d872f2087c98
Print version number on athena background.

BUG=403096
TEST=Run athena_main, see version number on background in overview or when no activities open.

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

Cr-Commit-Position: refs/heads/master@{#289785}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289785 0039d316-1c4b-4281-b951-d872f2087c98
VideoRendererImpl: Delay report of BUFFERING_HAVE_NOTHING.

Currently VideoRendererImpl triggers the pipeline to underflow immediately after
it runs out of frame. This is not desired because relatively small video
decoding glitch would cause audio to stutter as well, which is more noticeable
than some dropped video frames. With this CL, VRI only declares
BUFFERING_HAVE_NOTHING after it has run out of buffers and have not painted any
frame for certain amount of time (e.g. 3s in media time). In other words, video
can still trigger pipeline underflow but won't do this until really necessary.

BUG=144683
TEST=Tested by making video decoder slower. See
https://codereview.chromium.org/464113003/

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

Cr-Commit-Position: refs/heads/master@{#289786}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289786 0039d316-1c4b-4281-b951-d872f2087c98
Add additional UMA stats for remembering certificate decisions.

In the new experiment for remembering certificate decisions by users, decisions
expire after a certain amount of time. This CL adds measures to explicitly
measure how ofter users change their mind after an expiration of their prior
decision.

BUG=262615
R=felt@chromium.org
TBR=gunsch@chromium.org,torne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#289787}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289787 0039d316-1c4b-4281-b951-d872f2087c98
In order to get power consumption low enough for lucid sleep to be
feasible, we need to freeze all the chrome renderers while the system is
suspended.

BUG=364339

Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>

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

Cr-Commit-Position: refs/heads/master@{#289788}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289788 0039d316-1c4b-4281-b951-d872f2087c98
Add UMA stats for starting and stopping video capture.

It
* logs whenever we try to start capture for a client.
* logs the stop reason when we stop capture for a client (normal or due to an error).

Stop capture due to an error can happen when opening the device (async operation), during the session, or when closing down.

BUG=399835

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

Cr-Commit-Position: refs/heads/master@{#289789}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289789 0039d316-1c4b-4281-b951-d872f2087c98
Support logging signin status to UMA on android.
Added a unknown signin status to report. 

Also added a histogram to record the number of times the program enters a place that should be NOTREACHED()

BUG=400532

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

Cr-Commit-Position: refs/heads/master@{#289790}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289790 0039d316-1c4b-4281-b951-d872f2087c98