OLD | NEW |
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 #ifndef CHROME_BROWSER_SYNC_GLUE_ANDROID_INVALIDATOR_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_ANDROID_INVALIDATOR_BRIDGE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_ANDROID_INVALIDATOR_BRIDGE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_ANDROID_INVALIDATOR_BRIDGE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/task/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 #include "sync/notifier/invalidator.h" | 13 #include "sync/notifier/invalidator.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace syncer { | 17 namespace syncer { |
18 class InvalidationHandler; | 18 class InvalidationHandler; |
19 } // namespace | 19 } // namespace |
20 | 20 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Created on the UI thread, used only on |sync_task_runner_|. | 76 // Created on the UI thread, used only on |sync_task_runner_|. |
77 const scoped_refptr<Core> core_; | 77 const scoped_refptr<Core> core_; |
78 | 78 |
79 // Used only on the UI thread. | 79 // Used only on the UI thread. |
80 content::NotificationRegistrar registrar_; | 80 content::NotificationRegistrar registrar_; |
81 }; | 81 }; |
82 | 82 |
83 } // namespace browser_sync | 83 } // namespace browser_sync |
84 | 84 |
85 #endif // CHROME_BROWSER_SYNC_GLUE_ANDROID_INVALIDATOR_BRIDGE_H_ | 85 #endif // CHROME_BROWSER_SYNC_GLUE_ANDROID_INVALIDATOR_BRIDGE_H_ |
OLD | NEW |