OLD | NEW |
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 #include "chrome/browser/media_galleries/media_galleries_dialog_controller_mock.
h" | 5 #include "chrome/browser/media_galleries/media_galleries_dialog_controller_mock.
h" |
6 | 6 |
7 using ::testing::Return; | 7 using ::testing::Return; |
8 | 8 |
9 namespace chrome { | |
10 | |
11 MediaGalleriesDialogControllerMock::MediaGalleriesDialogControllerMock( | 9 MediaGalleriesDialogControllerMock::MediaGalleriesDialogControllerMock( |
12 const extensions::Extension& extension) | 10 const extensions::Extension& extension) |
13 : MediaGalleriesDialogController(extension) { | 11 : MediaGalleriesDialogController(extension) { |
14 EXPECT_CALL(*this, GetHeader()). | 12 EXPECT_CALL(*this, GetHeader()). |
15 WillRepeatedly(Return(string16())); | 13 WillRepeatedly(Return(string16())); |
16 EXPECT_CALL(*this, GetSubtext()). | 14 EXPECT_CALL(*this, GetSubtext()). |
17 WillRepeatedly(Return(string16())); | 15 WillRepeatedly(Return(string16())); |
18 } | 16 } |
19 | 17 |
20 MediaGalleriesDialogControllerMock::~MediaGalleriesDialogControllerMock() { | 18 MediaGalleriesDialogControllerMock::~MediaGalleriesDialogControllerMock() { |
21 } | 19 } |
22 | |
23 } // namespace chrome | |
OLD | NEW |