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

Side by Side Diff: extensions/browser/api/extensions_api_client.h

Issue 633793002: Prompt for granting permission to access USB devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename UsbDevicesChosen -> OnUsbDevicesChosen. Created 6 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 | « extensions/browser/api/device_permissions_prompt.cc ('k') | extensions/browser/api/hid/DEPS » ('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 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_API_EXTENSIONS_API_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "extensions/browser/api/declarative_content/content_rules_registry.h" 12 #include "extensions/browser/api/declarative_content/content_rules_registry.h"
13 #include "extensions/browser/api/storage/settings_namespace.h" 13 #include "extensions/browser/api/storage/settings_namespace.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 template <class T> 17 template <class T>
18 class ObserverListThreadSafe; 18 class ObserverListThreadSafe;
19 19
20 namespace content { 20 namespace content {
21 class BrowserContext; 21 class BrowserContext;
22 class WebContents;
22 } 23 }
23 24
24 namespace extensions { 25 namespace extensions {
25 26
26 class AppViewGuestDelegate; 27 class AppViewGuestDelegate;
27 class ContentRulesRegistry; 28 class ContentRulesRegistry;
29 class DevicePermissionsPrompt;
28 class ExtensionOptionsGuest; 30 class ExtensionOptionsGuest;
29 class ExtensionOptionsGuestDelegate; 31 class ExtensionOptionsGuestDelegate;
30 class MimeHandlerViewGuest; 32 class MimeHandlerViewGuest;
31 class MimeHandlerViewGuestDelegate; 33 class MimeHandlerViewGuestDelegate;
32 class WebViewGuest; 34 class WebViewGuest;
33 class WebViewGuestDelegate; 35 class WebViewGuestDelegate;
34 class WebViewPermissionHelper; 36 class WebViewPermissionHelper;
35 class WebViewPermissionHelperDelegate; 37 class WebViewPermissionHelperDelegate;
36 class WebRequestEventRouterDelegate; 38 class WebRequestEventRouterDelegate;
37 class RulesCacheDelegate; 39 class RulesCacheDelegate;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 content::BrowserContext* browser_context, 98 content::BrowserContext* browser_context,
97 RulesCacheDelegate* cache_delegate) const; 99 RulesCacheDelegate* cache_delegate) const;
98 100
99 // NOTE: If this interface gains too many methods (perhaps more than 20) it 101 // NOTE: If this interface gains too many methods (perhaps more than 20) it
100 // should be split into one interface per API. 102 // should be split into one interface per API.
101 }; 103 };
102 104
103 } // namespace extensions 105 } // namespace extensions
104 106
105 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 107 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/device_permissions_prompt.cc ('k') | extensions/browser/api/hid/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698