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

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

Issue 11416382: ********** Content tests with blob hacking. (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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void createSnapshotFileAndReadMetadata( 90 virtual void createSnapshotFileAndReadMetadata(
91 const WebKit::WebURL& path, 91 const WebKit::WebURL& path,
92 WebKit::WebFileSystemCallbacks* callbacks); 92 WebKit::WebFileSystemCallbacks* callbacks);
93 93
94 // DEPRECATED 94 // DEPRECATED
95 virtual void createSnapshotFileAndReadMetadata( 95 virtual void createSnapshotFileAndReadMetadata(
96 const WebKit::WebURL& blobURL, 96 const WebKit::WebURL& blobURL,
97 const WebKit::WebURL& path, 97 const WebKit::WebURL& path,
98 WebKit::WebFileSystemCallbacks* callbacks); 98 WebKit::WebFileSystemCallbacks* callbacks);
99 99
100 // DEPRECATED
100 static void InitializeOnIOThread( 101 static void InitializeOnIOThread(
101 webkit_blob::BlobStorageController* blob_storage_controller); 102 webkit_blob::BlobStorageController* blob_storage_controller);
102 static void CleanupOnIOThread(); 103 static void CleanupOnIOThread();
103 104
104 private: 105 private:
105 // Helpers. 106 // Helpers.
106 bool HasFilePermission(const fileapi::FileSystemURL& url, int permissions); 107 bool HasFilePermission(const fileapi::FileSystemURL& url, int permissions);
107 fileapi::FileSystemOperation* GetNewOperation( 108 fileapi::FileSystemOperation* GetNewOperation(
108 const fileapi::FileSystemURL& url); 109 const fileapi::FileSystemURL& url);
109 110
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 157
157 // A temporary directory for FileSystem API. 158 // A temporary directory for FileSystem API.
158 base::ScopedTempDir file_system_dir_; 159 base::ScopedTempDir file_system_dir_;
159 160
160 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 161 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
161 162
162 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem); 163 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem);
163 }; 164 };
164 165
165 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 166 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « webkit/glue/resource_request_body_unittest.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