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

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

Issue 2818035: Don't re-store deleted passwords on form submit on the Mac (Closed)
Patch Set: Address comments Created 10 years, 5 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 | « no previous file | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_PASSWORD_STORE_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 int handle; 97 int handle;
98 // The message loop that the request was made from. We send the result 98 // The message loop that the request was made from. We send the result
99 // back to the consumer in this same message loop. 99 // back to the consumer in this same message loop.
100 MessageLoop* message_loop; 100 MessageLoop* message_loop;
101 101
102 private: 102 private:
103 DISALLOW_COPY_AND_ASSIGN(GetLoginsRequest); 103 DISALLOW_COPY_AND_ASSIGN(GetLoginsRequest);
104 }; 104 };
105 105
106 // Schedule the given task to be run in the PasswordStore's own thread. 106 // Schedule the given task to be run in the PasswordStore's own thread.
107 void ScheduleTask(Task* task); 107 virtual void ScheduleTask(Task* task);
108 108
109 // These will be run in PasswordStore's own thread. 109 // These will be run in PasswordStore's own thread.
110 // Synchronous implementation that reports usage metrics. 110 // Synchronous implementation that reports usage metrics.
111 virtual void ReportMetricsImpl() = 0; 111 virtual void ReportMetricsImpl() = 0;
112 // Synchronous implementation to add the given login. 112 // Synchronous implementation to add the given login.
113 virtual void AddLoginImpl(const webkit_glue::PasswordForm& form) = 0; 113 virtual void AddLoginImpl(const webkit_glue::PasswordForm& form) = 0;
114 // Synchronous implementation to update the given login. 114 // Synchronous implementation to update the given login.
115 virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form) = 0; 115 virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form) = 0;
116 // Synchronous implementation to remove the given login. 116 // Synchronous implementation to remove the given login.
117 virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form) = 0; 117 virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form) = 0;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 int handle_; 156 int handle_;
157 157
158 // List of pending request handles. Handles are removed from the set when 158 // List of pending request handles. Handles are removed from the set when
159 // they finish or are canceled. 159 // they finish or are canceled.
160 std::set<int> pending_requests_; 160 std::set<int> pending_requests_;
161 161
162 DISALLOW_COPY_AND_ASSIGN(PasswordStore); 162 DISALLOW_COPY_AND_ASSIGN(PasswordStore);
163 }; 163 };
164 164
165 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_H_ 165 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698