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

Side by Side Diff: sync/notifier/registration_manager.h

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « sync/notifier/push_client_channel.h ('k') | sync/notifier/state_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // A class that manages the registration of types for server-issued 5 // A class that manages the registration of types for server-issued
6 // notifications. 6 // notifications.
7 7
8 #ifndef SYNC_NOTIFIER_REGISTRATION_MANAGER_H_ 8 #ifndef SYNC_NOTIFIER_REGISTRATION_MANAGER_H_
9 #define SYNC_NOTIFIER_REGISTRATION_MANAGER_H_ 9 #define SYNC_NOTIFIER_REGISTRATION_MANAGER_H_
10 #pragma once
11 10
12 #include <map> 11 #include <map>
13 12
14 #include "base/basictypes.h" 13 #include "base/basictypes.h"
15 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
16 #include "base/time.h" 15 #include "base/time.h"
17 #include "base/timer.h" 16 #include "base/timer.h"
18 // For invalidation::InvalidationListener::RegistrationState. 17 // For invalidation::InvalidationListener::RegistrationState.
19 #include "google/cacheinvalidation/include/invalidation-listener.h" 18 #include "google/cacheinvalidation/include/invalidation-listener.h"
20 #include "google/cacheinvalidation/include/types.h" 19 #include "google/cacheinvalidation/include/types.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 RegistrationStatusMap registration_statuses_; 176 RegistrationStatusMap registration_statuses_;
178 // Weak pointer. 177 // Weak pointer.
179 invalidation::InvalidationClient* invalidation_client_; 178 invalidation::InvalidationClient* invalidation_client_;
180 179
181 DISALLOW_COPY_AND_ASSIGN(RegistrationManager); 180 DISALLOW_COPY_AND_ASSIGN(RegistrationManager);
182 }; 181 };
183 182
184 } // namespace syncer 183 } // namespace syncer
185 184
186 #endif // SYNC_NOTIFIER_REGISTRATION_MANAGER_H_ 185 #endif // SYNC_NOTIFIER_REGISTRATION_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/notifier/push_client_channel.h ('k') | sync/notifier/state_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698