EULA and other OOBE screens get spoken title for accessibility.

Screens affected: Sign-in, EULA, username creation for Locally managed user.

Added spoken feedback for camera take/discard user image events. Corresponding strings changed.

BUG=346810

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert "Remove desktop auto-login since we don't plan on shipping it there.  Refactor the base and derived classes into one class since its android only now."

This reverts commit d3eee07b9fe46ba6c0ebbe2dd040ead5961d50c6.

TBR=rogerta
NOTRY=True
BUG=355071,354988,347214

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258940 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Show error message if authenticated user e-mail retrieval fails

With this CL, an error message is shown when the authenticated user's
e-mail address cannot be retrieved during enrollment or login.

TEST=New browser test
BUG=335542

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258947 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
UMA stats for powerwash dialog shows added.

BUG=353421

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Ignore --google-base-url if the specified URL has a query or ref.

We also fix up the passed-in string, so users have a little more flexibility in
syntax, e.g. you can now specify a base URL of just "google.com" instead of
"http://google.com/".

BUG=240746
TEST=none
R=samarth@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258969 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Adding functionality to save a machine id to local_state.

The machine id is a 24-bit hash of machine characteristics, stored locally. It is not transmitted. Id generation is platform specific and is currently only implemented on Windows. 

The id will be used to detect when an install of Chrome is copied to a different machine, such as when an install image is deployed across a fleet of machines.

BUG=343273

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258970 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Domain Reliability / Navigation Error Logging, part 2

This adds code to schedule and send uploads of logged errors.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258975 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Restrict about:flags for the --enable-bleeding-edge-rendering-fast-paths to Android only.

BUG=355107

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258979 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
squash some more base::Value::CreateStringValue calls

BUG=160586
TBR=timsteele@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@258981 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Expose "Load stale cached copy" functionality to the error page.

BUG=329620

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259017 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Don't instantiate AppListSyncableService if it is not going to be used

BUG=355672
TEST=unit_tests
R=stevenjb@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259021 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Minor refactoring in password_store_mac_unittest.cc.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove the enable-d3d11 flag so that d3d11 is enabled by default.

BUG=258676
R=kbr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259028 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
sync: Shrink ProfileSyncServiceHarness (retry x 2)

The first attempt at this change, r258666, had to be reverted because it
triggered a compile failure on the buildbots.  Apparently the build bots still
build the sync performance tests, while the try bots do not.  The second
attempt was reverted with a similar error, due to missing includes that my
local build missed somehow.

Original commit message follows.

Reduces the number of tasks for which the ProfileSyncServiceHarness is
responsible.

The goal here is to clean up some organizational issues that are left
over from the old ProfileSyncServiceHarness design.  Now that the
harness no longer needs to be in control of everything, we can start to
shrink it down to a more appropriate size.

Highlights inlcude:
- Move the responsibility for observing the ProfileSyncService to the
  StatusChangeCheckers.  PSSHarness is no longer a PSSObserver, and no
  longer implements AwaitStatusChange().
- Move responsibility for initializing P2P invalidations to the sync
  tests.  The PSSHarness no longer owns the invalidations forwarder
  and no longer takes a reference to the InvalidationService.
- Move AwaitPassphraseRequired, AwaitPassphraseAccepted and
  AwaitCommitActivityCompletion into sync_integration_test_util.h.
  There was no need for them to depend on the harness.  Unlike some
  other functions that were refactored, these were used in several
  different tests, so they were moved to a util file to encourage
  code sharing.
- Hide some Await functions that are only used inside the harness,
  such as AwaitSyncSetupCompletion() and AwaitBackendInitialized().
- Move some encryption functionality into sync_test.cc.
- Convert several functions to use ProfileSyncService* parameters,
  rather than ProfileSyncServiceHarness*.

TBR=tim@chromium.org, dcheng@chromium.org
BUG=323380

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259039 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Files.app] Reduce the number of the sorts during file list loading

Sort was invoked every after loading 50 files, but sort is heavy operation and we needed to reduce it.

This patch changes the timing to do sort after loading the complete list.

BUG=348886
TEST=manually tested

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259041 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[invalidations] RequestDetailedStatus is now const function

This minor patch fixes the RequestDetailedStatus everywhere, making it a
const function. There should be no side effects to requesting debugging
information, and this patch enforces that.

BUG=263863

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259044 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move signin_core target to signin_core_browser.

This change is in preparation for introducing a signin_core_common target in an
upcoming CL.

BUG=332107
TBR=rogerta,thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259045 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Temporary hack in order to make panel dragging work on Linux Aura for M-35.

Some background:
- We use |DesktopWindowTreeHostX11::bounds_| to convert from window coordinates to screen coordinates.
- We get mouse events (e.g. MotionNotify) with coordinates wrt to the real window bounds.
- DesktopWindowTreeHostX11::SetBounds() synchronously changes |DesktopWindowTreeHostX11::bounds_| but does not synchronously change the real window bounds.
As a result, there is a brief period of time where "real window bounds" != "requested window bounds" while a panel is being dragged. During that period of time the computed mouse event position in screen coordinates is wrong.

BUG=351730
TEST=Manual, see bug

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259047 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Refactorise the policy_path_parser framework

This CL performs a refactorisation of the policy path parser framework.

BUG=352627

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert of Refactorise the policy_path_parser framework (https://codereview.chromium.org/204463005/)

Reason for revert:
Failed the sizes test for static initializers
kVariableNameAndValueCallbacks

Original issue's description:
> Refactorise the policy_path_parser framework
> 
> This CL performs a refactorisation of the policy path parser framework.
> 
> BUG=352627
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259049

TBR=pastarmovj@chromium.org,atwilson@chromium.org,kaliamoorthi@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=352627

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@259056 4ff67af0-8c30-449e-8e8b-ad334ec8d88c