| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/mock_password_store.h" | 5 #include "chrome/browser/password_manager/mock_password_store.h" |
| 6 | 6 |
| 7 MockPasswordStore::MockPasswordStore() {} | 7 MockPasswordStore::MockPasswordStore() |
| 8 : PasswordStore(base::MessageLoopProxy::current(), |
| 9 base::MessageLoopProxy::current()) { |
| 10 } |
| 8 | 11 |
| 9 // static | 12 // static |
| 10 scoped_refptr<RefcountedBrowserContextKeyedService> MockPasswordStore::Build( | 13 scoped_refptr<RefcountedBrowserContextKeyedService> MockPasswordStore::Build( |
| 11 content::BrowserContext* profile) { | 14 content::BrowserContext* profile) { |
| 12 return new MockPasswordStore; | 15 return new MockPasswordStore; |
| 13 } | 16 } |
| 14 | 17 |
| 15 void MockPasswordStore::ShutdownOnUIThread() {} | 18 void MockPasswordStore::ShutdownOnUIThread() {} |
| 16 | 19 |
| 17 MockPasswordStore::~MockPasswordStore() {} | 20 MockPasswordStore::~MockPasswordStore() {} |
| OLD | NEW |