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