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

Unified Diff: extensions/renderer/dispatcher_delegate.h

Issue 2141703003: [Extensions] Clean up renderer channel-related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_feature_no_filter
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/dispatcher_delegate.h
diff --git a/extensions/renderer/dispatcher_delegate.h b/extensions/renderer/dispatcher_delegate.h
index f00c357b7efce87d91977da26a4399eeb371911b..292a50bb2875e8fa31ca104104be179995f4a4a4 100644
--- a/extensions/renderer/dispatcher_delegate.h
+++ b/extensions/renderer/dispatcher_delegate.h
@@ -8,17 +8,12 @@
#include <set>
#include <string>
-namespace blink {
-class WebFrame;
-}
-
namespace extensions {
class Dispatcher;
class Extension;
class ModuleSystem;
class ResourceBundleSourceMap;
class ScriptContext;
-class URLPatternSet;
// Base class and default implementation for an extensions::Dispacher delegate.
// DispatcherDelegate can be used to override and extend the behavior of the
@@ -47,11 +42,6 @@ class DispatcherDelegate {
// the Dispatcher.
virtual void OnActiveExtensionsUpdated(
const std::set<std::string>& extension_ids) {}
-
- // Sets the current Chrome channel.
- // TODO(rockot): This doesn't belong in a generic extensions system interface.
- // See http://crbug.com/368431.
- virtual void SetChannel(int channel) {}
};
} // namespace extensions
« extensions/common/features/feature_util.h ('K') | « extensions/renderer/dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698