OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/webui/extensions/extension_settings_handler.h" | 5 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" |
6 | 6 |
7 #include "apps/app_load_service.h" | 7 #include "apps/app_load_service.h" |
8 #include "apps/app_restore_service.h" | 8 #include "apps/app_restore_service.h" |
9 #include "apps/saved_files_service.h" | 9 #include "apps/saved_files_service.h" |
10 #include "apps/shell_window.h" | 10 #include "apps/shell_window.h" |
11 #include "apps/shell_window_registry.h" | 11 #include "apps/shell_window_registry.h" |
12 #include "base/auto_reset.h" | 12 #include "base/auto_reset.h" |
13 #include "base/base64.h" | 13 #include "base/base64.h" |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/bind_helpers.h" | 15 #include "base/bind_helpers.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/location.h" | 17 #include "base/location.h" |
18 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
19 #include "base/prefs/pref_service.h" | 19 #include "base/prefs/pref_service.h" |
20 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
21 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "base/values.h" | 23 #include "base/values.h" |
24 #include "base/version.h" | |
25 #include "chrome/browser/browser_process.h" | 24 #include "chrome/browser/browser_process.h" |
26 #include "chrome/browser/chrome_notification_types.h" | 25 #include "chrome/browser/chrome_notification_types.h" |
27 #include "chrome/browser/devtools/devtools_window.h" | 26 #include "chrome/browser/devtools/devtools_window.h" |
28 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" | 27 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" |
29 #include "chrome/browser/extensions/component_loader.h" | 28 #include "chrome/browser/extensions/component_loader.h" |
30 #include "chrome/browser/extensions/crx_installer.h" | 29 #include "chrome/browser/extensions/crx_installer.h" |
31 #include "chrome/browser/extensions/devtools_util.h" | 30 #include "chrome/browser/extensions/devtools_util.h" |
32 #include "chrome/browser/extensions/error_console/error_console.h" | 31 #include "chrome/browser/extensions/error_console/error_console.h" |
33 #include "chrome/browser/extensions/extension_action_manager.h" | 32 #include "chrome/browser/extensions/extension_action_manager.h" |
34 #include "chrome/browser/extensions/extension_disabled_ui.h" | 33 #include "chrome/browser/extensions/extension_disabled_ui.h" |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 extension_service_->EnableExtension(extension_id); | 1233 extension_service_->EnableExtension(extension_id); |
1235 } else { | 1234 } else { |
1236 ExtensionErrorReporter::GetInstance()->ReportError( | 1235 ExtensionErrorReporter::GetInstance()->ReportError( |
1237 UTF8ToUTF16(JoinString(requirement_errors, ' ')), | 1236 UTF8ToUTF16(JoinString(requirement_errors, ' ')), |
1238 true /* be noisy */); | 1237 true /* be noisy */); |
1239 } | 1238 } |
1240 requirements_checker_.reset(); | 1239 requirements_checker_.reset(); |
1241 } | 1240 } |
1242 | 1241 |
1243 } // namespace extensions | 1242 } // namespace extensions |
OLD | NEW |