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

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

Issue 1851243002: [Sync] Eliminate verifier profile from sync_integration_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not remove AwaitQuiescence() Created 4 years, 8 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
OLDNEW
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Sets up command line flags required for sync tests. 123 // Sets up command line flags required for sync tests.
124 void SetUpCommandLine(base::CommandLine* cl) override; 124 void SetUpCommandLine(base::CommandLine* cl) override;
125 125
126 // Used to get the number of sync clients used by a test. 126 // Used to get the number of sync clients used by a test.
127 int num_clients() WARN_UNUSED_RESULT { return num_clients_; } 127 int num_clients() WARN_UNUSED_RESULT { return num_clients_; }
128 128
129 // Returns a pointer to a particular sync profile. Callee owns the object 129 // Returns a pointer to a particular sync profile. Callee owns the object
130 // and manages its lifetime. 130 // and manages its lifetime.
131 Profile* GetProfile(int index) WARN_UNUSED_RESULT; 131 Profile* GetProfile(int index) WARN_UNUSED_RESULT;
132 132
133 // Returns a list of all profiles including the verifier if available. Callee
134 // owns the objects and manages its lifetime.
135 std::vector<Profile*> GetAllProfiles();
136
133 // Returns a pointer to a particular browser. Callee owns the object 137 // Returns a pointer to a particular browser. Callee owns the object
134 // and manages its lifetime. 138 // and manages its lifetime.
135 Browser* GetBrowser(int index) WARN_UNUSED_RESULT; 139 Browser* GetBrowser(int index) WARN_UNUSED_RESULT;
136 140
137 // Returns a pointer to a particular sync client. Callee owns the object 141 // Returns a pointer to a particular sync client. Callee owns the object
138 // and manages its lifetime. 142 // and manages its lifetime.
139 ProfileSyncServiceHarness* GetClient(int index) WARN_UNUSED_RESULT; 143 ProfileSyncServiceHarness* GetClient(int index) WARN_UNUSED_RESULT;
140 144
141 // Returns a reference to the collection of sync clients. Callee owns the 145 // Returns a reference to the collection of sync clients. Callee owns the
142 // object and manages its lifetime. 146 // object and manages its lifetime.
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 scoped_ptr<net::URLFetcherImplFactory> factory_; 455 scoped_ptr<net::URLFetcherImplFactory> factory_;
452 456
453 // The contents to be written to a profile's Preferences file before the 457 // The contents to be written to a profile's Preferences file before the
454 // Profile object is created. If empty, no preexisting file will be written. 458 // Profile object is created. If empty, no preexisting file will be written.
455 std::string preexisting_preferences_file_contents_; 459 std::string preexisting_preferences_file_contents_;
456 460
457 DISALLOW_COPY_AND_ASSIGN(SyncTest); 461 DISALLOW_COPY_AND_ASSIGN(SyncTest);
458 }; 462 };
459 463
460 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ 464 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sync_app_list_helper.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698