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

Side by Side Diff: content/common/fileapi/webfilesystem_impl.cc

Issue 13891009: FileSystem mods: Remove some dead snapshot creation code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/fileapi/webfilesystem_impl.h" 5 #include "content/common/fileapi/webfilesystem_impl.h"
6 6
7 #include "content/common/child_thread.h" 7 #include "content/common/child_thread.h"
8 #include "content/common/fileapi/file_system_dispatcher.h" 8 #include "content/common/fileapi/file_system_dispatcher.h"
9 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" 9 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h"
10 #include "content/common/fileapi/webfilewriter_impl.h" 10 #include "content/common/fileapi/webfilewriter_impl.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 void WebFileSystemImpl::createSnapshotFileAndReadMetadata( 122 void WebFileSystemImpl::createSnapshotFileAndReadMetadata(
123 const WebKit::WebURL& path, 123 const WebKit::WebURL& path,
124 WebKit::WebFileSystemCallbacks* callbacks) { 124 WebKit::WebFileSystemCallbacks* callbacks) {
125 FileSystemDispatcher* dispatcher = 125 FileSystemDispatcher* dispatcher =
126 ChildThread::current()->file_system_dispatcher(); 126 ChildThread::current()->file_system_dispatcher();
127 dispatcher->CreateSnapshotFile( 127 dispatcher->CreateSnapshotFile(
128 GURL(path), new WebFileSystemCallbackDispatcher(callbacks)); 128 GURL(path), new WebFileSystemCallbackDispatcher(callbacks));
129 } 129 }
130 130
131 // DEPRECATED
132 void WebFileSystemImpl::createSnapshotFileAndReadMetadata(
133 const WebKit::WebURL& blobURL,
134 const WebKit::WebURL& path,
135 WebKit::WebFileSystemCallbacks* callbacks) {
136 FileSystemDispatcher* dispatcher =
137 ChildThread::current()->file_system_dispatcher();
138 dispatcher->CreateSnapshotFile_Deprecated(
139 GURL(blobURL), GURL(path),
140 new WebFileSystemCallbackDispatcher(callbacks));
141 }
142
143 } // namespace content 131 } // namespace content
OLDNEW
« no previous file with comments | « content/common/fileapi/webfilesystem_impl.h ('k') | webkit/tools/test_shell/simple_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698