| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VALUE_STORE_VALUE_STORE_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_VALUE_STORE_VALUE_STORE_UNITTEST_H_ |
| 6 #define CHROME_BROWSER_VALUE_STORE_VALUE_STORE_UNITTEST_H_ | 6 #define CHROME_BROWSER_VALUE_STORE_VALUE_STORE_UNITTEST_H_ |
| 7 | 7 |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 | 9 |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 scoped_ptr<DictionaryValue> empty_dict_; | 59 scoped_ptr<DictionaryValue> empty_dict_; |
| 60 scoped_ptr<DictionaryValue> dict1_; | 60 scoped_ptr<DictionaryValue> dict1_; |
| 61 scoped_ptr<DictionaryValue> dict3_; | 61 scoped_ptr<DictionaryValue> dict3_; |
| 62 scoped_ptr<DictionaryValue> dict12_; | 62 scoped_ptr<DictionaryValue> dict12_; |
| 63 scoped_ptr<DictionaryValue> dict123_; | 63 scoped_ptr<DictionaryValue> dict123_; |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 base::ScopedTempDir temp_dir_; | 66 base::ScopedTempDir temp_dir_; |
| 67 | 67 |
| 68 // Need these so that the DCHECKs for running on FILE or UI threads pass. | 68 // Need these so that the DCHECKs for running on FILE or UI threads pass. |
| 69 MessageLoop message_loop_; | 69 base::MessageLoop message_loop_; |
| 70 content::TestBrowserThread ui_thread_; | 70 content::TestBrowserThread ui_thread_; |
| 71 content::TestBrowserThread file_thread_; | 71 content::TestBrowserThread file_thread_; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 #endif // CHROME_BROWSER_VALUE_STORE_VALUE_STORE_UNITTEST_H_ | 74 #endif // CHROME_BROWSER_VALUE_STORE_VALUE_STORE_UNITTEST_H_ |
| OLD | NEW |