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

Side by Side Diff: chrome/browser/sync/invalidation_service.h

Issue 10826156: Plumb invalidations from Tango to the extensions code for the Push Messaging API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gmock and maybe Android build Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYNC_INVALIDATION_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_INVALIDATION_SERVICE_H_
7
8 #include "sync/notifier/invalidation_util.h"
9
10 namespace syncer {
11 class SyncNotifierObserver;
12 } // namespace syncer
13
14 // TODO(dcheng): Add an interesting comment here.
15 class InvalidationService {
akalin 2012/08/10 23:07:10 this name is confusing, since eventually non-servi
dcheng 2012/08/13 20:44:14 I agree that this is not a great name. I am taking
16 public:
17 virtual ~InvalidationService() { }
18
19 // Updates the set of ObjectIds associated with a given |handler|.
20 // Passing an empty ObjectIdSet will unregister |handler|.
21 // There should be at most one handler registered per object id.
22 virtual void UpdateRegisteredInvalidationIds(
23 syncer::SyncNotifierObserver* handler,
24 const syncer::ObjectIdSet& ids) = 0;
25 };
26
27 #endif // CHROME_BROWSER_SYNC_INVALIDATION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698