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

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

Issue 599303004: Add getUserSelectedDevices to the USB extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add device_permissions_prompt.* to BUILD.gn. 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/extensions_api_client.h ('k') | extensions/browser/api/usb/usb_api.h » ('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 #include "extensions/browser/api/extensions_api_client.h" 5 #include "extensions/browser/api/extensions_api_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "extensions/browser/api/device_permissions_prompt.h"
8 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h " 9 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h "
9 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t_delegate.h" 10 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t_delegate.h"
10 #include "extensions/browser/guest_view/web_view/web_view_permission_helper_dele gate.h" 11 #include "extensions/browser/guest_view/web_view/web_view_permission_helper_dele gate.h"
11 12
12 namespace extensions { 13 namespace extensions {
13 class AppViewGuestDelegate; 14 class AppViewGuestDelegate;
14 15
15 namespace { 16 namespace {
16 ExtensionsAPIClient* g_instance = NULL; 17 ExtensionsAPIClient* g_instance = NULL;
17 } // namespace 18 } // namespace
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return new WebRequestEventRouterDelegate(); 62 return new WebRequestEventRouterDelegate();
62 } 63 }
63 64
64 scoped_refptr<ContentRulesRegistry> 65 scoped_refptr<ContentRulesRegistry>
65 ExtensionsAPIClient::CreateContentRulesRegistry( 66 ExtensionsAPIClient::CreateContentRulesRegistry(
66 content::BrowserContext* browser_context, 67 content::BrowserContext* browser_context,
67 RulesCacheDelegate* cache_delegate) const { 68 RulesCacheDelegate* cache_delegate) const {
68 return scoped_refptr<ContentRulesRegistry>(); 69 return scoped_refptr<ContentRulesRegistry>();
69 } 70 }
70 71
72 scoped_ptr<DevicePermissionsPrompt>
73 ExtensionsAPIClient::CreateDevicePermissionsPrompt(
74 content::WebContents* web_contents) const {
75 return nullptr;
76 }
77
71 } // namespace extensions 78 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/api/usb/usb_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698