Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index dcf3bcf9d593e80c22e8e293bff942b704ac5f2a..ead635ae0a8545dbc47cb737801da32e90a454f1 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -367,6 +367,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) { |
// user. |
if (user && !user->username_hash().empty()) { |
params->username_hash = user->username_hash(); |
+ DCHECK(!params->username_hash.empty()); |
BrowserThread::PostTask(BrowserThread::IO, |
FROM_HERE, |
base::Bind(&StartNSSInitOnIOThread, |
@@ -375,8 +376,6 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) { |
profile->GetPath())); |
} |
} |
- if (params->username_hash.empty()) |
- LOG(WARNING) << "No username_hash; skipped NSS initialization."; |
#endif |
params->profile = profile; |