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

Unified Diff: include/AdblockPlus/DefaultFileSystem.h

Issue 10805001: Fixed: FileSystem;:Write should take an istream instance for input, not ostream (Closed)
Patch Set: Created May 24, 2013, 9:35 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
« no previous file with comments | « no previous file | include/AdblockPlus/FileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/DefaultFileSystem.h
===================================================================
--- a/include/AdblockPlus/DefaultFileSystem.h
+++ b/include/AdblockPlus/DefaultFileSystem.h
@@ -28,23 +28,21 @@
namespace AdblockPlus
{
class DefaultFileSystem : public FileSystem
{
public:
std::tr1::shared_ptr<std::istream> Read(const std::string& path) const;
void Write(const std::string& path,
- std::tr1::shared_ptr<std::ostream> data);
+ std::tr1::shared_ptr<std::istream> data);
void Move(const std::string& fromPath,
const std::string& toPath);
void Remove(const std::string& path);
StatResult Stat(const std::string& path) const;
std::string Resolve(const std::string& path) const;
void SetBasePath(const std::string& path);
protected:
std::string basePath;
-
-
};
}
#endif
« no previous file with comments | « no previous file | include/AdblockPlus/FileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld