Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / base / profile_mock.h
bloba97261e96d53421a5972cae91c6fa38e36d8312a
1 // Copyright (c) 2012 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_TEST_BASE_PROFILE_MOCK_H_
6 #define CHROME_TEST_BASE_PROFILE_MOCK_H_
8 #include "chrome/test/base/testing_profile.h"
9 #include "components/keyed_service/core/service_access_type.h"
10 #include "testing/gmock/include/gmock/gmock.h"
12 namespace password_manager {
13 class PasswordStore;
16 class ProfileMock : public TestingProfile {
17 public:
18 ProfileMock();
19 virtual ~ProfileMock();
21 MOCK_METHOD1(GetPasswordStore,
22 password_manager::PasswordStore*(ServiceAccessType access));
25 #endif // CHROME_TEST_BASE_PROFILE_MOCK_H_