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

Side by Side Diff: components/ukm/ukm_service.h

Issue 2657083003: Populate a basic SystemProfileProto in UKM. (Closed)
Patch Set: fixes Created 3 years, 10 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef COMPONENTS_UKM_UKM_SERVICE_H_ 5 #ifndef COMPONENTS_UKM_UKM_SERVICE_H_
6 #define COMPONENTS_UKM_UKM_SERVICE_H_ 6 #define COMPONENTS_UKM_UKM_SERVICE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/feature_list.h" 11 #include "base/feature_list.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "components/metrics/metrics_reporting_scheduler.h" 16 #include "components/metrics/metrics_reporting_scheduler.h"
17 #include "components/metrics/persisted_logs.h" 17 #include "components/metrics/persisted_logs.h"
18 #include "components/metrics/proto/ukm/report.pb.h"
18 19
19 class PrefRegistrySimple; 20 class PrefRegistrySimple;
20 class PrefService; 21 class PrefService;
21 22
22 namespace metrics { 23 namespace metrics {
23 class MetricsLogUploader; 24 class MetricsLogUploader;
24 class MetricsServiceClient; 25 class MetricsServiceClient;
25 } 26 }
26 27
27 namespace ukm { 28 namespace ukm {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Weak pointers factory used to post task on different threads. All weak 108 // Weak pointers factory used to post task on different threads. All weak
108 // pointers managed by this factory have the same lifetime as UkmService. 109 // pointers managed by this factory have the same lifetime as UkmService.
109 base::WeakPtrFactory<UkmService> self_ptr_factory_; 110 base::WeakPtrFactory<UkmService> self_ptr_factory_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(UkmService); 112 DISALLOW_COPY_AND_ASSIGN(UkmService);
112 }; 113 };
113 114
114 } // namespace ukm 115 } // namespace ukm
115 116
116 #endif // COMPONENTS_UKM_UKM_SERVICE_H_ 117 #endif // COMPONENTS_UKM_UKM_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698