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" | |
16 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
17 #include "base/values.h" | 16 #include "base/values.h" |
18 #include "base/version.h" | 17 #include "base/version.h" |
19 #include "chrome/browser/app_mode/app_mode_utils.h" | 18 #include "chrome/browser/app_mode/app_mode_utils.h" |
20 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
21 #include "chrome/browser/extensions/extension_management.h" | 20 #include "chrome/browser/extensions/extension_management.h" |
22 #include "chrome/browser/extensions/extension_service.h" | 21 #include "chrome/browser/extensions/extension_service.h" |
23 #include "chrome/browser/extensions/external_component_loader.h" | 22 #include "chrome/browser/extensions/external_component_loader.h" |
24 #include "chrome/browser/extensions/external_policy_loader.h" | 23 #include "chrome/browser/extensions/external_policy_loader.h" |
25 #include "chrome/browser/extensions/external_pref_loader.h" | 24 #include "chrome/browser/extensions/external_pref_loader.h" |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 service, | 603 service, |
605 new ExternalComponentLoader(profile), | 604 new ExternalComponentLoader(profile), |
606 profile, | 605 profile, |
607 Manifest::INVALID_LOCATION, | 606 Manifest::INVALID_LOCATION, |
608 Manifest::EXTERNAL_COMPONENT, | 607 Manifest::EXTERNAL_COMPONENT, |
609 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); | 608 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); |
610 } | 609 } |
611 } | 610 } |
612 | 611 |
613 } // namespace extensions | 612 } // namespace extensions |
OLD | NEW |