Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: chrome/test/base/profile_mock.h

Issue 839193002: Move ServiceAccessType into //components/keyed_service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/webdata/web_data_service_factory.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_PROFILE_MOCK_H_ 5 #ifndef CHROME_TEST_BASE_PROFILE_MOCK_H_
6 #define CHROME_TEST_BASE_PROFILE_MOCK_H_ 6 #define CHROME_TEST_BASE_PROFILE_MOCK_H_
7 7
8 #include "chrome/test/base/testing_profile.h" 8 #include "chrome/test/base/testing_profile.h"
9 9 #include "components/keyed_service/core/service_access_type.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace password_manager { 12 namespace password_manager {
13 class PasswordStore; 13 class PasswordStore;
14 } 14 }
15 15
16 class ProfileMock : public TestingProfile { 16 class ProfileMock : public TestingProfile {
17 public: 17 public:
18 ProfileMock(); 18 ProfileMock();
19 virtual ~ProfileMock(); 19 virtual ~ProfileMock();
20 20
21 MOCK_METHOD1(GetPasswordStore, 21 MOCK_METHOD1(GetPasswordStore,
22 password_manager::PasswordStore*(ServiceAccessType access)); 22 password_manager::PasswordStore*(ServiceAccessType access));
23 }; 23 };
24 24
25 #endif // CHROME_TEST_BASE_PROFILE_MOCK_H_ 25 #endif // CHROME_TEST_BASE_PROFILE_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_data_service_factory.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698