OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_H_ | 5 #ifndef IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_H_ |
6 #define IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_H_ | 6 #define IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/sequenced_task_runner.h" |
13 #include "components/keyed_service/ios/browser_state_keyed_service_factory.h" | 14 #include "components/keyed_service/ios/browser_state_keyed_service_factory.h" |
14 #include "components/keyed_service/ios/refcounted_browser_state_keyed_service_fa
ctory.h" | 15 #include "components/keyed_service/ios/refcounted_browser_state_keyed_service_fa
ctory.h" |
15 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 16 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
16 #include "ios/chrome/browser/net/net_types.h" | 17 #include "ios/chrome/browser/net/net_types.h" |
17 | 18 |
18 namespace sync_preferences { | 19 namespace sync_preferences { |
19 class PrefServiceSyncable; | 20 class PrefServiceSyncable; |
20 class TestingPrefServiceSyncable; | 21 class TestingPrefServiceSyncable; |
21 } | 22 } |
22 | 23 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 163 |
163 // The incognito ChromeBrowserState instance that is associated with this | 164 // The incognito ChromeBrowserState instance that is associated with this |
164 // non-incognito ChromeBrowserState instance. | 165 // non-incognito ChromeBrowserState instance. |
165 std::unique_ptr<TestChromeBrowserState> otr_browser_state_; | 166 std::unique_ptr<TestChromeBrowserState> otr_browser_state_; |
166 TestChromeBrowserState* original_browser_state_; | 167 TestChromeBrowserState* original_browser_state_; |
167 | 168 |
168 DISALLOW_COPY_AND_ASSIGN(TestChromeBrowserState); | 169 DISALLOW_COPY_AND_ASSIGN(TestChromeBrowserState); |
169 }; | 170 }; |
170 | 171 |
171 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_H_ | 172 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_H_ |
OLD | NEW |