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

Side by Side Diff: components/omnibox/browser/omnibox_metrics_provider.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_OMNIBOX_BROWSER_OMNIBOX_METRICS_PROVIDER_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_METRICS_PROVIDER_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_METRICS_PROVIDER_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_METRICS_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "components/metrics/metrics_provider.h" 9 #include "components/metrics/metrics_provider.h"
10 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" 10 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
11 #include "components/omnibox/browser/omnibox_event_global_tracker.h" 11 #include "components/omnibox/browser/omnibox_event_global_tracker.h"
12 12
13 struct OmniboxLog; 13 struct OmniboxLog;
14 14
15 // OmniboxMetricsProvider is responsible for filling out the |omnibox_event| 15 // OmniboxMetricsProvider is responsible for filling out the |omnibox_event|
16 // section of the UMA proto. 16 // section of the UMA proto.
17 class OmniboxMetricsProvider : public metrics::MetricsProvider { 17 class OmniboxMetricsProvider : public metrics::MetricsProvider {
18 public: 18 public:
(...skipping 23 matching lines...) Expand all
42 metrics::ChromeUserMetricsExtension omnibox_events_cache; 42 metrics::ChromeUserMetricsExtension omnibox_events_cache;
43 43
44 // Callback passed in from the embedder that returns whether the user is 44 // Callback passed in from the embedder that returns whether the user is
45 // currently operating off-the-record. 45 // currently operating off-the-record.
46 const base::Callback<bool(void)> is_off_the_record_callback_; 46 const base::Callback<bool(void)> is_off_the_record_callback_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(OmniboxMetricsProvider); 48 DISALLOW_COPY_AND_ASSIGN(OmniboxMetricsProvider);
49 }; 49 };
50 50
51 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_METRICS_PROVIDER_H_ 51 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/omnibox_field_trial_unittest.cc ('k') | components/omnibox/browser/omnibox_popup_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698