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

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

Issue 2053143002: Supports multiple profiles when DiskCacheDir is overridden by command line switches or group policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linux trybot failure Created 4 years, 6 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
« no previous file with comments | « chrome/browser/profiles/profile_browsertest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 #if defined(OS_CHROMEOS) 150 #if defined(OS_CHROMEOS)
151 friend class chromeos::KioskTest; 151 friend class chromeos::KioskTest;
152 friend class chromeos::SupervisedUserTestBase; 152 friend class chromeos::SupervisedUserTestBase;
153 #endif 153 #endif
154 friend class Profile; 154 friend class Profile;
155 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, 155 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest,
156 ProfilesLaunchedAfterCrash); 156 ProfilesLaunchedAfterCrash);
157 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DISABLED_ProfileReadmeCreated); 157 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DISABLED_ProfileReadmeCreated);
158 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, 158 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest,
159 ProfileDeletedBeforeReadmeCreated); 159 ProfileDeletedBeforeReadmeCreated);
160 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DiskCacheDirOverride);
160 161
161 ProfileImpl(const base::FilePath& path, 162 ProfileImpl(const base::FilePath& path,
162 Delegate* delegate, 163 Delegate* delegate,
163 CreateMode create_mode, 164 CreateMode create_mode,
164 base::SequencedTaskRunner* sequenced_task_runner); 165 base::SequencedTaskRunner* sequenced_task_runner);
165 166
166 // Does final initialization. Should be called after prefs were loaded. 167 // Does final initialization. Should be called after prefs were loaded.
167 void DoFinalInit(); 168 void DoFinalInit();
168 169
169 // Switch locale (when possible) and proceed to OnLocaleReady(). 170 // Switch locale (when possible) and proceed to OnLocaleReady().
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // components/keyed_service/content/browser_context_keyed_service_factory.* 270 // components/keyed_service/content/browser_context_keyed_service_factory.*
270 271
271 Profile::Delegate* delegate_; 272 Profile::Delegate* delegate_;
272 273
273 chrome_browser_net::Predictor* predictor_; 274 chrome_browser_net::Predictor* predictor_;
274 275
275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
276 }; 277 };
277 278
278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_browsertest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698