diff options
author | abodenha@chromium.org <abodenha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-31 23:45:41 +0000 |
---|---|---|
committer | abodenha@chromium.org <abodenha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-31 23:45:41 +0000 |
commit | 1af419c0f92c04b62ff997de1117309076f4eb17 (patch) | |
tree | c4b67325b4e95ff623a89a88aee2964e4df12e05 /chrome/common | |
parent | c2f6800fdba3cacf7385b643cd832d491278ae6f (diff) | |
download | chromium_src-1af419c0f92c04b62ff997de1117309076f4eb17.zip chromium_src-1af419c0f92c04b62ff997de1117309076f4eb17.tar.gz chromium_src-1af419c0f92c04b62ff997de1117309076f4eb17.tar.bz2 |
Add policy for blocking GCP printing.
BUG=101389
TEST=On any platform use the appropriate policy mechanism to set CloudPrintSubmitEnabled to false. Cloud print should no longer be available via built in print mechanisms
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107748
Review URL: http://codereview.chromium.org/8395007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 3 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index e65225a..58bc373 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -1553,6 +1553,9 @@ const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; const char kCloudPrintRobotEmail[] = "cloud_print.robot_email"; // Indicates whether the Mac Virtual driver is enabled. const char kVirtualPrinterDriverEnabled[] = "cloud_print.enable_virtual_driver"; +// A boolean indicating whether submitting jobs to Google Cloud Print is +// blocked by policy. +const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled"; // Preference to store proxy settings. const char kProxy[] = "proxy"; diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index fcf7399..73a7e49 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -545,6 +545,7 @@ extern const char kCloudPrintEnableJobPoll[]; extern const char kCloudPrintRobotRefreshToken[]; extern const char kCloudPrintRobotEmail[]; extern const char kVirtualPrinterDriverEnabled[]; +extern const char kCloudPrintSubmitEnabled[]; extern const char kProxy[]; extern const char kMaxConnectionsPerProxy[]; |