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

Unified Diff: ios/web/web_thread_impl.h

Issue 2136563002: Remove calls to MessageLoop::current() in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restore dns_config_service_posix_unittest.cc Created 4 years, 5 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
Index: ios/web/web_thread_impl.h
diff --git a/ios/web/web_thread_impl.h b/ios/web/web_thread_impl.h
index 7641c61b1d9125f53b264ef4639a801d9b695d99..adc59cd8dea4cb392bfc53cf6dfcceabb3eff576 100644
--- a/ios/web/web_thread_impl.h
+++ b/ios/web/web_thread_impl.h
@@ -28,7 +28,7 @@ class WebThreadImpl : public WebThread, public base::Thread {
protected:
void Init() override;
- void Run(base::MessageLoop* message_loop) override;
+ void Run(base::RunLoop* run_loop) override;
void CleanUp() override;
private:
@@ -39,12 +39,12 @@ class WebThreadImpl : public WebThread, public base::Thread {
// The following are unique function names that makes it possible to tell
// the thread id from the callstack alone in crash dumps.
- void UIThreadRun(base::MessageLoop* message_loop);
- void DBThreadRun(base::MessageLoop* message_loop);
- void FileThreadRun(base::MessageLoop* message_loop);
- void FileUserBlockingThreadRun(base::MessageLoop* message_loop);
- void CacheThreadRun(base::MessageLoop* message_loop);
- void IOThreadRun(base::MessageLoop* message_loop);
+ void UIThreadRun(base::RunLoop* run_loop);
+ void DBThreadRun(base::RunLoop* run_loop);
+ void FileThreadRun(base::RunLoop* run_loop);
+ void FileUserBlockingThreadRun(base::RunLoop* run_loop);
+ void CacheThreadRun(base::RunLoop* run_loop);
+ void IOThreadRun(base::RunLoop* run_loop);
static bool PostTaskHelper(WebThread::ID identifier,
const tracked_objects::Location& from_here,

Powered by Google App Engine
This is Rietveld 408576698