Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 308413002: Revert of Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/sync/test/integration/sync_test.h" 5 #include "chrome/browser/sync/test/integration/sync_test.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "chrome/browser/ui/host_desktop.h" 45 #include "chrome/browser/ui/host_desktop.h"
46 #include "chrome/browser/ui/tabs/tab_strip_model.h" 46 #include "chrome/browser/ui/tabs/tab_strip_model.h"
47 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 47 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
48 #include "chrome/common/chrome_paths.h" 48 #include "chrome/common/chrome_paths.h"
49 #include "chrome/common/chrome_switches.h" 49 #include "chrome/common/chrome_switches.h"
50 #include "chrome/test/base/testing_browser_process.h" 50 #include "chrome/test/base/testing_browser_process.h"
51 #include "chrome/test/base/ui_test_utils.h" 51 #include "chrome/test/base/ui_test_utils.h"
52 #include "components/bookmarks/test/bookmark_test_helpers.h" 52 #include "components/bookmarks/test/bookmark_test_helpers.h"
53 #include "components/invalidation/invalidation_switches.h" 53 #include "components/invalidation/invalidation_switches.h"
54 #include "components/invalidation/p2p_invalidation_service.h" 54 #include "components/invalidation/p2p_invalidation_service.h"
55 #include "components/invalidation/p2p_invalidator.h"
56 #include "components/os_crypt/os_crypt.h" 55 #include "components/os_crypt/os_crypt.h"
57 #include "components/signin/core/browser/signin_manager.h" 56 #include "components/signin/core/browser/signin_manager.h"
58 #include "content/public/browser/web_contents.h" 57 #include "content/public/browser/web_contents.h"
59 #include "content/public/test/test_browser_thread.h" 58 #include "content/public/test/test_browser_thread.h"
60 #include "google_apis/gaia/gaia_urls.h" 59 #include "google_apis/gaia/gaia_urls.h"
61 #include "net/base/escape.h" 60 #include "net/base/escape.h"
62 #include "net/base/load_flags.h" 61 #include "net/base/load_flags.h"
63 #include "net/base/network_change_notifier.h" 62 #include "net/base/network_change_notifier.h"
64 #include "net/proxy/proxy_config.h" 63 #include "net/proxy/proxy_config.h"
65 #include "net/proxy/proxy_config_service_fixed.h" 64 #include "net/proxy/proxy_config_service_fixed.h"
66 #include "net/proxy/proxy_service.h" 65 #include "net/proxy/proxy_service.h"
67 #include "net/test/spawned_test_server/spawned_test_server.h" 66 #include "net/test/spawned_test_server/spawned_test_server.h"
68 #include "net/url_request/test_url_fetcher_factory.h" 67 #include "net/url_request/test_url_fetcher_factory.h"
69 #include "net/url_request/url_fetcher.h" 68 #include "net/url_request/url_fetcher.h"
70 #include "net/url_request/url_fetcher_delegate.h" 69 #include "net/url_request/url_fetcher_delegate.h"
71 #include "net/url_request/url_request_context.h" 70 #include "net/url_request/url_request_context.h"
72 #include "net/url_request/url_request_context_getter.h" 71 #include "net/url_request/url_request_context_getter.h"
73 #include "sync/engine/sync_scheduler_impl.h" 72 #include "sync/engine/sync_scheduler_impl.h"
73 #include "sync/notifier/p2p_invalidator.h"
74 #include "sync/protocol/sync.pb.h" 74 #include "sync/protocol/sync.pb.h"
75 #include "sync/test/fake_server/fake_server.h" 75 #include "sync/test/fake_server/fake_server.h"
76 #include "sync/test/fake_server/fake_server_network_resources.h" 76 #include "sync/test/fake_server/fake_server_network_resources.h"
77 #include "url/gurl.h" 77 #include "url/gurl.h"
78 78
79 #if defined(OS_CHROMEOS) 79 #if defined(OS_CHROMEOS)
80 #include "chromeos/chromeos_switches.h" 80 #include "chromeos/chromeos_switches.h"
81 #endif 81 #endif
82 82
83 using content::BrowserThread; 83 using content::BrowserThread;
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 BrowserThread::PostTask( 1049 BrowserThread::PostTask(
1050 BrowserThread::IO, FROM_HERE, 1050 BrowserThread::IO, FROM_HERE,
1051 base::Bind(&SetProxyConfigCallback, &done, 1051 base::Bind(&SetProxyConfigCallback, &done,
1052 make_scoped_refptr(context_getter), proxy_config)); 1052 make_scoped_refptr(context_getter), proxy_config));
1053 done.Wait(); 1053 done.Wait();
1054 } 1054 }
1055 1055
1056 fake_server::FakeServer* SyncTest::GetFakeServer() const { 1056 fake_server::FakeServer* SyncTest::GetFakeServer() const {
1057 return fake_server_.get(); 1057 return fake_server_.get();
1058 } 1058 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/fake_server_invalidation_service.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698