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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 1828733004: Load application manifests from resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 8ec8c8c9fd268addc6034b5ae8eb4a3e7d133b5f..74c70cfa25eda87156387289cafdc045d0dee256 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -384,6 +384,27 @@ bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs(
return false;
}
+std::string ContentBrowserClient::GetPackagedMojoApplicationName() {
+ return "exe:content_browser";
Ben Goodger (Google) 2016/03/30 22:27:50 it'd be nice eventually if these strings wound up
Ken Rockot(use gerrit already) 2016/03/31 18:55:48 Done. I only added constants for the content names
+}
+
+std::string ContentBrowserClient::GetMojoApplicationNameForProcess(
+ ProcessType type) {
+ switch (type) {
+ case PROCESS_TYPE_RENDERER:
+ return "exe:content_renderer";
+
+ default:
+ return std::string();
+ }
+}
+
+bool ContentBrowserClient::GetMojoApplicationManifest(
+ const base::StringPiece& name,
+ std::string* manifest_contents) {
+ return false;
+}
+
PresentationServiceDelegate*
ContentBrowserClient::GetPresentationServiceDelegate(
WebContents* web_contents) {

Powered by Google App Engine
This is Rietveld 408576698