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

Unified Diff: chrome/browser/password_manager/simple_password_store_mac.cc

Issue 1192963002: Implement PasswordStoreProxyMac and SimplePasswordStoreMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed the comments 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/simple_password_store_mac.cc
diff --git a/chrome/browser/password_manager/simple_password_store_mac.cc b/chrome/browser/password_manager/simple_password_store_mac.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6c60f984a67d9fff7ad5fd6a79a2f1bad79c09cf
--- /dev/null
+++ b/chrome/browser/password_manager/simple_password_store_mac.cc
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/password_manager/simple_password_store_mac.h"
+
+SimplePasswordStoreMac::SimplePasswordStoreMac(
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> background_thread_runner,
+ scoped_ptr<password_manager::LoginDatabase> login_db)
+ : PasswordStoreDefault(main_thread_runner, background_thread_runner,
+ login_db.Pass()) {
+ this->login_db()->set_clear_password_values(false);
+}
+
+SimplePasswordStoreMac::~SimplePasswordStoreMac() {
+}
+
+bool SimplePasswordStoreMac::Init(
+ const syncer::SyncableService::StartSyncFlare& flare) {
+ // All the initialization has to be done by the owner of the object.
+ return true;
+}
+
+void SimplePasswordStoreMac::Shutdown() {
+ PasswordStoreDefault::Shutdown();
+}

Powered by Google App Engine
This is Rietveld 408576698