summaryrefslogtreecommitdiffstats
path: root/components/enhanced_bookmarks/image_store_unittest.cc
diff options
context:
space:
mode:
authornick <nick@chromium.org>2015-04-28 10:22:22 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-28 17:22:53 +0000
commit79ff566325268a34a0ce078dbda3ea68d21850de (patch)
treef1d206fd222c18ae5f581a879ea7fbb8c4e51aad /components/enhanced_bookmarks/image_store_unittest.cc
parentf9f4834d3690715c918eaaea589f18472e95ebd9 (diff)
downloadchromium_src-79ff566325268a34a0ce078dbda3ea68d21850de.zip
chromium_src-79ff566325268a34a0ce078dbda3ea68d21850de.tar.gz
chromium_src-79ff566325268a34a0ce078dbda3ea68d21850de.tar.bz2
Update {virtual,override} to follow C++11 style in components.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override. This patch was manually generated using a regex and a text editor. BUG=417463 Review URL: https://codereview.chromium.org/1056633004 Cr-Commit-Position: refs/heads/master@{#327312}
Diffstat (limited to 'components/enhanced_bookmarks/image_store_unittest.cc')
-rw-r--r--components/enhanced_bookmarks/image_store_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/enhanced_bookmarks/image_store_unittest.cc b/components/enhanced_bookmarks/image_store_unittest.cc
index 043c5f2..962b3fd 100644
--- a/components/enhanced_bookmarks/image_store_unittest.cc
+++ b/components/enhanced_bookmarks/image_store_unittest.cc
@@ -133,15 +133,15 @@ template <class T>
class ImageStoreUnitTest : public PlatformTest {
protected:
ImageStoreUnitTest() {}
- virtual ~ImageStoreUnitTest() {}
+ ~ImageStoreUnitTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
bool success = tempDir_.CreateUniqueTempDir();
ASSERT_TRUE(success);
store_.reset(CreateStore<T>(tempDir_));
}
- virtual void TearDown() override {
+ void TearDown() override {
if (store_ && use_persistent_store())
store_->ClearAll();
}