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 "chrome/browser/chrome_notification_types.h" |
8 #include "chrome/browser/extensions/extension_host.h" | 9 #include "chrome/browser/extensions/extension_host.h" |
9 #include "chrome/browser/extensions/extension_prefs.h" | 10 #include "chrome/browser/extensions/extension_prefs.h" |
10 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
11 #include "chrome/browser/extensions/extension_system.h" | 12 #include "chrome/browser/extensions/extension_system.h" |
12 #include "chrome/browser/extensions/platform_app_launcher.h" | 13 #include "chrome/browser/extensions/platform_app_launcher.h" |
13 #include "chrome/browser/extensions/shell_window_registry.h" | 14 #include "chrome/browser/extensions/shell_window_registry.h" |
14 #include "chrome/browser/extensions/unpacked_installer.h" | 15 #include "chrome/browser/extensions/unpacked_installer.h" |
15 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/common/chrome_notification_types.h" | |
17 #include "chrome/common/extensions/extension.h" | 17 #include "chrome/common/extensions/extension.h" |
18 #include "chrome/common/extensions/extension_constants.h" | 18 #include "chrome/common/extensions/extension_constants.h" |
19 #include "content/public/browser/notification_details.h" | 19 #include "content/public/browser/notification_details.h" |
20 #include "content/public/browser/notification_service.h" | 20 #include "content/public/browser/notification_service.h" |
21 #include "content/public/browser/notification_types.h" | 21 #include "content/public/browser/notification_types.h" |
22 | 22 |
23 using extensions::Extension; | 23 using extensions::Extension; |
24 using extensions::ExtensionPrefs; | 24 using extensions::ExtensionPrefs; |
25 | 25 |
26 namespace apps { | 26 namespace apps { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 Extension::DISABLE_RELOAD) != 0; | 134 Extension::DISABLE_RELOAD) != 0; |
135 } | 135 } |
136 return false; | 136 return false; |
137 } | 137 } |
138 | 138 |
139 bool AppLoadService::HasPostReloadAction(const std::string& extension_id) { | 139 bool AppLoadService::HasPostReloadAction(const std::string& extension_id) { |
140 return post_reload_actions_.find(extension_id) != post_reload_actions_.end(); | 140 return post_reload_actions_.find(extension_id) != post_reload_actions_.end(); |
141 } | 141 } |
142 | 142 |
143 } // namespace apps | 143 } // namespace apps |
OLD | NEW |