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

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

Issue 620623002: Revert "Allow declarative webrequest and webrequest in extensions." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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/guest_view/mime_handler_view/mime_handler_view_gues t_delegate.h" 8 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t_delegate.h"
9 #include "extensions/browser/guest_view/web_view/web_view_permission_helper_dele gate.h" 9 #include "extensions/browser/guest_view/web_view/web_view_permission_helper_dele gate.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 WebViewGuest* web_view_guest) const { 48 WebViewGuest* web_view_guest) const {
49 return NULL; 49 return NULL;
50 } 50 }
51 51
52 WebViewPermissionHelperDelegate* ExtensionsAPIClient:: 52 WebViewPermissionHelperDelegate* ExtensionsAPIClient::
53 CreateWebViewPermissionHelperDelegate( 53 CreateWebViewPermissionHelperDelegate(
54 WebViewPermissionHelper* web_view_permission_helper) const { 54 WebViewPermissionHelper* web_view_permission_helper) const {
55 return new WebViewPermissionHelperDelegate(web_view_permission_helper); 55 return new WebViewPermissionHelperDelegate(web_view_permission_helper);
56 } 56 }
57 57
58 scoped_refptr<RulesRegistry> ExtensionsAPIClient::GetRulesRegistry(
59 content::BrowserContext* browser_context,
60 const RulesRegistry::WebViewKey& webview_key,
61 const std::string& event_name) {
62 return scoped_refptr<RulesRegistry>();
63 }
64
58 WebRequestEventRouterDelegate* 65 WebRequestEventRouterDelegate*
59 ExtensionsAPIClient::CreateWebRequestEventRouterDelegate() const { 66 ExtensionsAPIClient::CreateWebRequestEventRouterDelegate() const {
60 return NULL; 67 return NULL;
61 } 68 }
62 69
63 scoped_refptr<ContentRulesRegistry> 70 scoped_refptr<ContentRulesRegistry>
64 ExtensionsAPIClient::CreateContentRulesRegistry( 71 ExtensionsAPIClient::CreateContentRulesRegistry(
65 content::BrowserContext* browser_context, 72 content::BrowserContext* browser_context,
66 RulesCacheDelegate* cache_delegate) const { 73 RulesCacheDelegate* cache_delegate) const {
67 return scoped_refptr<ContentRulesRegistry>(); 74 return scoped_refptr<ContentRulesRegistry>();
68 } 75 }
69 76
70 } // namespace extensions 77 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698