Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / signin / test_signin_client_builder.h
blob54bb6eb886e383554de8e0bd91a5be4f06f6a8e8
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 #ifndef CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_
6 #define CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_
8 #include "base/memory/scoped_ptr.h"
10 class KeyedService;
12 namespace content {
13 class BrowserContext;
16 namespace signin {
18 // Method to be used by the |ChromeSigninClientFactory| to create a test version
19 // of the SigninClient
20 scoped_ptr<KeyedService> BuildTestSigninClient(
21 content::BrowserContext* context);
23 } // namespace signin
26 #endif // CHROME_BROWSER_SIGNIN_TEST_SIGNIN_CLIENT_BUILDER_H_