OLD | NEW |
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 EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_ | 5 #ifndef EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_ |
6 #define EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_ | 6 #define EXTENSIONS_BROWSER_DEVICE_PERMISSIONS_PROMPT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
15 | 18 |
16 namespace content { | 19 namespace content { |
17 class BrowserContext; | 20 class BrowserContext; |
18 class WebContents; | 21 class WebContents; |
19 } | 22 } |
20 | 23 |
21 namespace device { | 24 namespace device { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 156 |
154 // Parameters available to the UI implementation. | 157 // Parameters available to the UI implementation. |
155 scoped_refptr<Prompt> prompt_; | 158 scoped_refptr<Prompt> prompt_; |
156 | 159 |
157 DISALLOW_COPY_AND_ASSIGN(DevicePermissionsPrompt); | 160 DISALLOW_COPY_AND_ASSIGN(DevicePermissionsPrompt); |
158 }; | 161 }; |
159 | 162 |
160 } // namespace extensions | 163 } // namespace extensions |
161 | 164 |
162 #endif // EXTENSIONS_BROWSER_API_DEVICE_PERMISSIONS_PROMPT_H_ | 165 #endif // EXTENSIONS_BROWSER_API_DEVICE_PERMISSIONS_PROMPT_H_ |
OLD | NEW |