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

Unified Diff: components/safe_json/testing_json_parser_unittest.cc

Issue 1921923002: Convert //components/[o-t]* 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/safe_json/testing_json_parser.cc ('k') | components/search/search_android_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/testing_json_parser_unittest.cc
diff --git a/components/safe_json/testing_json_parser_unittest.cc b/components/safe_json/testing_json_parser_unittest.cc
index 20ad641346631004109d3c728aa7c8b21179e69d..1e944a98fa2fbdd4e88a9b3c64055216f6ce1a6a 100644
--- a/components/safe_json/testing_json_parser_unittest.cc
+++ b/components/safe_json/testing_json_parser_unittest.cc
@@ -4,6 +4,8 @@
#include "components/safe_json/testing_json_parser.h"
+#include <memory>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/message_loop/message_loop.h"
@@ -34,7 +36,7 @@ class TestingJsonParserTest : public testing::Test {
private:
static void SuccessCallback(TestingJsonParserTest* test,
base::Closure quit_closure,
- scoped_ptr<base::Value> value) {
+ std::unique_ptr<base::Value> value) {
test->did_success_ = true;
quit_closure.Run();
« no previous file with comments | « components/safe_json/testing_json_parser.cc ('k') | components/search/search_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698