Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 #ifndef CHROME_BROWSER_UI_WEBUI_MD_BOOKMARKS_MD_BOOKMARKS_BROWSERTEST_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_MD_BOOKMARKS_MD_BOOKMARKS_BROWSERTEST_H_ | |
| 7 | |
| 8 #include "chrome/test/base/web_ui_browser_test.h" | |
| 9 #include "content/public/browser/web_ui_message_handler.h" | |
| 10 | |
| 11 class MdBookmarksBrowserTest : public WebUIBrowserTest, | |
| 12 public content::WebUIMessageHandler { | |
| 13 public: | |
| 14 MdBookmarksBrowserTest(); | |
| 15 ~MdBookmarksBrowserTest() override; | |
| 16 | |
| 17 void SetIncognitoAvailability(int availability); | |
| 18 | |
| 19 private: | |
| 20 void HandleSetIncognitoAvailability(const base::ListValue* args); | |
| 21 | |
| 22 // WebUIMessageHandler: | |
|
calamity
2017/05/29 06:52:28
nit: content:WebUIMessageHandler
tsergeant
2017/05/30 00:18:21
Done.
| |
| 23 void RegisterMessages() override; | |
| 24 | |
| 25 // WebUIBrowserTest: | |
| 26 content::WebUIMessageHandler* GetMockMessageHandler() override; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(MdBookmarksBrowserTest); | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_UI_WEBUI_MD_BOOKMARKS_MD_BOOKMARKS_BROWSERTEST_H_ | |
| OLD | NEW |