| Index: chrome/browser/extensions/extension_settings_storage_unittest.h
|
| diff --git a/chrome/browser/extensions/extension_settings_storage_unittest.h b/chrome/browser/extensions/extension_settings_storage_unittest.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..51a8cd7948326afc0818642416c4dce40b03641a
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/extension_settings_storage_unittest.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_
|
| +#pragma once
|
| +
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +#include "base/file_util.h"
|
| +#include "base/message_loop.h"
|
| +#include "base/task.h"
|
| +#include "chrome/browser/extensions/extension_settings.h"
|
| +#include "content/browser/browser_thread.h"
|
| +
|
| +// Test fixture for ExtensionSettingsStorage tests.
|
| +// Tests are defined in extension_settings_storage_unittest.cc and run using
|
| +// gtest's test fixtures feature for storage types LEVELDB, LEVELDB|CACHED, and
|
| +// NOOP|CACHED.
|
| +class ExtensionSettingsStorageTest : public testing::TestWithParam<int> {
|
| + public:
|
| + void SetUp();
|
| + void TearDown();
|
| +
|
| + protected:
|
| + ExtensionSettingsStorage* storage_;
|
| +
|
| + private:
|
| + ExtensionSettings* settings_;
|
| + MessageLoopForUI* ui_message_loop_;
|
| + BrowserThread* ui_thread_;
|
| + BrowserThread* file_thread_;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_
|
|
|