| 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/profiles/profile_impl.h" | 5 #include "chrome/browser/profiles/profile_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/environment.h" | 10 #include "base/environment.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 #include "ui/base/l10n/l10n_util.h" | 88 #include "ui/base/l10n/l10n_util.h" |
| 89 | 89 |
| 90 #if defined(ENABLE_CONFIGURATION_POLICY) | 90 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 91 #include "chrome/browser/policy/browser_policy_connector.h" | 91 #include "chrome/browser/policy/browser_policy_connector.h" |
| 92 #else | 92 #else |
| 93 #include "chrome/browser/policy/policy_service_stub.h" | 93 #include "chrome/browser/policy/policy_service_stub.h" |
| 94 #endif // defined(ENABLE_CONFIGURATION_POLICY) | 94 #endif // defined(ENABLE_CONFIGURATION_POLICY) |
| 95 | 95 |
| 96 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) | 96 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) |
| 97 #include "chrome/browser/web_resource/promo_resource_service.h" | 97 #include "chrome/browser/web_resource/promo_resource_service.h" |
| 98 #endif // ENABLE_PROMO_RESOURCE_SERVICE | 98 #endif // defined(ENABLE_PROMO_RESOURCE_SERVICE) |
| 99 | 99 |
| 100 #if defined(OS_WIN) | 100 #if defined(OS_WIN) |
| 101 #include "chrome/installer/util/install_util.h" | 101 #include "chrome/installer/util/install_util.h" |
| 102 #endif | 102 #endif |
| 103 | 103 |
| 104 #if defined(OS_CHROMEOS) | 104 #if defined(OS_CHROMEOS) |
| 105 #include "chrome/browser/chromeos/enterprise_extension_observer.h" | 105 #include "chrome/browser/chromeos/enterprise_extension_observer.h" |
| 106 #include "chrome/browser/chromeos/locale_change_guard.h" | 106 #include "chrome/browser/chromeos/locale_change_guard.h" |
| 107 #include "chrome/browser/chromeos/login/user_manager.h" | 107 #include "chrome/browser/chromeos/login/user_manager.h" |
| 108 #include "chrome/browser/chromeos/preferences.h" | 108 #include "chrome/browser/chromeos/preferences.h" |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 if (!path.empty()) | 1105 if (!path.empty()) |
| 1106 *cache_path = path; | 1106 *cache_path = path; |
| 1107 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) : | 1107 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) : |
| 1108 prefs_->GetInteger(prefs::kDiskCacheSize); | 1108 prefs_->GetInteger(prefs::kDiskCacheSize); |
| 1109 } | 1109 } |
| 1110 | 1110 |
| 1111 base::Callback<ChromeURLDataManagerBackend*(void)> | 1111 base::Callback<ChromeURLDataManagerBackend*(void)> |
| 1112 ProfileImpl::GetChromeURLDataManagerBackendGetter() const { | 1112 ProfileImpl::GetChromeURLDataManagerBackendGetter() const { |
| 1113 return io_data_.GetChromeURLDataManagerBackendGetter(); | 1113 return io_data_.GetChromeURLDataManagerBackendGetter(); |
| 1114 } | 1114 } |
| OLD | NEW |