summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorraz@chromium.org <raz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 19:56:41 +0000
committerraz@chromium.org <raz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 19:56:41 +0000
commit689a7a717a5882405f935e7c18fdc47fcae9fadf (patch)
treeb204a7cf394cc4054749d529758b627b6448e35f /chrome/common/chrome_switches.cc
parent3f5c1bba716c435264580010cd5c57f8830303b5 (diff)
downloadchromium_src-689a7a717a5882405f935e7c18fdc47fcae9fadf.zip
chromium_src-689a7a717a5882405f935e7c18fdc47fcae9fadf.tar.gz
chromium_src-689a7a717a5882405f935e7c18fdc47fcae9fadf.tar.bz2
Added UI for clearing Chrome Sync data
- Created 2 tabs, one for for clearing local browsing data, one for clearing server data - Refactored the old local browsing code to use a grid layout rather than less-wieldy math - Controls on all tabs block while, closing dialog is disabled, new throbber is going while clear is in progress - Clear server tab will be behind a flag until I deploy the server endpoint - Retained old clearing behavior: dialog closes on successful lear - Clear server UI only visible if user is syncing Outstanding issues: - Clearing currently causes an account to become unusable. The cause of the issue is a known problem with auth; currently investigating a fix - Unlike local clearing, clearing server data is more likely to error out. For now I just show a label next to the clear button that says Error, allowing the user to try again BUG=54349 TEST=Clear from UI, or run sync backend tests checked in for issue 54280 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60845 Review URL: http://codereview.chromium.org/3412032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 639d42b..4d9d14f 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -381,6 +381,10 @@ const char kEnableBenchmarking[] = "enable-benchmarking";
// Chromoting Host Process within the service process.
const char kEnableRemoting[] = "enable-remoting";
+// This flag enables UI for clearing server data. Temporarily in place
+// until there's a server endpoint deployed.
+const char kEnableClearServerData[] = "enable-clear-server-data";
+
// This applies only when the process type is "service". Enables the
// Cloud Print Proxy component within the service process.
const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";