| 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_SERVICE_IMPL_H_ | 5 #ifndef SERVICES_TEST_SERVICE_TEST_SERVICE_IMPL_H_ |
| 6 #define SERVICES_TEST_SERVICE_TEST_SERVICE_IMPL_H_ | 6 #define SERVICES_TEST_SERVICE_TEST_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/strong_binding.h" |
| 10 #include "mojo/public/cpp/system/macros.h" |
| 9 #include "mojo/services/test_service/test_service.mojom.h" | 11 #include "mojo/services/test_service/test_service.mojom.h" |
| 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | |
| 11 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace mojo { |
| 14 class ApplicationImpl; | 14 class ApplicationImpl; |
| 15 namespace test { | 15 namespace test { |
| 16 | 16 |
| 17 class TrackedService; | 17 class TrackedService; |
| 18 class TestServiceApplication; | 18 class TestServiceApplication; |
| 19 | 19 |
| 20 class TestServiceImpl : public TestService { | 20 class TestServiceImpl : public TestService { |
| 21 public: | 21 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 scoped_ptr<TrackedService> tracking_; | 38 scoped_ptr<TrackedService> tracking_; |
| 39 StrongBinding<TestService> binding_; | 39 StrongBinding<TestService> binding_; |
| 40 | 40 |
| 41 MOJO_DISALLOW_COPY_AND_ASSIGN(TestServiceImpl); | 41 MOJO_DISALLOW_COPY_AND_ASSIGN(TestServiceImpl); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace test | 44 } // namespace test |
| 45 } // namespace mojo | 45 } // namespace mojo |
| 46 | 46 |
| 47 #endif // SERVICES_TEST_SERVICE_TEST_SERVICE_IMPL_H_ | 47 #endif // SERVICES_TEST_SERVICE_TEST_SERVICE_IMPL_H_ |
| OLD | NEW |