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

Side by Side Diff: mojo/services/test_service/tracked_service.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
« no previous file with comments | « mojo/services/test_service/tracked_service.h ('k') | mojo/services/tracing/trace_data_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tracked_service.h" 5 #include "mojo/services/test_service/tracked_service.h"
6 6
7 #include <stdint.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 12
11 namespace mojo { 13 namespace mojo {
12 namespace test { 14 namespace test {
13 15
14 TrackedService::TrackedService(TestRequestTrackerPtr tracker, 16 TrackedService::TrackedService(TestRequestTrackerPtr tracker,
15 const std::string& service_name, 17 const std::string& service_name,
16 const mojo::Callback<void()>& callback) 18 const mojo::Callback<void()>& callback)
(...skipping 29 matching lines...) Expand all
46 assert(id_ == 0u); 48 assert(id_ == 0u);
47 id_ = id; 49 id_ = id;
48 tracking_connected_callback_.Run(); 50 tracking_connected_callback_.Run();
49 if (requests_since_upload_ == 0u) 51 if (requests_since_upload_ == 0u)
50 return; 52 return;
51 SendStats(); 53 SendStats();
52 } 54 }
53 55
54 } // namespace test 56 } // namespace test
55 } // namespace mojo 57 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/test_service/tracked_service.h ('k') | mojo/services/tracing/trace_data_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698