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

Unified Diff: chrome/renderer/render_thread.cc

Issue 567037: Initial work on making extensions work in incognito mode. (Closed)
Patch Set: added experimental requirement Created 10 years, 10 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 | « chrome/renderer/render_thread.h ('k') | chrome/renderer/user_script_slave.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 1f61c231f998d4c9053f02342a2a8a1013ab00c5..7914507b00d09de94892a2a80f84658d4fa73cb6 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -320,9 +320,9 @@ void RenderThread::OnSetZoomLevelForCurrentHost(const std::string& host,
}
void RenderThread::OnUpdateUserScripts(
- base::SharedMemoryHandle scripts) {
+ base::SharedMemoryHandle scripts, bool only_inject_incognito) {
DCHECK(base::SharedMemory::IsHandleValid(scripts)) << "Bad scripts handle";
- user_script_slave_->UpdateScripts(scripts);
+ user_script_slave_->UpdateScripts(scripts, only_inject_incognito);
UpdateActiveExtensions();
}
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/user_script_slave.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698