OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
14 #include "components/password_manager/core/browser/password_manager_client.h" | 13 #include "components/password_manager/core/browser/password_manager_client.h" |
15 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
16 | 15 |
17 namespace autofill { | 16 namespace autofill { |
18 struct PasswordForm; | 17 struct PasswordForm; |
19 } | 18 } |
20 | 19 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 51 |
53 // A convenience function for testing that |client| has a non-null LogManager | 52 // A convenience function for testing that |client| has a non-null LogManager |
54 // and that that LogManager returns true for IsLoggingActive. This function can | 53 // and that that LogManager returns true for IsLoggingActive. This function can |
55 // be removed once PasswordManagerClient::GetLogManager is implemented on iOS | 54 // be removed once PasswordManagerClient::GetLogManager is implemented on iOS |
56 // and required to always return non-null. | 55 // and required to always return non-null. |
57 bool IsLoggingActive(const password_manager::PasswordManagerClient* client); | 56 bool IsLoggingActive(const password_manager::PasswordManagerClient* client); |
58 | 57 |
59 } // namespace password_manager_util | 58 } // namespace password_manager_util |
60 | 59 |
61 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_ | 60 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_ |
OLD | NEW |