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

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

Issue 2909283002: Delete PasswordStoreMac and SimplePasswordStoreMac. (Closed)
Patch Set: test Created 3 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 #include "chrome/browser/password_manager/simple_password_store_mac.h"
6
7 #include <utility>
8
9 SimplePasswordStoreMac::SimplePasswordStoreMac(
10 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
11 scoped_refptr<base::SingleThreadTaskRunner> background_thread_runner,
12 std::unique_ptr<password_manager::LoginDatabase> login_db)
13 : PasswordStoreDefault(main_thread_runner,
14 background_thread_runner,
15 std::move(login_db)) {
16 if (this->login_db())
17 this->login_db()->set_clear_password_values(false);
18 }
19
20 SimplePasswordStoreMac::~SimplePasswordStoreMac() {
21 }
22
23 void SimplePasswordStoreMac::InitWithTaskRunner(
24 scoped_refptr<base::SingleThreadTaskRunner> background_task_runner,
25 std::unique_ptr<password_manager::LoginDatabase> login_db) {
26 db_thread_runner_ = background_task_runner;
27 DCHECK(GetBackgroundTaskRunner()->BelongsToCurrentThread());
28 set_login_db(std::move(login_db));
29 if (this->login_db())
30 this->login_db()->set_clear_password_values(false);
31 }
32
33 bool SimplePasswordStoreMac::Init(
34 const syncer::SyncableService::StartSyncFlare& flare,
35 PrefService* prefs) {
36 NOTREACHED();
37 return false;
38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698