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

Side by Side Diff: content/child/fileapi/webfilesystem_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/webfilesystem_impl.h" 5 #include "content/child/fileapi/webfilesystem_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/child/child_thread.h"
9 #include "content/child/fileapi/file_system_dispatcher.h"
8 #include "content/child/fileapi/webfilesystem_callback_adapters.h" 10 #include "content/child/fileapi/webfilesystem_callback_adapters.h"
9 #include "content/child/fileapi/webfilewriter_impl.h" 11 #include "content/child/fileapi/webfilewriter_impl.h"
10 #include "content/common/child_thread.h"
11 #include "content/common/fileapi/file_system_dispatcher.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback s.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback s.h"
13 #include "third_party/WebKit/public/platform/WebFileInfo.h" 13 #include "third_party/WebKit/public/platform/WebFileInfo.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 14 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/platform/WebURL.h" 15 #include "third_party/WebKit/public/platform/WebURL.h"
16 #include "webkit/glue/webkit_glue.h" 16 #include "webkit/glue/webkit_glue.h"
17 17
18 using WebKit::WebFileInfo; 18 using WebKit::WebFileInfo;
19 using WebKit::WebFileSystemCallbacks; 19 using WebKit::WebFileSystemCallbacks;
20 using WebKit::WebFileSystemEntry; 20 using WebKit::WebFileSystemEntry;
21 using WebKit::WebString; 21 using WebKit::WebString;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 WebKit::WebFileSystemCallbacks* callbacks) { 135 WebKit::WebFileSystemCallbacks* callbacks) {
136 FileSystemDispatcher* dispatcher = 136 FileSystemDispatcher* dispatcher =
137 ChildThread::current()->file_system_dispatcher(); 137 ChildThread::current()->file_system_dispatcher();
138 dispatcher->CreateSnapshotFile( 138 dispatcher->CreateSnapshotFile(
139 GURL(path), 139 GURL(path),
140 base::Bind(&CreateSnapshotFileCallbackAdapter, callbacks), 140 base::Bind(&CreateSnapshotFileCallbackAdapter, callbacks),
141 base::Bind(&FileStatusCallbackAdapter, callbacks)); 141 base::Bind(&FileStatusCallbackAdapter, callbacks));
142 } 142 }
143 143
144 } // namespace content 144 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698