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

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: refactor to reduce duplication 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..68fa0f4f6b80e9f89c3cd3f84130b9abf61482c1 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;
+ // test method for system test to allow a test to send in an invalidation
dcheng 2012/09/13 21:00:48 I think you could simplify this comment to "Method
Pete Williamson 2012/09/14 19:14:48 Done.
+ virtual void SendNotificationForTest(
dcheng 2012/09/13 21:00:48 Suggestion: this should be called SendInvalidation
dcheng 2012/09/13 21:00:48 Doesn't need to be virtual. It's possible that thi
Pete Williamson 2012/09/14 19:14:48 Done.
Pete Williamson 2012/09/14 19:14:48 Made non virtual, but I didn't want to extend the
+ 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