| Index: chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc b/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| index c55d0ae3edb2866c75d556dcfc059c1ec7a4a828..a5b369731aee2ef4d7090a950478391493fa15f1 100644
|
| --- a/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| +++ b/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
| #include "base/command_line.h"
|
| #include "chrome/browser/extensions/extension_apitest.h"
|
| +#include "chrome/browser/extensions/mock_system_info_watcher.h"
|
| #include "chrome/common/chrome_switches.h"
|
|
|
| namespace extensions {
|
| @@ -15,6 +16,13 @@ class SystemInfoStorageApiTest: public ExtensionApiTest {
|
| ExtensionApiTest::SetUpCommandLine(command_line);
|
| command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
|
| }
|
| + virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
|
| + ExtensionApiTest::SetUpInProcessBrowserTestFixture();
|
| +
|
| + SystemInfoWatcher* watcher = new MockSystemInfoWatcher();
|
| + // The watcher is owned by SystemInfoWatcher instance.
|
| + SystemInfoWatcher::InitializeForTesting(watcher);
|
| + }
|
| };
|
|
|
| IN_PROC_BROWSER_TEST_F(SystemInfoStorageApiTest, Storage) {
|
|
|