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 "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" | 5 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" |
6 | 6 |
7 #include "content/public/browser/web_contents.h" | 7 #include "content/public/browser/web_contents.h" |
8 | 8 |
9 ManagePasswordsUIControllerMock::ManagePasswordsUIControllerMock( | 9 ManagePasswordsUIControllerMock::ManagePasswordsUIControllerMock( |
10 content::WebContents* contents) | 10 content::WebContents* contents) |
(...skipping 21 matching lines...) Expand all Loading... |
32 return web_contents()->GetUserData(UserDataKey()) == this; | 32 return web_contents()->GetUserData(UserDataKey()) == this; |
33 } | 33 } |
34 | 34 |
35 void ManagePasswordsUIControllerMock::SavePassword() { | 35 void ManagePasswordsUIControllerMock::SavePassword() { |
36 saved_password_ = true; | 36 saved_password_ = true; |
37 } | 37 } |
38 | 38 |
39 void ManagePasswordsUIControllerMock::NeverSavePassword() { | 39 void ManagePasswordsUIControllerMock::NeverSavePassword() { |
40 never_saved_password_ = true; | 40 never_saved_password_ = true; |
41 } | 41 } |
| 42 |
| 43 void ManagePasswordsUIControllerMock::DidNavigateMainFrame( |
| 44 const content::LoadCommittedDetails& details, |
| 45 const content::FrameNavigateParams& params) { |
| 46 ManagePasswordsUIController::DidNavigateMainFrame(details, params); |
| 47 } |
OLD | NEW |