blob: 401f01b6b8c3ad5649aed8ae6b874cad8e40192f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2014 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_DOMAIN_RELIABILITY_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_DOMAIN_RELIABILITY_INTERNALS_UI_H_
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_ui_controller.h"
namespace base {
class ListValue;
class Value;
} // namespace base
// The WebUI for chrome://domain-reliability-internals
class DomainReliabilityInternalsUI : public content::WebUIController {
public:
explicit DomainReliabilityInternalsUI(content::WebUI* web_ui);
~DomainReliabilityInternalsUI() override;
private:
void UpdateData(const base::ListValue* args) const;
void OnDataUpdated(scoped_ptr<base::Value> data) const;
DISALLOW_COPY_AND_ASSIGN(DomainReliabilityInternalsUI);
};
#endif // CHROME_BROWSER_UI_WEBUI_DOMAIN_RELIABILITY_INTERNALS_UI_H_
|