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

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

Issue 10107009: Revert 132479 - Transmit a X-Chrome-UMA-Enabled bit to Google domains from clients that have UMA en… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 #pragma once 10 #pragma once
(...skipping 14 matching lines...) Expand all
25 #include "content/public/common/url_fetcher_delegate.h" 25 #include "content/public/common/url_fetcher_delegate.h"
26 #include "content/public/browser/notification_observer.h" 26 #include "content/public/browser/notification_observer.h"
27 #include "content/public/browser/notification_registrar.h" 27 #include "content/public/browser/notification_registrar.h"
28 28
29 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
30 #include "chrome/browser/chromeos/external_metrics.h" 30 #include "chrome/browser/chromeos/external_metrics.h"
31 #endif 31 #endif
32 32
33 class BookmarkModel; 33 class BookmarkModel;
34 class BookmarkNode; 34 class BookmarkNode;
35 class ChromeNetworkDelegate;
36 class MetricsReportingScheduler; 35 class MetricsReportingScheduler;
37 class PrefService; 36 class PrefService;
38 class Profile; 37 class Profile;
39 class TemplateURLService; 38 class TemplateURLService;
40 39
41 namespace base { 40 namespace base {
42 class DictionaryValue; 41 class DictionaryValue;
43 class MessageLoopProxy; 42 class MessageLoopProxy;
44 } 43 }
45 44
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 }; 430 };
432 431
433 // This class limits and documents access to the IsMetricsReportingEnabled() 432 // This class limits and documents access to the IsMetricsReportingEnabled()
434 // method. Since the method is private, each user has to be explicitly declared 433 // method. Since the method is private, each user has to be explicitly declared
435 // as a 'friend' below. 434 // as a 'friend' below.
436 class MetricsServiceHelper { 435 class MetricsServiceHelper {
437 private: 436 private:
438 friend class InstantFieldTrial; 437 friend class InstantFieldTrial;
439 friend bool prerender::IsOmniboxEnabled(Profile* profile); 438 friend bool prerender::IsOmniboxEnabled(Profile* profile);
440 friend class extensions::ExtensionDownloader; 439 friend class extensions::ExtensionDownloader;
441 friend class ChromeNetworkDelegate;
442 440
443 // Returns true if prefs::kMetricsReportingEnabled is set. 441 // Returns true if prefs::kMetricsReportingEnabled is set.
444 static bool IsMetricsReportingEnabled(); 442 static bool IsMetricsReportingEnabled();
445 443
446 DISALLOW_IMPLICIT_CONSTRUCTORS(MetricsServiceHelper); 444 DISALLOW_IMPLICIT_CONSTRUCTORS(MetricsServiceHelper);
447 }; 445 };
448 446
449 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 447 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/google/google_util_unittest.cc ('k') | chrome/browser/net/chrome_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698