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

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

Issue 169173005: Update incomplete credentials in Login Database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compilation fix for newer master Created 6 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
« no previous file with comments | « components/password_manager/core/browser/login_database_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PASSWORD_STORE_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, 108 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
109 scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner); 109 scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner);
110 110
111 // Reimplement this to add custom initialization. Always call this too. 111 // Reimplement this to add custom initialization. Always call this too.
112 virtual bool Init(); 112 virtual bool Init();
113 113
114 // Adds the given PasswordForm to the secure password store asynchronously. 114 // Adds the given PasswordForm to the secure password store asynchronously.
115 virtual void AddLogin(const autofill::PasswordForm& form); 115 virtual void AddLogin(const autofill::PasswordForm& form);
116 116
117 // Updates the matching PasswordForm in the secure password store (async). 117 // Updates the matching PasswordForm in the secure password store (async).
118 void UpdateLogin(const autofill::PasswordForm& form); 118 virtual void UpdateLogin(const autofill::PasswordForm& form);
119 119
120 // Removes the matching PasswordForm from the secure password store (async). 120 // Removes the matching PasswordForm from the secure password store (async).
121 void RemoveLogin(const autofill::PasswordForm& form); 121 void RemoveLogin(const autofill::PasswordForm& form);
122 122
123 // Removes all logins created in the given date range. 123 // Removes all logins created in the given date range.
124 void RemoveLoginsCreatedBetween(const base::Time& delete_begin, 124 void RemoveLoginsCreatedBetween(const base::Time& delete_begin,
125 const base::Time& delete_end); 125 const base::Time& delete_end);
126 126
127 // Searches for a matching PasswordForm, and notifies |consumer| on 127 // Searches for a matching PasswordForm, and notifies |consumer| on
128 // completion. The request will be cancelled if the consumer is destroyed. 128 // completion. The request will be cancelled if the consumer is destroyed.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 // The observers. 274 // The observers.
275 scoped_refptr<ObserverListThreadSafe<Observer> > observers_; 275 scoped_refptr<ObserverListThreadSafe<Observer> > observers_;
276 276
277 bool shutdown_called_; 277 bool shutdown_called_;
278 278
279 DISALLOW_COPY_AND_ASSIGN(PasswordStore); 279 DISALLOW_COPY_AND_ASSIGN(PasswordStore);
280 }; 280 };
281 281
282 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_ 282 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/login_database_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698