summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 18:06:14 +0000
committerzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 18:06:14 +0000
commit7b8c01166d60c3d075953638c27a0f465e1d5de8 (patch)
tree9f7f0922755d0fd12220de5ab886ed2a9eff264b /chrome/common
parentff5abd13cf1f892c98667f59df0bab5ca54aa382 (diff)
downloadchromium_src-7b8c01166d60c3d075953638c27a0f465e1d5de8.zip
chromium_src-7b8c01166d60c3d075953638c27a0f465e1d5de8.tar.gz
chromium_src-7b8c01166d60c3d075953638c27a0f465e1d5de8.tar.bz2
Adding sync support for Passwords
BUG=none TEST=none Review URL: http://codereview.chromium.org/1851004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47686 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 5243163c..ffa3a378 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -212,6 +212,9 @@ const char kDisableSyncAutofill[] = "disable-sync-autofill";
// Disable syncing of bookmarks.
const char kDisableSyncBookmarks[] = "disable-sync-bookmarks";
+// Disable syncing of passwords.
+const char kDisableSyncPasswords[] = "disable-sync-passwords";
+
// Disable syncing of preferences.
const char kDisableSyncPreferences[] = "disable-sync-preferences";
@@ -351,6 +354,9 @@ const char kEnableSyncAutofill[] = "enable-sync-autofill";
// Enable syncing browser bookmarks.
const char kEnableSyncBookmarks[] = "enable-sync-bookmarks";
+// Enable syncing browser passwords.
+const char kEnableSyncPasswords[] = "enable-sync-passwords";
+
// Enable syncing browser preferences.
const char kEnableSyncPreferences[] = "enable-sync-preferences";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 62bc9f7..d880ad0 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -74,6 +74,7 @@ extern const char kDisableSiteSpecificQuirks[];
extern const char kDisableSync[];
extern const char kDisableSyncAutofill[];
extern const char kDisableSyncBookmarks[];
+extern const char kDisableSyncPasswords[];
extern const char kDisableSyncPreferences[];
extern const char kDisableSyncThemes[];
extern const char kDisableSyncTypedUrls[];
@@ -114,6 +115,7 @@ extern const char kEnableStatsTable[];
extern const char kEnableSync[];
extern const char kEnableSyncAutofill[];
extern const char kEnableSyncBookmarks[];
+extern const char kEnableSyncPasswords[];
extern const char kEnableSyncPreferences[];
extern const char kEnableSyncThemes[];
extern const char kEnableSyncTypedUrls[];
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index b2e10ff..2d871ac 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -767,6 +767,7 @@ const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed";
// Booleans specifying whether the user has selected to sync the following
// datatypes.
const wchar_t kSyncBookmarks[] = L"sync.bookmarks";
+const wchar_t kSyncPasswords[] = L"sync.passwords";
const wchar_t kSyncPreferences[] = L"sync.preferences";
const wchar_t kSyncAutofill[] = L"sync.autofill";
const wchar_t kSyncThemes[] = L"sync.themes";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index defee69..bbad183 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -276,6 +276,7 @@ extern const wchar_t kDevToolsSplitLocation[];
extern const wchar_t kSyncLastSyncedTime[];
extern const wchar_t kSyncHasSetupCompleted[];
extern const wchar_t kSyncBookmarks[];
+extern const wchar_t kSyncPasswords[];
extern const wchar_t kSyncPreferences[];
extern const wchar_t kSyncAutofill[];
extern const wchar_t kSyncThemes[];