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

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

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 // 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 <string> 10 #include <string>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); 135 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated);
136 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, 136 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest,
137 ProfileDeletedBeforeReadmeCreated); 137 ProfileDeletedBeforeReadmeCreated);
138 138
139 // Delay, in milliseconds, before README file is created for a new profile. 139 // Delay, in milliseconds, before README file is created for a new profile.
140 // This is non-const for testing purposes. 140 // This is non-const for testing purposes.
141 static int create_readme_delay_ms; 141 static int create_readme_delay_ms;
142 142
143 ProfileImpl(const FilePath& path, 143 ProfileImpl(const FilePath& path,
144 Delegate* delegate, 144 Delegate* delegate,
145 CreateMode create_mode); 145 CreateMode create_mode,
146 scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner);
146 147
147 // Does final initialization. Should be called after prefs were loaded. 148 // Does final initialization. Should be called after prefs were loaded.
148 void DoFinalInit(bool is_new_profile); 149 void DoFinalInit(bool is_new_profile);
149 150
150 void InitHostZoomMap(); 151 void InitHostZoomMap();
151 152
152 // Does final prefs initialization and calls Init(). 153 // Does final prefs initialization and calls Init().
153 void OnPrefsLoaded(bool success); 154 void OnPrefsLoaded(bool success);
154 155
155 FilePath GetPrefFilePath(); 156 FilePath GetPrefFilePath();
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 259 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
259 260
260 Profile::Delegate* delegate_; 261 Profile::Delegate* delegate_;
261 262
262 chrome_browser_net::Predictor* predictor_; 263 chrome_browser_net::Predictor* predictor_;
263 264
264 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 265 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
265 }; 266 };
266 267
267 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 268 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698