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

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

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 | Annotate | Revision Log
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 "content/common/child_thread.h" 8 #include "content/child/child_thread.h"
9 #include "content/common/fileapi/file_system_dispatcher.h" 9 #include "content/child/fileapi/file_system_dispatcher.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 namespace { 13 namespace {
14 14
15 inline FileSystemDispatcher* GetFileSystemDispatcher() { 15 inline FileSystemDispatcher* GetFileSystemDispatcher() {
16 return ChildThread::current()->file_system_dispatcher(); 16 return ChildThread::current()->file_system_dispatcher();
17 } 17 }
18 18
19 } // namespace 19 } // namespace
(...skipping 22 matching lines...) Expand all
42 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr())); 42 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()));
43 } 43 }
44 44
45 void WebFileWriterImpl::DoCancel() { 45 void WebFileWriterImpl::DoCancel() {
46 GetFileSystemDispatcher()->Cancel( 46 GetFileSystemDispatcher()->Cancel(
47 request_id_, 47 request_id_,
48 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr())); 48 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()));
49 } 49 }
50 50
51 } // namespace content 51 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698