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

Unified Diff: content/public/test/test_web_ui.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/test/test_web_contents_factory.h ('k') | content/public/test/unittest_test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_web_ui.h
diff --git a/content/public/test/test_web_ui.h b/content/public/test/test_web_ui.h
index 5cb04d33a7451bb62dd492b8af4f291da73bc23a..9490d70418a9a3de779b98561f7067e03ab08ce0 100644
--- a/content/public/test/test_web_ui.h
+++ b/content/public/test/test_web_ui.h
@@ -5,9 +5,9 @@
#ifndef CONTENT_PUBLIC_TEST_TEST_WEB_UI_H_
#define CONTENT_PUBLIC_TEST_TEST_WEB_UI_H_
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/values.h"
#include "content/public/browser/web_ui.h"
@@ -79,9 +79,9 @@ class TestWebUI : public WebUI {
private:
std::string function_name_;
- scoped_ptr<base::Value> arg1_;
- scoped_ptr<base::Value> arg2_;
- scoped_ptr<base::Value> arg3_;
+ std::unique_ptr<base::Value> arg1_;
+ std::unique_ptr<base::Value> arg2_;
+ std::unique_ptr<base::Value> arg3_;
};
const ScopedVector<CallData>& call_data() const { return call_data_; }
« no previous file with comments | « content/public/test/test_web_contents_factory.h ('k') | content/public/test/unittest_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698