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

Unified Diff: components/test_runner/tracked_dictionary.h

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/test_runner/test_runner.cc ('k') | components/test_runner/tracked_dictionary.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/tracked_dictionary.h
diff --git a/components/test_runner/tracked_dictionary.h b/components/test_runner/tracked_dictionary.h
index 7b7182da75f108aef7573206e47abf1d03d1a33d..b9b8f5ec2a71dc40d4fd15877237f81d701d8cef 100644
--- a/components/test_runner/tracked_dictionary.h
+++ b/components/test_runner/tracked_dictionary.h
@@ -5,10 +5,10 @@
#ifndef COMPONENTS_TEST_RUNNER_TRACKED_DICTIONARY_H_
#define COMPONENTS_TEST_RUNNER_TRACKED_DICTIONARY_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "components/test_runner/test_runner_export.h"
@@ -40,7 +40,7 @@ class TEST_RUNNER_EXPORT TrackedDictionary {
void ApplyUntrackedChanges(const base::DictionaryValue& new_changes);
// Sets a value in |current_values| and tracks the change in |changed_values|.
- void Set(const std::string& path, scoped_ptr<base::Value> new_value);
+ void Set(const std::string& path, std::unique_ptr<base::Value> new_value);
// Type-specific setter for convenience.
void SetBoolean(const std::string& path, bool new_value);
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/test_runner/tracked_dictionary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698