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

Unified Diff: chrome/browser/ui/webui/mojo_web_ui_controller.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
Index: chrome/browser/ui/webui/mojo_web_ui_controller.h
diff --git a/chrome/browser/ui/webui/mojo_web_ui_controller.h b/chrome/browser/ui/webui/mojo_web_ui_controller.h
index d29705ea62bebc6c76e84575d81c85801d4e601c..9b2e7cc55569a4e3c7e3ffd80031a12ca952e569 100644
--- a/chrome/browser/ui/webui/mojo_web_ui_controller.h
+++ b/chrome/browser/ui/webui/mojo_web_ui_controller.h
@@ -30,10 +30,6 @@ class MojoWebUIControllerBase : public content::WebUIController {
// WebUIController overrides:
void RenderViewCreated(content::RenderViewHost* render_view_host) override;
- protected:
- // Invoke to register mapping between binding file and resource id (IDR_...).
- void AddMojoResourcePath(const std::string& path, int resource_id);
-
private:
// Bindings files are registered here.
content::WebUIDataSource* mojo_data_source_;
« no previous file with comments | « chrome/browser/ui/webui/engagement/site_engagement_ui.cc ('k') | chrome/browser/ui/webui/mojo_web_ui_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698