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

Unified Diff: extensions/browser/value_store/leveldb_scoped_database.h

Issue 1909773002: Convert //extensions/browser 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: extensions/browser/value_store/leveldb_scoped_database.h
diff --git a/extensions/browser/value_store/leveldb_scoped_database.h b/extensions/browser/value_store/leveldb_scoped_database.h
index ef52f1d776916f8a33f9b12656d3b3e65fcace7f..46f59943ff4c1e1934cf87ca2a3518c50a01af7c 100644
--- a/extensions/browser/value_store/leveldb_scoped_database.h
+++ b/extensions/browser/value_store/leveldb_scoped_database.h
@@ -46,7 +46,7 @@ class LeveldbScopedDatabase
// Reads a single |value| from the database for the specified |key|.
ValueStore::Status Read(const std::string& scope,
const std::string& key,
- scoped_ptr<base::Value>* value);
+ std::unique_ptr<base::Value>* value);
// Reads all |values| from the database stored within the specified |scope|.
ValueStore::Status Read(const std::string& scope,

Powered by Google App Engine
This is Rietveld 408576698