| 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 #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 Loading... |
| 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 |
| OLD | NEW |