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

Unified Diff: net/url_request/url_fetcher_response_writer.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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
Index: net/url_request/url_fetcher_response_writer.h
diff --git a/net/url_request/url_fetcher_response_writer.h b/net/url_request/url_fetcher_response_writer.h
index 428f441cf2992aa49914e605ebe889b887b8d25f..3321f5ced43ce7bfab40fbd9072222aa7e8fdc95 100644
--- a/net/url_request/url_fetcher_response_writer.h
+++ b/net/url_request/url_fetcher_response_writer.h
@@ -65,12 +65,12 @@ class NET_EXPORT URLFetcherStringWriter : public URLFetcherResponseWriter {
const std::string& data() const { return data_; }
// URLFetcherResponseWriter overrides:
- virtual int Initialize(const CompletionCallback& callback) OVERRIDE;
+ virtual int Initialize(const CompletionCallback& callback) override;
virtual int Write(IOBuffer* buffer,
int num_bytes,
- const CompletionCallback& callback) OVERRIDE;
- virtual int Finish(const CompletionCallback& callback) OVERRIDE;
- virtual URLFetcherStringWriter* AsStringWriter() OVERRIDE;
+ const CompletionCallback& callback) override;
+ virtual int Finish(const CompletionCallback& callback) override;
+ virtual URLFetcherStringWriter* AsStringWriter() override;
private:
std::string data_;
@@ -91,12 +91,12 @@ class NET_EXPORT URLFetcherFileWriter : public URLFetcherResponseWriter {
const base::FilePath& file_path() const { return file_path_; }
// URLFetcherResponseWriter overrides:
- virtual int Initialize(const CompletionCallback& callback) OVERRIDE;
+ virtual int Initialize(const CompletionCallback& callback) override;
virtual int Write(IOBuffer* buffer,
int num_bytes,
- const CompletionCallback& callback) OVERRIDE;
- virtual int Finish(const CompletionCallback& callback) OVERRIDE;
- virtual URLFetcherFileWriter* AsFileWriter() OVERRIDE;
+ const CompletionCallback& callback) override;
+ virtual int Finish(const CompletionCallback& callback) override;
+ virtual URLFetcherFileWriter* AsFileWriter() override;
// Drops ownership of the file at |file_path_|.
// This class will not delete it or write to it again.
« no previous file with comments | « net/url_request/url_fetcher_impl_unittest.cc ('k') | net/url_request/url_fetcher_response_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698