| Index: chrome/browser/sync/test/integration/sync_test.h
|
| diff --git a/chrome/browser/sync/test/integration/sync_test.h b/chrome/browser/sync/test/integration/sync_test.h
|
| index ba2b818c59d416d86ad1a149e140f8c8f67fd478..313ccd37d577bb77513324a47489b56b333fd707 100644
|
| --- a/chrome/browser/sync/test/integration/sync_test.h
|
| +++ b/chrome/browser/sync/test/integration/sync_test.h
|
| @@ -18,7 +18,6 @@
|
| #include "components/sync/protocol/sync_protocol_error.h"
|
| #include "components/sync/test/fake_server/fake_server.h"
|
| #include "components/sync/test/local_sync_test_server.h"
|
| -#include "net/dns/mock_host_resolver.h"
|
| #include "net/http/http_status_code.h"
|
| #include "net/url_request/url_request_status.h"
|
|
|
| @@ -62,7 +61,6 @@ class FakeServerInvalidationService;
|
|
|
| namespace net {
|
| class FakeURLFetcherFactory;
|
| -class ScopedDefaultHostResolverProc;
|
| class URLFetcherImplFactory;
|
| } // namespace net
|
|
|
| @@ -264,18 +262,10 @@ class SyncTest : public InProcessBrowserTest {
|
| // on by default yet.
|
| virtual void AddOptionalTypesToCommandLine(base::CommandLine* cl);
|
|
|
| - // BrowserTestBase override. Destroys all the sync clients and sync
|
| - // profiles created by a test.
|
| + // BrowserTestBase implementation:
|
| + void SetUpOnMainThread() override;
|
| void TearDownOnMainThread() override;
|
|
|
| - // InProcessBrowserTest override. Changes behavior of the default host
|
| - // resolver to avoid DNS lookup errors.
|
| - void SetUpInProcessBrowserTestFixture() override;
|
| -
|
| - // InProcessBrowserTest override. Resets the host resolver its default
|
| - // behavior.
|
| - void TearDownInProcessBrowserTestFixture() override;
|
| -
|
| // Implementations of the EnableNotifications() and DisableNotifications()
|
| // functions defined above.
|
| void DisableNotificationsImpl();
|
| @@ -456,12 +446,6 @@ class SyncTest : public InProcessBrowserTest {
|
| // creation via http requests.
|
| bool create_gaia_account_at_runtime_;
|
|
|
| - // Sync integration tests need to make live DNS requests for access to
|
| - // GAIA and sync server URLs under google.com. We use a scoped version
|
| - // to override the default resolver while the test is active.
|
| - std::unique_ptr<net::ScopedDefaultHostResolverProc>
|
| - mock_host_resolver_override_;
|
| -
|
| // Used to start and stop the local test server.
|
| base::Process test_server_;
|
|
|
|
|