OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHANGE_H__ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CHANGE_H__ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CHANGE_H__ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CHANGE_H__ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "webkit/forms/password_form.h" | 10 #include "webkit/forms/password_form.h" |
12 | 11 |
13 class PasswordStoreChange { | 12 class PasswordStoreChange { |
14 public: | 13 public: |
15 enum Type { | 14 enum Type { |
16 ADD, | 15 ADD, |
17 UPDATE, | 16 UPDATE, |
(...skipping 27 matching lines...) Expand all Loading... |
45 } | 44 } |
46 | 45 |
47 private: | 46 private: |
48 Type type_; | 47 Type type_; |
49 webkit::forms::PasswordForm form_; | 48 webkit::forms::PasswordForm form_; |
50 }; | 49 }; |
51 | 50 |
52 typedef std::vector<PasswordStoreChange> PasswordStoreChangeList; | 51 typedef std::vector<PasswordStoreChange> PasswordStoreChangeList; |
53 | 52 |
54 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CHANGE_H_ | 53 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CHANGE_H_ |
OLD | NEW |