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

Unified Diff: components/rappor/rappor_utils.h

Issue 2526643002: Re-enable rappor for vrshell (Closed)
Patch Set: CR feedback Created 4 years, 1 month 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/browser/browser_process_impl.cc ('k') | components/rappor/rappor_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/rappor_utils.h
diff --git a/components/rappor/rappor_utils.h b/components/rappor/rappor_utils.h
index 8e425665d8eb7109aa74cdf97c990115705e0152..f8600d6bcf5b46d7e54f572dff6790631d673a11 100644
--- a/components/rappor/rappor_utils.h
+++ b/components/rappor/rappor_utils.h
@@ -33,6 +33,11 @@ void SampleDomainAndRegistryFromGURL(RapporService* rappor_service,
const std::string& metric,
const GURL& gurl);
+// Returns NULL if there is no default service.
+RapporService* GetDefaultService();
+
+void SetDefaultServiceAccessor(RapporService* (*getDefaultService)());
+
} // namespace rappor
#endif // COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | components/rappor/rappor_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698