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

Unified Diff: chrome/browser/sync/test/test_http_bridge_factory.h

Issue 666733003: Standardize usage of virtual/override/final in chrome/browser/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: chrome/browser/sync/test/test_http_bridge_factory.h
diff --git a/chrome/browser/sync/test/test_http_bridge_factory.h b/chrome/browser/sync/test/test_http_bridge_factory.h
index 6a99b80e297718ce718af22f19b57019172af232..07829c9c65d18f6ca93fe8f94ca9104df3f2d5c0 100644
--- a/chrome/browser/sync/test/test_http_bridge_factory.h
+++ b/chrome/browser/sync/test/test_http_bridge_factory.h
@@ -14,37 +14,35 @@ namespace browser_sync {
class TestHttpBridge : public syncer::HttpPostProviderInterface {
public:
// Begin syncer::HttpPostProviderInterface implementation:
- virtual void SetExtraRequestHeaders(const char * headers) override {}
+ void SetExtraRequestHeaders(const char* headers) override {}
- virtual void SetURL(const char* url, int port) override {}
+ void SetURL(const char* url, int port) override {}
- virtual void SetPostPayload(const char* content_type,
- int content_length,
- const char* content) override {}
+ void SetPostPayload(const char* content_type,
+ int content_length,
+ const char* content) override {}
- virtual bool MakeSynchronousPost(int* error_code,
- int* response_code) override;
+ bool MakeSynchronousPost(int* error_code, int* response_code) override;
- virtual int GetResponseContentLength() const override;
+ int GetResponseContentLength() const override;
- virtual const char* GetResponseContent() const override;
+ const char* GetResponseContent() const override;
- virtual const std::string GetResponseHeaderValue(
- const std::string&) const override;
+ const std::string GetResponseHeaderValue(const std::string&) const override;
- virtual void Abort() override;
+ void Abort() override;
// End syncer::HttpPostProviderInterface implementation.
};
class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory {
public:
TestHttpBridgeFactory();
- virtual ~TestHttpBridgeFactory();
+ ~TestHttpBridgeFactory() override;
// syncer::HttpPostProviderFactory:
- virtual void Init(const std::string& user_agent) override;
- virtual syncer::HttpPostProviderInterface* Create() override;
- virtual void Destroy(syncer::HttpPostProviderInterface* http) override;
+ void Init(const std::string& user_agent) override;
+ syncer::HttpPostProviderInterface* Create() override;
+ void Destroy(syncer::HttpPostProviderInterface* http) override;
};
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698