Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index f38a8f5f5ee7a7e020516bbcb238bf774609725e..884b45b4b8f20566cbad9a8485e0a42a9f27ea5e 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -399,7 +399,7 @@ class SafeBrowsingServiceTest : public InProcessBrowserTest {
full_hash->list_id = list_id;
}
- virtual void SetUp() {
+ void SetUp() override {
// InProcessBrowserTest::SetUp() instantiates SafebrowsingService and
// RegisterFactory has to be called before SafeBrowsingService is created.
sb_factory_.reset(new TestSafeBrowsingServiceFactory(
@@ -410,7 +410,7 @@ class SafeBrowsingServiceTest : public InProcessBrowserTest {
InProcessBrowserTest::SetUp();
}
- virtual void TearDown() {
+ void TearDown() override {
InProcessBrowserTest::TearDown();
// Unregister test factories after InProcessBrowserTest::TearDown
@@ -420,7 +420,7 @@ class SafeBrowsingServiceTest : public InProcessBrowserTest {
SafeBrowsingService::RegisterFactory(NULL);
}
- virtual void SetUpCommandLine(base::CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
// Makes sure the auto update is not triggered during the test.
// This test will fill up the database using testing prefixes
// and urls.
@@ -443,7 +443,7 @@ class SafeBrowsingServiceTest : public InProcessBrowserTest {
InProcessBrowserTest::TearDownOnMainThread();
}
- virtual void SetUpInProcessBrowserTestFixture() {
+ void SetUpInProcessBrowserTestFixture() override {
ASSERT_TRUE(test_server()->Start());
}

Powered by Google App Engine
This is Rietveld 408576698