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

Unified Diff: components/feedback/feedback_uploader_delegate.cc

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: … 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
« no previous file with comments | « components/feedback/feedback_uploader.h ('k') | components/feedback/feedback_uploader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_uploader_delegate.cc
diff --git a/components/feedback/feedback_uploader_delegate.cc b/components/feedback/feedback_uploader_delegate.cc
index 6fdca6be255ff4aab6abaeb719ba5c6b7f659d4f..0519a816407208e7c84aed8133da62a7d9fd187c 100644
--- a/components/feedback/feedback_uploader_delegate.cc
+++ b/components/feedback/feedback_uploader_delegate.cc
@@ -4,6 +4,7 @@
#include "components/feedback/feedback_uploader_delegate.h"
+#include <memory>
#include <sstream>
#include "base/logging.h"
@@ -32,7 +33,7 @@ FeedbackUploaderDelegate::~FeedbackUploaderDelegate() {}
void FeedbackUploaderDelegate::OnURLFetchComplete(
const net::URLFetcher* source) {
- scoped_ptr<const net::URLFetcher> source_scoper(source);
+ std::unique_ptr<const net::URLFetcher> source_scoper(source);
std::stringstream error_stream;
int response_code = source->GetResponseCode();
« no previous file with comments | « components/feedback/feedback_uploader.h ('k') | components/feedback/feedback_uploader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698