Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / media_galleries / media_galleries_dialog_controller_mock.h
blobd783b705d193acef95ce18e63bc0df359991b989
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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_DIALOG_CONTROLLER_MOCK_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_DIALOG_CONTROLLER_MOCK_H_
8 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h"
9 #include "testing/gmock/include/gmock/gmock.h"
11 class MediaGalleriesDialogControllerMock
12 : public MediaGalleriesDialogController {
13 public:
14 explicit MediaGalleriesDialogControllerMock();
15 virtual ~MediaGalleriesDialogControllerMock();
17 MOCK_CONST_METHOD0(GetHeader, base::string16());
18 MOCK_CONST_METHOD0(GetSubtext, base::string16());
19 MOCK_CONST_METHOD0(IsAcceptAllowed, bool());
20 MOCK_CONST_METHOD1(ShouldShowFolderViewer, bool(const Entry&));
21 MOCK_CONST_METHOD0(GetSectionHeaders, std::vector<base::string16>());
22 MOCK_CONST_METHOD1(GetSectionEntries, Entries(size_t));
23 MOCK_CONST_METHOD0(GetAuxiliaryButtonText, base::string16());
24 MOCK_METHOD0(DidClickAuxiliaryButton, void());
26 MOCK_METHOD2(DidToggleEntry, void(MediaGalleryPrefId id, bool selected));
27 MOCK_METHOD1(DidClickOpenFolderViewer, void(MediaGalleryPrefId id));
28 MOCK_METHOD1(DidForgetEntry, void(MediaGalleryPrefId id));
29 MOCK_CONST_METHOD0(GetAcceptButtonText, base::string16());
30 MOCK_METHOD1(DialogFinished, void(bool));
31 MOCK_METHOD1(GetContextMenu, ui::MenuModel*(MediaGalleryPrefId id));
32 MOCK_METHOD0(WebContents, content::WebContents*());
35 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_DIALOG_CONTROLLER_MOCK_H_