Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chrome / browser / media_galleries / media_galleries_dialog_controller_mock.cc
blob364bc3e354f0317d19ab5771850d8849c5fd6e5e
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 #include "chrome/browser/media_galleries/media_galleries_dialog_controller_mock.h"
7 #include "base/strings/utf_string_conversions.h"
9 using ::testing::_;
10 using ::testing::Return;
12 MediaGalleriesDialogControllerMock::MediaGalleriesDialogControllerMock() {
13 ON_CALL(*this, GetHeader()).
14 WillByDefault(Return(base::ASCIIToUTF16("Title")));
15 ON_CALL(*this, GetSubtext()).
16 WillByDefault(Return(base::ASCIIToUTF16("Desc")));
17 ON_CALL(*this, GetAcceptButtonText()).
18 WillByDefault(Return(base::ASCIIToUTF16("OK")));
19 ON_CALL(*this, GetAuxiliaryButtonText()).
20 WillByDefault(Return(base::ASCIIToUTF16("Button")));
21 ON_CALL(*this, GetSectionEntries(_)).
22 WillByDefault(Return(Entries()));
25 MediaGalleriesDialogControllerMock::~MediaGalleriesDialogControllerMock() {