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

Unified Diff: ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc

Issue 1981273004: [Cleanup] Removed unused debugging code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_io_data.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
diff --git a/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc b/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
index 56e34f4d0c86e2c427f753e9c4053b750a565a9f..4d2fe7243d2e84c1b6ea5b819b57b4660baafff1 100644
--- a/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
+++ b/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
@@ -128,8 +128,6 @@ void ChromeBrowserStateIOData::InitializeOnUIThread(
signin_allowed_.Init(prefs::kSigninAllowed, pref_service);
signin_allowed_.MoveToThread(io_task_runner);
}
-
- initialized_on_UI_thread_ = true;
}
ChromeBrowserStateIOData::AppRequestContext::AppRequestContext() {}
@@ -175,7 +173,6 @@ ChromeBrowserStateIOData::ProfileParams::~ProfileParams() {}
ChromeBrowserStateIOData::ChromeBrowserStateIOData(
ios::ChromeBrowserStateType browser_state_type)
: initialized_(false),
- initialized_on_UI_thread_(false),
browser_state_type_(browser_state_type) {
DCHECK_CURRENTLY_ON(web::WebThread::UI);
}
@@ -338,12 +335,7 @@ void ChromeBrowserStateIOData::Init(
// functions have been provided to assist in common operations.
DCHECK_CURRENTLY_ON(web::WebThread::IO);
DCHECK(!initialized_);
-
- // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
- CHECK(initialized_on_UI_thread_);
-
- // TODO(jhawkins): Return to DCHECK once crbug.com/102004 is fixed.
- CHECK(profile_params_.get());
+ DCHECK(profile_params_.get());
IOSChromeIOThread* const io_thread = profile_params_->io_thread;
IOSChromeIOThread::Globals* const io_thread_globals = io_thread->globals();
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_io_data.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698