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

Unified Diff: components/flags_ui/flags_state_unittest.cc

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
Index: components/flags_ui/flags_state_unittest.cc
diff --git a/components/flags_ui/flags_state_unittest.cc b/components/flags_ui/flags_state_unittest.cc
index be6a4d346bcdee96ee1e4f998512cdc5bbfdf16d..628331b5a4f56a5c7e7731a59744ef294b705a5c 100644
--- a/components/flags_ui/flags_state_unittest.cc
+++ b/components/flags_ui/flags_state_unittest.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <set>
#include <string>
@@ -14,7 +15,6 @@
#include "base/feature_list.h"
#include "base/format_macros.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
@@ -126,7 +126,7 @@ class FlagsStateTest : public ::testing::Test {
TestingPrefServiceSimple prefs_;
PrefServiceFlagsStorage flags_storage_;
- scoped_ptr<FlagsState> flags_state_;
+ std::unique_ptr<FlagsState> flags_state_;
};
TEST_F(FlagsStateTest, NoChangeNoRestart) {
« no previous file with comments | « components/filesystem/public/cpp/prefs/pref_service_factory.cc ('k') | components/google/core/browser/google_url_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698