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

Unified Diff: components/domain_reliability/service.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/scheduler.cc ('k') | components/domain_reliability/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/service.h
diff --git a/components/domain_reliability/service.h b/components/domain_reliability/service.h
index a1712c5744373f5a9779f1c3f8fd8dd6c08f02e1..9e87ce1e3ff1e1b2358ded784c1ac40b1582b4ba 100644
--- a/components/domain_reliability/service.h
+++ b/components/domain_reliability/service.h
@@ -16,9 +16,13 @@
#include "components/domain_reliability/domain_reliability_export.h"
#include "components/keyed_service/core/keyed_service.h"
+namespace base {
+class Value;
+} // namespace base
+
namespace net {
class URLRequestContextGetter;
-};
+} // namespace net
namespace domain_reliability {
@@ -51,6 +55,10 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityService
virtual void ClearBrowsingData(DomainReliabilityClearMode clear_mode,
const base::Closure& callback) = 0;
+ virtual void GetWebUIData(
+ const base::Callback<void(scoped_ptr<base::Value>)>& callback)
+ const = 0;
+
protected:
DomainReliabilityService();
« no previous file with comments | « components/domain_reliability/scheduler.cc ('k') | components/domain_reliability/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698