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. 4 5 #include "chrome/browser/media_galleries/media_galleries_dialog_controller_mock.h" 6 7 #include "base/strings/utf_string_conversions.h" 8 9 using ::testing::_; 10 using ::testing::Return; 11 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())); 23 } 24 25 MediaGalleriesDialogControllerMock::~MediaGalleriesDialogControllerMock() { 26 } 27