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

Delta Between Two Patch Sets: include/AdblockPlus/DefaultFileSystem.h

Issue 10296001: Implement File API (Closed)
Left Patch Set: Created April 12, 2013, 10:10 a.m.
Right Patch Set: Addressed the new issues Created April 16, 2013, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « include/AdblockPlus.h ('k') | include/AdblockPlus/FileReader.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 #ifndef ADBLOCKPLUS_DEFAULT_FILE_SYSTEM_H
2 #define ADBLOCKPLUS_DEFAULT_FILE_SYSTEM_H
3
4 #include "FileSystem.h"
5
6 namespace AdblockPlus
7 {
8 class DefaultFileSystem : public FileSystem
9 {
10 public:
11 std::tr1::shared_ptr<std::istream> Read(const std::string& path) const;
12 void Write(const std::string& path,
13 std::tr1::shared_ptr<std::ostream> data);
14 void Move(const std::string& fromPath,
15 const std::string& toPath);
16 void Remove(const std::string& path);
17 StatResult Stat(const std::string& path) const;
18 };
19 }
20
21 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld