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

Side by Side Diff: chrome/common/render_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: Use SampleString in rappor_utils Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 672
673 // Tells the browser process whether the web page wants the banner to be shown. 673 // Tells the browser process whether the web page wants the banner to be shown.
674 // This is a reply from ChromeViewMsg_AppBannerPromptRequest. 674 // This is a reply from ChromeViewMsg_AppBannerPromptRequest.
675 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_AppBannerPromptReply, 675 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_AppBannerPromptReply,
676 int /* request_id */, 676 int /* request_id */,
677 blink::WebAppBannerPromptReply /* reply */) 677 blink::WebAppBannerPromptReply /* reply */)
678 678
679 // Sent by the renderer to indicate that a fields trial has been activated. 679 // Sent by the renderer to indicate that a fields trial has been activated.
680 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, 680 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated,
681 std::string /* name */) 681 std::string /* name */)
682
683 // Record a sample string to a Rappor metric.
684 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor,
685 std::string /* metric */,
686 std::string /* sample */)
687
688 // Record a domain and registry of a url to a Rappor metric.
689 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL,
690 std::string /* metric */,
691 GURL /* sample url */)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698