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

Side by Side 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: Fix compiler errors (cast size_t to int in WebUI code) Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698