Index: webkit/browser/fileapi/file_system_backend.h |
diff --git a/webkit/browser/fileapi/file_system_backend.h b/webkit/browser/fileapi/file_system_backend.h |
index b71c8cab06d7fce114b06a3ade098dff8084f165..5c203d6a967cca949f2036f9fb3549e15a8aa109 100644 |
--- a/webkit/browser/fileapi/file_system_backend.h |
+++ b/webkit/browser/fileapi/file_system_backend.h |
@@ -157,6 +157,10 @@ class ExternalFileSystemBackend : public FileSystemBackend { |
// path is not exposed by this provider. |
virtual bool GetVirtualPath(const base::FilePath& file_system_path, |
base::FilePath* virtual_path) = 0; |
+ // Gets the alternative URL for the entry. e.g. Google Drive URL for hosted |
+ // documents. Returns empty URL if the entry does not have an alternatvie URL. |
+ virtual void GetAlternativeURL(const storage::FileSystemURL& url, |
mtomasz
2014/09/02 07:37:49
I'm wondering if the alternative URL is generic en
hirono
2014/09/02 07:46:18
We have another path to open drive files without u
mtomasz
2014/09/02 08:32:06
I see. How about adding a GURL field to SelectedFi
|
+ base::Callback<void(const GURL& url)>) = 0; |
}; |
} // namespace storage |