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

Side by Side Diff: services/test_service/test_request_tracker_application.h

Issue 1979723002: ApplicationConnection devolution, part 3. (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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_ 5 #ifndef SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_
6 #define SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_ 6 #define SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_
7 7
8 #include "mojo/public/cpp/application/application_delegate.h" 8 #include "mojo/public/cpp/application/application_delegate.h"
9 #include "mojo/public/cpp/system/macros.h" 9 #include "mojo/public/cpp/system/macros.h"
10 #include "services/test_service/test_request_tracker_impl.h" 10 #include "services/test_service/test_request_tracker_impl.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 class ApplicationImpl; 13 class ApplicationImpl;
14 namespace test { 14 namespace test {
15 class TestTimeService; 15 class TestTimeService;
16 16
17 // Embeds TestRequestTracker mojo services into an application. 17 // Embeds TestRequestTracker mojo services into an application.
18 class TestRequestTrackerApplication : public ApplicationDelegate { 18 class TestRequestTrackerApplication : public ApplicationDelegate {
19 public: 19 public:
20 TestRequestTrackerApplication(); 20 TestRequestTrackerApplication();
21 ~TestRequestTrackerApplication() override; 21 ~TestRequestTrackerApplication() override;
22 22
23 void Initialize(ApplicationImpl* app) override; 23 void Initialize(ApplicationImpl* app) override;
24 24
25 // ApplicationDelegate methods: 25 // ApplicationDelegate methods:
26 bool ConfigureIncomingConnection(ApplicationConnection* connection) override; 26 bool ConfigureIncomingConnection(
27 ServiceProviderImpl* service_provider_impl) override;
27 28
28 private: 29 private:
29 ApplicationImpl* app_impl_; 30 ApplicationImpl* app_impl_;
30 TrackingContext context_; 31 TrackingContext context_;
31 MOJO_DISALLOW_COPY_AND_ASSIGN(TestRequestTrackerApplication); 32 MOJO_DISALLOW_COPY_AND_ASSIGN(TestRequestTrackerApplication);
32 }; 33 };
33 34
34 } // namespace test 35 } // namespace test
35 } // namespace mojo 36 } // namespace mojo
36 37
37 #endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_ 38 #endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_
OLDNEW
« no previous file with comments | « services/python/content_handler/content_handler_main.cc ('k') | services/test_service/test_request_tracker_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698