OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_ |
6 #define CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_ | 6 #define CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_ |
7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 |
8 class KeyedService; | 10 class KeyedService; |
9 | 11 |
10 namespace content { | 12 namespace content { |
11 class BrowserContext; | 13 class BrowserContext; |
12 } | 14 } |
13 | 15 |
14 namespace signin { | 16 namespace signin { |
15 | 17 |
16 // Method to be used by the |ChromeSigninClientFactory| to create a test version | 18 // Method to be used by the |ChromeSigninClientFactory| to create a test version |
17 // of the SigninClient | 19 // of the SigninClient |
18 KeyedService* BuildTestSigninClient(content::BrowserContext* context); | 20 scoped_ptr<KeyedService> BuildTestSigninClient( |
| 21 content::BrowserContext* context); |
19 | 22 |
20 } // namespace signin | 23 } // namespace signin |
21 | 24 |
22 | 25 |
23 #endif // CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_ | 26 #endif // CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_ |
OLD | NEW |