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

Unified Diff: google_apis/drive/request_util.h

Issue 1873663002: Convert //google_apis 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
Index: google_apis/drive/request_util.h
diff --git a/google_apis/drive/request_util.h b/google_apis/drive/request_util.h
index 1dc6f5efb668cc2e4e7430ad4dc7c40f27cbdc38..e688015c7e941110238783270f7b74a2b69443ca 100644
--- a/google_apis/drive/request_util.h
+++ b/google_apis/drive/request_util.h
@@ -5,8 +5,8 @@
#ifndef GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_
#define GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace base {
class DictionaryValue;
@@ -24,7 +24,8 @@ extern const char kContentTypeApplicationJson[];
std::string GenerateIfMatchHeader(const std::string& etag);
// Creates a Parent value which can be used as a part of request body.
-scoped_ptr<base::DictionaryValue> CreateParentValue(const std::string& file_id);
+std::unique_ptr<base::DictionaryValue> CreateParentValue(
+ const std::string& file_id);
} // namespace util
} // namespace google_apis

Powered by Google App Engine
This is Rietveld 408576698