| 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/shell/shell_extension_system.h" | 5 #include "apps/shell/shell_extension_system.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
| 12 #include "chrome/browser/extensions/extension_prefs.h" | |
| 13 #include "chrome/common/extensions/extension_file_util.h" | 12 #include "chrome/common/extensions/extension_file_util.h" |
| 14 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
| 15 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 16 #include "content/public/browser/notification_details.h" | 15 #include "content/public/browser/notification_details.h" |
| 17 #include "content/public/browser/notification_service.h" | 16 #include "content/public/browser/notification_service.h" |
| 18 #include "content/public/browser/notification_source.h" | 17 #include "content/public/browser/notification_source.h" |
| 19 #include "extensions/browser/event_router.h" | 18 #include "extensions/browser/event_router.h" |
| 19 #include "extensions/browser/extension_prefs.h" |
| 20 #include "extensions/browser/extension_registry.h" | 20 #include "extensions/browser/extension_registry.h" |
| 21 #include "extensions/browser/info_map.h" | 21 #include "extensions/browser/info_map.h" |
| 22 #include "extensions/browser/lazy_background_task_queue.h" | 22 #include "extensions/browser/lazy_background_task_queue.h" |
| 23 #include "extensions/browser/process_manager.h" | 23 #include "extensions/browser/process_manager.h" |
| 24 | 24 |
| 25 using content::BrowserContext; | 25 using content::BrowserContext; |
| 26 using content::BrowserThread; | 26 using content::BrowserThread; |
| 27 | 27 |
| 28 namespace extensions { | 28 namespace extensions { |
| 29 | 29 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 void ShellExtensionSystem::UnregisterExtensionWithRequestContexts( | 150 void ShellExtensionSystem::UnregisterExtensionWithRequestContexts( |
| 151 const std::string& extension_id, | 151 const std::string& extension_id, |
| 152 const UnloadedExtensionInfo::Reason reason) { | 152 const UnloadedExtensionInfo::Reason reason) { |
| 153 } | 153 } |
| 154 | 154 |
| 155 const OneShotEvent& ShellExtensionSystem::ready() const { | 155 const OneShotEvent& ShellExtensionSystem::ready() const { |
| 156 return ready_; | 156 return ready_; |
| 157 } | 157 } |
| 158 | 158 |
| 159 } // namespace extensions | 159 } // namespace extensions |
| OLD | NEW |