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

Side by Side Diff: services/test_service/test_request_tracker_client_impl.cc

Issue 766403002: Move test_service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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_client_impl.h" 5 #include "services/test_service/test_request_tracker_client_impl.h"
6 6
7 namespace mojo { 7 namespace mojo {
8 namespace test { 8 namespace test {
9 9
10 TestRequestTrackerClientImpl::TestRequestTrackerClientImpl( 10 TestRequestTrackerClientImpl::TestRequestTrackerClientImpl(
11 TestRequestTrackerPtr tracker, 11 TestRequestTrackerPtr tracker,
12 const std::string& service_name, 12 const std::string& service_name,
13 const mojo::Callback<void()>& callback) 13 const mojo::Callback<void()>& callback)
14 : id_(0), 14 : id_(0),
15 requests_since_upload_(0), 15 requests_since_upload_(0),
(...skipping 29 matching lines...) Expand all
45 id_ = id; 45 id_ = id;
46 callback.Run(service_name_); 46 callback.Run(service_name_);
47 tracking_connected_callback_.Run(); 47 tracking_connected_callback_.Run();
48 if (requests_since_upload_ == 0) 48 if (requests_since_upload_ == 0)
49 return; 49 return;
50 SendStats(); 50 SendStats();
51 } 51 }
52 52
53 } // namespace test 53 } // namespace test
54 } // namespace mojo 54 } // namespace mojo
OLDNEW
« no previous file with comments | « services/test_service/test_request_tracker_client_impl.h ('k') | services/test_service/test_request_tracker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698