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

Side by Side Diff: components/autofill/core/browser/personal_data_manager_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 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 #include "components/autofill/core/browser/personal_data_manager.h" 5 #include "components/autofill/core/browser/personal_data_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 #include <utility> 14 #include <utility>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/files/scoped_temp_dir.h" 18 #include "base/files/scoped_temp_dir.h"
19 #include "base/guid.h" 19 #include "base/guid.h"
20 #include "base/i18n/time_formatting.h" 20 #include "base/i18n/time_formatting.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/message_loop/message_loop.h"
22 #include "base/run_loop.h" 23 #include "base/run_loop.h"
23 #include "base/strings/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
24 #include "base/synchronization/waitable_event.h" 25 #include "base/synchronization/waitable_event.h"
25 #include "base/test/histogram_tester.h" 26 #include "base/test/histogram_tester.h"
26 #include "base/test/simple_test_clock.h" 27 #include "base/test/simple_test_clock.h"
27 #include "base/threading/thread_task_runner_handle.h" 28 #include "base/threading/thread_task_runner_handle.h"
28 #include "base/time/time.h" 29 #include "base/time/time.h"
29 #include "build/build_config.h" 30 #include "build/build_config.h"
30 #include "components/autofill/core/browser/autofill_experiments.h" 31 #include "components/autofill/core/browser/autofill_experiments.h"
31 #include "components/autofill/core/browser/autofill_metrics.h" 32 #include "components/autofill/core/browser/autofill_metrics.h"
(...skipping 6382 matching lines...) Expand 10 before | Expand all | Expand 10 after
6414 // to the converted address. 6415 // to the converted address.
6415 EXPECT_EQ(profiles[0]->guid(), 6416 EXPECT_EQ(profiles[0]->guid(),
6416 personal_data_->GetCreditCards()[0]->billing_address_id()); 6417 personal_data_->GetCreditCards()[0]->billing_address_id());
6417 // Make sure that the billing address id of the new server card still refers 6418 // Make sure that the billing address id of the new server card still refers
6418 // to the converted address. 6419 // to the converted address.
6419 EXPECT_EQ(profiles[0]->guid(), 6420 EXPECT_EQ(profiles[0]->guid(),
6420 personal_data_->GetCreditCards()[1]->billing_address_id()); 6421 personal_data_->GetCreditCards()[1]->billing_address_id());
6421 } 6422 }
6422 6423
6423 } // namespace autofill 6424 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698