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

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

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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/ack_handler.h" 19 #include "components/invalidation/base/ack_handler.h"
20 #include "components/invalidation/invalidation_export.h" 20 #include "components/invalidation/base/invalidation_export.h"
21 #include "components/invalidation/base/invalidator_state.h"
21 #include "components/invalidation/invalidation_state_tracker.h" 22 #include "components/invalidation/invalidation_state_tracker.h"
22 #include "components/invalidation/invalidator_state.h"
23 #include "components/invalidation/state_writer.h" 23 #include "components/invalidation/state_writer.h"
24 #include "components/invalidation/sync_system_resources.h" 24 #include "components/invalidation/sync_system_resources.h"
25 #include "components/invalidation/unacked_invalidation_set.h" 25 #include "components/invalidation/unacked_invalidation_set.h"
26 #include "google/cacheinvalidation/include/invalidation-listener.h" 26 #include "google/cacheinvalidation/include/invalidation-listener.h"
27 27
28 namespace buzz { 28 namespace buzz {
29 class XmppTaskParentInterface; 29 class XmppTaskParentInterface;
30 } // namespace buzz 30 } // namespace buzz
31 31
32 namespace notifier { 32 namespace notifier {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 InvalidatorState push_client_state_; 183 InvalidatorState push_client_state_;
184 184
185 base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_; 185 base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener); 187 DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener);
188 }; 188 };
189 189
190 } // namespace syncer 190 } // namespace syncer
191 191
192 #endif // COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_ 192 #endif // COMPONENTS_INVALIDATION_SYNC_INVALIDATION_LISTENER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698