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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.h

Issue 159763: Rolling back change 22245. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_dispatcher.h
===================================================================
--- chrome/browser/extensions/extension_function_dispatcher.h (revision 22246)
+++ chrome/browser/extensions/extension_function_dispatcher.h (working copy)
@@ -14,7 +14,6 @@
class Browser;
class ExtensionFunction;
-class ExtensionHost;
class Profile;
class RenderViewHost;
class RenderViewHostDelegate;
@@ -30,7 +29,6 @@
class Delegate {
public:
virtual Browser* GetBrowser() = 0;
- virtual ExtensionHost* GetExtensionHost() { return NULL; }
};
// The peer object allows us to notify ExtensionFunctions when we are
@@ -70,10 +68,6 @@
// example, for positioning windows, or alert boxes, or creating tabs.
Browser* GetBrowser();
- // Gets the ExtensionHost associated with this object. In the case of
- // tab hosted extension pages, this will return NULL.
- ExtensionHost* GetExtensionHost();
-
// Handle a malformed message. Possibly the result of an attack, so kill
// the renderer.
void HandleBadMessage(ExtensionFunction* api);
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698