Speculatively reverting  166585 to see if it fixes issue 160300 - 6% startup regression on Mac 10.6

Revert 166585 - Add a histogram enum to determine the cat's flavor and how many bits there are
in it.

BUG=159886, 160300
Review URL: https://codereview.chromium.org/11391002

TBR=mark@chromium.org
Review URL: https://codereview.chromium.org/11348360

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170800 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Customize user details in ash system bubble for public account mode

This CL customizes the user details shown at the top of the ash system
bubble when logged into a public account. The regular display of user name
and e-mail is replaced by a text that informs the user this is a public
account and names the domain managing the account. The implementation
follows the UI mock in the linked bug.

BUG=152928


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Preserving target file name in the save as dialog if target directory doesn't exist.

BUG=151400
TEST=Manual test.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move many ProcessSingleton methods to "protected" visibility as an upcoming refactoring of ProcessSingleton on Windows requires that only NotifyOtherProcessOrCreate() be callable from the public interface.

This doesn't change any code logic, just moves things around.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170805 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Spellcheck] remove dead file

Removed a file that's not used any more

TBR=rlp@chromium.org
BUG=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170807 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Bluetooth API Permission Dialogs.

This CL introduces two new concepts:
- API permissions that cannot be found in the manifest (and therefore
  need not be in the optional permissions section to be optionally
  requested)
- optional API permission requests that have associated data

BUG=119473
TBR=sky@chromium.org


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170809 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Experimental: Fix HasWrongProcessForURL in --site-per-process mode.

The experimental --site-per-process and --enable-strict-site-isolation modes
disable reuse of renderer processes to improve security. The previous approach
of making IsSuitableHost return false was breaking HasWrongProcessForURL,
so we now return false in ShouldTryToReuseExistingProcessHost instead.

BUG=160671
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170821 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 170247
> abort SendFinancialPing if process is shutting down
> 
> 
> BUG=160810
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/11419137

TBR=bcwhite@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove TabContentsContainerGtk from ConstrainedWebDialogDelegateGtk.

BUG=107201
TEST=no visible change


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert changes to have ExtensionService notify ThemeService directly

This reverts r159875 and r170640.  It cause a performance regression
that's not easy to fix, as detailed in the bug.

BUG=163706
TBR=asargent@chromium.org,erg@chromium.org,pkotwicz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170824 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
google_apis: Remove some functions from test_server::HttpServer

These functions are not used. We can add them back if needed.
Less code to maintain is preferable.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170843 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add Search-. as a shortcut for the Insert key when Search is acting as a Function key.

NOTRY=true
R=yusukes@chromium.org
BUG=162268
Depends on: https://codereview.chromium.org/11421055/
Depends on: https://codereview.chromium.org/11417144/
Depends on: https://codereview.chromium.org/11415124/


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170847 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 170800 - Speculatively reverting  166585 to see if it fixes issue 160300 - 6% startup regression on Mac 10.6

Revert 166585 - Add a histogram enum to determine the cat's flavor and how many bits there are
in it.

BUG=159886, 160300
Review URL: https://codereview.chromium.org/11391002

TBR=mark@chromium.org
Review URL: https://codereview.chromium.org/11348360

TBR=mark@chromium.org
Review URL: https://codereview.chromium.org/11411343

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170850 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Use size_t as the type of the key_length and digest_length arguments
of HMAC::Init() and HMAC::Sign().

R=agl@chromium.org,bradnelson@chromium.org,thakis@chromium.org
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170852 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add the internal keyboard name for the daisy chromebook.

BUG=163984
R=derat@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170856 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix device type icons for "other devices" tab on Android.

This value used to be defined on the window object, but has since
moved to the "client".

BUG=163004


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170860 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Hide new Autofill Popup on Main Widget Resize or Move.

This will hide the popup when the browser changes size or location. Also add some tests for the WidgetObserver for the function we are observing with.

Resubmitting https://codereview.chromium.org/11308124/ with CloseWidgetAndNoLeaking disable on aura

TBR=sky@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170864 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Omnibiox: Tweak HQP New Scoring and Re-Enable Field Trial

Tweaks HQP "new scoring" by
(1) By a smooth squash, prevent HQP from scoring above 1400.  This makes sure inlineable, high-quality, prefix matches (whether scored by HUP or by the HUP-like mode in HQP), which has scores in the 1400-1410 range, are not trumped.
(2) Remove any credit for mid-word matches in titles.  I decided spacing in titles should always make sense and allowing mid-word matches here seems wrong.

Also, I changed the name of the "new scoring" field trial as well so we can distinguish the new behavior trial from the old behavior trial.

This trial is set up independent of the "old scoring" ignore-all-mid-word-matches field trial.  I prefer it this way because then I can easily enable or disable one without having to change much code.  Will analyze them in a dependent/correlated fashion--that is, I will only look at this trial when in the control group of the ignore-mid-word-matches trial and will only analyze the mid-word-matches trial when in the control group of this trial.

BUG=161911
TEST=


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

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

This removes the code for sending the user to GView for PDF
and .ppt files.  The --enable-gview flag has been passed
unconditionally on Chrome OS for a long time, but we ignore
it in official builds.  For Chromium OS, I believe that
https://chrome.google.com/webstore/detail/docs-pdfpowerpoint-viewer/nnbmlagghjjcbdhgmkedmbmedengocbn
provides similar functionality.

BUG=161786
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@170875 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add changestamp field to google_apis::DocumentEntry

TEST=existing test, GDataWapiParserTest.*
BUG=


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

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