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

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

Issue 316203003: Componentize GoogleURLTracker(InfoBarDelegate,MapEntry,NavHelper) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits 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"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/process/launch.h" 15 #include "base/process/launch.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "base/synchronization/waitable_event.h" 19 #include "base/synchronization/waitable_event.h"
20 #include "base/test/test_timeouts.h" 20 #include "base/test/test_timeouts.h"
21 #include "base/threading/platform_thread.h" 21 #include "base/threading/platform_thread.h"
22 #include "base/values.h" 22 #include "base/values.h"
23 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 23 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
24 #include "chrome/browser/google/google_url_tracker.h"
25 #include "chrome/browser/history/history_service_factory.h" 24 #include "chrome/browser/history/history_service_factory.h"
26 #include "chrome/browser/invalidation/invalidation_service_factory.h" 25 #include "chrome/browser/invalidation/invalidation_service_factory.h"
27 #include "chrome/browser/lifetime/application_lifetime.h" 26 #include "chrome/browser/lifetime/application_lifetime.h"
28 #include "chrome/browser/profiles/profile.h" 27 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/profiles/profile_manager.h" 28 #include "chrome/browser/profiles/profile_manager.h"
30 #include "chrome/browser/search_engines/template_url_service.h" 29 #include "chrome/browser/search_engines/template_url_service.h"
31 #include "chrome/browser/search_engines/template_url_service_factory.h" 30 #include "chrome/browser/search_engines/template_url_service_factory.h"
32 #include "chrome/browser/signin/profile_identity_provider.h" 31 #include "chrome/browser/signin/profile_identity_provider.h"
33 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 32 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
34 #include "chrome/browser/signin/signin_manager_factory.h" 33 #include "chrome/browser/signin/signin_manager_factory.h"
35 #include "chrome/browser/sync/profile_sync_service.h" 34 #include "chrome/browser/sync/profile_sync_service.h"
36 #include "chrome/browser/sync/profile_sync_service_factory.h" 35 #include "chrome/browser/sync/profile_sync_service_factory.h"
37 #include "chrome/browser/sync/test/integration/fake_server_invalidation_service. h" 36 #include "chrome/browser/sync/test/integration/fake_server_invalidation_service. h"
38 #include "chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h" 37 #include "chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h"
39 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 38 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
40 #include "chrome/browser/sync/test/integration/single_client_status_change_check er.h" 39 #include "chrome/browser/sync/test/integration/single_client_status_change_check er.h"
41 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 40 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
42 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" 41 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
43 #include "chrome/browser/ui/browser.h" 42 #include "chrome/browser/ui/browser.h"
44 #include "chrome/browser/ui/browser_finder.h" 43 #include "chrome/browser/ui/browser_finder.h"
45 #include "chrome/browser/ui/host_desktop.h" 44 #include "chrome/browser/ui/host_desktop.h"
46 #include "chrome/browser/ui/tabs/tab_strip_model.h" 45 #include "chrome/browser/ui/tabs/tab_strip_model.h"
47 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 46 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
48 #include "chrome/common/chrome_paths.h" 47 #include "chrome/common/chrome_paths.h"
49 #include "chrome/common/chrome_switches.h" 48 #include "chrome/common/chrome_switches.h"
50 #include "chrome/test/base/testing_browser_process.h" 49 #include "chrome/test/base/testing_browser_process.h"
51 #include "chrome/test/base/ui_test_utils.h" 50 #include "chrome/test/base/ui_test_utils.h"
52 #include "components/bookmarks/test/bookmark_test_helpers.h" 51 #include "components/bookmarks/test/bookmark_test_helpers.h"
52 #include "components/google/core/browser/google_url_tracker.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" 55 #include "components/invalidation/p2p_invalidator.h"
56 #include "components/os_crypt/os_crypt.h" 56 #include "components/os_crypt/os_crypt.h"
57 #include "components/signin/core/browser/signin_manager.h" 57 #include "components/signin/core/browser/signin_manager.h"
58 #include "content/public/browser/web_contents.h" 58 #include "content/public/browser/web_contents.h"
59 #include "content/public/test/test_browser_thread.h" 59 #include "content/public/test/test_browser_thread.h"
60 #include "google_apis/gaia/gaia_urls.h" 60 #include "google_apis/gaia/gaia_urls.h"
61 #include "net/base/escape.h" 61 #include "net/base/escape.h"
62 #include "net/base/load_flags.h" 62 #include "net/base/load_flags.h"
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 BrowserThread::PostTask( 1031 BrowserThread::PostTask(
1032 BrowserThread::IO, FROM_HERE, 1032 BrowserThread::IO, FROM_HERE,
1033 base::Bind(&SetProxyConfigCallback, &done, 1033 base::Bind(&SetProxyConfigCallback, &done,
1034 make_scoped_refptr(context_getter), proxy_config)); 1034 make_scoped_refptr(context_getter), proxy_config));
1035 done.Wait(); 1035 done.Wait();
1036 } 1036 }
1037 1037
1038 fake_server::FakeServer* SyncTest::GetFakeServer() const { 1038 fake_server::FakeServer* SyncTest::GetFakeServer() const {
1039 return fake_server_.get(); 1039 return fake_server_.get();
1040 } 1040 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698