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"
8 #include "base/bind_helpers.h"
10 using ::testing::Return
;
13 MediaGalleriesDialog
* NullDialog(MediaGalleriesDialogController
*) {
19 MediaGalleriesDialogControllerMock::MediaGalleriesDialogControllerMock(
20 const extensions::Extension
& extension
)
21 : MediaGalleriesDialogController(
23 base::Bind(&NullDialog
),
24 base::Bind(&base::DoNothing
)) {
25 EXPECT_CALL(*this, GetHeader()).
26 WillRepeatedly(Return(base::string16()));
27 EXPECT_CALL(*this, GetSubtext()).
28 WillRepeatedly(Return(base::string16()));
31 MediaGalleriesDialogControllerMock::~MediaGalleriesDialogControllerMock() {