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

Side by Side Diff: sync/notifier/invalidation_notifier.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/chrome_system_resources.h ('k') | sync/notifier/invalidation_util.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 // An implementation of SyncNotifier that wraps an invalidation 5 // An implementation of SyncNotifier 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 // NonBlockingInvalidationNotifier. 10 // NonBlockingInvalidationNotifier.
11 11
12 #ifndef SYNC_NOTIFIER_INVALIDATION_NOTIFIER_H_ 12 #ifndef SYNC_NOTIFIER_INVALIDATION_NOTIFIER_H_
13 #define SYNC_NOTIFIER_INVALIDATION_NOTIFIER_H_ 13 #define SYNC_NOTIFIER_INVALIDATION_NOTIFIER_H_
14 #pragma once
15 14
16 #include <string> 15 #include <string>
17 16
18 #include "base/basictypes.h" 17 #include "base/basictypes.h"
19 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
20 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
21 #include "base/observer_list.h" 20 #include "base/observer_list.h"
22 #include "base/threading/non_thread_safe.h" 21 #include "base/threading/non_thread_safe.h"
23 #include "sync/internal_api/public/base/model_type.h" 22 #include "sync/internal_api/public/base/model_type.h"
24 #include "sync/internal_api/public/util/weak_handle.h" 23 #include "sync/internal_api/public/util/weak_handle.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 101
103 // The invalidation client. 102 // The invalidation client.
104 ChromeInvalidationClient invalidation_client_; 103 ChromeInvalidationClient invalidation_client_;
105 104
106 DISALLOW_COPY_AND_ASSIGN(InvalidationNotifier); 105 DISALLOW_COPY_AND_ASSIGN(InvalidationNotifier);
107 }; 106 };
108 107
109 } // namespace syncer 108 } // namespace syncer
110 109
111 #endif // SYNC_NOTIFIER_INVALIDATION_NOTIFIER_H_ 110 #endif // SYNC_NOTIFIER_INVALIDATION_NOTIFIER_H_
OLDNEW
« no previous file with comments | « sync/notifier/chrome_system_resources.h ('k') | sync/notifier/invalidation_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698