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

Unified Diff: chrome/utility/image_writer/disk_unmounter_mac.h

Issue 1111673003: [chrome/utility] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Comments for the pattern Created 5 years, 8 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 | « no previous file | chrome/utility/image_writer/disk_unmounter_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_writer/disk_unmounter_mac.h
diff --git a/chrome/utility/image_writer/disk_unmounter_mac.h b/chrome/utility/image_writer/disk_unmounter_mac.h
index 616aa39c24566488884fec6092455ba88f30d328..660571176a21e459d3a65255f6bb1dcacc7287f1 100644
--- a/chrome/utility/image_writer/disk_unmounter_mac.h
+++ b/chrome/utility/image_writer/disk_unmounter_mac.h
@@ -12,6 +12,7 @@
#include "base/callback.h"
#include "base/mac/foundation_util.h"
#include "base/memory/weak_ptr.h"
+#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
namespace image_writer {
@@ -57,7 +58,7 @@ class DiskUnmounterMac {
// A convenience method that triggers the failure continuation.
void Error();
- scoped_refptr<base::MessageLoopProxy> original_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> original_thread_;
base::Closure success_continuation_;
base::Closure failure_continuation_;
« no previous file with comments | « no previous file | chrome/utility/image_writer/disk_unmounter_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698