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 CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/process/process.h" | 15 #include "base/process/process.h" |
16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/test/base/in_process_browser_test.h" | 17 #include "chrome/test/base/in_process_browser_test.h" |
| 18 #include "components/sync/base/model_type.h" |
| 19 #include "components/sync/protocol/sync_protocol_error.h" |
| 20 #include "components/sync/test/fake_server/fake_server.h" |
| 21 #include "components/sync/test/local_sync_test_server.h" |
18 #include "net/dns/mock_host_resolver.h" | 22 #include "net/dns/mock_host_resolver.h" |
19 #include "net/http/http_status_code.h" | 23 #include "net/http/http_status_code.h" |
20 #include "net/url_request/url_request_status.h" | 24 #include "net/url_request/url_request_status.h" |
21 #include "sync/internal_api/public/base/model_type.h" | |
22 #include "sync/protocol/sync_protocol_error.h" | |
23 #include "sync/test/fake_server/fake_server.h" | |
24 #include "sync/test/local_sync_test_server.h" | |
25 | 25 |
26 // The E2E tests are designed to run against real backend servers. To identify | 26 // The E2E tests are designed to run against real backend servers. To identify |
27 // those tests we use *E2ETest* test name filter and run disabled tests. | 27 // those tests we use *E2ETest* test name filter and run disabled tests. |
28 // | 28 // |
29 // The following macros define how a test is run: | 29 // The following macros define how a test is run: |
30 // - E2E_ONLY: Marks a test to run only as an E2E test against backend servers. | 30 // - E2E_ONLY: Marks a test to run only as an E2E test against backend servers. |
31 // These tests DO NOT run on regular Chromium waterfalls. | 31 // These tests DO NOT run on regular Chromium waterfalls. |
32 // - E2E_ENABLED: Marks a test to run as an E2E test in addition to Chromium | 32 // - E2E_ENABLED: Marks a test to run as an E2E test in addition to Chromium |
33 // waterfalls. | 33 // waterfalls. |
34 // | 34 // |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 std::unique_ptr<net::URLFetcherImplFactory> factory_; | 456 std::unique_ptr<net::URLFetcherImplFactory> factory_; |
457 | 457 |
458 // The contents to be written to a profile's Preferences file before the | 458 // The contents to be written to a profile's Preferences file before the |
459 // Profile object is created. If empty, no preexisting file will be written. | 459 // Profile object is created. If empty, no preexisting file will be written. |
460 std::string preexisting_preferences_file_contents_; | 460 std::string preexisting_preferences_file_contents_; |
461 | 461 |
462 DISALLOW_COPY_AND_ASSIGN(SyncTest); | 462 DISALLOW_COPY_AND_ASSIGN(SyncTest); |
463 }; | 463 }; |
464 | 464 |
465 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ | 465 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ |
OLD | NEW |