| 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 // Defines the Chrome Extensions Managed Mode API relevant classes to realize | 5 // Defines the Chrome Extensions Managed Mode API relevant classes to realize |
| 6 // the API as specified in the extension API JSON. | 6 // the API as specified in the extension API JSON. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_PRIVATE_
API_H_ | 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_PRIVATE_
API_H_ |
| 9 #define CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_PRIVATE_
API_H_ | 9 #define CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_PRIVATE_
API_H_ |
| 10 | 10 |
| 11 #include "base/prefs/public/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
| 12 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 12 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
| 13 #include "chrome/browser/extensions/event_router.h" | 13 #include "chrome/browser/extensions/event_router.h" |
| 14 #include "chrome/browser/extensions/extension_function.h" | 14 #include "chrome/browser/extensions/extension_function.h" |
| 15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace extensions { | 19 namespace extensions { |
| 20 | 20 |
| 21 class ManagedModeEventRouter { | 21 class ManagedModeEventRouter { |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 // Created lazily upon OnListenerAdded. | 114 // Created lazily upon OnListenerAdded. |
| 115 scoped_ptr<ManagedModeEventRouter> managed_mode_event_router_; | 115 scoped_ptr<ManagedModeEventRouter> managed_mode_event_router_; |
| 116 | 116 |
| 117 DISALLOW_COPY_AND_ASSIGN(ManagedModeAPI); | 117 DISALLOW_COPY_AND_ASSIGN(ManagedModeAPI); |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace extensions | 120 } // namespace extensions |
| 121 | 121 |
| 122 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_PRIVA
TE_API_H_ | 122 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_PRIVA
TE_API_H_ |
| OLD | NEW |