| Index: chrome/browser/ui/webui/web_component_test_ui.h
|
| diff --git a/chrome/browser/ui/webui/web_component_test_ui.h b/chrome/browser/ui/webui/web_component_test_ui.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0c479bc657810366791af6251c804d9e7d5612fb
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/webui/web_component_test_ui.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_WEBUI_WEB_COMPONENT_TEST_UI_H_
|
| +#define CHROME_BROWSER_UI_WEBUI_WEB_COMPONENT_TEST_UI_H_
|
| +
|
| +#include "content/public/browser/web_ui_controller.h"
|
| +
|
| +// This class serves as a target for JavaScript browser tests, allowing tests to
|
| +// reference local chrome:// resources.
|
| +class WebComponentTestUI : public content::WebUIController {
|
| + public:
|
| + explicit WebComponentTestUI(content::WebUI* web_ui);
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(WebComponentTestUI);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_WEBUI_WEB_COMPONENT_TEST_UI_H_
|
|
|