Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / media_galleries / media_galleries_dialog_controller_mock.h
blobb903ae7d641a325383a0eefbd358cdb059bf34e2
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 const extensions::Extension& extension);
16 virtual ~MediaGalleriesDialogControllerMock();
18 MOCK_CONST_METHOD0(GetHeader, base::string16());
19 MOCK_CONST_METHOD0(GetSubtext, base::string16());
20 MOCK_CONST_METHOD0(IsAcceptAllowed, bool());
21 MOCK_CONST_METHOD0(AttachedPermissions, GalleryPermissionsVector());
22 MOCK_CONST_METHOD0(UnattachedPermissions, GalleryPermissionsVector());
23 MOCK_METHOD0(web_contents, content::WebContents*());
25 MOCK_METHOD0(OnAddFolderClicked, void());
26 MOCK_METHOD2(DidToggleGallery, void(GalleryDialogId gallery_id,
27 bool enabled));
28 MOCK_METHOD1(DialogFinished, void(bool));
31 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_DIALOG_CONTROLLER_MOCK_H_