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

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

Issue 419713002: Support permission_broker for chrome.hid devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NOTIMPLEMENTED to default GetHidService implementation. Created 6 years, 4 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 | Annotate | Revision Log
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 namespace extensions { 7 namespace extensions {
8 namespace { 8 namespace {
9 9
10 ExtensionsAPIClient* g_instance = NULL; 10 ExtensionsAPIClient* g_instance = NULL;
(...skipping 21 matching lines...) Expand all
32 return false; 32 return false;
33 } 33 }
34 34
35 bool ExtensionsAPIClient::AppViewInternalDenyRequest( 35 bool ExtensionsAPIClient::AppViewInternalDenyRequest(
36 content::BrowserContext* browser_context, 36 content::BrowserContext* browser_context,
37 int guest_instance_id, 37 int guest_instance_id,
38 const std::string& guest_extension_id) { 38 const std::string& guest_extension_id) {
39 return false; 39 return false;
40 } 40 }
41 41
42 device::HidService* ExtensionsAPIClient::GetHidService() {
43 // This should never be called by clients which don't support the HID API.
44 NOTIMPLEMENTED();
45 return NULL;
46 }
47
42 } // namespace extensions 48 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698