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

Side by Side Diff: components/autofill/core/browser/webdata/web_data_service_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 <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/run_loop.h" 16 #include "base/run_loop.h"
16 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
17 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
18 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
20 #include "base/synchronization/waitable_event.h" 21 #include "base/synchronization/waitable_event.h"
21 #include "base/test/scoped_task_environment.h" 22 #include "base/test/scoped_task_environment.h"
22 #include "base/threading/thread.h" 23 #include "base/threading/thread.h"
23 #include "base/threading/thread_task_runner_handle.h" 24 #include "base/threading/thread_task_runner_handle.h"
24 #include "base/time/time.h" 25 #include "base/time/time.h"
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 // Check that the credit card was removed. 541 // Check that the credit card was removed.
541 AutofillWebDataServiceConsumer<std::vector<std::unique_ptr<CreditCard>>> 542 AutofillWebDataServiceConsumer<std::vector<std::unique_ptr<CreditCard>>>
542 card_consumer2; 543 card_consumer2;
543 handle2 = wds_->GetCreditCards(&card_consumer2); 544 handle2 = wds_->GetCreditCards(&card_consumer2);
544 base::RunLoop().Run(); 545 base::RunLoop().Run();
545 EXPECT_EQ(handle2, card_consumer2.handle()); 546 EXPECT_EQ(handle2, card_consumer2.handle());
546 ASSERT_EQ(0U, card_consumer2.result().size()); 547 ASSERT_EQ(0U, card_consumer2.result().size());
547 } 548 }
548 549
549 } // namespace autofill 550 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698