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

Unified Diff: chrome/test/base/test_chrome_web_ui_controller_factory_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
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/test_chrome_web_ui_controller_factory_browsertest.cc
diff --git a/chrome/test/base/test_chrome_web_ui_controller_factory_browsertest.cc b/chrome/test/base/test_chrome_web_ui_controller_factory_browsertest.cc
index 15ef7f9df07c58746906cd7c782693f82d028778..28ea7a5cff984338fd02d63b8d7eaf036af3b274 100644
--- a/chrome/test/base/test_chrome_web_ui_controller_factory_browsertest.cc
+++ b/chrome/test/base/test_chrome_web_ui_controller_factory_browsertest.cc
@@ -43,7 +43,7 @@ const char kChromeTestChromeWebUIControllerFactory[] =
// going to this handler.
class TestChromeWebUIControllerFactoryTest : public InProcessBrowserTest {
public:
- virtual void SetUpOnMainThread() override {
+ void SetUpOnMainThread() override {
content::WebUIControllerFactory::UnregisterFactoryForTesting(
ChromeWebUIControllerFactory::GetInstance());
test_factory_.reset(new TestChromeWebUIControllerFactory);
@@ -52,7 +52,7 @@ class TestChromeWebUIControllerFactoryTest : public InProcessBrowserTest {
GURL(kChromeTestChromeWebUIControllerFactory).host(), &mock_provider_);
}
- virtual void TearDownOnMainThread() override {
+ void TearDownOnMainThread() override {
test_factory_->RemoveFactoryOverride(
GURL(kChromeTestChromeWebUIControllerFactory).host());
content::WebUIControllerFactory::UnregisterFactoryForTesting(
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698