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

Side by Side Diff: chrome/browser/chromeos/fileapi/file_system_backend.h

Issue 527773003: Add GetURLForBrowserTab method to the external file system backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual std::vector<base::FilePath> GetRootDirectories() const OVERRIDE; 124 virtual std::vector<base::FilePath> GetRootDirectories() const OVERRIDE;
125 virtual void GrantFullAccessToExtension( 125 virtual void GrantFullAccessToExtension(
126 const std::string& extension_id) OVERRIDE; 126 const std::string& extension_id) OVERRIDE;
127 virtual void GrantFileAccessToExtension( 127 virtual void GrantFileAccessToExtension(
128 const std::string& extension_id, 128 const std::string& extension_id,
129 const base::FilePath& virtual_path) OVERRIDE; 129 const base::FilePath& virtual_path) OVERRIDE;
130 virtual void RevokeAccessForExtension( 130 virtual void RevokeAccessForExtension(
131 const std::string& extension_id) OVERRIDE; 131 const std::string& extension_id) OVERRIDE;
132 virtual bool GetVirtualPath(const base::FilePath& filesystem_path, 132 virtual bool GetVirtualPath(const base::FilePath& filesystem_path,
133 base::FilePath* virtual_path) OVERRIDE; 133 base::FilePath* virtual_path) OVERRIDE;
134 virtual void GetRedirectURLForContents(
135 const storage::FileSystemURL& url,
136 const storage::URLCallback& callback) OVERRIDE;
134 137
135 private: 138 private:
136 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; 139 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_;
137 scoped_ptr<FileAccessPermissions> file_access_permissions_; 140 scoped_ptr<FileAccessPermissions> file_access_permissions_;
138 scoped_ptr<storage::AsyncFileUtil> local_file_util_; 141 scoped_ptr<storage::AsyncFileUtil> local_file_util_;
139 142
140 // The delegate instance for the drive file system related operations. 143 // The delegate instance for the drive file system related operations.
141 scoped_ptr<FileSystemBackendDelegate> drive_delegate_; 144 scoped_ptr<FileSystemBackendDelegate> drive_delegate_;
142 145
143 // The delegate instance for the provided file system related operations. 146 // The delegate instance for the provided file system related operations.
(...skipping 18 matching lines...) Expand all
162 // Globally visible mount points. System MountPonts instance should outlive 165 // Globally visible mount points. System MountPonts instance should outlive
163 // all FileSystemBackend instances, so raw pointer is safe. 166 // all FileSystemBackend instances, so raw pointer is safe.
164 storage::ExternalMountPoints* system_mount_points_; 167 storage::ExternalMountPoints* system_mount_points_;
165 168
166 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); 169 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend);
167 }; 170 };
168 171
169 } // namespace chromeos 172 } // namespace chromeos
170 173
171 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ 174 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698