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

Unified Diff: chrome/browser/download/download_throttling_resource_handler.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
Index: chrome/browser/download/download_throttling_resource_handler.h
diff --git a/chrome/browser/download/download_throttling_resource_handler.h b/chrome/browser/download/download_throttling_resource_handler.h
index e17e3a3fe23b548100a8d90ece0cc8f2368ae834..5c13a16a4eb441342c03eb709e0d96acde0f8d57 100644
--- a/chrome/browser/download/download_throttling_resource_handler.h
+++ b/chrome/browser/download/download_throttling_resource_handler.h
@@ -43,22 +43,29 @@ class DownloadThrottlingResourceHandler
// ResourceHanlder implementation:
virtual bool OnUploadProgress(int request_id,
uint64 position,
- uint64 size);
- virtual bool OnRequestRedirected(int request_id, const GURL& url,
- ResourceResponse* response, bool* defer);
- virtual bool OnResponseStarted(int request_id, ResourceResponse* response);
- virtual bool OnWillStart(int request_id, const GURL& url, bool* defer);
- virtual bool OnWillRead(int request_id, net::IOBuffer** buf, int* buf_size,
- int min_size);
- virtual bool OnReadCompleted(int request_id, int* bytes_read);
+ uint64 size) OVERRIDE;
+ virtual bool OnRequestRedirected(int request_id,
+ const GURL& url,
+ ResourceResponse* response,
+ bool* defer) OVERRIDE;
+ virtual bool OnResponseStarted(int request_id,
+ ResourceResponse* response) OVERRIDE;
+ virtual bool OnWillStart(int request_id,
+ const GURL& url,
+ bool* defer) OVERRIDE;
+ virtual bool OnWillRead(int request_id,
+ net::IOBuffer** buf,
+ int* buf_size,
+ int min_size) OVERRIDE;
+ virtual bool OnReadCompleted(int request_id, int* bytes_read) OVERRIDE;
virtual bool OnResponseCompleted(int request_id,
const net::URLRequestStatus& status,
- const std::string& security_info);
- virtual void OnRequestClosed();
+ const std::string& security_info) OVERRIDE;
+ virtual void OnRequestClosed() OVERRIDE;
// DownloadRequestLimiter::Callback implementation:
- virtual void CancelDownload();
- virtual void ContinueDownload();
+ virtual void CancelDownload() OVERRIDE;
+ virtual void ContinueDownload() OVERRIDE;
private:
virtual ~DownloadThrottlingResourceHandler();

Powered by Google App Engine
This is Rietveld 408576698