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

Unified Diff: cloud_print/service/service_state.cc

Issue 795043004: Standardize usage of virtual/override/final specifiers in printing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | printing/printing_context_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/service_state.cc
diff --git a/cloud_print/service/service_state.cc b/cloud_print/service/service_state.cc
index 59554bbdab61aa675eefa2d90251ac6a110cd49d..1164e960df9d0ba3b0c1f57dd22fec3d4dcdabbf 100644
--- a/cloud_print/service/service_state.cc
+++ b/cloud_print/service/service_state.cc
@@ -38,7 +38,7 @@ const int64 kRequestTimeoutMs = 10 * 1000;
class ServiceStateURLRequestDelegate : public net::URLRequest::Delegate {
public:
- virtual void OnResponseStarted(net::URLRequest* request) override {
+ void OnResponseStarted(net::URLRequest* request) override {
if (request->GetResponseCode() == 200) {
Read(request);
if (request->status().is_io_pending())
@@ -47,8 +47,7 @@ class ServiceStateURLRequestDelegate : public net::URLRequest::Delegate {
request->Cancel();
}
- virtual void OnReadCompleted(net::URLRequest* request,
- int bytes_read) override {
+ void OnReadCompleted(net::URLRequest* request, int bytes_read) override {
Read(request);
if (!request->status().is_io_pending())
base::MessageLoop::current()->Quit();
« no previous file with comments | « no previous file | printing/printing_context_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698