| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 7 #include "base/synchronization/waitable_event.h" | 7 #include "base/synchronization/waitable_event.h" |
| 8 #include "build/build_config.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/ssl/ssl_client_auth_requestor_mock.h" | 10 #include "chrome/browser/ssl/ssl_client_auth_requestor_mock.h" |
| 10 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 11 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 12 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 12 #include "chrome/browser/ui/views/ssl_client_certificate_selector.h" | 13 #include "chrome/browser/ui/views/ssl_client_certificate_selector.h" |
| 13 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
| 14 #include "chrome/test/base/interactive_test_utils.h" | 15 #include "chrome/test/base/interactive_test_utils.h" |
| 15 #include "chrome/test/base/ui_test_utils.h" | 16 #include "chrome/test/base/ui_test_utils.h" |
| 16 #include "content/public/browser/client_certificate_delegate.h" | 17 #include "content/public/browser/client_certificate_delegate.h" |
| 17 #include "content/public/browser/web_contents.h" | 18 #include "content/public/browser/web_contents.h" |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 EXPECT_TRUE(ui_test_utils::SendKeyPressSync( | 393 EXPECT_TRUE(ui_test_utils::SendKeyPressSync( |
| 393 browser_1_, ui::VKEY_RETURN, false, false, false, false)); | 394 browser_1_, ui::VKEY_RETURN, false, false, false, false)); |
| 394 | 395 |
| 395 Mock::VerifyAndClear(auth_requestor_.get()); | 396 Mock::VerifyAndClear(auth_requestor_.get()); |
| 396 Mock::VerifyAndClear(auth_requestor_1_.get()); | 397 Mock::VerifyAndClear(auth_requestor_1_.get()); |
| 397 | 398 |
| 398 // Now let the default selection for auth_requestor_ mock get checked on | 399 // Now let the default selection for auth_requestor_ mock get checked on |
| 399 // destruction. | 400 // destruction. |
| 400 EXPECT_CALL(*auth_requestor_.get(), CancelCertificateSelection()); | 401 EXPECT_CALL(*auth_requestor_.get(), CancelCertificateSelection()); |
| 401 } | 402 } |
| OLD | NEW |