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

Unified Diff: extensions/browser/extension_protocols.cc

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (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 | « extensions/browser/extension_prefs_factory.h ('k') | extensions/browser/extension_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_protocols.cc
diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc
index 57dfe158a5d00e71a7e7effcf76c6d2125c54486..55c5dcb6c42d62c1727b56a03fcc48d963a7be0f 100644
--- a/extensions/browser/extension_protocols.cc
+++ b/extensions/browser/extension_protocols.cc
@@ -86,7 +86,7 @@ class GeneratedBackgroundPageJob : public net::URLRequestSimpleJob {
virtual int GetData(std::string* mime_type,
std::string* charset,
std::string* data,
- const net::CompletionCallback& callback) const OVERRIDE {
+ const net::CompletionCallback& callback) const override {
*mime_type = "text/html";
*charset = "utf-8";
@@ -102,7 +102,7 @@ class GeneratedBackgroundPageJob : public net::URLRequestSimpleJob {
return net::OK;
}
- virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE {
+ virtual void GetResponseInfo(net::HttpResponseInfo* info) override {
*info = response_info_;
}
@@ -192,11 +192,11 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
}
}
- virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE {
+ virtual void GetResponseInfo(net::HttpResponseInfo* info) override {
*info = response_info_;
}
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
request_timer_.reset(new base::ElapsedTimer());
base::FilePath* read_file_path = new base::FilePath;
base::Time* last_modified_time = new base::Time();
@@ -215,7 +215,7 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
}
virtual void SetExtraRequestHeaders(
- const net::HttpRequestHeaders& headers) OVERRIDE {
+ const net::HttpRequestHeaders& headers) override {
// TODO(asargent) - we'll need to add proper support for range headers.
// crbug.com/369895.
std::string range_header;
@@ -226,7 +226,7 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
URLRequestFileJob::SetExtraRequestHeaders(headers);
}
- virtual void OnSeekComplete(int64 result) OVERRIDE {
+ virtual void OnSeekComplete(int64 result) override {
DCHECK_EQ(seek_position_, 0);
seek_position_ = result;
// TODO(asargent) - we'll need to add proper support for range headers.
@@ -235,7 +235,7 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
verify_job_ = NULL;
}
- virtual void OnReadComplete(net::IOBuffer* buffer, int result) OVERRIDE {
+ virtual void OnReadComplete(net::IOBuffer* buffer, int result) override {
if (result >= 0)
UMA_HISTOGRAM_COUNTS("ExtensionUrlRequest.OnReadCompleteResult", result);
else
@@ -383,7 +383,7 @@ class ExtensionProtocolHandler
virtual net::URLRequestJob* MaybeCreateJob(
net::URLRequest* request,
- net::NetworkDelegate* network_delegate) const OVERRIDE;
+ net::NetworkDelegate* network_delegate) const override;
private:
const bool is_incognito_;
« no previous file with comments | « extensions/browser/extension_prefs_factory.h ('k') | extensions/browser/extension_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698