Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/FileSystem.h

Issue 10369004: File system path resolving (Closed)
Patch Set: Comments addressed Created April 30, 2013, 8:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/AdblockPlus/FileSystem.h
===================================================================
--- a/include/AdblockPlus/FileSystem.h
+++ b/include/AdblockPlus/FileSystem.h
@@ -30,6 +30,9 @@
virtual void Remove(const std::string& path) = 0;
virtual StatResult Stat(const std::string& path) const = 0;
virtual std::string Resolve(const std::string& path) const = 0;
+ virtual void SetBasePath(const std::string& path) = 0;
Wladimir Palant 2013/04/30 09:29:50 This shouldn't be a method of the FileSystem inter
+ protected:
+ std::string basePath;
Felix Dahlke 2013/04/30 09:14:52 I think we should either not declare basePath here
};
typedef std::tr1::shared_ptr<FileSystem> FileSystemPtr;

Powered by Google App Engine
This is Rietveld