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

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

Issue 10795056: Remove last references to profile->GetHistory() and profile->GetBookmarkModel() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/test/base/testing_profile.h » ('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
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 class ProfileMock : public TestingProfile { 12 class ProfileMock : public TestingProfile {
13 public: 13 public:
14 ProfileMock(); 14 ProfileMock();
15 virtual ~ProfileMock(); 15 virtual ~ProfileMock();
16 16
17 MOCK_METHOD0(GetBookmarkModel, BookmarkModel*());
18 MOCK_METHOD1(GetHistoryService, HistoryService*(ServiceAccessType access));
19 MOCK_METHOD0(GetHistoryServiceWithoutCreating, HistoryService*());
20 MOCK_METHOD1(GetPasswordStore, PasswordStore* (ServiceAccessType access)); 17 MOCK_METHOD1(GetPasswordStore, PasswordStore* (ServiceAccessType access));
21 }; 18 };
22 19
23 #endif // CHROME_TEST_BASE_PROFILE_MOCK_H_ 20 #endif // CHROME_TEST_BASE_PROFILE_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698