| Index: components/password_manager/core/browser/store_result_filter.h
|
| diff --git a/components/password_manager/core/browser/store_result_filter.h b/components/password_manager/core/browser/store_result_filter.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5c7d26e1cffba5e05dd05c1ee7c81be54d624fc1
|
| --- /dev/null
|
| +++ b/components/password_manager/core/browser/store_result_filter.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2015 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.
|
| +
|
| +#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STORE_RESULT_FILTER_H_
|
| +#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STORE_RESULT_FILTER_H_
|
| +
|
| +#include "components/autofill/core/common/password_form.h"
|
| +
|
| +namespace password_manager {
|
| +
|
| +// This interface is used by PasswordFormManager to filter results from the
|
| +// PasswordStore.
|
| +class StoreResultFilter {
|
| + public:
|
| + StoreResultFilter() {}
|
| + virtual ~StoreResultFilter() {}
|
| +
|
| + // Should |form| be ignored for any password manager-related purposes?
|
| + virtual bool ShouldIgnore(const autofill::PasswordForm& form) = 0;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(StoreResultFilter);
|
| +};
|
| +
|
| +} // namespace password_manager
|
| +
|
| +#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STORE_RESULT_FILTER_H_
|
|
|