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

Side by Side Diff: components/invalidation/sync_invalidation_listener.h

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dep on dynamic_annotations (see crbug.com/392532) 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // A simple wrapper around invalidation::InvalidationClient that 5 // A simple wrapper around invalidation::InvalidationClient that
6 // handles all the startup/shutdown details and hookups. 6 // handles all the startup/shutdown details and hookups.
7 7
8 #ifndef COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_ 8 #ifndef COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_
9 #define COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_ 9 #define COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/callback_forward.h" 14 #include "base/callback_forward.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/threading/non_thread_safe.h" 18 #include "base/threading/non_thread_safe.h"
19 #include "components/invalidation/invalidation_export.h" 19 #include "components/invalidation/invalidation_export.h"
20 #include "components/invalidation/invalidation_state_tracker.h"
20 #include "components/invalidation/state_writer.h" 21 #include "components/invalidation/state_writer.h"
21 #include "components/invalidation/sync_system_resources.h" 22 #include "components/invalidation/sync_system_resources.h"
23 #include "components/invalidation/unacked_invalidation_set.h"
22 #include "google/cacheinvalidation/include/invalidation-listener.h" 24 #include "google/cacheinvalidation/include/invalidation-listener.h"
25 #include "sync/internal_api/public/base/ack_handler.h"
23 #include "sync/internal_api/public/base/invalidator_state.h" 26 #include "sync/internal_api/public/base/invalidator_state.h"
24 #include "sync/internal_api/public/util/weak_handle.h" 27 #include "sync/internal_api/public/util/weak_handle.h"
25 #include "sync/notifier/ack_handler.h"
26 #include "sync/notifier/invalidation_state_tracker.h"
27 #include "sync/notifier/unacked_invalidation_set.h"
28 28
29 namespace buzz { 29 namespace buzz {
30 class XmppTaskParentInterface; 30 class XmppTaskParentInterface;
31 } // namespace buzz 31 } // namespace buzz
32 32
33 namespace notifier { 33 namespace notifier {
34 class PushClient; 34 class PushClient;
35 } // namespace notifier 35 } // namespace notifier
36 36
37 namespace syncer { 37 namespace syncer {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 InvalidatorState push_client_state_; 187 InvalidatorState push_client_state_;
188 188
189 base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_; 189 base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_;
190 190
191 DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener); 191 DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener);
192 }; 192 };
193 193
194 } // namespace syncer 194 } // namespace syncer
195 195
196 #endif // COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_ 196 #endif // COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698