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_REQUEST_TRACKER_IMPL_H_ | 5 #ifndef SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_ |
6 #define SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_ | 6 #define SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
9 #include "mojo/public/cpp/bindings/strong_binding.h" | 11 #include "mojo/public/cpp/bindings/strong_binding.h" |
10 #include "mojo/public/cpp/system/macros.h" | 12 #include "mojo/public/cpp/system/macros.h" |
11 #include "mojo/services/test_service/test_request_tracker.mojom.h" | 13 #include "mojo/services/test_service/test_request_tracker.mojom.h" |
12 | 14 |
13 namespace mojo { | 15 namespace mojo { |
14 class ApplicationConnection; | 16 class ApplicationConnection; |
15 namespace test { | 17 namespace test { |
16 | 18 |
17 typedef std::map<uint64_t, std::vector<ServiceStats> > AllRecordsMap; | 19 typedef std::map<uint64_t, std::vector<ServiceStats> > AllRecordsMap; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 TrackingContext* context_; | 62 TrackingContext* context_; |
61 StrongBinding<TestTrackedRequestService> binding_; | 63 StrongBinding<TestTrackedRequestService> binding_; |
62 | 64 |
63 MOJO_DISALLOW_COPY_AND_ASSIGN(TestTrackedRequestServiceImpl); | 65 MOJO_DISALLOW_COPY_AND_ASSIGN(TestTrackedRequestServiceImpl); |
64 }; | 66 }; |
65 | 67 |
66 } // namespace test | 68 } // namespace test |
67 } // namespace mojo | 69 } // namespace mojo |
68 | 70 |
69 #endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_ | 71 #endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_ |
OLD | NEW |