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

Unified Diff: components/domain_reliability/context.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 | « chrome/common/url_constants.cc ('k') | components/domain_reliability/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/context.h
diff --git a/components/domain_reliability/context.h b/components/domain_reliability/context.h
index 098e4fc2802659c076f4cbcd331d90e9252d672e..e1fe71f4ae8320a7b23fca8a8e9ea5a3a58da2db 100644
--- a/components/domain_reliability/context.h
+++ b/components/domain_reliability/context.h
@@ -17,6 +17,10 @@
class GURL;
+namespace base {
+class Value;
+}
+
namespace domain_reliability {
struct DomainReliabilityBeacon;
@@ -45,6 +49,10 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityContext {
// Called to clear browsing data, since beacons are like browsing history.
void ClearBeacons();
+ // Gets a Value containing data that can be formatted into a web page for
+ // debugging purposes.
+ scoped_ptr<base::Value> GetWebUIData() const;
+
void GetQueuedDataForTesting(
size_t resource_index,
std::vector<DomainReliabilityBeacon>* beacons_out,
« no previous file with comments | « chrome/common/url_constants.cc ('k') | components/domain_reliability/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698