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