OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_SEARCH_GEOLOCATION_DISCLOSURE_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_SEARCH_GEOLOCATION_SEARCH_GEOLOCATION_DISCLOSURE_
TAB_HELPER_H_ |
6 #define CHROME_BROWSER_ANDROID_SEARCH_GEOLOCATION_DISCLOSURE_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_ANDROID_SEARCH_GEOLOCATION_SEARCH_GEOLOCATION_DISCLOSURE_
TAB_HELPER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
12 #include "content/public/browser/web_contents_user_data.h" | 12 #include "content/public/browser/web_contents_user_data.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // the disclosure has been shown. | 48 // the disclosure has been shown. |
49 void RecordPreDisclosureMetrics(const GURL& gurl); | 49 void RecordPreDisclosureMetrics(const GURL& gurl); |
50 void RecordPostDisclosureMetrics(const GURL& gurl); | 50 void RecordPostDisclosureMetrics(const GURL& gurl); |
51 Profile* GetProfile(); | 51 Profile* GetProfile(); |
52 | 52 |
53 bool consistent_geolocation_enabled_; | 53 bool consistent_geolocation_enabled_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(SearchGeolocationDisclosureTabHelper); | 55 DISALLOW_COPY_AND_ASSIGN(SearchGeolocationDisclosureTabHelper); |
56 }; | 56 }; |
57 | 57 |
58 #endif // CHROME_BROWSER_ANDROID_SEARCH_GEOLOCATION_DISCLOSURE_TAB_HELPER_H_ | 58 #endif // CHROME_BROWSER_ANDROID_SEARCH_GEOLOCATION_SEARCH_GEOLOCATION_DISCLOSU
RE_TAB_HELPER_H_ |
OLD | NEW |