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

Unified Diff: chrome/browser/common/cancelable_request.h

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/common/cancelable_request.h
diff --git a/chrome/browser/common/cancelable_request.h b/chrome/browser/common/cancelable_request.h
index a43e60b6315c1f7c20b774edf047d6b939dd596b..f1c4c208cecd2eaef3f0c429bd3d7d2bedcf16a9 100644
--- a/chrome/browser/common/cancelable_request.h
+++ b/chrome/browser/common/cancelable_request.h
@@ -587,7 +587,7 @@ class CancelableRequestBase
// The message loop that this request was created on. The callback will
// happen on the same thread.
- MessageLoop* callback_thread_;
+ base::MessageLoop* callback_thread_;
// The provider for this request. When we execute, we will notify this that
// request is complete to it can remove us from the requests it tracks.
@@ -670,7 +670,7 @@ class CancelableRequest : public CancelableRequestBase {
void ForwardResult(const TupleType& param) {
DCHECK(callback_.get());
if (!canceled()) {
- if (callback_thread_ == MessageLoop::current()) {
+ if (callback_thread_ == base::MessageLoop::current()) {
// We can do synchronous callbacks when we're on the same thread.
ExecuteCallback(param);
} else {
« no previous file with comments | « chrome/browser/chromeos/xinput_hierarchy_changed_event_listener_aura.cc ('k') | chrome/browser/common/cancelable_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698