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

Side by Side Diff: components/password_manager/content/browser/credential_manager_impl_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/password_manager/content/browser/credential_manager_impl.h" 5 #include "components/password_manager/content/browser/credential_manager_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <tuple> 10 #include <tuple>
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/command_line.h" 15 #include "base/command_line.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ptr_util.h" 18 #include "base/memory/ptr_util.h"
19 #include "base/message_loop/message_loop.h"
19 #include "base/run_loop.h" 20 #include "base/run_loop.h"
20 #include "base/single_thread_task_runner.h" 21 #include "base/single_thread_task_runner.h"
21 #include "base/strings/string16.h" 22 #include "base/strings/string16.h"
22 #include "base/strings/utf_string_conversions.h" 23 #include "base/strings/utf_string_conversions.h"
23 #include "base/threading/thread_task_runner_handle.h" 24 #include "base/threading/thread_task_runner_handle.h"
24 #include "components/password_manager/core/browser/credential_manager_password_f orm_manager.h" 25 #include "components/password_manager/core/browser/credential_manager_password_f orm_manager.h"
25 #include "components/password_manager/core/browser/mock_affiliated_match_helper. h" 26 #include "components/password_manager/core/browser/mock_affiliated_match_helper. h"
26 #include "components/password_manager/core/browser/password_manager.h" 27 #include "components/password_manager/core/browser/password_manager.h"
27 #include "components/password_manager/core/browser/stub_password_manager_client. h" 28 #include "components/password_manager/core/browser/stub_password_manager_client. h"
28 #include "components/password_manager/core/browser/stub_password_manager_driver. h" 29 #include "components/password_manager/core/browser/stub_password_manager_driver. h"
(...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 EXPECT_CALL(*client_, PromptUserToSavePasswordPtr(_)); 1575 EXPECT_CALL(*client_, PromptUserToSavePasswordPtr(_));
1575 CallStore(info, base::Bind(&RespondCallback, &called)); 1576 CallStore(info, base::Bind(&RespondCallback, &called));
1576 // Allow the PasswordFormManager to talk to the password store 1577 // Allow the PasswordFormManager to talk to the password store
1577 RunAllPendingTasks(); 1578 RunAllPendingTasks();
1578 1579
1579 ASSERT_TRUE(client_->pending_manager()); 1580 ASSERT_TRUE(client_->pending_manager());
1580 EXPECT_TRUE(client_->pending_manager()->IsBlacklisted()); 1581 EXPECT_TRUE(client_->pending_manager()->IsBlacklisted());
1581 } 1582 }
1582 1583
1583 } // namespace password_manager 1584 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698