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_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 | 7 |
8 // libgnome-keyring has been deprecated in favor of libsecret. | 8 // libgnome-keyring has been deprecated in favor of libsecret. |
9 // See: https://mail.gnome.org/archives/commits-list/2013-October/msg08876.html | 9 // See: https://mail.gnome.org/archives/commits-list/2013-October/msg08876.html |
10 // | 10 // |
11 // The define below turns off the deprecations, in order to avoid build | 11 // The define below turns off the deprecations, in order to avoid build |
12 // failures with Gnome 3.12. When we move to libsecret, the define can be | 12 // failures with Gnome 3.12. When we move to libsecret, the define can be |
13 // removed, together with the include below it. | 13 // removed, together with the include below it. |
14 // | 14 // |
15 // The porting is tracked in http://crbug.com/355223 | 15 // The porting is tracked in http://crbug.com/355223 |
16 #define GNOME_KEYRING_DEPRECATED | 16 #define GNOME_KEYRING_DEPRECATED |
17 #define GNOME_KEYRING_DEPRECATED_FOR(x) | 17 #define GNOME_KEYRING_DEPRECATED_FOR(x) |
18 #include <gnome-keyring.h> | 18 #include <gnome-keyring.h> |
19 | 19 |
20 #include <string> | 20 #include <string> |
21 | 21 |
22 #include "base/basictypes.h" | |
23 #include "base/compiler_specific.h" | 22 #include "base/compiler_specific.h" |
| 23 #include "base/macros.h" |
24 #include "base/memory/scoped_vector.h" | 24 #include "base/memory/scoped_vector.h" |
25 #include "base/time/time.h" | 25 #include "base/time/time.h" |
26 #include "chrome/browser/password_manager/password_store_factory.h" | 26 #include "chrome/browser/password_manager/password_store_factory.h" |
27 #include "chrome/browser/password_manager/password_store_x.h" | 27 #include "chrome/browser/password_manager/password_store_x.h" |
28 #include "chrome/browser/profiles/profile.h" | 28 #include "chrome/browser/profiles/profile.h" |
29 | 29 |
30 namespace autofill { | 30 namespace autofill { |
31 struct PasswordForm; | 31 struct PasswordForm; |
32 } | 32 } |
33 | 33 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // The local profile id, used to generate the app string. | 151 // The local profile id, used to generate the app string. |
152 const LocalProfileId profile_id_; | 152 const LocalProfileId profile_id_; |
153 | 153 |
154 // The app string, possibly based on the local profile id. | 154 // The app string, possibly based on the local profile id. |
155 std::string app_string_; | 155 std::string app_string_; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); | 157 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); |
158 }; | 158 }; |
159 | 159 |
160 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 160 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
OLD | NEW |