Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3330)

Unified Diff: chrome/browser/ui/webui/domain_reliability_internals_ui.h

Issue 357103002: Domain Reliability: Add rudimentary WebUI page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/domain_reliability_internals_ui.h
diff --git a/chrome/browser/ui/webui/domain_reliability_internals_ui.h b/chrome/browser/ui/webui/domain_reliability_internals_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..6740502afcdf34b769248666cac02acc08f39f1f
--- /dev/null
+++ b/chrome/browser/ui/webui/domain_reliability_internals_ui.h
@@ -0,0 +1,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);
+ virtual ~DomainReliabilityInternalsUI();
+
+ private:
+ void UpdateData(const base::ListValue* args) const;
+ void OnDataUpdated(scoped_ptr<const base::Value> data) const;
+
+ DISALLOW_COPY_AND_ASSIGN(DomainReliabilityInternalsUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_DOMAIN_RELIABILITY_INTERNALS_UI_H_

Powered by Google App Engine
This is Rietveld 408576698