| Index: chrome/browser/extensions/extensions_service.h
|
| ===================================================================
|
| --- chrome/browser/extensions/extensions_service.h (revision 14851)
|
| +++ chrome/browser/extensions/extensions_service.h (working copy)
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <string>
|
| #include <vector>
|
| +#include <list>
|
|
|
| #include "base/file_path.h"
|
| #include "base/message_loop.h"
|
| @@ -17,6 +18,7 @@
|
| class Browser;
|
| class BrowsingInstance;
|
| class Extension;
|
| +class ExtensionHost;
|
| class ExtensionView;
|
| class ExtensionsServiceBackend;
|
| class GURL;
|
| @@ -82,6 +84,10 @@
|
| const GURL& url,
|
| Browser* browser);
|
|
|
| + // Creates a new UI-less extension instance. Like CreateView, but not
|
| + // displayed anywhere.
|
| + void CreateBackgroundHost(Extension* extension, const GURL& url);
|
| +
|
| // Returns the SiteInstance that the given URL belongs to.
|
| SiteInstance* GetSiteInstanceForURL(const GURL& url);
|
|
|
| @@ -112,6 +118,10 @@
|
| // controls process grouping.
|
| scoped_refptr<BrowsingInstance> browsing_instance_;
|
|
|
| + // The list of running viewless background extensions.
|
| + typedef std::list<ExtensionHost*> ExtensionHostList;
|
| + ExtensionHostList background_hosts_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionsService);
|
| };
|
|
|
|
|