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

Unified Diff: media/mojo/services/media_service.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 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
« no previous file with comments | « media/mojo/services/main.cc ('k') | media/mojo/services/media_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_service.h
diff --git a/media/mojo/services/media_service.h b/media/mojo/services/media_service.h
index 3b78eaab106f873c9dbed5539abebcb92ed18cb8..7a39a7e504f190ec8fb10b9422d17236df08e729 100644
--- a/media/mojo/services/media_service.h
+++ b/media/mojo/services/media_service.h
@@ -18,6 +18,7 @@
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/service_manager/public/cpp/interface_factory.h"
#include "services/service_manager/public/cpp/service.h"
+#include "services/service_manager/public/cpp/service_context.h"
#include "services/service_manager/public/cpp/service_context_ref.h"
#include "url/gurl.h"
@@ -32,8 +33,7 @@ class MEDIA_MOJO_EXPORT MediaService
service_manager::InterfaceFactory<mojom::MediaService>),
public NON_EXPORTED_BASE(mojom::MediaService) {
public:
- MediaService(std::unique_ptr<MojoMediaClient> mojo_media_client,
- const base::Closure& quit_closure);
+ explicit MediaService(std::unique_ptr<MojoMediaClient> mojo_media_client);
~MediaService() final;
private:
@@ -58,7 +58,7 @@ class MEDIA_MOJO_EXPORT MediaService
std::unique_ptr<MojoMediaClient> mojo_media_client_;
scoped_refptr<MediaLog> media_log_;
- service_manager::ServiceContextRefFactory ref_factory_;
+ std::unique_ptr<service_manager::ServiceContextRefFactory> ref_factory_;
mojo::BindingSet<mojom::MediaService> bindings_;
};
« no previous file with comments | « media/mojo/services/main.cc ('k') | media/mojo/services/media_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698