Index: components/rappor/rappor_messages.h |
diff --git a/components/rappor/rappor_messages.h b/components/rappor/rappor_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a9b8cd15cf4f4b8573109fea3179c18cb91fc96a |
--- /dev/null |
+++ b/components/rappor/rappor_messages.h |
@@ -0,0 +1,17 @@ |
+// 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 "ipc/ipc_message_macros.h" |
+ |
+#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 */) |