Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: components/password_manager/core/browser/test_password_store.h

Issue 2695233004: Implement PasswordStore::GetAllStats (Closed)
Patch Set: Add Mac Implementations Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool RemoveStatisticsByOriginAndTimeImpl( 65 bool RemoveStatisticsByOriginAndTimeImpl(
66 const base::Callback<bool(const GURL&)>& origin_filter, 66 const base::Callback<bool(const GURL&)>& origin_filter,
67 base::Time delete_begin, 67 base::Time delete_begin,
68 base::Time delete_end) override; 68 base::Time delete_end) override;
69 bool FillAutofillableLogins( 69 bool FillAutofillableLogins(
70 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 70 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
71 bool FillBlacklistLogins( 71 bool FillBlacklistLogins(
72 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 72 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
73 void AddSiteStatsImpl(const InteractionsStats& stats) override; 73 void AddSiteStatsImpl(const InteractionsStats& stats) override;
74 void RemoveSiteStatsImpl(const GURL& origin_domain) override; 74 void RemoveSiteStatsImpl(const GURL& origin_domain) override;
75 std::vector<InteractionsStats> GetAllSiteStatsImpl() override;
75 std::vector<InteractionsStats> GetSiteStatsImpl( 76 std::vector<InteractionsStats> GetSiteStatsImpl(
76 const GURL& origin_domain) override; 77 const GURL& origin_domain) override;
77 78
78 private: 79 private:
79 PasswordMap stored_passwords_; 80 PasswordMap stored_passwords_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(TestPasswordStore); 82 DISALLOW_COPY_AND_ASSIGN(TestPasswordStore);
82 }; 83 };
83 84
84 } // namespace password_manager 85 } // namespace password_manager
85 86
86 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ 87 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698