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 #include "chrome/browser/sync/glue/sync_backend_host.h" | 5 #include "chrome/browser/sync/glue/sync_backend_host.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "chrome/browser/sync/engine/model_safe_worker.h" | 11 #include "chrome/browser/sync/engine/model_safe_worker.h" |
12 #include "chrome/browser/sync/engine/syncapi.h" | 12 #include "chrome/browser/sync/engine/syncapi.h" |
13 #include "chrome/browser/sync/syncable/model_type.h" | 13 #include "chrome/browser/sync/syncable/model_type.h" |
14 #include "chrome/test/base/test_url_request_context_getter.h" | 14 #include "chrome/test/base/test_url_request_context_getter.h" |
| 15 #include "chrome/test/base/testing_browser_process_test.h" |
15 #include "chrome/test/base/testing_profile.h" | 16 #include "chrome/test/base/testing_profile.h" |
16 #include "chrome/test/testing_browser_process_test.h" | |
17 #include "content/browser/browser_thread.h" | 17 #include "content/browser/browser_thread.h" |
18 #include "content/common/url_fetcher.h" | 18 #include "content/common/url_fetcher.h" |
19 #include "content/test/test_url_fetcher_factory.h" | 19 #include "content/test/test_url_fetcher_factory.h" |
20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
21 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 | 23 |
24 // TODO(akalin): Remove this once we fix the TODO below. | 24 // TODO(akalin): Remove this once we fix the TODO below. |
25 #include "chrome/browser/prefs/pref_service.h" | 25 #include "chrome/browser/prefs/pref_service.h" |
26 #include "chrome/common/pref_names.h" | 26 #include "chrome/common/pref_names.h" |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 &routing_info, sync_api::CONFIGURE_REASON_RECONFIGURATION, | 197 &routing_info, sync_api::CONFIGURE_REASON_RECONFIGURATION, |
198 &state); | 198 &state); |
199 | 199 |
200 EXPECT_TRUE(routing_info.empty()); | 200 EXPECT_TRUE(routing_info.empty()); |
201 } | 201 } |
202 } | 202 } |
203 | 203 |
204 // TODO(akalin): Write more SyncBackendHost unit tests. | 204 // TODO(akalin): Write more SyncBackendHost unit tests. |
205 | 205 |
206 } // namespace browser_sync | 206 } // namespace browser_sync |
OLD | NEW |