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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "webkit/fileapi/file_system_operation.h" 10 #include "webkit/fileapi/file_system_operation.h"
11 11
12 namespace fileapi { 12 namespace fileapi {
13 13
14 typedef base::Callback< 14 typedef base::Callback<
15 void(base::PlatformFileError result, 15 void(base::PlatformFileError result,
16 const FilePath& platform_path, 16 const base::FilePath& platform_path,
17 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)> 17 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)>
18 WritableSnapshotFile; 18 WritableSnapshotFile;
19 19
20 // The interface class for remote file system proxy. 20 // The interface class for remote file system proxy.
21 class RemoteFileSystemProxyInterface : 21 class RemoteFileSystemProxyInterface :
22 public base::RefCountedThreadSafe<RemoteFileSystemProxyInterface> { 22 public base::RefCountedThreadSafe<RemoteFileSystemProxyInterface> {
23 public: 23 public:
24 // Gets the file or directory info for given|path|. 24 // Gets the file or directory info for given|path|.
25 virtual void GetFileInfo(const FileSystemURL& url, 25 virtual void GetFileInfo(const FileSystemURL& url,
26 const FileSystemOperation::GetMetadataCallback& callback) = 0; 26 const FileSystemOperation::GetMetadataCallback& callback) = 0;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const FileSystemOperation::StatusCallback& callback) = 0; 113 const FileSystemOperation::StatusCallback& callback) = 0;
114 114
115 protected: 115 protected:
116 friend class base::RefCountedThreadSafe<RemoteFileSystemProxyInterface>; 116 friend class base::RefCountedThreadSafe<RemoteFileSystemProxyInterface>;
117 virtual ~RemoteFileSystemProxyInterface() {} 117 virtual ~RemoteFileSystemProxyInterface() {}
118 }; 118 };
119 119
120 } // namespace fileapi 120 } // namespace fileapi
121 121
122 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ 122 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/fileapi/sandbox_file_stream_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698