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

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

Issue 642613002: Use Sync FakeServer in exponential backoff tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 7fba81230978bf231bdc823d7f30970666429bc0..912a0cd08315f9b4e9b6871075d48834db3f2c6a 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -37,7 +37,6 @@ class FakeServerInvalidationService;
namespace net {
class FakeURLFetcherFactory;
-class ProxyConfig;
class ScopedDefaultHostResolverProc;
class URLFetcherImplFactory;
class URLRequestContextGetter;
@@ -170,12 +169,6 @@ class SyncTest : public InProcessBrowserTest {
// Initializes sync clients and profiles if required and syncs each of them.
virtual bool SetupSync() WARN_UNUSED_RESULT;
- // Enable outgoing network connections for the given profile.
- virtual void EnableNetwork(Profile* profile);
-
- // Disable outgoing network connections for the given profile.
- virtual void DisableNetwork(Profile* profile);
-
// Sets whether or not the sync clients in this test should respond to
// notifications of their own commits. Real sync clients do not do this, but
// many test assertions require this behavior.
@@ -228,10 +221,6 @@ class SyncTest : public InProcessBrowserTest {
// only if ServerSupportsErrorTriggering() returned true.
void TriggerMigrationDoneError(syncer::ModelTypeSet model_types);
- // Triggers a transient error on the server. Note the server will stay in
- // this state until shut down.
- void TriggerTransientError();
-
// Triggers an XMPP auth error on the server. Note the server will
// stay in this state until shut down.
void TriggerXmppAuthError();
@@ -329,11 +318,6 @@ class SyncTest : public InProcessBrowserTest {
// Helper method used to check if the test server is up and running.
bool IsTestServerRunning();
- // Used to disable and enable network connectivity by providing and
- // clearing an invalid proxy configuration.
- void SetProxyConfig(net::URLRequestContextGetter* context,
- const net::ProxyConfig& proxy_config);
-
void SetupNetwork(net::URLRequestContextGetter* context);
// Helper method used to set up fake responses for kClientLoginUrl,

Powered by Google App Engine
This is Rietveld 408576698