Make sure webrtc::VideoSource is released when WebRtcVideoTrackAdapter is destroyed.
[chromium-blink-merge.git] / components / dom_distiller / webui / dom_distiller_ui.h
blobc0a5cc8d6333e05941041c517793a39cb92cc63f
1 // Copyright 2013 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 COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
6 #define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
8 #include <string>
10 #include "content/public/browser/web_ui_controller.h"
12 namespace dom_distiller {
14 class DomDistillerService;
16 // The WebUI controller for chrome://dom-distiller.
17 class DomDistillerUi : public content::WebUIController {
18 public:
19 DomDistillerUi(content::WebUI* web_ui,
20 DomDistillerService* service,
21 const std::string& scheme);
22 virtual ~DomDistillerUi();
24 private:
25 DISALLOW_COPY_AND_ASSIGN(DomDistillerUi);
28 } // namespace dom_distiller
30 #endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_