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

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

Issue 10082002: Add FileSystemMountPointProvider::CreateFileReader() which returns appropriate Reader instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; 40 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;
41 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; 41 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE;
42 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) 42 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path)
43 const OVERRIDE; 43 const OVERRIDE;
44 virtual FileSystemOperationInterface* CreateFileSystemOperation( 44 virtual FileSystemOperationInterface* CreateFileSystemOperation(
45 const GURL& origin_url, 45 const GURL& origin_url,
46 FileSystemType file_system_type, 46 FileSystemType file_system_type,
47 const FilePath& virtual_path, 47 const FilePath& virtual_path,
48 base::MessageLoopProxy* file_proxy, 48 base::MessageLoopProxy* file_proxy,
49 FileSystemContext* context) const OVERRIDE; 49 FileSystemContext* context) const OVERRIDE;
50 virtual webkit_blob::FileReader* CreateFileReader(
51 const GURL& url,
52 int64 offset,
53 base::MessageLoopProxy* file_proxy,
54 FileSystemContext* context) const OVERRIDE;
50 55
51 private: 56 private:
52 IsolatedContext* isolated_context() const; 57 IsolatedContext* isolated_context() const;
53 58
54 scoped_ptr<FileSystemFileUtil> isolated_file_util_; 59 scoped_ptr<FileSystemFileUtil> isolated_file_util_;
55 }; 60 };
56 61
57 } // namespace fileapi 62 } // namespace fileapi
58 63
59 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 64 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.cc ('k') | webkit/fileapi/isolated_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698