| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 scoped_ptr<ListValue> list2_; | 47 scoped_ptr<ListValue> list2_; |
| 48 scoped_ptr<ListValue> list12_; | 48 scoped_ptr<ListValue> list12_; |
| 49 scoped_ptr<ListValue> list13_; | 49 scoped_ptr<ListValue> list13_; |
| 50 scoped_ptr<ListValue> list123_; | 50 scoped_ptr<ListValue> list123_; |
| 51 scoped_ptr<DictionaryValue> emptyDict_; | 51 scoped_ptr<DictionaryValue> emptyDict_; |
| 52 scoped_ptr<DictionaryValue> dict1_; | 52 scoped_ptr<DictionaryValue> dict1_; |
| 53 scoped_ptr<DictionaryValue> dict12_; | 53 scoped_ptr<DictionaryValue> dict12_; |
| 54 scoped_ptr<DictionaryValue> dict123_; | 54 scoped_ptr<DictionaryValue> dict123_; |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 void SetStorage(ExtensionSettingsStorage* storage); | 57 void SetStorage(SyncableExtensionSettingsStorage* storage); |
| 58 | 58 |
| 59 scoped_refptr<ExtensionSettings> settings_; | 59 scoped_refptr<ExtensionSettings> settings_; |
| 60 MessageLoopForUI* ui_message_loop_; | 60 MessageLoopForUI* ui_message_loop_; |
| 61 BrowserThread* ui_thread_; | 61 BrowserThread* ui_thread_; |
| 62 BrowserThread* file_thread_; | 62 BrowserThread* file_thread_; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ | 65 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ |
| OLD | NEW |