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

Unified Diff: content/public/test/test_browser_context.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (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 | « content/public/test/test_browser_context.h ('k') | content/public/test/test_browser_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_context.cc
diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
index 8d7c5771e3c7dc20debbaf3ffcd5493c05821992..2aab98354d2bb38e81b77cddf1d47a87cc651aff 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -21,17 +21,15 @@ class TestContextURLRequestContextGetter : public net::URLRequestContextGetter {
: null_task_runner_(new base::NullTaskRunner) {
}
- virtual net::URLRequestContext* GetURLRequestContext() override {
- return &context_;
- }
+ net::URLRequestContext* GetURLRequestContext() override { return &context_; }
- virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetNetworkTaskRunner() const override {
+ scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner()
+ const override {
return null_task_runner_;
}
private:
- virtual ~TestContextURLRequestContextGetter() {}
+ ~TestContextURLRequestContextGetter() override {}
net::TestURLRequestContext context_;
scoped_refptr<base::SingleThreadTaskRunner> null_task_runner_;
« no previous file with comments | « content/public/test/test_browser_context.h ('k') | content/public/test/test_browser_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698