Chromium Code Reviews| 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_ |