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

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

Issue 291293005: Split out MetricsServiceAccessor out of ChromeMetricsServiceAccessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698