blob: ef2cbf560b83d0138042dcfa9cf3cd706cfef9d8 [file] [log] [blame]
// Copyright 2012 The Chromium Authors
// 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_NACL_UI_H_
#define CHROME_BROWSER_UI_WEBUI_NACL_UI_H_
#include "chrome/common/webui_url_constants.h"
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/webui_config.h"
#include "content/public/common/url_constants.h"
class NaClUI;
class NaClUIConfig : public content::DefaultWebUIConfig<NaClUI> {
public:
NaClUIConfig()
: DefaultWebUIConfig(content::kChromeUIScheme,
chrome::kChromeUINaClHost) {}
};
// The Web UI handler for about:nacl.
class NaClUI : public content::WebUIController {
public:
explicit NaClUI(content::WebUI* web_ui);
NaClUI(const NaClUI&) = delete;
NaClUI& operator=(const NaClUI&) = delete;
};
#endif // CHROME_BROWSER_UI_WEBUI_NACL_UI_H_