| OLD | NEW |
| 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 |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 static ShutdownCleanliness clean_shutdown_status_; | 577 static ShutdownCleanliness clean_shutdown_status_; |
| 578 | 578 |
| 579 // Field trial groups that map to Chrome configuration states. | 579 // Field trial groups that map to Chrome configuration states. |
| 580 SyntheticTrialGroups synthetic_trial_groups_; | 580 SyntheticTrialGroups synthetic_trial_groups_; |
| 581 | 581 |
| 582 ObserverList<MetricsServiceObserver> observers_; | 582 ObserverList<MetricsServiceObserver> observers_; |
| 583 | 583 |
| 584 // Confirms single-threaded access to |observers_| in debug builds. | 584 // Confirms single-threaded access to |observers_| in debug builds. |
| 585 base::ThreadChecker thread_checker_; | 585 base::ThreadChecker thread_checker_; |
| 586 | 586 |
| 587 friend class ChromeMetricsServiceAccessor; | 587 friend class MetricsServiceAccessor; |
| 588 | 588 |
| 589 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, IsPluginProcess); | 589 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, IsPluginProcess); |
| 590 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, MetricsServiceObserver); | 590 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, MetricsServiceObserver); |
| 591 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, | 591 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, |
| 592 PermutedEntropyCacheClearedWhenLowEntropyReset); | 592 PermutedEntropyCacheClearedWhenLowEntropyReset); |
| 593 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, RegisterSyntheticTrial); | 593 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, RegisterSyntheticTrial); |
| 594 | 594 |
| 595 DISALLOW_COPY_AND_ASSIGN(MetricsService); | 595 DISALLOW_COPY_AND_ASSIGN(MetricsService); |
| 596 }; | 596 }; |
| 597 | 597 |
| 598 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ | 598 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ |
| OLD | NEW |