Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: chrome/browser/password_manager/native_backend_libsecret.h

Issue 1973483002: OSCrypt for POSIX uses libsecret to store a randomised encryption key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recommendations Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/components_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_LIBSECRET_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "chrome/browser/password_manager/password_store_factory.h" 14 #include "chrome/browser/password_manager/password_store_factory.h"
15 #include "chrome/browser/password_manager/password_store_x.h" 15 #include "chrome/browser/password_manager/password_store_x.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "components/os_crypt/libsecret_util_posix.h" 17 #include "components/os_crypt/libsecret_util_linux.h"
18 18
19 namespace autofill { 19 namespace autofill {
20 struct PasswordForm; 20 struct PasswordForm;
21 } 21 }
22 22
23 class NativeBackendLibsecret : public PasswordStoreX::NativeBackend { 23 class NativeBackendLibsecret : public PasswordStoreX::NativeBackend {
24 public: 24 public:
25 explicit NativeBackendLibsecret(LocalProfileId id); 25 explicit NativeBackendLibsecret(LocalProfileId id);
26 26
27 ~NativeBackendLibsecret() override; 27 ~NativeBackendLibsecret() override;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 GList* found, 100 GList* found,
101 const autofill::PasswordForm* lookup_form); 101 const autofill::PasswordForm* lookup_form);
102 102
103 // The app string, possibly based on the local profile id. 103 // The app string, possibly based on the local profile id.
104 std::string app_string_; 104 std::string app_string_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(NativeBackendLibsecret); 106 DISALLOW_COPY_AND_ASSIGN(NativeBackendLibsecret);
107 }; 107 };
108 108
109 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ 109 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_
OLDNEW
« no previous file with comments | « no previous file | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698