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

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

Issue 1192963002: Implement PasswordStoreProxyMac and SimplePasswordStoreMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 // Copyright 2015 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_SIMPLE_PASSWORD_STORE_MAC_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_SIMPLE_PASSWORD_STORE_MAC_H_
7
8 #include "components/password_manager/core/browser/password_store_default.h"
9
10 // The same as PasswordStoreDefault but running on the dedicated thread. The
11 // owner is responsible for the thread lifetime.
12 class SimplePasswordStoreMac : public password_manager::PasswordStoreDefault {
13 public:
14 SimplePasswordStoreMac(
15 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
16 scoped_refptr<base::SingleThreadTaskRunner> background_thread_runner,
17 scoped_ptr<password_manager::LoginDatabase> login_db);
18
19 // Just hides the parent method. All the initialization is to be done by the
20 // proxy.
vabr (Chromium) 2015/06/19 20:19:09 nit: In this context, it is not clear what "the pr
vasilii 2015/06/22 13:34:17 Done.
21 bool Init(const syncer::SyncableService::StartSyncFlare& flare) override;
22
23 // Clean |background_thread_runner_|.
24 void Shutdown() override;
25
26 scoped_refptr<base::SingleThreadTaskRunner> GetBackgroundTaskRunner()
27 override;
28
29 protected:
30 ~SimplePasswordStoreMac() override;
31
32 private:
33 scoped_refptr<base::SingleThreadTaskRunner> background_thread_runner_;
34
35 DISALLOW_COPY_AND_ASSIGN(SimplePasswordStoreMac);
36 };
37
38 #endif // CHROME_BROWSER_PASSWORD_MANAGER_SIMPLE_PASSWORD_STORE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698