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

Side by Side Diff: mojo/examples/apptest/example_service_application.h

Issue 684543003: Move //mojo/examples to //examples (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_EXAMPLES_TEST_EXAMPLE_SERVICE_APPLICATION_H_
6 #define MOJO_EXAMPLES_TEST_EXAMPLE_SERVICE_APPLICATION_H_
7
8 #include "mojo/examples/apptest/example_service_impl.h"
9 #include "mojo/public/cpp/application/application_delegate.h"
10 #include "mojo/public/cpp/application/interface_factory_impl.h"
11 #include "mojo/public/cpp/system/macros.h"
12
13 namespace mojo {
14
15 class ApplicationConnection;
16
17 class ExampleServiceApplication : public ApplicationDelegate {
18 public:
19 ExampleServiceApplication();
20 virtual ~ExampleServiceApplication();
21
22 private:
23 // ApplicationDelegate implementation.
24 virtual bool ConfigureIncomingConnection(
25 ApplicationConnection* connection) override;
26
27 InterfaceFactoryImpl<ExampleServiceImpl> example_service_factory_;
28
29 MOJO_DISALLOW_COPY_AND_ASSIGN(ExampleServiceApplication);
30 };
31
32 } // namespace mojo
33
34 #endif // MOJO_EXAMPLES_TEST_EXAMPLE_SERVICE_APPLICATION_H_
OLDNEW
« no previous file with comments | « mojo/examples/apptest/example_service.mojom ('k') | mojo/examples/apptest/example_service_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698