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

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

Issue 10855075: Clean-up inline members of nested classes (chrome/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/process_info_snapshot_mac.cc ('k') | chrome/browser/profiles/profile_manager.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 keeps track of the currently-active profiles in the runtime. 5 // This class keeps track of the currently-active profiles in the runtime.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
9 9
10 #include <list> 10 #include <list>
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 virtual ProfileShortcutManagerWin* CreateShortcutManager(); 215 virtual ProfileShortcutManagerWin* CreateShortcutManager();
216 #endif 216 #endif
217 217
218 private: 218 private:
219 friend class TestingProfileManager; 219 friend class TestingProfileManager;
220 FRIEND_TEST_ALL_PREFIXES(ProfileManagerBrowserTest, DeleteAllProfiles); 220 FRIEND_TEST_ALL_PREFIXES(ProfileManagerBrowserTest, DeleteAllProfiles);
221 221
222 // This struct contains information about profiles which are being loaded or 222 // This struct contains information about profiles which are being loaded or
223 // were loaded. 223 // were loaded.
224 struct ProfileInfo { 224 struct ProfileInfo {
225 ProfileInfo(Profile* profile, bool created) 225 ProfileInfo(Profile* profile, bool created);
226 : profile(profile), created(created) {
227 }
228 226
229 ~ProfileInfo(); 227 ~ProfileInfo();
230 228
231 scoped_ptr<Profile> profile; 229 scoped_ptr<Profile> profile;
232 // Whether profile has been fully loaded (created and initialized). 230 // Whether profile has been fully loaded (created and initialized).
233 bool created; 231 bool created;
234 // List of callbacks to run when profile initialization is done. Note, when 232 // List of callbacks to run when profile initialization is done. Note, when
235 // profile is fully loaded this vector will be empty. 233 // profile is fully loaded this vector will be empty.
236 std::vector<CreateCallback> callbacks; 234 std::vector<CreateCallback> callbacks;
237 235
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 class ProfileManagerWithoutInit : public ProfileManager { 346 class ProfileManagerWithoutInit : public ProfileManager {
349 public: 347 public:
350 explicit ProfileManagerWithoutInit(const FilePath& user_data_dir); 348 explicit ProfileManagerWithoutInit(const FilePath& user_data_dir);
351 349
352 protected: 350 protected:
353 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {} 351 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {}
354 virtual void DoFinalInitLogging(Profile*) OVERRIDE {} 352 virtual void DoFinalInitLogging(Profile*) OVERRIDE {}
355 }; 353 };
356 354
357 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 355 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/process_info_snapshot_mac.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698