root/chrome/browser/password_manager/test_password_store_service.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. Build

// Copyright 2014 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/test_password_store_service.h"

#include "components/password_manager/core/browser/test_password_store.h"

// static
KeyedService* TestPasswordStoreService::Build(
    content::BrowserContext* /*profile*/) {
  scoped_refptr<PasswordStore> store(new TestPasswordStore);
  if (!store || !store->Init(syncer::SyncableService::StartSyncFlare()))
    return NULL;
  return new TestPasswordStoreService(store);
}

TestPasswordStoreService::TestPasswordStoreService(
    scoped_refptr<PasswordStore> password_store)
    : PasswordStoreService(password_store) {}

TestPasswordStoreService::~TestPasswordStoreService() {}

/* [<][>][^][v][top][bottom][index][help] */