NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / password_manager / mock_password_store_service.cc
blobfed8e6cb858edce5dd68af2c3049282ba21b7611
1 // Copyright 2014 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.
5 #include "chrome/browser/password_manager/mock_password_store_service.h"
7 #include "chrome/browser/password_manager/mock_password_store.h"
9 // static
10 BrowserContextKeyedService* MockPasswordStoreService::Build(
11 content::BrowserContext* /*profile*/) {
12 scoped_refptr<PasswordStore> store(new MockPasswordStore);
13 if (!store || !store->Init())
14 return NULL;
15 return new MockPasswordStoreService(store);
18 MockPasswordStoreService::MockPasswordStoreService(
19 scoped_refptr<PasswordStore> password_store)
20 : PasswordStoreService(password_store) {}
22 MockPasswordStoreService::~MockPasswordStoreService() {}