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

Unified Diff: sync/internal_api/public/http_bridge.h

Issue 629733002: replace OVERRIDE and FINAL with override and final in sync/ (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
Index: sync/internal_api/public/http_bridge.h
diff --git a/sync/internal_api/public/http_bridge.h b/sync/internal_api/public/http_bridge.h
index 02dc981d7a528086a59f0962b75d22765f14fed6..801873ec18df071defe2baa2b80641c0cf034f7d 100644
--- a/sync/internal_api/public/http_bridge.h
+++ b/sync/internal_api/public/http_bridge.h
@@ -87,9 +87,9 @@ class SYNC_EXPORT_PRIVATE HttpBridge
const std::string& user_agent);
// net::URLRequestContextGetter implementation.
- virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
+ virtual net::URLRequestContext* GetURLRequestContext() override;
virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetNetworkTaskRunner() const OVERRIDE;
+ GetNetworkTaskRunner() const override;
protected:
virtual ~RequestContextGetter();
@@ -110,25 +110,25 @@ class SYNC_EXPORT_PRIVATE HttpBridge
const NetworkTimeUpdateCallback& network_time_update_callback);
// HttpPostProvider implementation.
- virtual void SetExtraRequestHeaders(const char* headers) OVERRIDE;
- virtual void SetURL(const char* url, int port) OVERRIDE;
+ virtual void SetExtraRequestHeaders(const char* headers) override;
+ virtual void SetURL(const char* url, int port) override;
virtual void SetPostPayload(const char* content_type, int content_length,
- const char* content) OVERRIDE;
+ const char* content) override;
virtual bool MakeSynchronousPost(int* error_code,
- int* response_code) OVERRIDE;
- virtual void Abort() OVERRIDE;
+ int* response_code) override;
+ virtual void Abort() override;
// WARNING: these response content methods are used to extract plain old data
// and not null terminated strings, so you should make sure you have read
// GetResponseContentLength() characters when using GetResponseContent. e.g
// string r(b->GetResponseContent(), b->GetResponseContentLength()).
- virtual int GetResponseContentLength() const OVERRIDE;
- virtual const char* GetResponseContent() const OVERRIDE;
+ virtual int GetResponseContentLength() const override;
+ virtual const char* GetResponseContent() const override;
virtual const std::string GetResponseHeaderValue(
- const std::string& name) const OVERRIDE;
+ const std::string& name) const override;
// net::URLFetcherDelegate implementation.
- virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
net::URLRequestContextGetter* GetRequestContextGetterForTest() const;
@@ -235,12 +235,12 @@ class SYNC_EXPORT HttpBridgeFactory : public HttpPostProviderFactory,
virtual ~HttpBridgeFactory();
// HttpPostProviderFactory:
- virtual void Init(const std::string& user_agent) OVERRIDE;
- virtual HttpPostProviderInterface* Create() OVERRIDE;
- virtual void Destroy(HttpPostProviderInterface* http) OVERRIDE;
+ virtual void Init(const std::string& user_agent) override;
+ virtual HttpPostProviderInterface* Create() override;
+ virtual void Destroy(HttpPostProviderInterface* http) override;
// CancelationObserver implementation:
- virtual void OnSignalReceived() OVERRIDE;
+ virtual void OnSignalReceived() override;
private:
// Protects |request_context_getter_| and |baseline_request_context_getter_|.

Powered by Google App Engine
This is Rietveld 408576698