ZipFileCreator: move file access to blocking thread pool.

Blocking file operation is prohibited on IO thread (it triggers DCHECK),
it should rather go to blocking thread pool.
Since UtilityProcessHost must run on IO thread, we still
have to jump to IO thread after the file is opened.

BUG=none.
TEST=Check zipping does not trigger DCHECK on debug build.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170143 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add a utility function to return error message string for SyncStatusCode


BUG=153757
TEST=n/a


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170144 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
overscroll: Introduce some prefs that can be configured in chrome://gesture

BUG=160668

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170145 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Garbage collect extensions only if there are no pending extension installs that could still be using the Temp directory.

BUG=161920


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
VLOG(1) -> LOG({INFO|WARNING})

BUG=123579
TEST=Linux ChromeOS manual testing


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170154 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Autofill] Rename AutofillProfile::{Get,Set}MultiInfo to {Get,Set}RawMultiInfo

BUG=100845
TEST=none (purely a refactoring change)
TBR=dhollowa@chromium.org, akalin@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Added the settings_entity_id field to PolicyFetchRequest and PolicyData protobufs.

BUG=163318


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170164 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Media Galleries: Indicate attached devices in permissions dialogs. (Views and GTK)

BUG=161700

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170165 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Android] Bundle DevTools resources with Chromium TestShell

Since Chromium TestShell is a developers toy, one may need to
change Chromium version number or make local modifications
to DevTools front-end, so having it bundled feels more
appropriate than using Chrome for Android's DevTools front-end
hosting.

R=dtrainor@chromium.org
BUG=161506


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
bookmarks: Pass BrowserContext to ToggleWhenVisible() function.

We are switching away from Profile, and content::BrowserContext is preferred
over it.

This patch was moves it to ui/bookmarks, because it's only used by c/b/ui,
and renames it to ToggleBookmarkBarWhenVisible() so it's more clear what is being
toggled for the consumers.

BUG=144783
R=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170167 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Show a blocking page/interstitial when blocking requests in managed mode.

TBR=ben@chromium.org,willchan@chromium.org
BUG=162375


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

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

BUG=123579
TEST=manual tests on Lumpy


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Mac] Bring back Inspect Popup command for browser actions.

BUG=143349


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170173 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
FindLastActiveWithProfile now requires a HostDesktopType.

BUG=129187
TEST=none

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169654

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170176 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[cros] RlzValueStore made protected by a cross-process lock and not persisted over browser lifetime (like on Mac).

*) Moved RecursiveCrossProcessLock out of .mm file to a common _posix file.
*) Added static method to ImportantFileWriter that does blocking write on the current thread.
*) Dedicated RLZ thread gone, replaced back with shutdown-blocking worker pool.


BUG=157348,62328


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170179 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray.

This patch add a sub-menu to set accessibility feature (spoken feedback, high-contrast and screen magnifier) under accessibility menu.

The design is at http://crbug.com/158281.

BUG=160689, 158307
TEST=manual

TBR=nkostylev@chromium.org, jhawkins@chromium.org
# TBRing for just rename changes.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170180 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Refactored OncNetworkParser into smaller parts. Use the OncValidator in the NetworkConfigurationPolicyHandler.

Adding the new classes/functions:
- onc::Decrypt
- onc::CertificateImporter

Functional change is:

NetworkConfigurationPolicyHandler::CheckPolicySettings doesn't use OncNetworkParser anymore, but:
- checks for Json errors using JSONReader. Such an error rejects the policy.
- checks for ONC syntax errors using onc::Validator. The policy isn't rejected but a warning is returned.

Some minor cleanups on the way.
TEST=Unit tests adapted.
TBR=ben@chromium.org
BUG=147624,162040

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170183 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Updated categories to match sample whitelists.

BUG=163103
TEST=manual


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170191 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Split window_animations, moving basic animations to views/corewm.
The base definition of the animation type enum also moves to corewm, and the API now allows downstream libraries (like ash) to extend the set of animations available.

This will allow us to more easily use "core" animations in desktop-aura.

I also removed the internal namespace from window_animations that remained in ash, since the use of namespaces in that file had begun to confuse me.

http://crbug.com/158115
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170071
Review URL: https://codereview.chromium.org/11412223

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Renames TouchTabStripLayout to StackedTabStripLayout. This is just a
rename, I'm going to cleanup some inconsistant naming next.

TBR since this is just a rename.

BUG=none
TEST=none
R=ben@chromium.org
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/11428061

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