summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-10 15:48:11 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-10 15:48:11 +0000
commitf2fc4eb2e0a3c4eda173951a0b2f20a2af991813 (patch)
tree019c8fa2baad01525507023be7140b462da66a92
parent0c7a6b2d0bc0ab111013601882cf4b8813d24f35 (diff)
downloadchromium_src-f2fc4eb2e0a3c4eda173951a0b2f20a2af991813.zip
chromium_src-f2fc4eb2e0a3c4eda173951a0b2f20a2af991813.tar.gz
chromium_src-f2fc4eb2e0a3c4eda173951a0b2f20a2af991813.tar.bz2
Adapt a function in ProfileSyncServiceMock to again match the parent class's signature.
BUG=72154 TEST=none Review URL: http://codereview.chromium.org/6480026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74436 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/sync/profile_sync_service_mock.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/sync/profile_sync_service_mock.h b/chrome/browser/sync/profile_sync_service_mock.h
index 4e460f2..0727ebe 100644
--- a/chrome/browser/sync/profile_sync_service_mock.h
+++ b/chrome/browser/sync/profile_sync_service_mock.h
@@ -24,10 +24,11 @@ class ProfileSyncServiceMock : public ProfileSyncService {
MOCK_METHOD0(OnBackendInitialized, void());
MOCK_METHOD0(OnSyncCycleCompleted, void());
MOCK_METHOD0(OnAuthError, void());
- MOCK_METHOD3(OnUserSubmittedAuth,
+ MOCK_METHOD4(OnUserSubmittedAuth,
void(const std::string& username,
const std::string& password,
- const std::string& captcha));
+ const std::string& captcha,
+ const std::string& access_code));
MOCK_METHOD0(OnUserCancelledDialog, void());
MOCK_CONST_METHOD0(GetAuthenticatedUsername, string16());
MOCK_METHOD2(OnUnrecoverableError,