blob: 8782cc324f9078069269ec46a568ad4fe41bed74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/password_manager/core/browser/stub_credentials_filter.h"
namespace password_manager {
StubCredentialsFilter::StubCredentialsFilter() = default;
StubCredentialsFilter::~StubCredentialsFilter() = default;
std::vector<std::unique_ptr<autofill::PasswordForm>>
StubCredentialsFilter::FilterResults(
std::vector<std::unique_ptr<autofill::PasswordForm>> results) const {
FilterResultsPtr(&results);
return results;
}
bool StubCredentialsFilter::ShouldSave(
const autofill::PasswordForm& form) const {
return true;
}
void StubCredentialsFilter::ReportFormLoginSuccess(
const PasswordFormManager& form_manager) const {}
void StubCredentialsFilter::FilterResultsPtr(
std::vector<std::unique_ptr<autofill::PasswordForm>>* results) const {}
} // namespace password_manager
|