blob: bad233ee2b49e777cd69d77b89b8be7b33056abe [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
#include "chrome/browser/password_manager/password_store_factory.h"
namespace content {
class BrowserContext;
}
namespace password_manager {
class PasswordStore;
}
class MockPasswordStoreService : public PasswordStoreService {
public:
static KeyedService* Build(content::BrowserContext* profile);
private:
explicit MockPasswordStoreService(
scoped_refptr<password_manager::PasswordStore> password_store);
~MockPasswordStoreService() override;
DISALLOW_COPY_AND_ASSIGN(MockPasswordStoreService);
};
#endif // CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_