| OLD | NEW |
| 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_PASSWORD_STORE_WIN_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/scoped_vector.h" |
| 9 #include "components/password_manager/core/browser/password_store_default.h" | 10 #include "components/password_manager/core/browser/password_store_default.h" |
| 10 | 11 |
| 11 class PasswordWebDataService; | 12 class PasswordWebDataService; |
| 12 | 13 |
| 13 namespace autofill { | 14 namespace autofill { |
| 14 struct PasswordForm; | 15 struct PasswordForm; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace password_manager { | 18 namespace password_manager { |
| 18 class LoginDatabase; | 19 class LoginDatabase; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 41 | 42 |
| 42 // Invoked from Shutdown, but run on the DB thread. | 43 // Invoked from Shutdown, but run on the DB thread. |
| 43 void ShutdownOnDBThread(); | 44 void ShutdownOnDBThread(); |
| 44 | 45 |
| 45 virtual void GetLoginsImpl( | 46 virtual void GetLoginsImpl( |
| 46 const autofill::PasswordForm& form, | 47 const autofill::PasswordForm& form, |
| 47 AuthorizationPromptPolicy prompt_policy, | 48 AuthorizationPromptPolicy prompt_policy, |
| 48 const ConsumerCallbackRunner& callback_runner) override; | 49 const ConsumerCallbackRunner& callback_runner) override; |
| 49 | 50 |
| 50 void GetIE7LoginIfNecessary( | 51 void GetIE7LoginIfNecessary( |
| 51 const autofill::PasswordForm& form, | 52 const autofill::PasswordForm& form, |
| 52 const ConsumerCallbackRunner& callback_runner, | 53 const ConsumerCallbackRunner& callback_runner, |
| 53 const std::vector<autofill::PasswordForm*>& matched_forms); | 54 ScopedVector<autofill::PasswordForm> matched_forms); |
| 54 | 55 |
| 55 scoped_ptr<DBHandler> db_handler_; | 56 scoped_ptr<DBHandler> db_handler_; |
| 56 | 57 |
| 57 DISALLOW_COPY_AND_ASSIGN(PasswordStoreWin); | 58 DISALLOW_COPY_AND_ASSIGN(PasswordStoreWin); |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ | 61 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ |
| OLD | NEW |