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

Unified Diff: chrome/browser/chromeos/policy/upload_job.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: chrome/browser/chromeos/policy/upload_job.h
diff --git a/chrome/browser/chromeos/policy/upload_job.h b/chrome/browser/chromeos/policy/upload_job.h
index 1df7573612c5ace1d55312ab1d320589edd2812c..991db370cc0885f883afb0c232937f6aaee50f39 100644
--- a/chrome/browser/chromeos/policy/upload_job.h
+++ b/chrome/browser/chromeos/policy/upload_job.h
@@ -6,10 +6,10 @@
#define CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_H_
#include <map>
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "url/gurl.h"
namespace policy {
@@ -65,7 +65,7 @@ class UploadJob {
const std::string& name,
const std::string& filename,
const std::map<std::string, std::string>& header_entries,
- scoped_ptr<std::string> data) = 0;
+ std::unique_ptr<std::string> data) = 0;
// Initiates the data upload . This method must only be called once.
virtual void Start() = 0;
« no previous file with comments | « chrome/browser/chromeos/policy/system_log_uploader_unittest.cc ('k') | chrome/browser/chromeos/policy/upload_job_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698