OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ |
6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ | 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/geolocation/geolocation_permission_context_extensions.h
" | 10 #include "chrome/browser/geolocation/geolocation_permission_context_extensions.h
" |
10 #include "chrome/browser/permissions/permission_context_base.h" | 11 #include "chrome/browser/permissions/permission_context_base.h" |
11 | 12 |
12 namespace content { | 13 namespace content { |
13 class WebContents; | 14 class WebContents; |
14 } | 15 } |
15 | 16 |
16 class PermissionRequestID; | 17 class PermissionRequestID; |
17 class Profile; | 18 class Profile; |
18 | 19 |
(...skipping 22 matching lines...) Expand all Loading... |
41 bool allowed) override; | 42 bool allowed) override; |
42 bool IsRestrictedToSecureOrigins() const override; | 43 bool IsRestrictedToSecureOrigins() const override; |
43 | 44 |
44 // This must only be accessed from the UI thread. | 45 // This must only be accessed from the UI thread. |
45 GeolocationPermissionContextExtensions extensions_context_; | 46 GeolocationPermissionContextExtensions extensions_context_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(GeolocationPermissionContext); | 48 DISALLOW_COPY_AND_ASSIGN(GeolocationPermissionContext); |
48 }; | 49 }; |
49 | 50 |
50 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ | 51 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ |
OLD | NEW |