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_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/password_manager/password_store_factory.h"
15 namespace password_manager
{
19 class MockPasswordStoreService
: public PasswordStoreService
{
21 static scoped_ptr
<KeyedService
> Build(content::BrowserContext
* profile
);
24 explicit MockPasswordStoreService(
25 scoped_refptr
<password_manager::PasswordStore
> password_store
);
27 ~MockPasswordStoreService() override
;
29 DISALLOW_COPY_AND_ASSIGN(MockPasswordStoreService
);
32 #endif // CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_