summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 13:53:10 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 13:53:10 +0000
commitf581df700226fef3708659aa575510e2c2663e4c (patch)
treee7c1bb66536102db5d73785d804fd8ed25e8e81a /chrome/common
parent3a305db06850635febc42acc54b65a93bf5739c7 (diff)
downloadchromium_src-f581df700226fef3708659aa575510e2c2663e4c.zip
chromium_src-f581df700226fef3708659aa575510e2c2663e4c.tar.gz
chromium_src-f581df700226fef3708659aa575510e2c2663e4c.tar.bz2
Added EditBookmarksEnabled policy.
This just adds the policy and the preference, and some utility functions. BUG=49604 TEST=None Review URL: http://codereview.chromium.org/6825071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc3
-rw-r--r--chrome/common/pref_names.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 439eb8f..42adbef 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -661,6 +661,9 @@ const char kAutofillNegativeUploadRate[] = "autofill.negative_upload_rate";
// Boolean option set to true on the first run. Non-persistent.
const char kAutofillPersonalDataManagerFirstRun[] = "autofill.pdm.first_run";
+// Modifying bookmarks is completely disabled when this is set to false.
+const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled";
+
// Boolean that is true when the tabstrip is to be laid out vertically down the
// side of the browser window.
const char kUseVerticalTabs[] = "tabs.use_vertical_tabs";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index a69c0fe..00964c7 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -231,6 +231,7 @@ extern const char kAutofillDialogPlacement[];
extern const char kAutofillPositiveUploadRate[];
extern const char kAutofillNegativeUploadRate[];
extern const char kAutofillPersonalDataManagerFirstRun[];
+extern const char kEditBookmarksEnabled[];
extern const char kUseVerticalTabs[];
extern const char kEnableTranslate[];