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

Unified Diff: extensions/renderer/dispatcher_delegate.h

Issue 708713003: Don't crash when granting permissions to active tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change for with iterators to a foreach. Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/extension_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher_delegate.h
diff --git a/extensions/renderer/dispatcher_delegate.h b/extensions/renderer/dispatcher_delegate.h
index 2f2f39d9b43b684d725b9f63b60a10801c8181eb..261e5804ccaaa9e1b71354abe534d1ca357ebf1f 100644
--- a/extensions/renderer/dispatcher_delegate.h
+++ b/extensions/renderer/dispatcher_delegate.h
@@ -65,24 +65,6 @@ class DispatcherDelegate {
// TODO(rockot): This doesn't belong in a generic extensions system interface.
// See http://crbug.com/368431.
virtual void SetChannel(int channel) {}
-
- // Clears extension permissions specific to a given tab.
- // TODO(rockot): This doesn't belong in a generic extensions system interface.
- // See http://crbug.com/368431.
- virtual void ClearTabSpecificPermissions(
- const extensions::Dispatcher* dispatcher,
- int tab_id,
- const std::vector<std::string>& extension_ids) {}
-
- // Updates extension permissions specific to a given tab.
- // TODO(rockot): This doesn't belong in a generic extensions system interface.
- // See http://crbug.com/368431.
- virtual void UpdateTabSpecificPermissions(
- const extensions::Dispatcher* dispatcher,
- const GURL& url,
- int tab_id,
- const std::string& extension_id,
- const extensions::URLPatternSet& origin_set) {}
};
} // namespace extensions
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/extension_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698