| Index: services/test_service/test_request_tracker_client_impl.h
|
| diff --git a/services/test_service/test_request_tracker_client_impl.h b/services/test_service/test_request_tracker_client_impl.h
|
| deleted file mode 100644
|
| index cc341827080a018f2aa2266157d93a8ec99ea617..0000000000000000000000000000000000000000
|
| --- a/services/test_service/test_request_tracker_client_impl.h
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_CLIENT_IMPL_H_
|
| -#define SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_CLIENT_IMPL_H_
|
| -
|
| -#include "mojo/public/cpp/system/macros.h"
|
| -#include "services/test_service/test_request_tracker.mojom.h"
|
| -
|
| -namespace mojo {
|
| -namespace test {
|
| -
|
| -class TestRequestTrackerClientImpl : public TestRequestTrackerClient {
|
| - public:
|
| - TestRequestTrackerClientImpl(
|
| - TestRequestTrackerPtr tracker,
|
| - const std::string& service_name,
|
| - const mojo::Callback<void()>& tracking_connected_callback);
|
| - ~TestRequestTrackerClientImpl() override;
|
| -
|
| - // Call whenever an event happens that you want to be recorded.
|
| - void RecordNewRequest();
|
| -
|
| - // TestRequestTrackerClient impl.
|
| - void SetIdAndReturnName(
|
| - uint64_t id,
|
| - const mojo::Callback<void(mojo::String)>& callback) override;
|
| -
|
| - private:
|
| - void SendStats();
|
| - uint64_t id_;
|
| - uint64_t requests_since_upload_;
|
| - const std::string service_name_;
|
| - TestRequestTrackerPtr tracker_;
|
| - mojo::Callback<void()> tracking_connected_callback_;
|
| -};
|
| -
|
| -} // namespace test
|
| -} // namespace mojo
|
| -
|
| -#endif // SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_CLIENT_IMPL_H_
|
|
|