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

Unified Diff: chromecast/browser/cast_content_browser_client.cc

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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/test/base/mojo_test_connector.cc ('k') | components/arc/arc_bridge_bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.cc
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index d78e0038d8d6203fe973f14a6002081b5889b654..ae26808c812356f1412e95073550152a55c14175 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -70,7 +70,7 @@ namespace shell {
namespace {
#if defined(ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS)
-static std::unique_ptr<::shell::ShellClient> CreateMojoMediaApplication(
+static std::unique_ptr<::shell::Service> CreateMojoMediaApplication(
CastContentBrowserClient* browser_client,
const base::Closure& quit_closure) {
std::unique_ptr<media::CastMojoMediaClient> mojo_media_client(
@@ -79,7 +79,7 @@ static std::unique_ptr<::shell::ShellClient> CreateMojoMediaApplication(
base::Unretained(browser_client)),
base::Bind(&CastContentBrowserClient::CreateCdmFactory,
base::Unretained(browser_client))));
- return std::unique_ptr<::shell::ShellClient>(
+ return std::unique_ptr<::shell::Service>(
new ::media::MojoMediaApplication(std::move(mojo_media_client),
quit_closure));
}
« no previous file with comments | « chrome/test/base/mojo_test_connector.cc ('k') | components/arc/arc_bridge_bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698