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

Unified Diff: chrome/browser/extensions/api/processes/processes_api.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 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
Index: chrome/browser/extensions/api/processes/processes_api.cc
diff --git a/chrome/browser/extensions/api/processes/processes_api.cc b/chrome/browser/extensions/api/processes/processes_api.cc
index 1d0d76cb614fa2635f948e61cf1209d64315f106..404b96899f6edce606d0367d98a3f3bd81aa2531 100644
--- a/chrome/browser/extensions/api/processes/processes_api.cc
+++ b/chrome/browser/extensions/api/processes/processes_api.cc
@@ -552,7 +552,7 @@ bool GetProcessIdForTabFunction::RunImpl() {
// the data gathering.
if (ProcessesAPI::Get(profile_)->processes_event_router()->
is_task_manager_listening()) {
- MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
+ base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
&GetProcessIdForTabFunction::GetProcessIdForTab, this));
} else {
registrar_.Add(this,
@@ -615,7 +615,7 @@ bool TerminateFunction::RunImpl() {
// the data gathering.
if (ProcessesAPI::Get(profile_)->processes_event_router()->
is_task_manager_listening()) {
- MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
+ base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
&TerminateFunction::TerminateProcess, this));
} else {
registrar_.Add(this,
@@ -703,7 +703,7 @@ bool GetProcessInfoFunction::RunImpl() {
// the data gathering.
if (ProcessesAPI::Get(profile_)->processes_event_router()->
is_task_manager_listening()) {
- MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
+ base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
&GetProcessInfoFunction::GatherProcessInfo, this));
} else {
registrar_.Add(this,

Powered by Google App Engine
This is Rietveld 408576698