| OLD | NEW |
| 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_dispatc
her.h" | 5 #include "components/password_manager/content/browser/credential_manager_dispatc
her.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/prefs/pref_registry_simple.h" | 9 #include "base/prefs/pref_registry_simple.h" |
| 10 #include "base/prefs/testing_pref_service.h" | 10 #include "base/prefs/testing_pref_service.h" |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 const IPC::Message* message = | 452 const IPC::Message* message = |
| 453 process()->sink().GetFirstMessageMatching(kMsgID); | 453 process()->sink().GetFirstMessageMatching(kMsgID); |
| 454 ASSERT_TRUE(message); | 454 ASSERT_TRUE(message); |
| 455 CredentialManagerMsg_SendCredential::Param param; | 455 CredentialManagerMsg_SendCredential::Param param; |
| 456 CredentialManagerMsg_SendCredential::Read(message, ¶m); | 456 CredentialManagerMsg_SendCredential::Read(message, ¶m); |
| 457 EXPECT_EQ(CredentialType::CREDENTIAL_TYPE_EMPTY, get<1>(param).type); | 457 EXPECT_EQ(CredentialType::CREDENTIAL_TYPE_EMPTY, get<1>(param).type); |
| 458 EXPECT_FALSE(client_->did_prompt_user_to_choose()); | 458 EXPECT_FALSE(client_->did_prompt_user_to_choose()); |
| 459 } | 459 } |
| 460 | 460 |
| 461 } // namespace password_manager | 461 } // namespace password_manager |
| OLD | NEW |