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

Unified Diff: rlz/chromeos/lib/rlz_value_store_chromeos.h

Issue 1856623002: convert //rlz to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/chromeos/lib/rlz_value_store_chromeos.h
diff --git a/rlz/chromeos/lib/rlz_value_store_chromeos.h b/rlz/chromeos/lib/rlz_value_store_chromeos.h
index e4c557f06b79bf3387ae2baa553270c4fe43c1ed..182ba0eb2ac705aec5081c988a62053abe7cc2e2 100644
--- a/rlz/chromeos/lib/rlz_value_store_chromeos.h
+++ b/rlz/chromeos/lib/rlz_value_store_chromeos.h
@@ -8,6 +8,8 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/threading/non_thread_safe.h"
@@ -74,7 +76,7 @@ class RlzValueStoreChromeOS : public RlzValueStore,
const base::Value& value);
// In-memory store with RLZ data.
- scoped_ptr<base::DictionaryValue> rlz_store_;
+ std::unique_ptr<base::DictionaryValue> rlz_store_;
base::FilePath store_path_;
« no previous file with comments | « no previous file | rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698