Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: components/sync_driver/sync_driver_switches.h

Issue 1308313003: Componentize chrome/common/sync_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/sync_driver/sync_driver_switches.h
diff --git a/components/devtools_service/public/cpp/switches.h b/components/sync_driver/sync_driver_switches.h
similarity index 51%
copy from components/devtools_service/public/cpp/switches.h
copy to components/sync_driver/sync_driver_switches.h
index 65c48e9a3db0015f586958205459691a124dac2b..4aef97c4a26fc41829713958d5e22c465cd4fb20 100644
--- a/components/devtools_service/public/cpp/switches.h
+++ b/components/sync_driver/sync_driver_switches.h
@@ -2,15 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_DEVTOOLS_SERVICE_PUBLIC_CPP_SWITCHES_H_
-#define COMPONENTS_DEVTOOLS_SERVICE_PUBLIC_CPP_SWITCHES_H_
+// Defines all the command-line switches used by sync driver.
-namespace devtools_service {
+#ifndef COMPONENTS_SYNC_DRIVER_SYNC_DRIVER_SWITCHES_H_
+#define COMPONENTS_SYNC_DRIVER_SYNC_DRIVER_SWITCHES_H_
+
+namespace switches {
// All switches in alphabetical order. The switches should be documented
// alongside the definition of their values in the .cc file.
-extern const char kRemoteDebuggingPort[];
-
-} // namespace devtools_service
+extern const char kSyncServiceURL[];
Nicolas Zea 2015/08/27 18:16:16 nit: newline after
Jitu( very slow this week) 2015/08/28 05:52:43 Done.
+}
Nicolas Zea 2015/08/27 18:16:16 nit: add namespace comment: } // namespace switch
Jitu( very slow this week) 2015/08/28 05:52:43 Done.
-#endif // COMPONENTS_DEVTOOLS_SERVICE_PUBLIC_CPP_SWITCHES_H_
+#endif // COMPONENTS_SYNC_DRIVER_SYNC_DRIVER_SWITCHES_H_

Powered by Google App Engine
This is Rietveld 408576698