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

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 change per Alakin 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..3aee598633191f237e813879bfcca268a46c9574 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;
+ // Simulate an incoming notification for the given id and payload.
+ void EmitInvalidationForTest(
+ const invalidation::ObjectId& id,
+ const std::string& payload);
+
protected:
// Used by test classes that derive from ProfileSyncService.
virtual browser_sync::SyncBackendHost* GetBackendForTest();
« no previous file with comments | « chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698