Move key system constants to separate file.

As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced.

BUG=179769
TEST=content_unittests


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191950 0039d316-1c4b-4281-b951-d872f2087c98
Add support for vs2012

Adds --vsversion=2012 option to install x86/x64 toolchain.

BUG=
TEST=on clean vmware win7 x64, and many rollbacks to 'fresh install' snapshot

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191951 0039d316-1c4b-4281-b951-d872f2087c98
Bluetooth: rename experimental ChromeOS files

Only files ending in _chromeos.* are automatically excluded from other
builds, so rename the experimental files to match that pattern.

BUG=none
TEST=make

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191952 0039d316-1c4b-4281-b951-d872f2087c98
overscroll: Throttle taking screenshots.

Set a minimum interval between taking screenshots (default: 1 second).
Some webpages do rapid in-page navigations. Taking a screenshot for each of
these navigations can slow down the page. So allow at most 1 screenshot to
be taken each second.

BUG=173293

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191954 0039d316-1c4b-4281-b951-d872f2087c98
Linux Sandbox: assert monothreaded in tests

When we start a new test that requires fork(), assert that we are not
currently multi-threaded.

BUG=225809
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191957 0039d316-1c4b-4281-b951-d872f2087c98
Handle extendedKeyUsage field in end-entity certs.

The equivalent patch in Android is pending, but we would like to patch Chrome as well since Chrome updates faster than the base Android system.

BUG=167607

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191962 0039d316-1c4b-4281-b951-d872f2087c98
Use StorageInfo in Mac

BUG=


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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191963 0039d316-1c4b-4281-b951-d872f2087c98
Skip loading installed extensions when --install-from-webstore is active.

Loading installed extensions was interfering in a bad way with the --install-from-webstore abbreviated workflow. In particular, if an extension subscribed to the onStartup event and showed some UI when it came:
1) The UI was disabled, while the modal install dialog was active.
2) DCHECK in ProfileDestroyer would fire when Install or Cancel was clicked in the dialog.
3) As a result, the new extension wouldn't get installed.

Since loading installed extensions makes little sense for the --install-from-webstore workflow, there is no harm in just not loading them.

BUG=164183


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191964 0039d316-1c4b-4281-b951-d872f2087c98
Chrome: metrics: update perf data protobuf

New fields added:
- Sample info
- Fork event
- Timestamp
- Perf processing stats

These are all integer fields.  No strings.

BUG=chromium:196319
TEST=none

Change-Id: I7d7315c8853e85fa9e76df0f8306ea34ebc837c8
Signed-off-by: Simon Que <sque@chromium.org>

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191965 0039d316-1c4b-4281-b951-d872f2087c98
[Sync] Ensure sync UI always uses new encryption mode

Keystore encryption is always on by default now, so no need to check
for the command line switch.

TBR=jhawkins@chromium.org
BUG=225524

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191966 0039d316-1c4b-4281-b951-d872f2087c98
Instant: Don't use the local overlay's URL for the NTP.

GetInstantURL() is used for both the NTP as well as the overlay. So, it's wrong
for it to assume that it's okay to return the local overlay's URL under some
circumstances. Instead, it should return false, and have the caller fallback to
the local NTP's URL or local overlay's URL as appropriate.

BUG=224946
R=samarth@chromium.org
TEST=See bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191967 0039d316-1c4b-4281-b951-d872f2087c98
Add support for GL_TEXTURE_EXTERNAL_OES texture copy.

Add support for GL_TEXTURE_EXTERNAL_OES texture copy in function CopyTextureCHROMIUM which is needed for 2D Canvas Painting. In Issue 11973010, this support was already added inside the copyTextureCHROMIUMResourceManager, but it is still missing in the function CopyTextureCHROMIUM. So just add it.

Also fix the RestoreTextureState, which was binding the OES texture to GL_TEXTURE_2D which will generate glError.

BUG=225079
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191968 0039d316-1c4b-4281-b951-d872f2087c98
Wrench Icon: Views button

The wrench icon will no longer show status using a badge. Instead, the icon color will change to indicate status. 

This CL adds a views button to draw the wrench button icon. 

Screenshot: http://i.imgur.com/nLO3VBj.png
Video: https://docs.google.com/file/d/0B0Odde3V7EhWRF95Yld5VzVZeGc/edit?usp=sharing

BUG=180107
TEST=Ran Chrome with --simulate-upgrade. Verified that no badge was shown and that the wrench icon was colored.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191969 0039d316-1c4b-4281-b951-d872f2087c98
Do not show "Ask google for suggestions" in panel's context menu

Selecting "Ask Google for suggestions" has caused some kind of bad side-effects. On Windows, an info dialog that is limited to the panel shows up and it looks bad on small panel-window (this was fixed on the main trunk but the change is not in M27). On Linux, it tries to use the bubble and causes a crash. We will put it back once the crash issue is resolved.

BUG=224807
TEST=Manual test by opening a panel and bringing up context menu on a textbox


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191971 0039d316-1c4b-4281-b951-d872f2087c98
Add //tools/metrics/ to metrics/ WATCHLIST entry

BUG=none


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191972 0039d316-1c4b-4281-b951-d872f2087c98
Makes control-a select all in TableView.

BUG=224224
TEST=make sure control-a selects all in the task manager
R=sadrul@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191973 0039d316-1c4b-4281-b951-d872f2087c98
roll lss to latest version

This includes a fix for the NaCL builds.

BUG=chromium:219015
TEST=nacl bots work


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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191975 0039d316-1c4b-4281-b951-d872f2087c98
Add a unified audio I/O backend for ChromeOS.

Implementation of AudioOutputStream for ChromeOS that supports both
input and output of audio samples in one callback.  This is protected
behind the kEnableWebAudioInput flag, and will remain behind it until
its use can be made conditional on the type of stream being played.

BUG=chromium-os:35272
TEST=added cras_unified_unittest and play with WebAudioInputDemo named
"PedalBoard.js" on Link, Lumpy, and Lucas.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191976 0039d316-1c4b-4281-b951-d872f2087c98
Don't call DetachFromInputMethod when a window is just being removed from root window.

This was causing discrepancy between FocusController's state (still focused)
and InputMethod's state (not focused) when a window is moved from one root to another.

DetachFromInputMethod is called in both OnWindowFocused and dtor, so
this case must be already handled.

BUG=224824

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

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