Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / child / fileapi / webfilewriter_base_unittest.cc
index 1c3448a..68f58ff 100644 (file)
@@ -65,7 +65,7 @@ class TestableFileWriter : public WebFileWriterBase {
   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;
@@ -87,9 +87,9 @@ class TestableFileWriter : public WebFileWriterBase {
     }
   }
 
-  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;
@@ -122,9 +122,7 @@ class TestableFileWriter : public WebFileWriterBase {
     }
   }
 
-  virtual void DoCancel() OVERRIDE {
-    received_cancel_ = true;
-  }
+  void DoCancel() override { received_cancel_ = true; }
 };
 
 class FileWriterTest : public testing::Test,