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..69e0bbc5bb1ef346ef9e8ee5cc69ebe14d2a2d74 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. |
|
akalin
2012/09/17 23:20:14
Comment doesn't say much. Suggest something like:
|
| + void SendInvalidationForTest( |
|
akalin
2012/09/17 23:20:14
'Send' should be 'Emit', since you want to simulat
|
| + const invalidation::ObjectId& id, |
| + const std::string& payload); |
| + |
| protected: |
| // Used by test classes that derive from ProfileSyncService. |
| virtual browser_sync::SyncBackendHost* GetBackendForTest(); |