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

Side by Side Diff: chrome/browser/interstitials/chrome_metrics_helper.h

Issue 1377943004: Fix captive portal compile issues for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/interstitials/chrome_metrics_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ 5 #ifndef CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_
6 #define CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ 6 #define CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/security_interstitials/core/metrics_helper.h" 10 #include "components/security_interstitials/core/metrics_helper.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 security_interstitials::MetricsHelper::Interaction interaction) override; 44 security_interstitials::MetricsHelper::Interaction interaction) override;
45 void RecordExtraShutdownMetrics() override; 45 void RecordExtraShutdownMetrics() override;
46 46
47 private: 47 private:
48 content::WebContents* web_contents_; 48 content::WebContents* web_contents_;
49 const GURL request_url_; 49 const GURL request_url_;
50 const std::string sampling_event_name_; 50 const std::string sampling_event_name_;
51 #if defined(ENABLE_EXTENSIONS) 51 #if defined(ENABLE_EXTENSIONS)
52 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; 52 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
53 #endif 53 #endif
54 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
54 scoped_ptr<CaptivePortalMetricsRecorder> captive_portal_recorder_; 55 scoped_ptr<CaptivePortalMetricsRecorder> captive_portal_recorder_;
56 #endif
55 57
56 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsHelper); 58 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsHelper);
57 }; 59 };
58 60
59 #endif // CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ 61 #endif // CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/interstitials/chrome_metrics_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698