| OLD | NEW |
| 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_TIME_SERVICE_IMPL_H_ | 5 #ifndef SERVICES_TEST_SERVICE_TEST_TIME_SERVICE_IMPL_H_ |
| 6 #define SERVICES_TEST_SERVICE_TEST_TIME_SERVICE_IMPL_H_ | 6 #define SERVICES_TEST_SERVICE_TEST_TIME_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "mojo/public/cpp/bindings/interface_request.h" |
| 10 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 11 #include "mojo/public/cpp/system/macros.h" |
| 9 #include "mojo/services/test_service/test_service.mojom.h" | 12 #include "mojo/services/test_service/test_service.mojom.h" |
| 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" | |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | |
| 12 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 | 15 |
| 16 class ApplicationConnection; | 16 class ApplicationConnection; |
| 17 | 17 |
| 18 namespace test { | 18 namespace test { |
| 19 | 19 |
| 20 class TrackedService; | 20 class TrackedService; |
| 21 | 21 |
| 22 class TestTimeServiceImpl : public TestTimeService { | 22 class TestTimeServiceImpl : public TestTimeService { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 ApplicationImpl* app_impl_; | 34 ApplicationImpl* app_impl_; |
| 35 scoped_ptr<TrackedService> tracking_; | 35 scoped_ptr<TrackedService> tracking_; |
| 36 StrongBinding<TestTimeService> binding_; | 36 StrongBinding<TestTimeService> binding_; |
| 37 MOJO_DISALLOW_COPY_AND_ASSIGN(TestTimeServiceImpl); | 37 MOJO_DISALLOW_COPY_AND_ASSIGN(TestTimeServiceImpl); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace test | 40 } // namespace test |
| 41 } // namespace mojo | 41 } // namespace mojo |
| 42 | 42 |
| 43 #endif // SERVICES_TEST_SERVICE_TEST_TIME_SERVICE_IMPL_H_ | 43 #endif // SERVICES_TEST_SERVICE_TEST_TIME_SERVICE_IMPL_H_ |
| OLD | NEW |