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

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

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 #include "mojo/services/test_service/test_request_tracker_impl.h" 5 #include "mojo/services/test_service/test_request_tracker_impl.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <utility> 10 #include <utility>
8 11
9 namespace mojo { 12 namespace mojo {
10 namespace test { 13 namespace test {
11 14
12 TrackingContext::TrackingContext() : next_id(1) { 15 TrackingContext::TrackingContext() : next_id(1) {
13 } 16 }
14 17
15 TrackingContext::~TrackingContext() { 18 TrackingContext::~TrackingContext() {
16 } 19 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 mean_health_numerator += it2->health; 71 mean_health_numerator += it2->health;
69 } 72 }
70 report->mean_health = mean_health_numerator / num_samples; 73 report->mean_health = mean_health_numerator / num_samples;
71 reports.push_back(std::move(report)); 74 reports.push_back(std::move(report));
72 } 75 }
73 callback.Run(std::move(reports)); 76 callback.Run(std::move(reports));
74 } 77 }
75 78
76 } // namespace test 79 } // namespace test
77 } // namespace mojo 80 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/test_service/test_request_tracker_impl.h ('k') | mojo/services/test_service/test_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698