OLD | NEW |
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 #ifndef CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ |
6 #define CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ | 6 #define CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback_list.h" | 10 #include "base/callback_list.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "components/sync_sessions/sessions_sync_manager.h" | 13 #include "components/sync_sessions/sessions_sync_manager.h" |
13 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
15 | 16 |
16 class GURL; | 17 class GURL; |
17 class Profile; | 18 class Profile; |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 class WebContents; | 21 class WebContents; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 favicon_changed_subscription_; | 76 favicon_changed_subscription_; |
76 | 77 |
77 base::WeakPtrFactory<NotificationServiceSessionsRouter> weak_ptr_factory_; | 78 base::WeakPtrFactory<NotificationServiceSessionsRouter> weak_ptr_factory_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(NotificationServiceSessionsRouter); | 80 DISALLOW_COPY_AND_ASSIGN(NotificationServiceSessionsRouter); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace browser_sync | 83 } // namespace browser_sync |
83 | 84 |
84 #endif // CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ | 85 #endif // CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ |
OLD | NEW |