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

Side by Side Diff: mojo/services/test_service/test_monitoring_application.h

Issue 349303006: mojo: add some end-to-end shell tests and a new test sample app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ServiceProvider rebase Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
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_SERVICES_TEST_SERVICE_TEST_MONITORING_APPLICATION_H_
6 #define MOJO_SERVICES_TEST_SERVICE_TEST_MONITORING_APPLICATION_H_
7
8 #include "mojo/public/cpp/application/application_delegate.h"
9 #include "mojo/public/cpp/system/macros.h"
10 #include "mojo/services/test_service/toy_monitoring_service_impl.h"
11
12 namespace mojo {
13 namespace test {
14
15 // Embeds ToyMonitoringService mojo services into an application.
16 class TestMonitoringApplication : public ApplicationDelegate {
17 public:
18 TestMonitoringApplication();
19 virtual ~TestMonitoringApplication();
20
21 virtual bool ConfigureIncomingConnection(ApplicationConnection* connection)
22 MOJO_OVERRIDE;
23
24 private:
25 MonitoringContext context_;
26 MOJO_DISALLOW_COPY_AND_ASSIGN(TestMonitoringApplication);
27 };
28
29 } // namespace test
30 } // namespace mojo
31
32 #endif // MOJO_SERVICES_TEST_SERVICE_TEST_MONITORING_APPLICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698