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

Side by Side Diff: chrome/browser/metrics/metrics_service.h

Issue 293663002: [Metrics] Move MetricsServiceObserver into //components/metrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file defines a service that collects information about the user 5 // This file defines a service that collects information about the user
6 // experience in order to help improve future versions of the app. 6 // experience in order to help improve future versions of the app.
7 7
8 #ifndef CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 8 #ifndef CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
9 #define CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 9 #define CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
10 10
11 #include <map> 11 #include <map>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/metrics/field_trial.h" 19 #include "base/metrics/field_trial.h"
20 #include "base/metrics/user_metrics.h" 20 #include "base/metrics/user_metrics.h"
21 #include "base/observer_list.h" 21 #include "base/observer_list.h"
22 #include "base/process/kill.h" 22 #include "base/process/kill.h"
23 #include "base/threading/thread_checker.h" 23 #include "base/threading/thread_checker.h"
24 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "chrome/browser/metrics/metrics_log.h" 25 #include "chrome/browser/metrics/metrics_log.h"
26 #include "chrome/browser/metrics/metrics_service_observer.h"
27 #include "chrome/browser/metrics/tracking_synchronizer_observer.h" 26 #include "chrome/browser/metrics/tracking_synchronizer_observer.h"
28 #include "chrome/common/metrics/metrics_service_base.h" 27 #include "chrome/common/metrics/metrics_service_base.h"
29 #include "chrome/installer/util/google_update_settings.h" 28 #include "chrome/installer/util/google_update_settings.h"
29 #include "components/metrics/metrics_service_observer.h"
30 #include "components/variations/active_field_trials.h" 30 #include "components/variations/active_field_trials.h"
31 #include "content/public/browser/browser_child_process_observer.h" 31 #include "content/public/browser/browser_child_process_observer.h"
32 #include "content/public/browser/notification_observer.h" 32 #include "content/public/browser/notification_observer.h"
33 #include "content/public/browser/notification_registrar.h" 33 #include "content/public/browser/notification_registrar.h"
34 #include "content/public/browser/user_metrics.h" 34 #include "content/public/browser/user_metrics.h"
35 #include "net/url_request/url_fetcher_delegate.h" 35 #include "net/url_request/url_fetcher_delegate.h"
36 36
37 #if defined(OS_ANDROID) 37 #if defined(OS_ANDROID)
38 #include "chrome/browser/android/activity_type_ids.h" 38 #include "chrome/browser/android/activity_type_ids.h"
39 #endif 39 #endif
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 630
631 // Registers/unregisters |observer| to receive MetricsLog notifications 631 // Registers/unregisters |observer| to receive MetricsLog notifications
632 // from metrics service. 632 // from metrics service.
633 static void AddMetricsServiceObserver(MetricsServiceObserver* observer); 633 static void AddMetricsServiceObserver(MetricsServiceObserver* observer);
634 static void RemoveMetricsServiceObserver(MetricsServiceObserver* observer); 634 static void RemoveMetricsServiceObserver(MetricsServiceObserver* observer);
635 635
636 DISALLOW_IMPLICIT_CONSTRUCTORS(MetricsServiceHelper); 636 DISALLOW_IMPLICIT_CONSTRUCTORS(MetricsServiceHelper);
637 }; 637 };
638 638
639 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 639 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_metrics_service_observer.h ('k') | chrome/browser/metrics/metrics_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698