Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / password_manager / test_password_store_service.h
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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
7
8 #include "chrome/browser/password_manager/password_store_factory.h"
9
10 class PasswordStore;
11
12 namespace content {
13 class BrowserContext;
14 }
15
16 class TestPasswordStoreService : public PasswordStoreService {
17  public:
18   static BrowserContextKeyedService* Build(content::BrowserContext* profile);
19
20  private:
21   explicit TestPasswordStoreService(
22       scoped_refptr<PasswordStore> password_store);
23
24   virtual ~TestPasswordStoreService();
25
26   DISALLOW_COPY_AND_ASSIGN(TestPasswordStoreService);
27 };
28
29 #endif  // CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_