| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GNOME_X_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 12 #include "base/time.h" | 10 #include "base/time.h" |
| 13 #include "chrome/browser/password_manager/password_store_x.h" | 11 #include "chrome/browser/password_manager/password_store_x.h" |
| 14 | 12 |
| 15 namespace webkit_glue { | 13 namespace webkit_glue { |
| 16 struct PasswordForm; | 14 struct PasswordForm; |
| 17 } | 15 } |
| 18 | 16 |
| 19 // NativeBackend implementation using GNOME Keyring. | 17 // NativeBackend implementation using GNOME Keyring. |
| 20 class NativeBackendGnome : public PasswordStoreX::NativeBackend { | 18 class NativeBackendGnome : public PasswordStoreX::NativeBackend { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 // Reads PasswordForms from the keyring with the given autofillability state. | 41 // Reads PasswordForms from the keyring with the given autofillability state. |
| 44 bool GetLoginsList(PasswordFormList* forms, bool autofillable); | 42 bool GetLoginsList(PasswordFormList* forms, bool autofillable); |
| 45 | 43 |
| 46 // Helper for GetLoginsCreatedBetween(). | 44 // Helper for GetLoginsCreatedBetween(). |
| 47 bool GetAllLogins(PasswordFormList* forms); | 45 bool GetAllLogins(PasswordFormList* forms); |
| 48 | 46 |
| 49 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); | 47 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 50 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
| OLD | NEW |