summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/notifier/chrome_invalidation_client.h
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 22:00:54 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 22:00:54 +0000
commitb0bcdbfe4b1e64fc2d07ccf3963ffb9097d6afb9 (patch)
treeca0b75f7847692fd00183bafb5f9e3a1b81e3856 /chrome/browser/sync/notifier/chrome_invalidation_client.h
parentc757aaea2a0eef2c4cad4925884281e2f7639cd3 (diff)
downloadchromium_src-b0bcdbfe4b1e64fc2d07ccf3963ffb9097d6afb9.zip
chromium_src-b0bcdbfe4b1e64fc2d07ccf3963ffb9097d6afb9.tar.gz
chromium_src-b0bcdbfe4b1e64fc2d07ccf3963ffb9097d6afb9.tar.bz2
Recommit attempt for rev 72685.
[SYNC] Refactor SyncSourceInfo and add support in chrome invalidation client and syncer thread for passing a datatype-specific payload originating in the invalidation server and directed at the sync frontend server. Also fixes bug with last_sync_time and PostTimeToTypeHistogram, which would get hit when the unit tests were being run. BUG=68572, 69558 TEST=unit Review URL: http://codereview.chromium.org/6313018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/notifier/chrome_invalidation_client.h')
-rw-r--r--chrome/browser/sync/notifier/chrome_invalidation_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/sync/notifier/chrome_invalidation_client.h b/chrome/browser/sync/notifier/chrome_invalidation_client.h
index 3d4e1d7..873b877 100644
--- a/chrome/browser/sync/notifier/chrome_invalidation_client.h
+++ b/chrome/browser/sync/notifier/chrome_invalidation_client.h
@@ -41,7 +41,8 @@ class ChromeInvalidationClient
public:
virtual ~Listener();
- virtual void OnInvalidate(syncable::ModelType model_type) = 0;
+ virtual void OnInvalidate(syncable::ModelType model_type,
+ const std::string& payload) = 0;
virtual void OnInvalidateAll() = 0;
};