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

Unified Diff: components/domain_reliability/monitor.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/domain_reliability/context.cc ('k') | components/domain_reliability/monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/monitor.h
diff --git a/components/domain_reliability/monitor.h b/components/domain_reliability/monitor.h
index f6ede6e395ff9de86dcd077f96a8b970681842ab..1e58694a632a6038236940ad98285e4b7f632396 100644
--- a/components/domain_reliability/monitor.h
+++ b/components/domain_reliability/monitor.h
@@ -8,6 +8,7 @@
#include <map>
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "components/domain_reliability/beacon.h"
@@ -26,6 +27,7 @@
namespace base {
class SingleThreadTaskRunner;
class ThreadChecker;
+class Value;
} // namespace base
namespace net {
@@ -71,6 +73,10 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityMonitor {
// CLEAR_CONTEXTS, removes all contexts (which can behave as cookies).
void ClearBrowsingData(DomainReliabilityClearMode mode);
+ // Gets a Value containing data that can be formatted into a web page for
+ // debugging purposes.
+ scoped_ptr<base::Value> GetWebUIData() const;
+
DomainReliabilityContext* AddContextForTesting(
scoped_ptr<const DomainReliabilityConfig> config);
« no previous file with comments | « components/domain_reliability/context.cc ('k') | components/domain_reliability/monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698