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

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

Issue 3305003: New authorization framework for sync. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PROFILE_MOCK_H__ 5 #ifndef CHROME_TEST_PROFILE_MOCK_H__
6 #define CHROME_TEST_PROFILE_MOCK_H__ 6 #define CHROME_TEST_PROFILE_MOCK_H__
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/test/testing_profile.h" 9 #include "chrome/test/testing_profile.h"
10 10
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 class ProfileMock : public TestingProfile { 13 class ProfileMock : public TestingProfile {
14 public: 14 public:
15 MOCK_METHOD0(GetBookmarkModel, BookmarkModel*()); 15 MOCK_METHOD0(GetBookmarkModel, BookmarkModel*());
16 MOCK_METHOD1(GetHistoryService, HistoryService*(ServiceAccessType access)); 16 MOCK_METHOD1(GetHistoryService, HistoryService*(ServiceAccessType access));
17 MOCK_METHOD0(GetHistoryServiceWithoutCreating, HistoryService*()); 17 MOCK_METHOD0(GetHistoryServiceWithoutCreating, HistoryService*());
18 MOCK_METHOD1(GetWebDataService, WebDataService*(ServiceAccessType access)); 18 MOCK_METHOD1(GetWebDataService, WebDataService*(ServiceAccessType access));
19 MOCK_METHOD0(GetPersonalDataManager, PersonalDataManager*()); 19 MOCK_METHOD0(GetPersonalDataManager, PersonalDataManager*());
20 MOCK_METHOD1(GetPasswordStore, PasswordStore* (ServiceAccessType access)); 20 MOCK_METHOD1(GetPasswordStore, PasswordStore* (ServiceAccessType access));
21 MOCK_METHOD0(GetTokenService, TokenService*());
21 }; 22 };
22 23
23 #endif // CHROME_TEST_PROFILE_MOCK_H__ 24 #endif // CHROME_TEST_PROFILE_MOCK_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698