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

Side by Side Diff: webkit/fileapi/sandboxed_file_system_operation.h

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 11 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
« no previous file with comments | « webkit/fileapi/file_system_operation.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FILEAPI_SANDBOXED_FILE_SYSTEM_OPERATION_H_ 5 #ifndef WEBKIT_FILEAPI_SANDBOXED_FILE_SYSTEM_OPERATION_H_
6 #define WEBKIT_FILEAPI_SANDBOXED_FILE_SYSTEM_OPERATION_H_ 6 #define WEBKIT_FILEAPI_SANDBOXED_FILE_SYSTEM_OPERATION_H_
7 7
8 #include "base/scoped_callback_factory.h" 8 #include "base/scoped_callback_factory.h"
9 #include "webkit/fileapi/file_system_operation.h" 9 #include "webkit/fileapi/file_system_operation.h"
10 #include "webkit/fileapi/file_system_types.h" 10 #include "webkit/fileapi/file_system_types.h"
11 11
(...skipping 28 matching lines...) Expand all
40 virtual void Copy(const FilePath& src_path, 40 virtual void Copy(const FilePath& src_path,
41 const FilePath& dest_path); 41 const FilePath& dest_path);
42 virtual void Move(const FilePath& src_path, 42 virtual void Move(const FilePath& src_path,
43 const FilePath& dest_path); 43 const FilePath& dest_path);
44 virtual void DirectoryExists(const FilePath& path); 44 virtual void DirectoryExists(const FilePath& path);
45 virtual void FileExists(const FilePath& path); 45 virtual void FileExists(const FilePath& path);
46 virtual void GetMetadata(const FilePath& path); 46 virtual void GetMetadata(const FilePath& path);
47 virtual void ReadDirectory(const FilePath& path); 47 virtual void ReadDirectory(const FilePath& path);
48 virtual void Remove(const FilePath& path, bool recursive); 48 virtual void Remove(const FilePath& path, bool recursive);
49 virtual void Write( 49 virtual void Write(
50 scoped_refptr<URLRequestContext> url_request_context, 50 scoped_refptr<net::URLRequestContext> url_request_context,
51 const FilePath& path, const GURL& blob_url, int64 offset); 51 const FilePath& path, const GURL& blob_url, int64 offset);
52 virtual void Truncate(const FilePath& path, int64 length); 52 virtual void Truncate(const FilePath& path, int64 length);
53 virtual void TouchFile(const FilePath& path, 53 virtual void TouchFile(const FilePath& path,
54 const base::Time& last_access_time, 54 const base::Time& last_access_time,
55 const base::Time& last_modified_time); 55 const base::Time& last_modified_time);
56 56
57 private: 57 private:
58 enum SandboxedFileSystemOperationType { 58 enum SandboxedFileSystemOperationType {
59 kOperationOpenFileSystem = 100, 59 kOperationOpenFileSystem = 100,
60 }; 60 };
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 scoped_refptr<SandboxedFileSystemContext> file_system_context_; 93 scoped_refptr<SandboxedFileSystemContext> file_system_context_;
94 94
95 base::ScopedCallbackFactory<SandboxedFileSystemOperation> callback_factory_; 95 base::ScopedCallbackFactory<SandboxedFileSystemOperation> callback_factory_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(SandboxedFileSystemOperation); 97 DISALLOW_COPY_AND_ASSIGN(SandboxedFileSystemOperation);
98 }; 98 };
99 99
100 } // namespace fileapi 100 } // namespace fileapi
101 101
102 #endif // WEBKIT_FILEAPI_SANDBOXED_FILE_SYSTEM_OPERATION_H_ 102 #endif // WEBKIT_FILEAPI_SANDBOXED_FILE_SYSTEM_OPERATION_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_operation.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698