Strings for 'dismissing' malicious downloads

On Windows, we plan to change the UI so that users can 'dismiss' malicious download notifications instead of 'discard'-ing them. This speculatively adds the strings so that they can be translated ahead of the actual change.

BUG=305387
R=pkasting@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229908 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229908
Cast: Cleaning up static_casts

Changed to use size_t through out the code to avoid 
static_casts. Also added a few DCHECKs in the locations 
where we really downcast to a smaller size.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229909 0039d316-1c4b-4281-b951-d872f2087c98
Autoconnect policy for CrOS.

This adds an autoconnect policy that disables autoconnect of unmanaged networks. As a device policy this applies to all shared networks. As a user policy it applies to all networks of this user.

With this commit the policy is applied on each restart and login. UI lockdown is still missing.

Configurations affecting several networks were not supported previously by ONC. Therefore, this commit adds the new toplevel section "GlobalNetworkConfiguration" to ONC.

BUG=280146

For API change:

R=bartfab@chromium.org
TBR=eroman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229910 0039d316-1c4b-4281-b951-d872f2087c98
Allow EME base64 encoded keys to not be padded

Change the processing of EME JWK keys to add the base64 padding if it is not
present. The EME spec states that padding is not allowed, but there are some
layout tests that include padding, so this can't be enforced until the tests
are fixed.

BUG=303381

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229911 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229910
Cache force-installed apps/extensions in device-local accounts

This CL adds the DeviceLocalAccountExternalPolicyLoader, a replacement for
the ExternalPolicyLoader that caches force-installed apps/extensions,
allowing them to be installed offline. The caches for individual accounts
are managed by the DeviceLocalAccountPolicyService which makes sure to
remove obsolete cache directories.

BUG=287802
TEST=Full coverage with new browser and unit tests
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229912 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229912
Added support for sticky modifier keys. This is the first step in adding Control and Alt modifiers to the virtual keyboard.


BUG=297112

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229913 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229913