blob: a97261e96d53421a5972cae91c6fa38e36d8312a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2012 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_TEST_BASE_PROFILE_MOCK_H_
#define CHROME_TEST_BASE_PROFILE_MOCK_H_
#include "chrome/test/base/testing_profile.h"
#include "components/keyed_service/core/service_access_type.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace password_manager {
class PasswordStore;
}
class ProfileMock : public TestingProfile {
public:
ProfileMock();
virtual ~ProfileMock();
MOCK_METHOD1(GetPasswordStore,
password_manager::PasswordStore*(ServiceAccessType access));
};
#endif // CHROME_TEST_BASE_PROFILE_MOCK_H_
|