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

Side by Side Diff: chrome/browser/sync/notifier/p2p_notifier.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2011 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 notifier that uses p2p notifications based on XMPP push 5 // A notifier that uses p2p notifications based on XMPP push
6 // notifications. Used only for sync integration tests. 6 // notifications. Used only for sync integration tests.
7 7
8 #ifndef CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_H_ 8 #ifndef CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_H_
9 #define CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_H_ 9 #define CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_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/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "chrome/browser/sync/notifier/sync_notifier.h" 17 #include "chrome/browser/sync/notifier/sync_notifier.h"
18 #include "chrome/browser/sync/syncable/model_type.h"
19 #include "jingle/notifier/listener/talk_mediator.h" 18 #include "jingle/notifier/listener/talk_mediator.h"
19 #include "sync/syncable/model_type.h"
20 20
21 namespace base { 21 namespace base {
22 class MessageLoopProxy; 22 class MessageLoopProxy;
23 } 23 }
24 24
25 25
26 namespace sync_notifier { 26 namespace sync_notifier {
27 27
28 // The channel to use for sync notifications. 28 // The channel to use for sync notifications.
29 extern const char* kSyncP2PNotificationChannel; 29 extern const char* kSyncP2PNotificationChannel;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 bool notifications_enabled_; 134 bool notifications_enabled_;
135 // Which set of clients should be sent notifications. 135 // Which set of clients should be sent notifications.
136 P2PNotificationTarget send_notification_target_; 136 P2PNotificationTarget send_notification_target_;
137 137
138 syncable::ModelTypeSet enabled_types_; 138 syncable::ModelTypeSet enabled_types_;
139 scoped_refptr<base::MessageLoopProxy> parent_message_loop_proxy_; 139 scoped_refptr<base::MessageLoopProxy> parent_message_loop_proxy_;
140 }; 140 };
141 141
142 } // namespace sync_notifier 142 } // namespace sync_notifier
143 #endif // CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_H_ 143 #endif // CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698