MD Downloads: UI review feedback
[chromium-blink-merge.git] / chrome / browser / signin / test_signin_client_builder.cc
blobef66af9ce74c6fdef755db221f5caf5da4937d47
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/signin/test_signin_client_builder.h"
7 #include "chrome/browser/profiles/profile.h"
8 #include "components/signin/core/browser/test_signin_client.h"
10 namespace signin {
12 scoped_ptr<KeyedService> BuildTestSigninClient(
13 content::BrowserContext* context) {
14 return make_scoped_ptr(
15 new TestSigninClient(static_cast<Profile*>(context)->GetPrefs()));
18 } // namespace signin