summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-19 21:53:39 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-19 21:53:39 +0000
commit0b4fc6a04202520560b91598f50fbd86469f8a2d (patch)
treea219ce9ab4989944a6fb7a1aadb0ad65ca19d60d
parent033cbf6e38e61b9728c7cf6f9cf35d7c452f5a1d (diff)
downloadchromium_src-0b4fc6a04202520560b91598f50fbd86469f8a2d.zip
chromium_src-0b4fc6a04202520560b91598f50fbd86469f8a2d.tar.gz
chromium_src-0b4fc6a04202520560b91598f50fbd86469f8a2d.tar.bz2
PPAPI: Move PPB_TraceEvent to have dev-channel permissions
PPB_TraceEvent should be available to developers who want to profile their application on Dev channel or Canary. BUG=386636 Review URL: https://codereview.chromium.org/349443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278499 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/thunk/interfaces_ppb_public_dev.h2
-rw-r--r--ppapi/thunk/interfaces_ppb_public_dev_channel.h8
2 files changed, 8 insertions, 2 deletions
diff --git a/ppapi/thunk/interfaces_ppb_public_dev.h b/ppapi/thunk/interfaces_ppb_public_dev.h
index 2a1612c..9597843 100644
--- a/ppapi/thunk/interfaces_ppb_public_dev.h
+++ b/ppapi/thunk/interfaces_ppb_public_dev.h
@@ -17,8 +17,6 @@ PROXIED_IFACE(PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, PPB_IMEInputEvent_Dev_0_2)
PROXIED_IFACE(PPB_MEMORY_DEV_INTERFACE_0_1, PPB_Memory_Dev_0_1)
PROXIED_IFACE(PPB_PRINTING_DEV_INTERFACE_0_7, PPB_Printing_Dev_0_7)
PROXIED_IFACE(PPB_TEXTINPUT_DEV_INTERFACE_0_2, PPB_TextInput_Dev_0_2)
-PROXIED_IFACE(PPB_TRACE_EVENT_DEV_INTERFACE_0_1, PPB_Trace_Event_Dev_0_1)
-PROXIED_IFACE(PPB_TRACE_EVENT_DEV_INTERFACE_0_2, PPB_Trace_Event_Dev_0_2)
PROXIED_IFACE(PPB_TRUETYPEFONT_DEV_INTERFACE_0_1, PPB_TrueTypeFont_Dev_0_1)
PROXIED_IFACE(PPB_VIEW_DEV_INTERFACE_0_1, PPB_View_Dev_0_1)
PROXIED_IFACE(PPB_ZOOM_DEV_INTERFACE_0_2, PPB_Zoom_Dev_0_2)
diff --git a/ppapi/thunk/interfaces_ppb_public_dev_channel.h b/ppapi/thunk/interfaces_ppb_public_dev_channel.h
index f08470e..a4f0e59 100644
--- a/ppapi/thunk/interfaces_ppb_public_dev_channel.h
+++ b/ppapi/thunk/interfaces_ppb_public_dev_channel.h
@@ -14,4 +14,12 @@ PROXIED_IFACE(PPB_FILEMAPPING_INTERFACE_0_1, PPB_FileMapping_0_1)
PROXIED_IFACE(PPB_MESSAGING_INTERFACE_1_1, PPB_Messaging_1_1)
PROXIED_IFACE(PPB_VIDEODECODER_INTERFACE_0_1, PPB_VideoDecoder_0_1)
+// Note, PPB_TraceEvent is special. We don't want to actually make it stable,
+// but we want developers to be able to leverage it when running Chrome Dev or
+// Chrome Canary.
+PROXIED_IFACE(PPB_TRACE_EVENT_DEV_INTERFACE_0_1,
+ PPB_Trace_Event_Dev_0_1)
+PROXIED_IFACE(PPB_TRACE_EVENT_DEV_INTERFACE_0_2,
+ PPB_Trace_Event_Dev_0_2)
+
#include "ppapi/thunk/interfaces_postamble.h"