Remove some unused code

BUG=none
TEST=none
R=groby@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234977 0039d316-1c4b-4281-b951-d872f2087c98
Added permission for chrome.app.window alwaysOnTop property

Apps that wish to enable the alwaysOnTop property for app windows must
now declare the "alwaysOnTopWindows" permission in their manifest.
This permission does not appear in install prompts.

BUG=314260, 171597
TEST=browser_tests (PlatformAppBrowserTest.WindowsApiAlwaysOnTop*).
Manual test: Create an app which does not specify this permission and
attempts to create a new window with the option enabled or calls
setAlwaysOnTop(true) on an existing window. The window should not be
always on top. The option should work for apps which do declare the
permission.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234978 0039d316-1c4b-4281-b951-d872f2087c98
Make the "Consent To Send Stats" file follow the kMetricsReportingEnabled pref.

The options UI updates the state of this file manually (besides setting the
pref), but when the policy overrides the pref then the file should be updated
to reflect the pref's value.

On Windows a registry key is kept in sync with the pref instead of the consents
file.

After this fix it'll be possible to simply set the pref from the options UI,
and to remove the ChromeOS-specific code (that reads from device settings).

BUG=318761

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

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