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

Side by Side Diff: chrome/browser/password_manager/native_backend_kwallet_x.h

Issue 299443002: Password Login Database: report correct changes from UpdateLogin(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added UpdateNonexistentLogin tests Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 24 matching lines...) Expand all
35 public: 35 public:
36 explicit NativeBackendKWallet(LocalProfileId id); 36 explicit NativeBackendKWallet(LocalProfileId id);
37 37
38 virtual ~NativeBackendKWallet(); 38 virtual ~NativeBackendKWallet();
39 39
40 virtual bool Init() OVERRIDE; 40 virtual bool Init() OVERRIDE;
41 41
42 // Implements NativeBackend interface. 42 // Implements NativeBackend interface.
43 virtual password_manager::PasswordStoreChangeList AddLogin( 43 virtual password_manager::PasswordStoreChangeList AddLogin(
44 const autofill::PasswordForm& form) OVERRIDE; 44 const autofill::PasswordForm& form) OVERRIDE;
45 virtual bool UpdateLogin(const autofill::PasswordForm& form) OVERRIDE; 45 virtual bool UpdateLogin(
46 const autofill::PasswordForm& form,
47 password_manager::PasswordStoreChangeList* changes) OVERRIDE;
46 virtual bool RemoveLogin(const autofill::PasswordForm& form) OVERRIDE; 48 virtual bool RemoveLogin(const autofill::PasswordForm& form) OVERRIDE;
47 virtual bool RemoveLoginsCreatedBetween( 49 virtual bool RemoveLoginsCreatedBetween(
48 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; 50 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
49 virtual bool GetLogins(const autofill::PasswordForm& form, 51 virtual bool GetLogins(const autofill::PasswordForm& form,
50 PasswordFormList* forms) OVERRIDE; 52 PasswordFormList* forms) OVERRIDE;
51 virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, 53 virtual bool GetLoginsCreatedBetween(const base::Time& get_begin,
52 const base::Time& get_end, 54 const base::Time& get_end,
53 PasswordFormList* forms) OVERRIDE; 55 PasswordFormList* forms) OVERRIDE;
54 virtual bool GetAutofillableLogins(PasswordFormList* forms) OVERRIDE; 56 virtual bool GetAutofillableLogins(PasswordFormList* forms) OVERRIDE;
55 virtual bool GetBlacklistLogins(PasswordFormList* forms) OVERRIDE; 57 virtual bool GetBlacklistLogins(PasswordFormList* forms) OVERRIDE;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 146
145 // The name of the wallet we've opened. Set during Init(). 147 // The name of the wallet we've opened. Set during Init().
146 std::string wallet_name_; 148 std::string wallet_name_;
147 // The application name (e.g. "Chromium"), shown in KWallet auth dialogs. 149 // The application name (e.g. "Chromium"), shown in KWallet auth dialogs.
148 const std::string app_name_; 150 const std::string app_name_;
149 151
150 DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet); 152 DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet);
151 }; 153 };
152 154
153 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ 155 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698