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

Unified Diff: chromecast/browser/cast_content_browser_client.cc

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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') | chromecast/browser/media/cast_mojo_media_application.h » ('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 6bf5c922bc2f13784f35f622ddb816fa96dfefd5..3fe72b17c9f169ac53d35ee6327495bb3814358d 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -68,14 +68,15 @@ namespace shell {
namespace {
#if defined(ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS)
-static std::unique_ptr<mojo::ShellClient> CreateCastMojoMediaApplication(
+static std::unique_ptr<shell::ShellClient> CreateCastMojoMediaApplication(
CastContentBrowserClient* browser_client) {
std::unique_ptr<media::CastMojoMediaClient> mojo_media_client(
new media::CastMojoMediaClient(
base::Bind(&CastContentBrowserClient::CreateMediaPipelineBackend,
base::Unretained(browser_client))));
- return std::unique_ptr<mojo::ShellClient>(new media::CastMojoMediaApplication(
- std::move(mojo_media_client), browser_client->GetMediaTaskRunner()));
+ return std::unique_ptr<shell::ShellClient>(
+ new media::CastMojoMediaApplication(
+ std::move(mojo_media_client), browser_client->GetMediaTaskRunner()));
}
#endif // ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS
} // namespace
« no previous file with comments | « chrome/test/base/mojo_test_connector.cc ('k') | chromecast/browser/media/cast_mojo_media_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698