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

Unified Diff: components/feedback/feedback_data.h

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_common.cc ('k') | components/feedback/feedback_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_data.h
diff --git a/components/feedback/feedback_data.h b/components/feedback/feedback_data.h
index 311a9f966a1962f703d587e2a9643b9dbe463083..ad7a76da2a00a67040c0774e89cdd39a511f9957 100644
--- a/components/feedback/feedback_data.h
+++ b/components/feedback/feedback_data.h
@@ -5,11 +5,11 @@
#ifndef COMPONENTS_FEEDBACK_FEEDBACK_DATA_H_
#define COMPONENTS_FEEDBACK_FEEDBACK_DATA_H_
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/feedback/feedback_common.h"
#include "url/gurl.h"
@@ -32,20 +32,21 @@ class FeedbackData : public FeedbackCommon {
// Sets the system information for this instance and kicks off its
// compression.
- void SetAndCompressSystemInfo(scoped_ptr<SystemLogsMap> sys_info);
+ void SetAndCompressSystemInfo(std::unique_ptr<SystemLogsMap> sys_info);
// Sets the histograms for this instance and kicks off its
// compression.
- void SetAndCompressHistograms(scoped_ptr<std::string> histograms);
+ void SetAndCompressHistograms(std::unique_ptr<std::string> histograms);
// Sets the attached file data and kicks off its compression.
- void AttachAndCompressFileData(scoped_ptr<std::string> attached_filedata);
+ void AttachAndCompressFileData(
+ std::unique_ptr<std::string> attached_filedata);
// Called once we have compressed our system logs.
- void OnCompressLogsComplete(scoped_ptr<std::string> compressed_logs);
+ void OnCompressLogsComplete(std::unique_ptr<std::string> compressed_logs);
// Called once we have compressed our attached file.
- void OnCompressFileComplete(scoped_ptr<std::string> compressed_file);
+ void OnCompressFileComplete(std::unique_ptr<std::string> compressed_file);
// Returns true if we've completed all the tasks needed before we can send
// feedback - at this time this is includes getting the feedback page data
« no previous file with comments | « components/feedback/feedback_common.cc ('k') | components/feedback/feedback_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698