bool received_cancel_;
protected:
- virtual void DoTruncate(const GURL& path, int64 offset) OVERRIDE {
+ void DoTruncate(const GURL& path, int64 offset) override {
received_truncate_ = true;
received_truncate_path_ = path;
received_truncate_offset_ = offset;
}
}
- virtual void DoWrite(
- const GURL& path, const std::string& blob_uuid,
- int64 offset) OVERRIDE {
+ void DoWrite(const GURL& path,
+ const std::string& blob_uuid,
+ int64 offset) override {
received_write_ = true;
received_write_path_ = path;
received_write_offset_ = offset;
}
}
- virtual void DoCancel() OVERRIDE {
- received_cancel_ = true;
- }
+ void DoCancel() override { received_cancel_ = true; }
};
class FileWriterTest : public testing::Test,