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

Side by Side Diff: chrome/browser/sync/profile_sync_service_autofill_unittest.cc

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "base/task.h" 16 #include "base/task.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "base/waitable_event.h" 19 #include "base/synchronization/waitable_event.h"
20 #include "chrome/browser/autofill/autofill_common_test.h" 20 #include "chrome/browser/autofill/autofill_common_test.h"
21 #include "chrome/browser/browser_thread.h" 21 #include "chrome/browser/browser_thread.h"
22 #include "chrome/browser/sync/abstract_profile_sync_service_test.h" 22 #include "chrome/browser/sync/abstract_profile_sync_service_test.h"
23 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" 23 #include "chrome/browser/sync/engine/model_changing_syncer_command.h"
24 #include "chrome/browser/sync/engine/syncapi.h" 24 #include "chrome/browser/sync/engine/syncapi.h"
25 #include "chrome/browser/sync/engine/syncer_util.h" 25 #include "chrome/browser/sync/engine/syncer_util.h"
26 #include "chrome/browser/sync/glue/autofill_change_processor.h" 26 #include "chrome/browser/sync/glue/autofill_change_processor.h"
27 #include "chrome/browser/sync/glue/autofill_change_processor2.h" 27 #include "chrome/browser/sync/glue/autofill_change_processor2.h"
28 #include "chrome/browser/sync/glue/autofill_data_type_controller.h" 28 #include "chrome/browser/sync/glue/autofill_data_type_controller.h"
29 #include "chrome/browser/sync/glue/autofill_model_associator.h" 29 #include "chrome/browser/sync/glue/autofill_model_associator.h"
(...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 std::vector<AutofillEntry> sync_entries; 1207 std::vector<AutofillEntry> sync_entries;
1208 std::vector<AutoFillProfile> sync_profiles; 1208 std::vector<AutoFillProfile> sync_profiles;
1209 ASSERT_TRUE(GetAutofillEntriesFromSyncDB(&sync_entries, &sync_profiles)); 1209 ASSERT_TRUE(GetAutofillEntriesFromSyncDB(&sync_entries, &sync_profiles));
1210 EXPECT_EQ(3U, sync_entries.size()); 1210 EXPECT_EQ(3U, sync_entries.size());
1211 EXPECT_EQ(0U, sync_profiles.size()); 1211 EXPECT_EQ(0U, sync_profiles.size());
1212 for (size_t i = 0; i < sync_entries.size(); i++) { 1212 for (size_t i = 0; i < sync_entries.size(); i++) {
1213 VLOG(1) << "Entry " << i << ": " << sync_entries[i].key().name() 1213 VLOG(1) << "Entry " << i << ": " << sync_entries[i].key().name()
1214 << ", " << sync_entries[i].key().value(); 1214 << ", " << sync_entries[i].key().value();
1215 } 1215 }
1216 } 1216 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/ui_model_worker_unittest.cc ('k') | chrome/browser/sync/profile_sync_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698