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

Side by Side Diff: mojo/services/test_service/test_service_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_service_impl.h" 5 #include "mojo/services/test_service/test_service_impl.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 #include "base/i18n/time_formatting.h" 12 #include "base/i18n/time_formatting.h"
11 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
12 #include "mojo/application/public/cpp/application_impl.h" 14 #include "mojo/application/public/cpp/application_impl.h"
13 #include "mojo/services/test_service/test_service_application.h" 15 #include "mojo/services/test_service/test_service_application.h"
14 #include "mojo/services/test_service/test_time_service_impl.h" 16 #include "mojo/services/test_service/test_time_service_impl.h"
15 #include "mojo/services/test_service/tracked_service.h" 17 #include "mojo/services/test_service/tracked_service.h"
16 18
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 57
56 void TestServiceImpl::StartTrackingRequests( 58 void TestServiceImpl::StartTrackingRequests(
57 const mojo::Callback<void()>& callback) { 59 const mojo::Callback<void()>& callback) {
58 TestRequestTrackerPtr tracker; 60 TestRequestTrackerPtr tracker;
59 app_impl_->ConnectToService("mojo:test_request_tracker_app", &tracker); 61 app_impl_->ConnectToService("mojo:test_request_tracker_app", &tracker);
60 tracking_.reset(new TrackedService(std::move(tracker), Name_, callback)); 62 tracking_.reset(new TrackedService(std::move(tracker), Name_, callback));
61 } 63 }
62 64
63 } // namespace test 65 } // namespace test
64 } // namespace mojo 66 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/test_service/test_service_impl.h ('k') | mojo/services/test_service/test_time_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698