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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 141523010: Pepper: Log in UMA when an interface is used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/interface_list_unittest.cc ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 // Passes the WebKit preferences to the plugin. 415 // Passes the WebKit preferences to the plugin.
416 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences, 416 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences,
417 ppapi::Preferences) 417 ppapi::Preferences)
418 418
419 // Sent in both directions to see if the other side supports the given 419 // Sent in both directions to see if the other side supports the given
420 // interface. 420 // interface.
421 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, 421 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface,
422 std::string /* interface_name */, 422 std::string /* interface_name */,
423 bool /* result */) 423 bool /* result */)
424 424
425 IPC_MESSAGE_CONTROL1(PpapiHostMsg_LogInterfaceUsage,
426 int /* interface_hash */)
427
425 #if !defined(OS_NACL) && !defined(NACL_WIN64) 428 #if !defined(OS_NACL) && !defined(NACL_WIN64)
426 // Network state notification from the browser for implementing 429 // Network state notification from the browser for implementing
427 // PPP_NetworkState_Dev. 430 // PPP_NetworkState_Dev.
428 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, 431 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState,
429 bool /* online */) 432 bool /* online */)
430 433
431 // Requests a list of sites that have data stored from the plugin. The plugin 434 // Requests a list of sites that have data stored from the plugin. The plugin
432 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used 435 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used
433 // for Flash. 436 // for Flash.
434 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, 437 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData,
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2061 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2059 PP_TalkPermission /* permission */) 2062 PP_TalkPermission /* permission */)
2060 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2063 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2061 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2064 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2062 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2065 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2063 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2066 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2064 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2067 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2065 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2068 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2066 2069
2067 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2070 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list_unittest.cc ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698