summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 06:51:10 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 06:51:10 +0000
commit95a45b981576dd24e0cabc77cc6244367c989d4f (patch)
tree65f2d773ae225938212be49e4deeec8535643d69 /chrome/common
parent8c38d6a380418af97de7a6e4f07433a500477122 (diff)
downloadchromium_src-95a45b981576dd24e0cabc77cc6244367c989d4f.zip
chromium_src-95a45b981576dd24e0cabc77cc6244367c989d4f.tar.gz
chromium_src-95a45b981576dd24e0cabc77cc6244367c989d4f.tar.bz2
Added extensions sync-related constants, switches, and clauses.
BUG=32413 TEST=trybots Review URL: http://codereview.chromium.org/2749005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc6
-rw-r--r--chrome/common/chrome_switches.h2
-rw-r--r--chrome/common/pref_names.cc1
-rw-r--r--chrome/common/pref_names.h1
4 files changed, 10 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 73f5c4c..4187b10 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -204,6 +204,9 @@ const char kDisableSyncAutofill[] = "disable-sync-autofill";
// Disable syncing of bookmarks.
const char kDisableSyncBookmarks[] = "disable-sync-bookmarks";
+// Disable syncing of extensions.
+const char kDisableSyncExtensions[] = "disable-sync-extensions";
+
// Disable syncing of passwords.
const char kDisableSyncPasswords[] = "disable-sync-passwords";
@@ -352,6 +355,9 @@ const char kEnableSyncAutofill[] = "enable-sync-autofill";
// Enable syncing browser bookmarks.
const char kEnableSyncBookmarks[] = "enable-sync-bookmarks";
+// Enable syncing browser extensions.
+const char kEnableSyncExtensions[] = "enable-sync-extensions";
+
// Enable syncing browser passwords.
const char kEnableSyncPasswords[] = "enable-sync-passwords";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index c479c5f..4a620e6 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -73,6 +73,7 @@ extern const char kDisableSiteSpecificQuirks[];
extern const char kDisableSync[];
extern const char kDisableSyncAutofill[];
extern const char kDisableSyncBookmarks[];
+extern const char kDisableSyncExtensions[];
extern const char kDisableSyncPasswords[];
extern const char kDisableSyncPreferences[];
extern const char kDisableSyncThemes[];
@@ -116,6 +117,7 @@ extern const char kEnableStatsTable[];
extern const char kEnableSync[];
extern const char kEnableSyncAutofill[];
extern const char kEnableSyncBookmarks[];
+extern const char kEnableSyncExtensions[];
extern const char kEnableSyncPasswords[];
extern const char kEnableSyncPreferences[];
extern const char kEnableSyncThemes[];
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 44cfe57..cc3f081 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -829,6 +829,7 @@ const wchar_t kSyncPreferences[] = L"sync.preferences";
const wchar_t kSyncAutofill[] = L"sync.autofill";
const wchar_t kSyncThemes[] = L"sync.themes";
const wchar_t kSyncTypedUrls[] = L"sync.typed_urls";
+const wchar_t kSyncExtensions[] = L"sync.extensions";
// Create web application shortcut dialog preferences.
const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 86dce96..57c3276 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -302,6 +302,7 @@ extern const wchar_t kSyncPreferences[];
extern const wchar_t kSyncAutofill[];
extern const wchar_t kSyncThemes[];
extern const wchar_t kSyncTypedUrls[];
+extern const wchar_t kSyncExtensions[];
extern const wchar_t kWebAppCreateOnDesktop[];
extern const wchar_t kWebAppCreateInAppsMenu[];