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

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

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 // An invalidator that uses p2p invalidations based on XMPP push 5 // An invalidator that uses p2p invalidations based on XMPP push
6 // notifications. Used only for sync integration tests. 6 // notifications. Used only for sync integration tests.
7 7
8 #ifndef COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_ 8 #ifndef COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_
9 #define COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_ 9 #define COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
17 #include "base/observer_list.h" 18 #include "base/observer_list.h"
18 #include "base/threading/thread_checker.h" 19 #include "base/threading/thread_checker.h"
19 #include "components/invalidation/impl/invalidator.h" 20 #include "components/invalidation/impl/invalidator.h"
20 #include "components/invalidation/impl/invalidator_registrar.h" 21 #include "components/invalidation/impl/invalidator_registrar.h"
21 #include "components/invalidation/public/invalidation_export.h" 22 #include "components/invalidation/public/invalidation_export.h"
22 #include "components/invalidation/public/invalidator_state.h" 23 #include "components/invalidation/public/invalidator_state.h"
23 #include "components/invalidation/public/object_id_invalidation_map.h" 24 #include "components/invalidation/public/object_id_invalidation_map.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool notifications_enabled_; 140 bool notifications_enabled_;
140 // Which set of clients should be sent notifications. 141 // Which set of clients should be sent notifications.
141 P2PNotificationTarget send_notification_target_; 142 P2PNotificationTarget send_notification_target_;
142 143
143 DISALLOW_COPY_AND_ASSIGN(P2PInvalidator); 144 DISALLOW_COPY_AND_ASSIGN(P2PInvalidator);
144 }; 145 };
145 146
146 } // namespace syncer 147 } // namespace syncer
147 148
148 #endif // COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_ 149 #endif // COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_
OLDNEW
« no previous file with comments | « components/invalidation/impl/p2p_invalidation_service.h ('k') | components/invalidation/impl/p2p_invalidator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698