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

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

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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_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> 8 #include <stdint.h>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
12 #include "mojo/public/cpp/system/macros.h" 12 #include "mojo/public/cpp/system/macros.h"
13 #include "mojo/services/test_service/test_request_tracker.mojom.h" 13 #include "mojo/services/test_service/test_request_tracker.mojom.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 class ApplicationConnection;
17 namespace test { 16 namespace test {
18 17
19 typedef std::map<uint64_t, std::vector<ServiceStats> > AllRecordsMap; 18 typedef std::map<uint64_t, std::vector<ServiceStats> > AllRecordsMap;
20 19
21 // Shared state between all instances of TestRequestTrackerImpl 20 // Shared state between all instances of TestRequestTrackerImpl
22 // and the master TrackedRequestService. 21 // and the master TrackedRequestService.
23 struct TrackingContext { 22 struct TrackingContext {
24 TrackingContext(); 23 TrackingContext();
25 ~TrackingContext(); 24 ~TrackingContext();
26 AllRecordsMap records; 25 AllRecordsMap records;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 TrackingContext* context_; 61 TrackingContext* context_;
63 StrongBinding<TestTrackedRequestService> binding_; 62 StrongBinding<TestTrackedRequestService> binding_;
64 63
65 MOJO_DISALLOW_COPY_AND_ASSIGN(TestTrackedRequestServiceImpl); 64 MOJO_DISALLOW_COPY_AND_ASSIGN(TestTrackedRequestServiceImpl);
66 }; 65 };
67 66
68 } // namespace test 67 } // namespace test
69 } // namespace mojo 68 } // namespace mojo
70 69
71 #endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_ 70 #endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/test_service/test_request_tracker_application.cc ('k') | mojo/services/test_service/test_service_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698