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

Unified Diff: examples/apptest/example_service_application.h

Issue 2015643002: Add (optional) options to Run[Main]Application(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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
Index: examples/apptest/example_service_application.h
diff --git a/examples/apptest/example_service_application.h b/examples/apptest/example_service_application.h
index bb225145565baa73478ba58e33cb46a1783c63ab..7947b0041e615f9749c2b35580b3e9502d2d0a7b 100644
--- a/examples/apptest/example_service_application.h
+++ b/examples/apptest/example_service_application.h
@@ -6,20 +6,19 @@
#define MOJO_EXAMPLES_TEST_EXAMPLE_SERVICE_APPLICATION_H_
#include "examples/apptest/example_service_impl.h"
-#include "mojo/public/cpp/application/application_delegate.h"
+#include "mojo/public/cpp/application/application_impl_base.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
-class ExampleServiceApplication : public ApplicationDelegate {
+class ExampleServiceApplication : public ApplicationImplBase {
public:
ExampleServiceApplication();
~ExampleServiceApplication() override;
private:
- // ApplicationDelegate implementation.
- bool ConfigureIncomingConnection(
- ServiceProviderImpl* service_provider_impl) override;
+ // ApplicationImplBase override.
+ bool OnAcceptConnection(ServiceProviderImpl* service_provider_impl) override;
MOJO_DISALLOW_COPY_AND_ASSIGN(ExampleServiceApplication);
};
« no previous file with comments | « no previous file | examples/apptest/example_service_application.cc » ('j') | services/media/audio/audio_server_app.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698