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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 #if defined(ENABLE_NOTIFICATIONS) | 57 #if defined(ENABLE_NOTIFICATIONS) |
58 #include "chrome/browser/notifications/desktop_notification_service.h" | 58 #include "chrome/browser/notifications/desktop_notification_service.h" |
59 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 59 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
60 #include "ui/message_center/notifier_settings.h" | 60 #include "ui/message_center/notifier_settings.h" |
61 #endif | 61 #endif |
62 | 62 |
63 #if defined(OS_CHROMEOS) | 63 #if defined(OS_CHROMEOS) |
64 #include "chrome/browser/app_mode/app_mode_utils.h" | 64 #include "chrome/browser/app_mode/app_mode_utils.h" |
65 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol
icy_provider.h" | 65 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol
icy_provider.h" |
66 #include "chrome/browser/chromeos/login/user.h" | 66 #include "chrome/browser/chromeos/login/users/user.h" |
67 #include "chrome/browser/chromeos/login/user_manager.h" | 67 #include "chrome/browser/chromeos/login/users/user_manager.h" |
68 #include "chrome/browser/chromeos/policy/device_local_account.h" | 68 #include "chrome/browser/chromeos/policy/device_local_account.h" |
69 #include "chromeos/chromeos_switches.h" | 69 #include "chromeos/chromeos_switches.h" |
70 #include "chromeos/login/login_state.h" | 70 #include "chromeos/login/login_state.h" |
71 #endif | 71 #endif |
72 | 72 |
73 using content::BrowserThread; | 73 using content::BrowserThread; |
74 | 74 |
75 namespace extensions { | 75 namespace extensions { |
76 | 76 |
77 // | 77 // |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( | 491 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( |
492 const std::string& extension_id, | 492 const std::string& extension_id, |
493 const UnloadedExtensionInfo::Reason reason) { | 493 const UnloadedExtensionInfo::Reason reason) { |
494 BrowserThread::PostTask( | 494 BrowserThread::PostTask( |
495 BrowserThread::IO, | 495 BrowserThread::IO, |
496 FROM_HERE, | 496 FROM_HERE, |
497 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); | 497 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); |
498 } | 498 } |
499 | 499 |
500 } // namespace extensions | 500 } // namespace extensions |
OLD | NEW |