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

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 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
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index faea432e490fe612b20a7e66c6f9b9b6564bacba..27313686e0d97126b60ae6f3e71b8ca0f044b15c 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -219,14 +219,14 @@ bool ShellContentBrowserClient::IsNPAPIEnabled() {
void ShellContentBrowserClient::RegisterInProcessMojoApplications(
StaticMojoApplicationMap* apps) {
#if (ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS)
- apps->insert(std::make_pair(GURL("mojo:media"),
+ apps->insert(std::make_pair("mojo:media",
base::Bind(&media::CreateMojoMediaApplication)));
#endif
}
void ShellContentBrowserClient::RegisterOutOfProcessMojoApplications(
OutOfProcessMojoApplicationMap* apps) {
- apps->insert(std::make_pair(GURL(kTestMojoAppUrl),
+ apps->insert(std::make_pair(kTestMojoAppUrl,
base::UTF8ToUTF16("Test Mojo App")));
}
« no previous file with comments | « content/public/utility/content_utility_client.h ('k') | content/shell/utility/shell_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698