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

Side by Side Diff: components/invalidation/impl/invalidation_notifier.h

Issue 1413173005: Deprecate *_EXPORT_PRIVATE macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl format Created 5 years, 1 month 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 // An implementation of Invalidator that wraps an invalidation 5 // An implementation of Invalidator that wraps an invalidation
6 // client. Handles the details of connecting to XMPP and hooking it 6 // client. Handles the details of connecting to XMPP and hooking it
7 // up to the invalidation client. 7 // up to the invalidation client.
8 // 8 //
9 // You probably don't want to use this directly; use 9 // You probably don't want to use this directly; use
10 // NonBlockingInvalidator. 10 // NonBlockingInvalidator.
(...skipping 16 matching lines...) Expand all
27 #include "components/invalidation/impl/sync_invalidation_listener.h" 27 #include "components/invalidation/impl/sync_invalidation_listener.h"
28 #include "components/invalidation/public/invalidation_export.h" 28 #include "components/invalidation/public/invalidation_export.h"
29 29
30 namespace notifier { 30 namespace notifier {
31 class PushClient; 31 class PushClient;
32 } // namespace notifier 32 } // namespace notifier
33 33
34 namespace syncer { 34 namespace syncer {
35 35
36 // This class must live on the IO thread. 36 // This class must live on the IO thread.
37 class INVALIDATION_EXPORT_PRIVATE InvalidationNotifier 37 class INVALIDATION_EXPORT InvalidationNotifier
38 : public Invalidator, 38 : public Invalidator,
39 public SyncInvalidationListener::Delegate, 39 public SyncInvalidationListener::Delegate,
40 public base::NonThreadSafe { 40 public base::NonThreadSafe {
41 public: 41 public:
42 // |invalidation_state_tracker| must be initialized. 42 // |invalidation_state_tracker| must be initialized.
43 InvalidationNotifier( 43 InvalidationNotifier(
44 scoped_ptr<SyncNetworkChannel> network_channel, 44 scoped_ptr<SyncNetworkChannel> network_channel,
45 const std::string& invalidator_client_id, 45 const std::string& invalidator_client_id,
46 const UnackedInvalidationsMap& saved_invalidations, 46 const UnackedInvalidationsMap& saved_invalidations,
47 const std::string& invalidation_bootstrap_data, 47 const std::string& invalidation_bootstrap_data,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // The invalidation listener. 101 // The invalidation listener.
102 SyncInvalidationListener invalidation_listener_; 102 SyncInvalidationListener invalidation_listener_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(InvalidationNotifier); 104 DISALLOW_COPY_AND_ASSIGN(InvalidationNotifier);
105 }; 105 };
106 106
107 } // namespace syncer 107 } // namespace syncer
108 108
109 #endif // COMPONENTS_INVALIDATION_IMPL_INVALIDATION_NOTIFIER_H_ 109 #endif // COMPONENTS_INVALIDATION_IMPL_INVALIDATION_NOTIFIER_H_
OLDNEW
« no previous file with comments | « components/invalidation/impl/gcm_network_channel.h ('k') | components/invalidation/impl/non_blocking_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698