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

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

Issue 2846023003: Creating a preference for storing a sync password hash. (Closed)
Patch Set: Reviewer's comments addressed Created 3 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/password_manager/simple_password_store_mac.h" 5 #include "chrome/browser/password_manager/simple_password_store_mac.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 SimplePasswordStoreMac::SimplePasswordStoreMac( 9 SimplePasswordStoreMac::SimplePasswordStoreMac(
10 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, 10 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
(...skipping 13 matching lines...) Expand all
24 scoped_refptr<base::SingleThreadTaskRunner> background_task_runner, 24 scoped_refptr<base::SingleThreadTaskRunner> background_task_runner,
25 std::unique_ptr<password_manager::LoginDatabase> login_db) { 25 std::unique_ptr<password_manager::LoginDatabase> login_db) {
26 db_thread_runner_ = background_task_runner; 26 db_thread_runner_ = background_task_runner;
27 DCHECK(GetBackgroundTaskRunner()->BelongsToCurrentThread()); 27 DCHECK(GetBackgroundTaskRunner()->BelongsToCurrentThread());
28 set_login_db(std::move(login_db)); 28 set_login_db(std::move(login_db));
29 if (this->login_db()) 29 if (this->login_db())
30 this->login_db()->set_clear_password_values(false); 30 this->login_db()->set_clear_password_values(false);
31 } 31 }
32 32
33 bool SimplePasswordStoreMac::Init( 33 bool SimplePasswordStoreMac::Init(
34 const syncer::SyncableService::StartSyncFlare& flare) { 34 const syncer::SyncableService::StartSyncFlare& flare,
35 PrefService* prefs) {
35 NOTREACHED(); 36 NOTREACHED();
36 return false; 37 return false;
37 } 38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698