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

Unified Diff: chrome/renderer/chrome_render_process_observer.cc

Issue 663333002: Standardize usage of virtual/override/final in chrome/renderer/ (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/renderer/chrome_render_process_observer.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_process_observer.cc
diff --git a/chrome/renderer/chrome_render_process_observer.cc b/chrome/renderer/chrome_render_process_observer.cc
index 87a69fcfd681acc358ee0808957de4e0f16aa918..ad3ab00752622ce4fcea20b1507a76a41ad8bb7e 100644
--- a/chrome/renderer/chrome_render_process_observer.cc
+++ b/chrome/renderer/chrome_render_process_observer.cc
@@ -67,10 +67,9 @@ class RendererResourceDelegate : public content::ResourceDispatcherDelegate {
: weak_factory_(this) {
}
- virtual content::RequestPeer* OnRequestComplete(
- content::RequestPeer* current_peer,
- content::ResourceType resource_type,
- int error_code) override {
+ content::RequestPeer* OnRequestComplete(content::RequestPeer* current_peer,
+ content::ResourceType resource_type,
+ int error_code) override {
// Update the browser about our cache.
// Rate limit informing the host of our cache stats.
if (!weak_factory_.HasWeakPtrs()) {
@@ -90,10 +89,9 @@ class RendererResourceDelegate : public content::ResourceDispatcherDelegate {
resource_type, current_peer, error_code);
}
- virtual content::RequestPeer* OnReceivedResponse(
- content::RequestPeer* current_peer,
- const std::string& mime_type,
- const GURL& url) override {
+ content::RequestPeer* OnReceivedResponse(content::RequestPeer* current_peer,
+ const std::string& mime_type,
+ const GURL& url) override {
#if defined(ENABLE_EXTENSIONS)
return ExtensionLocalizationPeer::CreateExtensionLocalizationPeer(
current_peer, RenderThread::Get(), mime_type, url);
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698