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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/testing_profile.h ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index ca36aceef00d53239079472596a40384caabc82a..64d44dadcb5baeec2ba9eceff83d560f65d23a2f 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -112,10 +112,10 @@ class WaitTopSitesLoadedObserver : public history::TopSitesObserver {
public:
explicit WaitTopSitesLoadedObserver(content::MessageLoopRunner* runner)
: runner_(runner) {}
- virtual void TopSitesLoaded(history::TopSites* top_sites) OVERRIDE {
+ virtual void TopSitesLoaded(history::TopSites* top_sites) override {
runner_->Quit();
}
- virtual void TopSitesChanged(history::TopSites* top_sites) OVERRIDE {}
+ virtual void TopSitesChanged(history::TopSites* top_sites) override {}
private:
// weak
@@ -130,11 +130,11 @@ class QuittingHistoryDBTask : public history::HistoryDBTask {
QuittingHistoryDBTask() {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {
+ virtual void DoneRunOnMainThread() override {
base::MessageLoop::current()->Quit();
}
@@ -163,13 +163,13 @@ class TestExtensionURLRequestContext : public net::URLRequestContext {
class TestExtensionURLRequestContextGetter
: public net::URLRequestContextGetter {
public:
- virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE {
+ virtual net::URLRequestContext* GetURLRequestContext() override {
if (!context_.get())
context_.reset(new TestExtensionURLRequestContext());
return context_.get();
}
virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetNetworkTaskRunner() const OVERRIDE {
+ GetNetworkTaskRunner() const override {
return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
}
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698