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

Unified Diff: chrome/browser/sync/test/integration/sync_test.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: chrome/browser/sync/test/integration/sync_test.h
diff --git a/chrome/browser/sync/test/integration/sync_test.h b/chrome/browser/sync/test/integration/sync_test.h
index 6313c25902a13c0f4616d7a6fb0fd10563598ad6..3e7d12b5258c0247d9c281a7a7cf8942aa7e3a57 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -21,11 +21,13 @@
#include "sync/test/fake_server/fake_server.h"
#include "sync/test/local_sync_test_server.h"
-
-class CommandLine;
class Profile;
class ProfileSyncServiceHarness;
+namespace base {
+class CommandLine;
+}
+
namespace net {
class FakeURLFetcherFactory;
class ProxyConfig;
@@ -120,7 +122,7 @@ class SyncTest : public InProcessBrowserTest {
virtual void TearDown() OVERRIDE;
// Sets up command line flags required for sync tests.
- virtual void SetUpCommandLine(CommandLine* cl) OVERRIDE;
+ virtual void SetUpCommandLine(base::CommandLine* cl) OVERRIDE;
// Used to get the number of sync clients used by a test.
int num_clients() WARN_UNUSED_RESULT { return num_clients_; }
@@ -237,11 +239,11 @@ class SyncTest : public InProcessBrowserTest {
protected:
// Add custom switches needed for running the test.
- virtual void AddTestSwitches(CommandLine* cl);
+ virtual void AddTestSwitches(base::CommandLine* cl);
// Append the command line switches to enable experimental types that aren't
// on by default yet.
- virtual void AddOptionalTypesToCommandLine(CommandLine* cl);
+ virtual void AddOptionalTypesToCommandLine(base::CommandLine* cl);
// InProcessBrowserTest override. Destroys all the sync clients and sync
// profiles created by a test.
« no previous file with comments | « chrome/browser/sync/test/integration/migration_test.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698