Chromium Code Reviews| 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..a814189f8207038a9e2f58e1f3c2cf4a64b6bd95 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 invalidation::ObjectId objId, |
|
dcheng
2012/09/17 21:00:56
Pass by reference. Also use underscore_naming (and
|
| + const std::string& payload); |
| + |
| protected: |
| // Used by test classes that derive from ProfileSyncService. |
| virtual browser_sync::SyncBackendHost* GetBackendForTest(); |