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

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

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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 17 matching lines...) Expand all
28 #include "chrome/browser/search_engines/template_url_service.h" 28 #include "chrome/browser/search_engines/template_url_service.h"
29 #include "chrome/browser/search_engines/template_url_service_factory.h" 29 #include "chrome/browser/search_engines/template_url_service_factory.h"
30 #include "chrome/browser/sync/profile_sync_service_factory.h" 30 #include "chrome/browser/sync/profile_sync_service_factory.h"
31 #include "chrome/browser/sync/profile_sync_service_harness.h" 31 #include "chrome/browser/sync/profile_sync_service_harness.h"
32 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 32 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
33 #include "chrome/browser/ui/browser.h" 33 #include "chrome/browser/ui/browser.h"
34 #include "chrome/browser/ui/browser_list.h" 34 #include "chrome/browser/ui/browser_list.h"
35 #include "chrome/browser/ui/browser_tabstrip.h" 35 #include "chrome/browser/ui/browser_tabstrip.h"
36 #include "chrome/common/chrome_paths.h" 36 #include "chrome/common/chrome_paths.h"
37 #include "chrome/common/chrome_switches.h" 37 #include "chrome/common/chrome_switches.h"
38 #include "chrome/common/net/gaia/gaia_urls.h"
39 #include "chrome/test/base/testing_browser_process.h" 38 #include "chrome/test/base/testing_browser_process.h"
40 #include "chrome/test/base/ui_test_utils.h" 39 #include "chrome/test/base/ui_test_utils.h"
41 #include "content/public/browser/web_contents.h" 40 #include "content/public/browser/web_contents.h"
42 #include "content/public/test/test_browser_thread.h" 41 #include "content/public/test/test_browser_thread.h"
42 #include "google_apis/gaia/gaia_urls.h"
43 #include "googleurl/src/gurl.h" 43 #include "googleurl/src/gurl.h"
44 #include "net/base/escape.h" 44 #include "net/base/escape.h"
45 #include "net/base/load_flags.h" 45 #include "net/base/load_flags.h"
46 #include "net/base/network_change_notifier.h" 46 #include "net/base/network_change_notifier.h"
47 #include "net/proxy/proxy_config.h" 47 #include "net/proxy/proxy_config.h"
48 #include "net/proxy/proxy_config_service_fixed.h" 48 #include "net/proxy/proxy_config_service_fixed.h"
49 #include "net/proxy/proxy_service.h" 49 #include "net/proxy/proxy_service.h"
50 #include "net/test/test_server.h" 50 #include "net/test/test_server.h"
51 #include "net/url_request/test_url_fetcher_factory.h" 51 #include "net/url_request/test_url_fetcher_factory.h"
52 #include "net/url_request/url_fetcher.h" 52 #include "net/url_request/url_fetcher.h"
53 #include "net/url_request/url_fetcher_delegate.h" 53 #include "net/url_request/url_fetcher_delegate.h"
54 #include "net/url_request/url_request_context.h" 54 #include "net/url_request/url_request_context.h"
55 #include "net/url_request/url_request_context_getter.h" 55 #include "net/url_request/url_request_context_getter.h"
56 #include "net/url_request/url_request_status.h" 56 #include "net/url_request/url_request_status.h"
57 #include "sync/engine/sync_scheduler_impl.h"
57 #include "sync/notifier/p2p_invalidator.h" 58 #include "sync/notifier/p2p_invalidator.h"
58 #include "sync/protocol/sync.pb.h" 59 #include "sync/protocol/sync.pb.h"
59 #include "sync/engine/sync_scheduler_impl.h"
60 60
61 using content::BrowserThread; 61 using content::BrowserThread;
62 62
63 namespace switches { 63 namespace switches {
64 const char kPasswordFileForTest[] = "password-file-for-test"; 64 const char kPasswordFileForTest[] = "password-file-for-test";
65 const char kSyncUserForTest[] = "sync-user-for-test"; 65 const char kSyncUserForTest[] = "sync-user-for-test";
66 const char kSyncPasswordForTest[] = "sync-password-for-test"; 66 const char kSyncPasswordForTest[] = "sync-password-for-test";
67 const char kSyncServerCommandLine[] = "sync-server-command-line"; 67 const char kSyncServerCommandLine[] = "sync-server-command-line";
68 } 68 }
69 69
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 802
803 void SyncTest::SetProxyConfig(net::URLRequestContextGetter* context_getter, 803 void SyncTest::SetProxyConfig(net::URLRequestContextGetter* context_getter,
804 const net::ProxyConfig& proxy_config) { 804 const net::ProxyConfig& proxy_config) {
805 base::WaitableEvent done(false, false); 805 base::WaitableEvent done(false, false);
806 BrowserThread::PostTask( 806 BrowserThread::PostTask(
807 BrowserThread::IO, FROM_HERE, 807 BrowserThread::IO, FROM_HERE,
808 base::Bind(&SetProxyConfigCallback, &done, 808 base::Bind(&SetProxyConfigCallback, &done,
809 make_scoped_refptr(context_getter), proxy_config)); 809 make_scoped_refptr(context_getter), proxy_config));
810 done.Wait(); 810 done.Wait();
811 } 811 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sync_errors_test.cc ('k') | chrome/browser/ui/auto_login_info_bar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698