| Index: chrome/browser/extensions/extension_api_unittest.h
|
| diff --git a/chrome/browser/extensions/extension_api_unittest.h b/chrome/browser/extensions/extension_api_unittest.h
|
| index 3f0c91cb29c2468ca83e27130c3549ebaf116c43..85df0ff0179308ad6a4198df7e1befd4af7f6ad4 100644
|
| --- a/chrome/browser/extensions/extension_api_unittest.h
|
| +++ b/chrome/browser/extensions/extension_api_unittest.h
|
| @@ -17,10 +17,6 @@ class DictionaryValue;
|
| class ListValue;
|
| }
|
|
|
| -namespace content {
|
| -class WebContents;
|
| -}
|
| -
|
| class UIThreadExtensionFunction;
|
|
|
| namespace extensions {
|
| @@ -42,8 +38,6 @@ class ExtensionApiUnittest : public BrowserWithTestWindowTest {
|
| ExtensionApiUnittest();
|
| ~ExtensionApiUnittest() override;
|
|
|
| - content::WebContents* contents() { return contents_; }
|
| -
|
| const Extension* extension() const { return extension_.get(); }
|
| scoped_refptr<Extension> extension_ref() { return extension_; }
|
| void set_extension(scoped_refptr<Extension> extension) {
|
| @@ -54,11 +48,6 @@ class ExtensionApiUnittest : public BrowserWithTestWindowTest {
|
| // SetUp creates and loads an empty, unpacked Extension.
|
| void SetUp() override;
|
|
|
| - // Creates a background page for |extension_|, and sets it for the WebContents
|
| - // to be used in API calls.
|
| - // If |contents_| is already set, this does nothing.
|
| - void CreateBackgroundPage();
|
| -
|
| // Various ways of running an API function. These methods take ownership of
|
| // |function|. |args| should be in JSON format, wrapped in a list.
|
| // See also the RunFunction* methods in extension_function_test_utils.h.
|
| @@ -87,10 +76,6 @@ class ExtensionApiUnittest : public BrowserWithTestWindowTest {
|
| UIThreadExtensionFunction* function, const std::string& args);
|
|
|
| private:
|
| - // The WebContents used to associate a RenderViewHost with API function calls,
|
| - // or NULL.
|
| - content::WebContents* contents_;
|
| -
|
| // The Extension used when running API function calls.
|
| scoped_refptr<Extension> extension_;
|
| };
|
|
|