| 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/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_service.h" | 21 #include "chrome/browser/extensions/extension_service.h" |
| 22 #include "chrome/browser/extensions/extension_system.h" | 22 #include "chrome/browser/extensions/extension_system.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/extensions/external_provider_interface.h" | 26 #include "chrome/browser/extensions/external_provider_interface.h" |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 new ExternalProviderImpl( | 490 new ExternalProviderImpl( |
| 491 service, | 491 service, |
| 492 new ExternalComponentLoader(), | 492 new ExternalComponentLoader(), |
| 493 profile, | 493 profile, |
| 494 Manifest::INVALID_LOCATION, | 494 Manifest::INVALID_LOCATION, |
| 495 Manifest::EXTERNAL_POLICY_DOWNLOAD, | 495 Manifest::EXTERNAL_POLICY_DOWNLOAD, |
| 496 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); | 496 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); |
| 497 } | 497 } |
| 498 | 498 |
| 499 } // namespace extensions | 499 } // namespace extensions |
| OLD | NEW |