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

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

Issue 9348036: Trim code from sync's ServerConnectionManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase after Fred's patch Created 8 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 01b41f24755cbb22e1581a024c6108d2baf68bfe..4a4db5984e127865f3838aaf33a2126167ae0fe6 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -231,6 +231,11 @@ class SyncTest : public InProcessBrowserTest {
// |index|. Used by SetupClients().
virtual void InitializeInstance(int index);
+ // Implementations of the EnableNotifications() and DisableNotifications()
+ // functions defined above.
+ void DisableNotificationsImpl();
+ void EnableNotificationsImpl();
+
// GAIA account used by the test case.
std::string username_;
@@ -330,6 +335,10 @@ class SyncTest : public InProcessBrowserTest {
// profile or not.
bool use_verifier_;
+ // Indicates whether or not notifications were explicitly enabled/disabled.
+ // Defaults to true.
+ bool notifications_enabled_;
+
// Sync integration tests need to make live DNS requests for access to
// GAIA and sync server URLs under google.com. We use a scoped version
// to override the default resolver while the test is active.
« no previous file with comments | « chrome/browser/sync/test/integration/sync_errors_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