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

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

Issue 113871: Revert the password manager refactoring -- it failed reliability tests. (Closed)
Patch Set: Created 11 years, 7 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
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_GNOME
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_GNOME
7
8 extern "C" {
9 #include <gnome-keyring.h>
10 }
11
12 #include "base/lock.h"
13 #include "chrome/browser/password_manager/password_store.h"
14
15 class Profile;
16 class Task;
17
18 // PasswordStore implementation using Gnome Keyring.
19 class PasswordStoreGnome : public PasswordStore {
20 public:
21 PasswordStoreGnome();
22 virtual ~PasswordStoreGnome();
23
24 virtual bool Init();
25
26 private:
27 void AddLoginImpl(const PasswordForm& form);
28 void UpdateLoginImpl(const PasswordForm& form);
29 void RemoveLoginImpl(const PasswordForm& form);
30 void GetLoginsImpl(GetLoginsRequest* request);
31
32 static const GnomeKeyringPasswordSchema kGnomeSchema;
33
34 // Mutex for all interactions with Gnome Keyring.
35 Lock gnome_keyring_lock_;
36
37 DISALLOW_COPY_AND_ASSIGN(PasswordStoreGnome);
38 };
39
40 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_GNOME
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698