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

Unified Diff: sync/internal_api/syncapi_server_connection_manager_unittest.cc

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/syncapi_server_connection_manager_unittest.cc
diff --git a/sync/internal_api/syncapi_server_connection_manager_unittest.cc b/sync/internal_api/syncapi_server_connection_manager_unittest.cc
index 2cb3dff3c7871d67047867acf0f2fb63f585d5e2..5acc6b39b1468afe1498022ddab6643d1b6abc14 100644
--- a/sync/internal_api/syncapi_server_connection_manager_unittest.cc
+++ b/sync/internal_api/syncapi_server_connection_manager_unittest.cc
@@ -27,28 +27,28 @@ class BlockingHttpPost : public HttpPostProviderInterface {
BlockingHttpPost() : wait_for_abort_(false, false) {}
virtual ~BlockingHttpPost() {}
- 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 {
+ override {
wait_for_abort_.TimedWait(TestTimeouts::action_max_timeout());
*error_code = net::ERR_ABORTED;
return false;
}
- virtual int GetResponseContentLength() const OVERRIDE {
+ virtual int GetResponseContentLength() const override {
return 0;
}
- virtual const char* GetResponseContent() const OVERRIDE {
+ virtual const char* GetResponseContent() const override {
return "";
}
virtual const std::string GetResponseHeaderValue(
- const std::string& name) const OVERRIDE {
+ const std::string& name) const override {
return std::string();
}
- virtual void Abort() OVERRIDE {
+ virtual void Abort() override {
wait_for_abort_.Signal();
}
private:
@@ -58,11 +58,11 @@ class BlockingHttpPost : public HttpPostProviderInterface {
class BlockingHttpPostFactory : public HttpPostProviderFactory {
public:
virtual ~BlockingHttpPostFactory() {}
- virtual void Init(const std::string& user_agent) OVERRIDE {}
- virtual HttpPostProviderInterface* Create() OVERRIDE {
+ virtual void Init(const std::string& user_agent) override {}
+ virtual HttpPostProviderInterface* Create() override {
return new BlockingHttpPost();
}
- virtual void Destroy(HttpPostProviderInterface* http) OVERRIDE {
+ virtual void Destroy(HttpPostProviderInterface* http) override {
delete static_cast<BlockingHttpPost*>(http);
}
};
« no previous file with comments | « sync/internal_api/syncapi_server_connection_manager.h ('k') | sync/internal_api/test/sync_manager_for_profile_sync_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698