OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ |
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 | 11 |
13 class GURL; | 12 class GURL; |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 // GeolocationPermissionContext must be implemented by the embedder, to provide | 16 // GeolocationPermissionContext must be implemented by the embedder, to provide |
(...skipping 20 matching lines...) Expand all Loading... |
38 protected: | 37 protected: |
39 virtual ~GeolocationPermissionContext() {} | 38 virtual ~GeolocationPermissionContext() {} |
40 | 39 |
41 private: | 40 private: |
42 friend class base::RefCountedThreadSafe<GeolocationPermissionContext>; | 41 friend class base::RefCountedThreadSafe<GeolocationPermissionContext>; |
43 }; | 42 }; |
44 | 43 |
45 } // namespace content | 44 } // namespace content |
46 | 45 |
47 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ | 46 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PERMISSION_CONTEXT_H_ |
OLD | NEW |