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

Unified Diff: content/browser/net/reporting_service_proxy.h

Issue 2881593002: Reporting: Plumb into RenderFrame via Mojo (Closed)
Patch Set: rebase Created 3 years, 7 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
Index: content/browser/net/reporting_service_proxy.h
diff --git a/content/browser/net/reporting_service_proxy.h b/content/browser/net/reporting_service_proxy.h
new file mode 100644
index 0000000000000000000000000000000000000000..f18eccc87cb5a17f0dfd8907931860b023eb48ae
--- /dev/null
+++ b/content/browser/net/reporting_service_proxy.h
@@ -0,0 +1,26 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_NET_REPORTING_SERVICE_PROXY_H_
+#define CONTENT_BROWSER_NET_REPORTING_SERVICE_PROXY_H_
+
+#include "base/memory/ref_counted.h"
+#include "content/common/net/reporting.mojom.h"
+
+namespace service_manager {
+struct BindSourceInfo;
+} // namespace service_manager
+
+namespace content {
+
+class SiteInstance;
+
+void CreateReportingServiceProxy(
+ scoped_refptr<SiteInstance> site_instance,
+ const service_manager::BindSourceInfo& source_info,
+ mojom::ReportingServiceProxyRequest request);
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_NET_REPORTING_SERVICE_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698