Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / password_manager / mock_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_MOCK_PASSWORD_STORE_SERVICE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
7
8 #include "chrome/browser/password_manager/password_store_factory.h"
9
10 namespace content {
11 class BrowserContext;
12 }
13
14 namespace password_manager {
15 class PasswordStore;
16 }
17
18 class MockPasswordStoreService : public PasswordStoreService {
19  public:
20   static KeyedService* Build(content::BrowserContext* profile);
21
22  private:
23   explicit MockPasswordStoreService(
24       scoped_refptr<password_manager::PasswordStore> password_store);
25
26   ~MockPasswordStoreService() override;
27
28   DISALLOW_COPY_AND_ASSIGN(MockPasswordStoreService);
29 };
30
31 #endif  // CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_