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

Unified Diff: content/renderer/mojo_context_state.h

Issue 1457623004: Serve mojo WebUI resources from the same origin as the WebUI itself. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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 | « content/public/browser/web_ui_data_source.h ('k') | content/renderer/mojo_context_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_context_state.h
diff --git a/content/renderer/mojo_context_state.h b/content/renderer/mojo_context_state.h
index 96110420f931067c6fbec9378e99c063af1c87c5..f6516b4f71a452b3469338cff28400ce88042f6a 100644
--- a/content/renderer/mojo_context_state.h
+++ b/content/renderer/mojo_context_state.h
@@ -76,6 +76,9 @@ class MojoContextState : public gin::ModuleRegistryObserver {
// Set of modules we've fetched script from.
std::set<std::string> fetched_modules_;
+ // The prefix to use for all module requests.
+ const std::string module_prefix_;
+
DISALLOW_COPY_AND_ASSIGN(MojoContextState);
};
« no previous file with comments | « content/public/browser/web_ui_data_source.h ('k') | content/renderer/mojo_context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698