Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
| 15 #include "components/sync/device_info/device_info_tracker.h" | 15 #include "components/sync/device_info/device_info_tracker.h" |
| 16 #include "content/public/browser/notification_registrar.h" | |
|
lazyboy
2017/05/17 18:14:48
^^^ Same here.
| |
| 16 #include "extensions/browser/browser_context_keyed_api_factory.h" | 17 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 17 #include "extensions/browser/event_router.h" | 18 #include "extensions/browser/event_router.h" |
| 18 #include "extensions/browser/extension_registry_observer.h" | 19 #include "extensions/browser/extension_registry_observer.h" |
| 19 | 20 |
| 20 class Profile; | 21 class Profile; |
| 21 | 22 |
| 22 namespace content { | 23 namespace content { |
| 23 class BrowserContext; | 24 class BrowserContext; |
| 24 class NotificationRegistrar; | |
| 25 } // namespace content | 25 } // namespace content |
| 26 | 26 |
| 27 namespace extensions { | 27 namespace extensions { |
| 28 class BrowserContextKeyedAPI; | 28 class BrowserContextKeyedAPI; |
| 29 class ExtensionRegistry; | 29 class ExtensionRegistry; |
| 30 | 30 |
| 31 struct EventListenerInfo; | 31 struct EventListenerInfo; |
| 32 | 32 |
| 33 // An object of this class is created for each extension that has registered | 33 // An object of this class is created for each extension that has registered |
| 34 // to be notified for device info change. The objects listen for notification | 34 // to be notified for device info change. The objects listen for notification |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 98 extension_registry_observer_; | 98 extension_registry_observer_; |
| 99 | 99 |
| 100 FRIEND_TEST_ALL_PREFIXES(SignedInDevicesManager, UpdateListener); | 100 FRIEND_TEST_ALL_PREFIXES(SignedInDevicesManager, UpdateListener); |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(SignedInDevicesManager); | 102 DISALLOW_COPY_AND_ASSIGN(SignedInDevicesManager); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace extensions | 105 } // namespace extensions |
| 106 | 106 |
| 107 #endif // CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MAN AGER_H__ | 107 #endif // CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MAN AGER_H__ |
| OLD | NEW |