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

Unified Diff: extensions/browser/declarative_user_script_master.cc

Issue 1062963006: Make WebUI webview content script work with incognito. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui_api_4
Patch Set: Created 5 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/declarative_user_script_master.cc
diff --git a/extensions/browser/declarative_user_script_master.cc b/extensions/browser/declarative_user_script_master.cc
index 7ac538d3d2790c33c67b958a75bb2eab65534090..4fb72ccf4c2bad6028264f355704fd615d795770 100644
--- a/extensions/browser/declarative_user_script_master.cc
+++ b/extensions/browser/declarative_user_script_master.cc
@@ -40,8 +40,9 @@ void DeclarativeUserScriptMaster::AddScript(const UserScript& script) {
void DeclarativeUserScriptMaster::AddScripts(
const std::set<UserScript>& scripts,
int render_process_id,
- int render_view_id) {
- loader_->AddScripts(scripts, render_process_id, render_view_id);
+ int render_view_id,
+ bool is_incognito) {
+ loader_->AddScripts(scripts, render_process_id, render_view_id, is_incognito);
}
void DeclarativeUserScriptMaster::RemoveScript(const UserScript& script) {

Powered by Google App Engine
This is Rietveld 408576698