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

Side by Side Diff: webkit/tools/test_shell/simple_file_system.h

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 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "base/files/file_util_proxy.h" 9 #include "base/files/file_util_proxy.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 WebKit::WebFileSystemCallbacks*) OVERRIDE; 85 WebKit::WebFileSystemCallbacks*) OVERRIDE;
86 virtual void readDirectory( 86 virtual void readDirectory(
87 const WebKit::WebURL& path, 87 const WebKit::WebURL& path,
88 WebKit::WebFileSystemCallbacks*) OVERRIDE; 88 WebKit::WebFileSystemCallbacks*) OVERRIDE;
89 virtual WebKit::WebFileWriter* createFileWriter( 89 virtual WebKit::WebFileWriter* createFileWriter(
90 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE; 90 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE;
91 virtual void createSnapshotFileAndReadMetadata( 91 virtual void createSnapshotFileAndReadMetadata(
92 const WebKit::WebURL& path, 92 const WebKit::WebURL& path,
93 WebKit::WebFileSystemCallbacks* callbacks); 93 WebKit::WebFileSystemCallbacks* callbacks);
94 94
95 // DEPRECATED
96 virtual void createSnapshotFileAndReadMetadata(
97 const WebKit::WebURL& blobURL,
98 const WebKit::WebURL& path,
99 WebKit::WebFileSystemCallbacks* callbacks);
100
101 static void InitializeOnIOThread( 95 static void InitializeOnIOThread(
102 webkit_blob::BlobStorageController* blob_storage_controller); 96 webkit_blob::BlobStorageController* blob_storage_controller);
103 static void CleanupOnIOThread(); 97 static void CleanupOnIOThread();
104 98
105 private: 99 private:
106 // Helpers. 100 // Helpers.
107 bool HasFilePermission(const fileapi::FileSystemURL& url, int permissions); 101 bool HasFilePermission(const fileapi::FileSystemURL& url, int permissions);
108 fileapi::FileSystemOperation* GetNewOperation( 102 fileapi::FileSystemOperation* GetNewOperation(
109 const fileapi::FileSystemURL& url); 103 const fileapi::FileSystemURL& url);
110 104
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 151
158 // A temporary directory for FileSystem API. 152 // A temporary directory for FileSystem API.
159 base::ScopedTempDir file_system_dir_; 153 base::ScopedTempDir file_system_dir_;
160 154
161 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 155 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
162 156
163 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem); 157 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem);
164 }; 158 };
165 159
166 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 160 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « content/common/fileapi/webfilesystem_impl.cc ('k') | webkit/tools/test_shell/simple_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698