summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_process_manager.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 06:32:43 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 06:32:43 +0000
commit673aad7b21c78797c8f1d280c5cd508ba3cd7dec (patch)
tree9c551da0ccf36f36c650554a560e5106a5e3f7c7 /chrome/browser/extensions/extension_process_manager.h
parent51b5cefa6cb55ce6bec601c9131237d4c42fa1b8 (diff)
downloadchromium_src-673aad7b21c78797c8f1d280c5cd508ba3cd7dec.zip
chromium_src-673aad7b21c78797c8f1d280c5cd508ba3cd7dec.tar.gz
chromium_src-673aad7b21c78797c8f1d280c5cd508ba3cd7dec.tar.bz2
Fix unit test bustage by making sure ExtensionView::ViewHierarchyChanged calls the base class impl first.
Fix compile bustage by not compiling windows-specific code on other platforms. TBR=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/115912 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_process_manager.h')
-rw-r--r--chrome/browser/extensions/extension_process_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
index ed4a536..b31edb6 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -14,7 +14,9 @@ class Browser;
class BrowsingInstance;
class Extension;
class ExtensionHost;
+#if defined(OS_WIN)
class ExtensionView;
+#endif
class GURL;
class Profile;
class SiteInstance;
@@ -26,11 +28,13 @@ class ExtensionProcessManager : public NotificationObserver {
ExtensionProcessManager(Profile* profile);
~ExtensionProcessManager();
+#if defined(OS_WIN)
// Creates a new ExtensionView, grouping it in the appropriate SiteInstance
// (and therefore process) based on the URL and profile.
ExtensionView* CreateView(Extension* extension,
const GURL& url,
Browser* browser);
+#endif
// Creates a new UI-less extension instance. Like CreateView, but not
// displayed anywhere.