Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/browser/profiles/profile_impl.cc

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #include "content/public/browser/user_metrics.h" 89 #include "content/public/browser/user_metrics.h"
90 #include "content/public/common/content_constants.h" 90 #include "content/public/common/content_constants.h"
91 #include "grit/chromium_strings.h" 91 #include "grit/chromium_strings.h"
92 #include "grit/generated_resources.h" 92 #include "grit/generated_resources.h"
93 #include "ui/base/l10n/l10n_util.h" 93 #include "ui/base/l10n/l10n_util.h"
94 94
95 #if defined(ENABLE_CONFIGURATION_POLICY) 95 #if defined(ENABLE_CONFIGURATION_POLICY)
96 #include "chrome/browser/policy/browser_policy_connector.h" 96 #include "chrome/browser/policy/browser_policy_connector.h"
97 #include "chrome/browser/policy/managed_mode_policy_provider.h" 97 #include "chrome/browser/policy/managed_mode_policy_provider.h"
98 #if !defined(OS_CHROMEOS) 98 #if !defined(OS_CHROMEOS)
99 #include "chrome/browser/policy/user_cloud_policy_manager.h" 99 #include "chrome/browser/policy/cloud/user_cloud_policy_manager.h"
100 #include "chrome/browser/policy/user_cloud_policy_manager_factory.h" 100 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
101 #endif 101 #endif
102 #else 102 #else
103 #include "chrome/browser/policy/policy_service_stub.h" 103 #include "chrome/browser/policy/policy_service_stub.h"
104 #endif // defined(ENABLE_CONFIGURATION_POLICY) 104 #endif // defined(ENABLE_CONFIGURATION_POLICY)
105 105
106 #if defined(OS_WIN) 106 #if defined(OS_WIN)
107 #include "chrome/installer/util/install_util.h" 107 #include "chrome/installer/util/install_util.h"
108 #endif 108 #endif
109 109
110 #if defined(OS_CHROMEOS) 110 #if defined(OS_CHROMEOS)
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 FilePath* cache_path, 1172 FilePath* cache_path,
1173 int* max_size) { 1173 int* max_size) {
1174 DCHECK(cache_path); 1174 DCHECK(cache_path);
1175 DCHECK(max_size); 1175 DCHECK(max_size);
1176 FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir)); 1176 FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir));
1177 if (!path.empty()) 1177 if (!path.empty())
1178 *cache_path = path; 1178 *cache_path = path;
1179 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) : 1179 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) :
1180 prefs_->GetInteger(prefs::kDiskCacheSize); 1180 prefs_->GetInteger(prefs::kDiskCacheSize);
1181 } 1181 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698