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/extensions/external_provider_impl.h" | 5 #include "chrome/browser/extensions/external_provider_impl.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "base/version.h" | 18 #include "base/version.h" |
19 #include "chrome/browser/app_mode/app_mode_utils.h" | 19 #include "chrome/browser/app_mode/app_mode_utils.h" |
20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
21 #include "chrome/browser/extensions/extension_management.h" | 21 #include "chrome/browser/extensions/extension_management.h" |
22 #include "chrome/browser/extensions/extension_service.h" | 22 #include "chrome/browser/extensions/extension_service.h" |
23 #include "chrome/browser/extensions/external_component_loader.h" | 23 #include "chrome/browser/extensions/external_component_loader.h" |
24 #include "chrome/browser/extensions/external_policy_loader.h" | 24 #include "chrome/browser/extensions/external_policy_loader.h" |
25 #include "chrome/browser/extensions/external_pref_loader.h" | 25 #include "chrome/browser/extensions/external_pref_loader.h" |
26 #include "chrome/browser/profiles/profile.h" | 26 #include "chrome/browser/profiles/profile.h" |
27 #include "chrome/common/chrome_paths.h" | 27 #include "chrome/common/chrome_paths.h" |
28 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
29 #include "chrome/common/pref_names.h" | |
30 #include "components/crx_file/id_util.h" | 29 #include "components/crx_file/id_util.h" |
31 #include "content/public/browser/browser_thread.h" | 30 #include "content/public/browser/browser_thread.h" |
32 #include "extensions/browser/extension_system.h" | 31 #include "extensions/browser/extension_system.h" |
33 #include "extensions/browser/external_provider_interface.h" | 32 #include "extensions/browser/external_provider_interface.h" |
34 #include "extensions/common/extension.h" | 33 #include "extensions/common/extension.h" |
35 #include "extensions/common/manifest.h" | 34 #include "extensions/common/manifest.h" |
36 #include "ui/base/l10n/l10n_util.h" | 35 #include "ui/base/l10n/l10n_util.h" |
37 | 36 |
38 #if defined(OS_CHROMEOS) | 37 #if defined(OS_CHROMEOS) |
39 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 38 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 service, | 596 service, |
598 new ExternalComponentLoader(profile), | 597 new ExternalComponentLoader(profile), |
599 profile, | 598 profile, |
600 Manifest::INVALID_LOCATION, | 599 Manifest::INVALID_LOCATION, |
601 Manifest::EXTERNAL_COMPONENT, | 600 Manifest::EXTERNAL_COMPONENT, |
602 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); | 601 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); |
603 } | 602 } |
604 } | 603 } |
605 | 604 |
606 } // namespace extensions | 605 } // namespace extensions |
OLD | NEW |