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

Side by Side Diff: blimp/engine/app/blimp_metrics_service_client.h

Issue 1885673003: Create and integrate a metrics service client into Blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment follow ups. TODO: client unittest and additional refactoring. Created 4 years, 7 months 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
(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
14 class PrefService;
15
16 namespace metrics {
17 struct ClientInfo;
18 class MetricsStateManager;
19 } // namespace metrics
20
21 namespace net {
22 class URLRequestContextGetter;
23 } // namespace net
24
25 namespace blimp {
26 namespace engine {
27 class BlimpMetricsServiceClient;
28
29 // Provides a pointer to a LazyInstance<BlimpMetricsServiceClient>::Leaky.
30 BlimpMetricsServiceClient* GetBlimpMetricsServiceClientInstance();
31
32 void InitializeBlimpMetricsServiceClient(
Wez 2016/04/27 22:30:27 Suggest InitializeBlimpMetrics - sufficiently unam
Jess 2016/04/29 22:20:13 Done.
33 PrefService* pref_service,
34 net::URLRequestContextGetter* request_context_getter);
35
36 void FinalizeBlimpMetricsServiceClient();
37
38 } // namespace engine
39 } // namespace blimp
40
41 #endif // BLIMP_ENGINE_APP_BLIMP_METRICS_SERVICE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698