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 3 // found in the LICENSE file. 4 5 #include "components/password_manager/core/browser/stub_password_manager_client.h" 6 7 #include "components/password_manager/core/browser/password_form_manager.h" 8 9 namespace password_manager { 10 11 StubPasswordManagerClient::StubPasswordManagerClient() {} 12 13 StubPasswordManagerClient::~StubPasswordManagerClient() {} 14 15 bool StubPasswordManagerClient::IsSyncAccountCredential( 16 const std::string& username, const std::string& origin) const { 17 return false; 18 } 19 20 bool StubPasswordManagerClient::ShouldFilterAutofillResult( 21 const autofill::PasswordForm& form) { 22 return false; 23 } 24 25 bool StubPasswordManagerClient::PromptUserToSavePassword( 26 scoped_ptr<PasswordFormManager> form_to_save) { 27 return false; 28 } 29 30 void StubPasswordManagerClient::AutomaticPasswordSave( 31 scoped_ptr<PasswordFormManager> saved_manager) {} 32 33 void StubPasswordManagerClient::AuthenticateAutofillAndFillForm( 34 scoped_ptr<autofill::PasswordFormFillData> fill_data) {} 35 36 PrefService* StubPasswordManagerClient::GetPrefs() { return NULL; } 37 38 PasswordStore* StubPasswordManagerClient::GetPasswordStore() { return NULL; } 39 40 PasswordManagerDriver* StubPasswordManagerClient::GetDriver() { return NULL; } 41 42 } // namespace password_manager 43