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

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

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix conflicts Created 4 years, 8 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 79c73e0c86872dcb0c54d06a2524ceab447ae8a1..0750eba02de766e3ff1365fc43301cce2eb7112f 100644
--- a/sync/internal_api/public/http_bridge.h
+++ b/sync/internal_api/public/http_bridge.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
@@ -165,7 +166,7 @@ class SYNC_EXPORT HttpBridge : public base::RefCountedThreadSafe<HttpBridge>,
// Timer to ensure http requests aren't stalled. Reset every time upload or
// download progress is made.
- scoped_ptr<base::Timer> http_request_timeout_timer;
+ std::unique_ptr<base::Timer> http_request_timeout_timer;
};
// This lock synchronizes use of state involved in the flow to fetch a URL
« no previous file with comments | « sync/internal_api/public/events/protocol_event.h ('k') | sync/internal_api/public/http_bridge_network_resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698