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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 8588006: Eliminate CrosLibrary::EnsureLoaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index ae4fb090d41a8c7d3c84cd8cd02d73cb44953392..1bc093aea04bd981ed31ee9f54263a55500142b0 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -423,7 +423,7 @@ void ProfileManager::Observe(
#if defined(OS_CHROMEOS)
if (type == chrome::NOTIFICATION_LOGIN_USER_CHANGED) {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- if (chromeos::CrosLibrary::Get()->EnsureLoaded() &&
+ if (chromeos::CrosLibrary::Get()->libcros_loaded() &&
satorux1 2011/11/16 23:51:34 I think we don't need this, as chromeos::CrosLibra
stevenjb 2011/11/17 00:23:33 Double checked that IsMounted() returns |true| in
!command_line.HasSwitch(switches::kTestType)) {
// If we don't have a mounted profile directory we're in trouble.
// TODO(davemoore) Once we have better api this check should ensure that

Powered by Google App Engine
This is Rietveld 408576698