Index: ppapi/shared_impl/file_path.h |
diff --git a/ppapi/shared_impl/file_path.h b/ppapi/shared_impl/file_path.h |
index 3d850f97fc7d8111f8f3197b587628875a230300..bcec9f8c9e47e350d2c2b3892509aed65ec1841d 100644 |
--- a/ppapi/shared_impl/file_path.h |
+++ b/ppapi/shared_impl/file_path.h |
@@ -5,6 +5,8 @@ |
#ifndef PPAPI_SHARED_IMPL_FILE_PATH_H_ |
#define PPAPI_SHARED_IMPL_FILE_PATH_H_ |
+#include <string> |
+ |
#include "base/file_path.h" |
#include "ppapi/shared_impl/ppapi_shared_export.h" |
@@ -28,6 +30,10 @@ class PPAPI_SHARED_EXPORT PepperFilePath { |
PepperFilePath(); |
PepperFilePath(Domain d, const FilePath& p); |
+ static PepperFilePath MakeAbsolute(const FilePath& path); |
+ static PepperFilePath MakeModuleLocal(const std::string& name, |
+ const char* utf8_path); |
+ |
Domain domain() const { return domain_; } |
const FilePath& path() const { return path_; } |