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

Unified Diff: services/media/audio/audio_server_app.h

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « services/log/main.cc ('k') | services/media/audio/audio_server_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/audio/audio_server_app.h
diff --git a/services/media/audio/audio_server_app.h b/services/media/audio/audio_server_app.h
index b67262a26cdeaad92bed88b3662f44c24a4bedc3..c98cc30d752d7136b717d2f56386164183f3a345 100644
--- a/services/media/audio/audio_server_app.h
+++ b/services/media/audio/audio_server_app.h
@@ -15,10 +15,9 @@ namespace mojo {
namespace media {
namespace audio {
-class AudioServerApp : public ApplicationDelegate
- , public InterfaceFactory<AudioServer> {
+class AudioServerApp : public ApplicationDelegate,
+ public InterfaceFactory<AudioServer> {
public:
- // Constructor/Destructor
AudioServerApp();
~AudioServerApp() override;
@@ -28,12 +27,12 @@ class AudioServerApp : public ApplicationDelegate
void Quit() override;
// InterfaceFactory<AudioServer>
- void Create(mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<AudioServer> request) override;
+ void Create(const ConnectionContext& connection_context,
+ InterfaceRequest<AudioServer> request) override;
private:
- AudioServerImpl server_impl_;
- BindingSet<AudioServer> bindings_;
+ AudioServerImpl server_impl_;
+ BindingSet<AudioServer> bindings_;
};
} // namespace audio
« no previous file with comments | « services/log/main.cc ('k') | services/media/audio/audio_server_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698