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

Unified Diff: extensions/renderer/user_script_injector.cc

Issue 1899083003: Convert //extensions/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/renderer/user_script_injector.h ('k') | extensions/renderer/user_script_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/user_script_injector.cc
diff --git a/extensions/renderer/user_script_injector.cc b/extensions/renderer/user_script_injector.cc
index b1218d50ed4530608ecbd810ceff510e0bbdaaee..71b41eb2e1d95b47c4b4b5538455d121a0363fc6 100644
--- a/extensions/renderer/user_script_injector.cc
+++ b/extensions/renderer/user_script_injector.cc
@@ -252,10 +252,9 @@ void UserScriptInjector::GetRunInfo(
}
void UserScriptInjector::OnInjectionComplete(
- scoped_ptr<base::Value> execution_result,
+ std::unique_ptr<base::Value> execution_result,
UserScript::RunLocation run_location,
- content::RenderFrame* render_frame) {
-}
+ content::RenderFrame* render_frame) {}
void UserScriptInjector::OnWillNotInject(InjectFailureReason reason,
content::RenderFrame* render_frame) {
« no previous file with comments | « extensions/renderer/user_script_injector.h ('k') | extensions/renderer/user_script_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698