| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/extensions/extension_system_impl.h" | 5 #include "chrome/browser/extensions/extension_system_impl.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 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" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "extensions/browser/lazy_background_task_queue.h" | 54 #include "extensions/browser/lazy_background_task_queue.h" |
| 55 #include "extensions/browser/management_policy.h" | 55 #include "extensions/browser/management_policy.h" |
| 56 #include "extensions/browser/process_manager.h" | 56 #include "extensions/browser/process_manager.h" |
| 57 #include "extensions/browser/quota_service.h" | 57 #include "extensions/browser/quota_service.h" |
| 58 #include "extensions/browser/runtime_data.h" | 58 #include "extensions/browser/runtime_data.h" |
| 59 #include "extensions/browser/state_store.h" | 59 #include "extensions/browser/state_store.h" |
| 60 #include "extensions/browser/warning_service.h" | 60 #include "extensions/browser/warning_service.h" |
| 61 #include "extensions/browser/warning_set.h" | 61 #include "extensions/browser/warning_set.h" |
| 62 #include "extensions/common/constants.h" | 62 #include "extensions/common/constants.h" |
| 63 #include "extensions/common/extension.h" | 63 #include "extensions/common/extension.h" |
| 64 #include "extensions/common/extension_urls.h" |
| 64 #include "extensions/common/manifest.h" | 65 #include "extensions/common/manifest.h" |
| 65 #include "net/base/escape.h" | 66 #include "net/base/escape.h" |
| 66 | 67 |
| 67 #if defined(ENABLE_NOTIFICATIONS) | 68 #if defined(ENABLE_NOTIFICATIONS) |
| 68 #include "chrome/browser/notifications/desktop_notification_service.h" | 69 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 69 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 70 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
| 70 #include "ui/message_center/notifier_settings.h" | 71 #include "ui/message_center/notifier_settings.h" |
| 71 #endif | 72 #endif |
| 72 | 73 |
| 73 #if defined(OS_CHROMEOS) | 74 #if defined(OS_CHROMEOS) |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( | 648 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( |
| 648 const std::string& extension_id, | 649 const std::string& extension_id, |
| 649 const UnloadedExtensionInfo::Reason reason) { | 650 const UnloadedExtensionInfo::Reason reason) { |
| 650 BrowserThread::PostTask( | 651 BrowserThread::PostTask( |
| 651 BrowserThread::IO, | 652 BrowserThread::IO, |
| 652 FROM_HERE, | 653 FROM_HERE, |
| 653 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); | 654 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); |
| 654 } | 655 } |
| 655 | 656 |
| 656 } // namespace extensions | 657 } // namespace extensions |
| OLD | NEW |