OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/file_util_proxy.h" | 9 #include "base/file_util_proxy.h" |
10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 const WebKit::WebString& path, WebKit::WebFileWriterClient* client); | 65 const WebKit::WebString& path, WebKit::WebFileWriterClient* client); |
66 | 66 |
67 private: | 67 private: |
68 // Helpers. | 68 // Helpers. |
69 fileapi::SandboxedFileSystemOperation* GetNewOperation( | 69 fileapi::SandboxedFileSystemOperation* GetNewOperation( |
70 WebKit::WebFileSystemCallbacks* callbacks); | 70 WebKit::WebFileSystemCallbacks* callbacks); |
71 | 71 |
72 // A temporary directory for FileSystem API. | 72 // A temporary directory for FileSystem API. |
73 ScopedTempDir file_system_dir_; | 73 ScopedTempDir file_system_dir_; |
74 | 74 |
75 scoped_ptr<fileapi::SandboxedFileSystemContext> sandboxed_context_; | 75 scoped_refptr<fileapi::SandboxedFileSystemContext> sandboxed_context_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem); | 77 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem); |
78 }; | 78 }; |
79 | 79 |
80 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ | 80 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ |
OLD | NEW |