OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BLIMP_ENGINE_APP_BLIMP_METRICS_SERVICE_CLIENT_H_ | |
6 #define BLIMP_ENGINE_APP_BLIMP_METRICS_SERVICE_CLIENT_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 #include <string> | |
11 | |
12 #include "base/macros.h" | |
13 #include "base/memory/ref_counted.h" | |
14 | |
15 class PrefService; | |
16 | |
17 namespace net { | |
18 class URLRequestContextGetter; | |
19 } // namespace net | |
20 | |
21 namespace blimp { | |
22 namespace engine { | |
23 | |
24 // Initializes metrics reporting for Blimp including initializing metrics | |
25 // providers and reporting state. | |
26 void InitializeBlimpMetrics( | |
27 std::unique_ptr<PrefService> pref_service, | |
28 scoped_refptr<net::URLRequestContextGetter> request_context_getter); | |
29 | |
30 // Graceful and expected metrics reporting shutdown for Blimp. | |
31 void FinalizeBlimpMetrics(); | |
32 | |
33 } // namespace engine | |
34 } // namespace blimp | |
35 | |
36 #endif // BLIMP_ENGINE_APP_BLIMP_METRICS_SERVICE_CLIENT_H_ | |
OLD | NEW |