diff options
author | thestig <thestig@chromium.org> | 2015-02-03 16:21:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-04 00:23:23 +0000 |
commit | c3d80ffde1c58afc3ecf41f5b26c063557e6ea50 (patch) | |
tree | a530fb13e4459426f735be95c2fce94aa1f5c488 /extensions/browser/mojo | |
parent | 6b23c7f318695ad6dd87da447fb59652e41821de (diff) | |
download | chromium_src-c3d80ffde1c58afc3ecf41f5b26c063557e6ea50.zip chromium_src-c3d80ffde1c58afc3ecf41f5b26c063557e6ea50.tar.gz chromium_src-c3d80ffde1c58afc3ecf41f5b26c063557e6ea50.tar.bz2 |
Cleanup: Remove rendundant code in KeepAliveTest.
Review URL: https://codereview.chromium.org/892413004
Cr-Commit-Position: refs/heads/master@{#314445}
Diffstat (limited to 'extensions/browser/mojo')
-rw-r--r-- | extensions/browser/mojo/keep_alive_impl_unittest.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/extensions/browser/mojo/keep_alive_impl_unittest.cc b/extensions/browser/mojo/keep_alive_impl_unittest.cc index b9ca700..4bdb588b 100644 --- a/extensions/browser/mojo/keep_alive_impl_unittest.cc +++ b/extensions/browser/mojo/keep_alive_impl_unittest.cc @@ -7,12 +7,8 @@ #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include "content/public/browser/notification_service.h" -#include "extensions/browser/extension_registry.h" -#include "extensions/browser/extension_system.h" #include "extensions/browser/extensions_test.h" -#include "extensions/browser/mock_extension_system.h" #include "extensions/browser/process_manager.h" -#include "extensions/browser/test_extensions_browser_client.h" #include "extensions/common/extension_builder.h" namespace extensions { @@ -26,9 +22,6 @@ class KeepAliveTest : public ExtensionsTest { void SetUp() override { ExtensionsTest::SetUp(); message_loop_.reset(new base::MessageLoop); - browser_client_.reset(new TestExtensionsBrowserClient(browser_context())); - browser_client_->set_extension_system_factory(&extension_system_factory_); - ExtensionsBrowserClient::Set(browser_client_.get()); extension_ = ExtensionBuilder() .SetManifest( @@ -71,10 +64,8 @@ class KeepAliveTest : public ExtensionsTest { private: scoped_ptr<base::MessageLoop> message_loop_; - MockExtensionSystemFactory<MockExtensionSystem> extension_system_factory_; scoped_ptr<content::NotificationService> notification_service_; scoped_refptr<const Extension> extension_; - scoped_ptr<TestExtensionsBrowserClient> browser_client_; DISALLOW_COPY_AND_ASSIGN(KeepAliveTest); }; |