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

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

Issue 822453002: Introduce HostID and de-couple Extensions from "script injection System" [browser side] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the test failures. Created 5 years, 11 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.cc
diff --git a/chrome/browser/extensions/shared_user_script_master.cc b/chrome/browser/extensions/shared_user_script_master.cc
index 803ba0682545651b5075591cd338f3a828795cc5..aaa52fa336210207e55303a834f8ab444e66a81c 100644
--- a/chrome/browser/extensions/shared_user_script_master.cc
+++ b/chrome/browser/extensions/shared_user_script_master.cc
@@ -8,12 +8,13 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h"
#include "extensions/browser/extension_registry.h"
+#include "extensions/common/consumer.h"
namespace extensions {
SharedUserScriptMaster::SharedUserScriptMaster(Profile* profile)
: loader_(profile,
- std::string() /* owner_extension_id */,
+ ConsumerID::EmptyConsumerID() /* owner_extension_id */,
true /* listen_for_extension_system_loaded */),
profile_(profile),
extension_registry_observer_(this) {

Powered by Google App Engine
This is Rietveld 408576698