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

Side by Side Diff: components/browser_sync/browser/profile_sync_service_autofill_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/bind_helpers.h" 15 #include "base/bind_helpers.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/location.h" 17 #include "base/location.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/ptr_util.h" 19 #include "base/memory/ptr_util.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/run_loop.h" 21 #include "base/run_loop.h"
22 #include "base/strings/string16.h" 22 #include "base/strings/string16.h"
23 #include "base/strings/utf_string_conversions.h" 23 #include "base/strings/utf_string_conversions.h"
24 #include "base/synchronization/waitable_event.h" 24 #include "base/synchronization/waitable_event.h"
25 #include "base/thread_task_runner_handle.h"
26 #include "base/threading/thread.h" 25 #include "base/threading/thread.h"
26 #include "base/threading/thread_task_runner_handle.h"
27 #include "base/time/time.h" 27 #include "base/time/time.h"
28 #include "components/autofill/core/browser/autofill_test_utils.h" 28 #include "components/autofill/core/browser/autofill_test_utils.h"
29 #include "components/autofill/core/browser/country_names.h" 29 #include "components/autofill/core/browser/country_names.h"
30 #include "components/autofill/core/browser/field_types.h" 30 #include "components/autofill/core/browser/field_types.h"
31 #include "components/autofill/core/browser/personal_data_manager.h" 31 #include "components/autofill/core/browser/personal_data_manager.h"
32 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h" 32 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h"
33 #include "components/autofill/core/browser/webdata/autofill_change.h" 33 #include "components/autofill/core/browser/webdata/autofill_change.h"
34 #include "components/autofill/core/browser/webdata/autofill_data_type_controller .h" 34 #include "components/autofill/core/browser/webdata/autofill_data_type_controller .h"
35 #include "components/autofill/core/browser/webdata/autofill_entry.h" 35 #include "components/autofill/core/browser/webdata/autofill_entry.h"
36 #include "components/autofill/core/browser/webdata/autofill_profile_data_type_co ntroller.h" 36 #include "components/autofill/core/browser/webdata/autofill_profile_data_type_co ntroller.h"
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 std::vector<AutofillEntry> sync_entries; 1448 std::vector<AutofillEntry> sync_entries;
1449 std::vector<AutofillProfile> sync_profiles; 1449 std::vector<AutofillProfile> sync_profiles;
1450 ASSERT_TRUE(GetAutofillEntriesFromSyncDB(&sync_entries, &sync_profiles)); 1450 ASSERT_TRUE(GetAutofillEntriesFromSyncDB(&sync_entries, &sync_profiles));
1451 EXPECT_EQ(3U, sync_entries.size()); 1451 EXPECT_EQ(3U, sync_entries.size());
1452 EXPECT_EQ(0U, sync_profiles.size()); 1452 EXPECT_EQ(0U, sync_profiles.size());
1453 for (size_t i = 0; i < sync_entries.size(); i++) { 1453 for (size_t i = 0; i < sync_entries.size(); i++) {
1454 DVLOG(1) << "Entry " << i << ": " << sync_entries[i].key().name() 1454 DVLOG(1) << "Entry " << i << ": " << sync_entries[i].key().name()
1455 << ", " << sync_entries[i].key().value(); 1455 << ", " << sync_entries[i].key().value();
1456 } 1456 }
1457 } 1457 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698