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_window.h" | 8 #include "apps/app_window.h" |
9 #include "apps/app_window_registry.h" | 9 #include "apps/app_window_registry.h" |
10 #include "apps/saved_files_service.h" | 10 #include "apps/saved_files_service.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 #include "extensions/common/feature_switch.h" | 89 #include "extensions/common/feature_switch.h" |
90 #include "extensions/common/manifest.h" | 90 #include "extensions/common/manifest.h" |
91 #include "extensions/common/manifest_handlers/background_info.h" | 91 #include "extensions/common/manifest_handlers/background_info.h" |
92 #include "extensions/common/manifest_handlers/incognito_info.h" | 92 #include "extensions/common/manifest_handlers/incognito_info.h" |
93 #include "extensions/common/permissions/permissions_data.h" | 93 #include "extensions/common/permissions/permissions_data.h" |
94 #include "grit/browser_resources.h" | 94 #include "grit/browser_resources.h" |
95 #include "grit/chromium_strings.h" | 95 #include "grit/chromium_strings.h" |
96 #include "grit/generated_resources.h" | 96 #include "grit/generated_resources.h" |
97 #include "grit/theme_resources.h" | 97 #include "grit/theme_resources.h" |
98 #include "ui/base/l10n/l10n_util.h" | 98 #include "ui/base/l10n/l10n_util.h" |
99 #include "ui/base/resource/resource_bundle.h" | |
100 | 99 |
101 using base::DictionaryValue; | 100 using base::DictionaryValue; |
102 using base::ListValue; | 101 using base::ListValue; |
103 using content::RenderViewHost; | 102 using content::RenderViewHost; |
104 using content::WebContents; | 103 using content::WebContents; |
105 | 104 |
106 namespace { | 105 namespace { |
107 const char kAppsDeveloperToolsExtensionId[] = | 106 const char kAppsDeveloperToolsExtensionId[] = |
108 "ohmmkhmmmpcnpikjeljgnaoabkaalbgc"; | 107 "ohmmkhmmmpcnpikjeljgnaoabkaalbgc"; |
109 } | 108 } |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 extension_service_->EnableExtension(extension_id); | 1394 extension_service_->EnableExtension(extension_id); |
1396 } else { | 1395 } else { |
1397 ExtensionErrorReporter::GetInstance()->ReportError( | 1396 ExtensionErrorReporter::GetInstance()->ReportError( |
1398 base::UTF8ToUTF16(JoinString(requirement_errors, ' ')), | 1397 base::UTF8ToUTF16(JoinString(requirement_errors, ' ')), |
1399 true); // Be noisy. | 1398 true); // Be noisy. |
1400 } | 1399 } |
1401 requirements_checker_.reset(); | 1400 requirements_checker_.reset(); |
1402 } | 1401 } |
1403 | 1402 |
1404 } // namespace extensions | 1403 } // namespace extensions |
OLD | NEW |