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

Side by Side Diff: chrome/utility/image_writer/disk_unmounter_mac.cc

Issue 1966303002: Fix include path for moved thread_task_runner_handle.h header in chrome/utility/image_writer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: unflip unrelated header 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/utility/image_writer/image_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/utility/image_writer/disk_unmounter_mac.h" 5 #include "chrome/utility/image_writer/disk_unmounter_mac.h"
6 6
7 #include <sys/socket.h> 7 #include <sys/socket.h>
8 #include <IOKit/storage/IOStorageProtocolCharacteristics.h> 8 #include <IOKit/storage/IOStorageProtocolCharacteristics.h>
9 9
10 #include "base/message_loop/message_pump_mac.h" 10 #include "base/message_loop/message_pump_mac.h"
11 #include "base/posix/eintr_wrapper.h" 11 #include "base/posix/eintr_wrapper.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "chrome/utility/image_writer/error_messages.h" 13 #include "chrome/utility/image_writer/error_messages.h"
14 #include "chrome/utility/image_writer/image_writer.h" 14 #include "chrome/utility/image_writer/image_writer.h"
15 15
16 namespace image_writer { 16 namespace image_writer {
17 17
18 DiskUnmounterMac::DiskUnmounterMac() : cf_thread_("ImageWriterDiskArb") { 18 DiskUnmounterMac::DiskUnmounterMac() : cf_thread_("ImageWriterDiskArb") {
19 base::Thread::Options options; 19 base::Thread::Options options;
20 options.message_pump_factory = base::Bind(&CreateMessagePump); 20 options.message_pump_factory = base::Bind(&CreateMessagePump);
21 21
22 cf_thread_.StartWithOptions(options); 22 cf_thread_.StartWithOptions(options);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 this, 116 this,
117 DiskClaimed, 117 DiskClaimed,
118 this); 118 this);
119 } 119 }
120 120
121 void DiskUnmounterMac::Error() { 121 void DiskUnmounterMac::Error() {
122 original_thread_->PostTask(FROM_HERE, failure_continuation_); 122 original_thread_->PostTask(FROM_HERE, failure_continuation_);
123 } 123 }
124 124
125 } // namespace image_writer 125 } // namespace image_writer
OLDNEW
« no previous file with comments | « no previous file | chrome/utility/image_writer/image_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698