1 // Copyright 2014 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_UI_WEBUI_DOMAIN_RELIABILITY_INTERNALS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_DOMAIN_RELIABILITY_INTERNALS_UI_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "content/public/browser/web_ui_controller.h"
16 // The WebUI for chrome://domain-reliability-internals
17 class DomainReliabilityInternalsUI
: public content::WebUIController
{
19 explicit DomainReliabilityInternalsUI(content::WebUI
* web_ui
);
20 ~DomainReliabilityInternalsUI() override
;
23 void UpdateData(const base::ListValue
* args
) const;
24 void OnDataUpdated(scoped_ptr
<base::Value
> data
) const;
26 DISALLOW_COPY_AND_ASSIGN(DomainReliabilityInternalsUI
);
29 #endif // CHROME_BROWSER_UI_WEBUI_DOMAIN_RELIABILITY_INTERNALS_UI_H_