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

Side by Side Diff: extensions/renderer/dispatcher_delegate.h

Issue 594653003: Move web_request_internal_custom_bindings.js and web_request_custom_bindings.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove HandleWebRequestAPIUsage from dispatcher_delegate. Created 6 years, 3 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 #ifndef EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_
6 #define EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ 6 #define EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Updates extension permissions specific to a given tab. 77 // Updates extension permissions specific to a given tab.
78 // TODO(rockot): This doesn't belong in a generic extensions system interface. 78 // TODO(rockot): This doesn't belong in a generic extensions system interface.
79 // See http://crbug.com/368431. 79 // See http://crbug.com/368431.
80 virtual void UpdateTabSpecificPermissions( 80 virtual void UpdateTabSpecificPermissions(
81 const extensions::Dispatcher* dispatcher, 81 const extensions::Dispatcher* dispatcher,
82 const GURL& url, 82 const GURL& url,
83 int tab_id, 83 int tab_id,
84 const std::string& extension_id, 84 const std::string& extension_id,
85 const extensions::URLPatternSet& origin_set) {} 85 const extensions::URLPatternSet& origin_set) {}
86
87 // Allows the delegate to respond to reports from the browser about WebRequest
88 // API usage from within this process.
89 virtual void HandleWebRequestAPIUsage(bool webrequest_used) {}
90 }; 86 };
91 87
92 } // namespace extensions 88 } // namespace extensions
93 89
94 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ 90 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/resources/extensions_renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698