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

Unified Diff: components/rappor/content/common/rappor_messages.h

Issue 1014543003: Add an IPC method for Blink to call RapporService::RecordSample() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/rappor/content/common/DEPS ('k') | components/rappor/content/common/rappor_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/content/common/rappor_messages.h
diff --git a/components/rappor/content/common/rappor_messages.h b/components/rappor/content/common/rappor_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..79b5e03938ae7422ddc58a6738bb3c090643c1db
--- /dev/null
+++ b/components/rappor/content/common/rappor_messages.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2015 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.
+
+// IPC messages for RAPPOR.
+// Multiply-included message file, hence no include guard.
+
+#include "content/common/content_export.h"
+#include "ipc/ipc_message_macros.h"
+
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
+#define IPC_MESSAGE_START RapporMsgStart
+
+// Messages sent from the renderer to the browser.
+
+// Record a sample string to RAPPOR.
+IPC_MESSAGE_CONTROL2(RapporHostMsg_RecordSample,
+ std::string /* metric */,
+ std::string /* sample */)
« no previous file with comments | « components/rappor/content/common/DEPS ('k') | components/rappor/content/common/rappor_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698