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

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

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
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 <set> 5 #include <set>
6 6
7 #include "chrome/browser/profiles/profile_manager.h" 7 #include "chrome/browser/profiles/profile_manager.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 } 1034 }
1035 } 1035 }
1036 1036
1037 void ProfileManager::RunCallbacks(const std::vector<CreateCallback>& callbacks, 1037 void ProfileManager::RunCallbacks(const std::vector<CreateCallback>& callbacks,
1038 Profile* profile, 1038 Profile* profile,
1039 Profile::CreateStatus status) { 1039 Profile::CreateStatus status) {
1040 for (size_t i = 0; i < callbacks.size(); ++i) 1040 for (size_t i = 0; i < callbacks.size(); ++i)
1041 callbacks[i].Run(profile, status); 1041 callbacks[i].Run(profile, status);
1042 } 1042 }
1043 1043
1044 ProfileManager::ProfileInfo::ProfileInfo(Profile* profile, bool created)
1045 : profile(profile),
1046 created(created) {
1047 }
1048
1044 ProfileManager::ProfileInfo::~ProfileInfo() { 1049 ProfileManager::ProfileInfo::~ProfileInfo() {
1045 ProfileDestroyer::DestroyProfileWhenAppropriate(profile.release()); 1050 ProfileDestroyer::DestroyProfileWhenAppropriate(profile.release());
1046 } 1051 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager.h ('k') | chrome/browser/sessions/base_session_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698