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

Unified Diff: extensions/browser/state_store.cc

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
« no previous file with comments | « extensions/browser/state_store.h ('k') | extensions/browser/test_extension_registry_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/state_store.cc
diff --git a/extensions/browser/state_store.cc b/extensions/browser/state_store.cc
index 2c8c9f9f1c86a13626c5f66a634ec344a197c6c1..ae67f895806bb58586a8f0aef9129b287c2efe08 100644
--- a/extensions/browser/state_store.cc
+++ b/extensions/browser/state_store.cc
@@ -111,7 +111,7 @@ void StateStore::GetExtensionValue(const std::string& extension_id,
void StateStore::SetExtensionValue(const std::string& extension_id,
const std::string& key,
- scoped_ptr<base::Value> value) {
+ std::unique_ptr<base::Value> value) {
task_queue_->InvokeWhenReady(
base::Bind(&ValueStoreFrontend::Set, base::Unretained(store_.get()),
GetFullKey(extension_id, key), base::Passed(&value)));
« no previous file with comments | « extensions/browser/state_store.h ('k') | extensions/browser/test_extension_registry_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698