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

Unified Diff: ppapi/shared_impl/file_path.h

Issue 11437038: Revert 171408 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/serialized_structs.cc ('k') | ppapi/shared_impl/file_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_; }
« no previous file with comments | « ppapi/proxy/serialized_structs.cc ('k') | ppapi/shared_impl/file_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698