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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 10915216: Browser test for the push messaging feature (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: CR fixes per DCheng and MihaiP Created 8 years, 3 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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 216ef1c483e0c9627677b173784f642894c14ad1..529312544937e90f57516e87035cdd863a4d3716 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -575,6 +575,11 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// ProfileKeyedService implementation.
virtual void Shutdown() OVERRIDE;
+ // Method to trigger an invalidation in tests.
+ void SendInvalidationForTest(
+ const std::string& id,
+ const std::string& payload);
+
protected:
// Used by test classes that derive from ProfileSyncService.
virtual browser_sync::SyncBackendHost* GetBackendForTest();

Powered by Google App Engine
This is Rietveld 408576698