blob: ef66af9ce74c6fdef755db221f5caf5da4937d47 [file] [log] [blame]
// 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/signin/test_signin_client_builder.h"
#include "chrome/browser/profiles/profile.h"
#include "components/signin/core/browser/test_signin_client.h"
namespace signin {
scoped_ptr<KeyedService> BuildTestSigninClient(
content::BrowserContext* context) {
return make_scoped_ptr(
new TestSigninClient(static_cast<Profile*>(context)->GetPrefs()));
}
} // namespace signin