diff options
author | droger <droger@chromium.org> | 2015-01-20 12:55:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-20 20:56:48 +0000 |
commit | b4a495753c1c291ca0209c2765e6562a723c5959 (patch) | |
tree | df348a53239913c631f33432339e8597efdfe7ed /net/disk_cache | |
parent | 4a193b718a4a09e74ed11f6642e32b55e9e0e955 (diff) | |
download | chromium_src-b4a495753c1c291ca0209c2765e6562a723c5959.zip chromium_src-b4a495753c1c291ca0209c2765e6562a723c5959.tar.gz chromium_src-b4a495753c1c291ca0209c2765e6562a723c5959.tar.bz2 |
Enable strict-virtual-specifiers for iOS builds.
This CL cleans up the remaining errors and enables the compile
time check in common.gypi.
BUG=417463
Review URL: https://codereview.chromium.org/840813009
Cr-Commit-Position: refs/heads/master@{#312269}
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/blockfile/file_ios.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/disk_cache/blockfile/file_ios.cc b/net/disk_cache/blockfile/file_ios.cc index ef0e2fa..3ffb5a5 100644 --- a/net/disk_cache/blockfile/file_ios.cc +++ b/net/disk_cache/blockfile/file_ios.cc @@ -47,7 +47,7 @@ class FileBackgroundIO : public disk_cache::BackgroundIO { void Write(); private: - virtual ~FileBackgroundIO() {} + ~FileBackgroundIO() override {} disk_cache::FileIOCallback* callback_; @@ -64,7 +64,7 @@ class FileBackgroundIO : public disk_cache::BackgroundIO { class FileInFlightIO : public disk_cache::InFlightIO { public: FileInFlightIO() {} - virtual ~FileInFlightIO() {} + ~FileInFlightIO() override {} // These methods start an asynchronous operation. The arguments have the same // semantics of the File asynchronous operations, with the exception that the @@ -79,8 +79,8 @@ class FileInFlightIO : public disk_cache::InFlightIO { // |cancel| is true if the actual task posted to the thread is still // queued (because we are inside WaitForPendingIO), and false if said task is // the one performing the call. - virtual void OnOperationComplete(disk_cache::BackgroundIO* operation, - bool cancel) override; + void OnOperationComplete(disk_cache::BackgroundIO* operation, + bool cancel) override; private: DISALLOW_COPY_AND_ASSIGN(FileInFlightIO); |