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 #include "apps/app_load_service.h" | 5 #include "apps/app_load_service.h" |
6 | 6 |
7 #include "apps/app_load_service_factory.h" | 7 #include "apps/app_load_service_factory.h" |
8 #include "apps/app_restore_service.h" | 8 #include "apps/app_restore_service.h" |
9 #include "apps/app_window_registry.h" | |
10 #include "apps/launcher.h" | 9 #include "apps/launcher.h" |
11 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
12 #include "chrome/browser/extensions/unpacked_installer.h" | 11 #include "chrome/browser/extensions/unpacked_installer.h" |
13 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
14 #include "content/public/browser/notification_details.h" | 13 #include "content/public/browser/notification_details.h" |
15 #include "content/public/browser/notification_service.h" | 14 #include "content/public/browser/notification_service.h" |
16 #include "content/public/browser/notification_types.h" | 15 #include "content/public/browser/notification_types.h" |
| 16 #include "extensions/browser/app_window/app_window_registry.h" |
17 #include "extensions/browser/extension_host.h" | 17 #include "extensions/browser/extension_host.h" |
18 #include "extensions/browser/extension_prefs.h" | 18 #include "extensions/browser/extension_prefs.h" |
19 #include "extensions/browser/extension_system.h" | 19 #include "extensions/browser/extension_system.h" |
20 #include "extensions/browser/notification_types.h" | 20 #include "extensions/browser/notification_types.h" |
21 #include "extensions/common/extension.h" | 21 #include "extensions/common/extension.h" |
22 | 22 |
23 using extensions::Extension; | 23 using extensions::Extension; |
24 using extensions::ExtensionPrefs; | 24 using extensions::ExtensionPrefs; |
25 using extensions::ExtensionSystem; | 25 using extensions::ExtensionSystem; |
26 | 26 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 Extension::DISABLE_RELOAD) != 0; | 144 Extension::DISABLE_RELOAD) != 0; |
145 } | 145 } |
146 return false; | 146 return false; |
147 } | 147 } |
148 | 148 |
149 bool AppLoadService::HasPostReloadAction(const std::string& extension_id) { | 149 bool AppLoadService::HasPostReloadAction(const std::string& extension_id) { |
150 return post_reload_actions_.find(extension_id) != post_reload_actions_.end(); | 150 return post_reload_actions_.find(extension_id) != post_reload_actions_.end(); |
151 } | 151 } |
152 | 152 |
153 } // namespace apps | 153 } // namespace apps |
OLD | NEW |