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

Side by Side Diff: content/child/fileapi/webfilewriter_impl.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/child/fileapi/webfilewriter_impl.h" 5 #include "content/child/fileapi/webfilewriter_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/synchronization/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "content/child/child_thread_impl.h" 10 #include "content/child/child_thread_impl.h"
11 #include "content/child/fileapi/file_system_dispatcher.h" 11 #include "content/child/fileapi/file_system_dispatcher.h"
12 #include "content/public/child/worker_thread.h" 12 #include "content/public/child/worker_thread.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 namespace { 16 namespace {
17 17
18 FileSystemDispatcher* GetFileSystemDispatcher() { 18 FileSystemDispatcher* GetFileSystemDispatcher() {
19 return ChildThreadImpl::current() ? 19 return ChildThreadImpl::current() ?
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 DCHECK(!bridge_->waitable_event()); 163 DCHECK(!bridge_->waitable_event());
164 closure.Run(); 164 closure.Run();
165 return; 165 return;
166 } 166 }
167 main_thread_task_runner_->PostTask(FROM_HERE, closure); 167 main_thread_task_runner_->PostTask(FROM_HERE, closure);
168 if (bridge_->waitable_event()) 168 if (bridge_->waitable_event())
169 bridge_->WaitAndRun(); 169 bridge_->WaitAndRun();
170 } 170 }
171 171
172 } // namespace content 172 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/geofencing/geofencing_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698