• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #include "chrome/browser/signin/test_signin_client_builder.h"
6 
7 #include "chrome/browser/profiles/profile.h"
8 #include "components/signin/core/browser/test_signin_client.h"
9 
10 class KeyedService;
11 
12 namespace content {
13 class BrowserContext;
14 }
15 
16 namespace signin {
17 
BuildTestSigninClient(content::BrowserContext * context)18 KeyedService* BuildTestSigninClient(
19     content::BrowserContext* context) {
20   TestSigninClient* test_signin_client =
21       new TestSigninClient(static_cast<Profile*>(context)->GetPrefs());
22   return test_signin_client;
23 }
24 
25 }  // namespace signin
26