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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/common/chrome_paths.h" | 22 #include "chrome/common/chrome_paths.h" |
23 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
24 #include "chrome/common/extensions/extension.h" | 24 #include "chrome/common/extensions/extension.h" |
25 #include "chrome/common/extensions/manifest.h" | 25 #include "chrome/common/extensions/manifest.h" |
26 #include "chrome/common/pref_names.h" | 26 #include "chrome/common/pref_names.h" |
27 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
28 #include "ui/base/l10n/l10n_util.h" | 28 #include "ui/base/l10n/l10n_util.h" |
29 | 29 |
30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
31 #include "chrome/browser/chromeos/login/user_manager.h" | 31 #include "chrome/browser/chromeos/login/user_manager.h" |
32 #include "chrome/browser/policy/app_pack_updater.h" | 32 #include "chrome/browser/chromeos/policy/app_pack_updater.h" |
33 #include "chrome/browser/policy/browser_policy_connector.h" | 33 #include "chrome/browser/policy/browser_policy_connector.h" |
34 #endif | 34 #endif |
35 | 35 |
36 #if !defined(OS_CHROMEOS) | 36 #if !defined(OS_CHROMEOS) |
37 #include "chrome/browser/extensions/default_apps.h" | 37 #include "chrome/browser/extensions/default_apps.h" |
38 #endif | 38 #endif |
39 | 39 |
40 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
41 #include "chrome/browser/extensions/external_registry_loader_win.h" | 41 #include "chrome/browser/extensions/external_registry_loader_win.h" |
42 #endif | 42 #endif |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 service, | 430 service, |
431 connector->GetAppPackUpdater()->CreateExternalLoader(), | 431 connector->GetAppPackUpdater()->CreateExternalLoader(), |
432 Manifest::EXTERNAL_PREF, | 432 Manifest::EXTERNAL_PREF, |
433 Manifest::INVALID_LOCATION, | 433 Manifest::INVALID_LOCATION, |
434 Extension::NO_FLAGS))); | 434 Extension::NO_FLAGS))); |
435 } | 435 } |
436 #endif | 436 #endif |
437 } | 437 } |
438 | 438 |
439 } // namespace extensions | 439 } // namespace extensions |
OLD | NEW |