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

Unified Diff: rlz/lib/rlz_value_store.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 | « rlz/lib/rlz_lib_test.cc ('k') | rlz/win/lib/machine_deal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/rlz_value_store.h
diff --git a/rlz/lib/rlz_value_store.h b/rlz/lib/rlz_value_store.h
index e2cc847d7abd7c5e7c2f2b202acbd1965aa6be31..282ce17cd2ea2fb7b9a1c6b0179cc818a9a73155 100644
--- a/rlz/lib/rlz_value_store.h
+++ b/rlz/lib/rlz_value_store.h
@@ -8,10 +8,10 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "rlz/lib/rlz_enums.h"
@@ -99,7 +99,7 @@ class ScopedRlzValueStoreLock {
RlzValueStore* GetStore();
private:
- scoped_ptr<RlzValueStore> store_;
+ std::unique_ptr<RlzValueStore> store_;
#if defined(OS_WIN)
LibMutex lock_;
#elif defined(OS_MACOSX)
« no previous file with comments | « rlz/lib/rlz_lib_test.cc ('k') | rlz/win/lib/machine_deal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698