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

Side by Side Diff: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION _HANDLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION _HANDLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION _HANDLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION _HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "chrome/browser/extensions/api/push_messaging/push_messaging_invalidati on_mapper.h" 15 #include "chrome/browser/extensions/api/push_messaging/push_messaging_invalidati on_mapper.h"
16 #include "sync/notifier/invalidation_handler.h" 16 #include "components/invalidation/invalidation_handler.h"
17 #include "sync/notifier/invalidation_util.h" 17 #include "sync/internal_api/public/base/invalidation_util.h"
18 18
19 namespace invalidation { 19 namespace invalidation {
20 class InvalidationService; 20 class InvalidationService;
21 } 21 }
22 22
23 namespace extensions { 23 namespace extensions {
24 24
25 class PushMessagingInvalidationHandlerDelegate; 25 class PushMessagingInvalidationHandlerDelegate;
26 26
27 // This class maps extension IDs to the corresponding object IDs, manages 27 // This class maps extension IDs to the corresponding object IDs, manages
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 std::map<invalidation::ObjectId, 66 std::map<invalidation::ObjectId,
67 int64, 67 int64,
68 syncer::ObjectIdLessThan> max_object_version_map_; 68 syncer::ObjectIdLessThan> max_object_version_map_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(PushMessagingInvalidationHandler); 70 DISALLOW_COPY_AND_ASSIGN(PushMessagingInvalidationHandler);
71 }; 71 };
72 72
73 } // namespace extensions 73 } // namespace extensions
74 74
75 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDAT ION_HANDLER_H_ 75 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDAT ION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698