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

Unified Diff: chrome/browser/extensions/shared_user_script_master.h

Issue 2227193002: Make UserScript non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 4 years, 4 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: chrome/browser/extensions/shared_user_script_master.h
diff --git a/chrome/browser/extensions/shared_user_script_master.h b/chrome/browser/extensions/shared_user_script_master.h
index 5fb32d413df7f7ba8bfa18eb8fd6ce32285aef5d..b3e99cffde45f800a1bedba24edd873beee41c70 100644
--- a/chrome/browser/extensions/shared_user_script_master.h
+++ b/chrome/browser/extensions/shared_user_script_master.h
@@ -45,7 +45,8 @@ class SharedUserScriptMaster : public ExtensionRegistryObserver {
// Gets an extension's scripts' metadata; i.e., gets a list of UserScript
// objects that contains script info, but not the contents of the scripts.
- const UserScriptList GetScriptsMetadata(const Extension* extension);
+ std::unique_ptr<UserScriptList> GetScriptsMetadata(
+ const Extension* extension);
// Script loader that handles loading contents of scripts into shared memory
// and notifying renderers of scripts in shared memory.

Powered by Google App Engine
This is Rietveld 408576698