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

Side by Side Diff: sync/notifier/chrome_invalidation_client.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/js/sync_js_controller.h ('k') | sync/notifier/chrome_system_resources.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 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 SYNC_NOTIFIER_CHROME_INVALIDATION_CLIENT_H_ 8 #ifndef SYNC_NOTIFIER_CHROME_INVALIDATION_CLIENT_H_
9 #define SYNC_NOTIFIER_CHROME_INVALIDATION_CLIENT_H_ 9 #define SYNC_NOTIFIER_CHROME_INVALIDATION_CLIENT_H_
10 #pragma once
11 10
12 #include <map> 11 #include <map>
13 #include <string> 12 #include <string>
14 13
15 #include "base/basictypes.h" 14 #include "base/basictypes.h"
16 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
17 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
19 #include "base/threading/non_thread_safe.h" 18 #include "base/threading/non_thread_safe.h"
20 #include "google/cacheinvalidation/include/invalidation-listener.h" 19 #include "google/cacheinvalidation/include/invalidation-listener.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // NO_NOTIFICATION_ERROR meaning notifications are enabled). 151 // NO_NOTIFICATION_ERROR meaning notifications are enabled).
153 NotificationsDisabledReason ticl_state_; 152 NotificationsDisabledReason ticl_state_;
154 NotificationsDisabledReason push_client_state_; 153 NotificationsDisabledReason push_client_state_;
155 154
156 DISALLOW_COPY_AND_ASSIGN(ChromeInvalidationClient); 155 DISALLOW_COPY_AND_ASSIGN(ChromeInvalidationClient);
157 }; 156 };
158 157
159 } // namespace syncer 158 } // namespace syncer
160 159
161 #endif // SYNC_NOTIFIER_CHROME_INVALIDATION_CLIENT_H_ 160 #endif // SYNC_NOTIFIER_CHROME_INVALIDATION_CLIENT_H_
OLDNEW
« no previous file with comments | « sync/js/sync_js_controller.h ('k') | sync/notifier/chrome_system_resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698