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

Side by Side Diff: chrome/test/live_sync/live_autofill_sync_test.cc

Issue 7474025: Move more files from chrome/test to chrome/test/base, part #2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « chrome/test/layout_test_http_server.cc ('k') | chrome/test/model_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/test/live_sync/live_autofill_sync_test.h" 5 #include "chrome/test/live_sync/live_autofill_sync_test.h"
6 6
7 #include "chrome/browser/autofill/autofill_common_test.h" 7 #include "chrome/browser/autofill/autofill_common_test.h"
8 #include "chrome/browser/autofill/autofill_profile.h" 8 #include "chrome/browser/autofill/autofill_profile.h"
9 #include "chrome/browser/autofill/autofill_type.h" 9 #include "chrome/browser/autofill/autofill_type.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/sync/profile_sync_service.h" 11 #include "chrome/browser/sync/profile_sync_service.h"
12 #include "chrome/browser/sync/profile_sync_test_util.h" 12 #include "chrome/browser/sync/profile_sync_test_util.h"
13 #include "chrome/browser/webdata/autofill_entry.h" 13 #include "chrome/browser/webdata/autofill_entry.h"
14 #include "chrome/browser/webdata/autofill_table.h" 14 #include "chrome/browser/webdata/autofill_table.h"
15 #include "chrome/browser/webdata/web_database.h" 15 #include "chrome/browser/webdata/web_database.h"
16 #include "chrome/common/chrome_notification_types.h" 16 #include "chrome/common/chrome_notification_types.h"
17 #include "chrome/test/thread_observer_helper.h" 17 #include "chrome/test/base/thread_observer_helper.h"
18 #include "webkit/glue/form_field.h" 18 #include "webkit/glue/form_field.h"
19 19
20
21 using base::WaitableEvent; 20 using base::WaitableEvent;
22 using testing::_; 21 using testing::_;
23 22
24 namespace { 23 namespace {
25 class GetAllAutofillEntries 24 class GetAllAutofillEntries
26 : public base::RefCountedThreadSafe<GetAllAutofillEntries> { 25 : public base::RefCountedThreadSafe<GetAllAutofillEntries> {
27 public: 26 public:
28 explicit GetAllAutofillEntries(WebDataService* web_data_service) 27 explicit GetAllAutofillEntries(WebDataService* web_data_service)
29 : web_data_service_(web_data_service), 28 : web_data_service_(web_data_service),
30 done_event_(false, false) {} 29 done_event_(false, false) {}
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 bool LiveAutofillSyncTest::AllProfilesMatch() { 285 bool LiveAutofillSyncTest::AllProfilesMatch() {
287 for (int i = 1; i < num_clients(); ++i) { 286 for (int i = 1; i < num_clients(); ++i) {
288 if (!ProfilesMatch(0, i)) { 287 if (!ProfilesMatch(0, i)) {
289 LOG(ERROR) << "Profile " << i << "does not contain the same autofill " 288 LOG(ERROR) << "Profile " << i << "does not contain the same autofill "
290 "profiles as profile 0."; 289 "profiles as profile 0.";
291 return false; 290 return false;
292 } 291 }
293 } 292 }
294 return true; 293 return true;
295 } 294 }
OLDNEW
« no previous file with comments | « chrome/test/layout_test_http_server.cc ('k') | chrome/test/model_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698