summaryrefslogtreecommitdiffstats
path: root/content/child/fileapi
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 04:44:09 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 11:44:31 +0000
commite933b3eb38cf13b7b96141214fa266cf499459ff (patch)
treeb51322928a2bb475e84a6630b1a11a652ecefefe /content/child/fileapi
parentc072fff949cad2790f4cb731097c276897b37d0b (diff)
downloadchromium_src-e933b3eb38cf13b7b96141214fa266cf499459ff.zip
chromium_src-e933b3eb38cf13b7b96141214fa266cf499459ff.tar.gz
chromium_src-e933b3eb38cf13b7b96141214fa266cf499459ff.tar.bz2
Standardize usage of virtual/override/final in content/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=avi@chromium.org Review URL: https://codereview.chromium.org/671663002 Cr-Commit-Position: refs/heads/master@{#300461}
Diffstat (limited to 'content/child/fileapi')
-rw-r--r--content/child/fileapi/file_system_dispatcher.h4
-rw-r--r--content/child/fileapi/webfilesystem_impl.h2
-rw-r--r--content/child/fileapi/webfilewriter_base_unittest.cc12
-rw-r--r--content/child/fileapi/webfilewriter_impl.h9
4 files changed, 13 insertions, 14 deletions
diff --git a/content/child/fileapi/file_system_dispatcher.h b/content/child/fileapi/file_system_dispatcher.h
index 87f1424..d255fb3 100644
--- a/content/child/fileapi/file_system_dispatcher.h
+++ b/content/child/fileapi/file_system_dispatcher.h
@@ -60,10 +60,10 @@ class FileSystemDispatcher : public IPC::Listener {
OpenFileCallback;
FileSystemDispatcher();
- virtual ~FileSystemDispatcher();
+ ~FileSystemDispatcher() override;
// IPC::Listener implementation.
- virtual bool OnMessageReceived(const IPC::Message& msg) override;
+ bool OnMessageReceived(const IPC::Message& msg) override;
void OpenFileSystem(const GURL& origin_url,
storage::FileSystemType type,
diff --git a/content/child/fileapi/webfilesystem_impl.h b/content/child/fileapi/webfilesystem_impl.h
index c93ad8d..b10a57f 100644
--- a/content/child/fileapi/webfilesystem_impl.h
+++ b/content/child/fileapi/webfilesystem_impl.h
@@ -48,7 +48,7 @@ class WebFileSystemImpl : public blink::WebFileSystem,
virtual ~WebFileSystemImpl();
// WorkerTaskRunner::Observer implementation.
- virtual void OnWorkerRunLoopStopped() override;
+ void OnWorkerRunLoopStopped() override;
// WebFileSystem implementation.
virtual void openFileSystem(
diff --git a/content/child/fileapi/webfilewriter_base_unittest.cc b/content/child/fileapi/webfilewriter_base_unittest.cc
index 5251e73..68f58ff 100644
--- a/content/child/fileapi/webfilewriter_base_unittest.cc
+++ b/content/child/fileapi/webfilewriter_base_unittest.cc
@@ -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,
diff --git a/content/child/fileapi/webfilewriter_impl.h b/content/child/fileapi/webfilewriter_impl.h
index 008a984..8aefaf5 100644
--- a/content/child/fileapi/webfilewriter_impl.h
+++ b/content/child/fileapi/webfilewriter_impl.h
@@ -31,10 +31,11 @@ class WebFileWriterImpl : public WebFileWriterBase,
protected:
// WebFileWriterBase overrides
- virtual void DoTruncate(const GURL& path, int64 offset) override;
- virtual void DoWrite(const GURL& path, const std::string& blob_id,
- int64 offset) override;
- virtual void DoCancel() override;
+ void DoTruncate(const GURL& path, int64 offset) override;
+ void DoWrite(const GURL& path,
+ const std::string& blob_id,
+ int64 offset) override;
+ void DoCancel() override;
private:
class WriterBridge;