Index: webkit/plugins/ppapi/ppb_file_ref_impl.h |
=================================================================== |
--- webkit/plugins/ppapi/ppb_file_ref_impl.h (revision 81454) |
+++ webkit/plugins/ppapi/ppb_file_ref_impl.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "base/file_path.h" |
+#include "googleurl/src/gurl.h" |
#include "ppapi/c/dev/ppb_file_ref_dev.h" |
#include "webkit/plugins/ppapi/resource.h" |
@@ -52,6 +53,9 @@ |
// Returns the system path corresponding to this file. |
FilePath GetSystemPath() const; |
+ // Returns the FileSystem API URL corresponding to this file. |
+ GURL GetFileSystemURL() const; |
+ |
private: |
scoped_refptr<PPB_FileSystem_Impl> file_system_; |
std::string virtual_path_; // UTF-8 encoded |