summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi')
-rwxr-xr-xppapi/generators/idl_thunk.py9
-rw-r--r--ppapi/thunk/ppb_audio_input_dev_thunk.cc12
-rw-r--r--ppapi/thunk/ppb_audio_thunk.cc5
-rw-r--r--ppapi/thunk/ppb_buffer_trusted_thunk.cc3
-rw-r--r--ppapi/thunk/ppb_console_thunk.cc2
-rw-r--r--ppapi/thunk/ppb_content_decryptor_private_thunk.cc12
-rw-r--r--ppapi/thunk/ppb_device_ref_dev_thunk.cc5
-rw-r--r--ppapi/thunk/ppb_file_chooser_dev_thunk.cc7
-rw-r--r--ppapi/thunk/ppb_file_chooser_trusted_thunk.cc4
-rw-r--r--ppapi/thunk/ppb_file_io_thunk.cc13
-rw-r--r--ppapi/thunk/ppb_file_system_thunk.cc4
-rw-r--r--ppapi/thunk/ppb_find_dev_thunk.cc4
-rw-r--r--ppapi/thunk/ppb_flash_device_id_thunk.cc2
-rw-r--r--ppapi/thunk/ppb_gamepad_thunk.cc3
-rw-r--r--ppapi/thunk/ppb_graphics_3d_thunk.cc10
-rw-r--r--ppapi/thunk/ppb_instance_private_thunk.cc5
-rw-r--r--ppapi/thunk/ppb_instance_thunk.cc4
-rw-r--r--ppapi/thunk/ppb_messaging_thunk.cc3
-rw-r--r--ppapi/thunk/ppb_mouse_cursor_thunk.cc3
-rw-r--r--ppapi/thunk/ppb_resource_array_dev_thunk.cc6
-rw-r--r--ppapi/thunk/ppb_url_request_info_thunk.cc7
-rw-r--r--ppapi/thunk/ppb_view_dev_thunk.cc4
-rw-r--r--ppapi/thunk/ppb_view_thunk.cc8
-rw-r--r--ppapi/thunk/ppb_websocket_thunk.cc16
-rw-r--r--ppapi/thunk/ppb_widget_dev_thunk.cc8
25 files changed, 135 insertions, 24 deletions
diff --git a/ppapi/generators/idl_thunk.py b/ppapi/generators/idl_thunk.py
index 72b7eb1..ad770fe 100755
--- a/ppapi/generators/idl_thunk.py
+++ b/ppapi/generators/idl_thunk.py
@@ -311,15 +311,16 @@ def DefineMember(filenode, node, member, release, include_version, meta):
"""
cgen = CGen()
rtype, name, arrays, args = cgen.GetComponents(member, release, 'return')
+ body = 'VLOG(4) << \"%s::%s()\";\n' % (node.GetName(), member.GetName())
if _IsTypeCheck(node, member):
- body = '%s\n' % _MakeEnterLine(filenode, node, args[0], False, None, meta)
+ body += '%s\n' % _MakeEnterLine(filenode, node, args[0], False, None, meta)
body += 'return PP_FromBool(enter.succeeded());'
elif member.GetName() == 'Create':
- body = _MakeCreateMemberBody(node, member, args)
+ body += _MakeCreateMemberBody(node, member, args)
else:
- body = _MakeNormalMemberBody(filenode, release, node, member, rtype, args,
- include_version, meta)
+ body += _MakeNormalMemberBody(filenode, release, node, member, rtype, args,
+ include_version, meta)
signature = cgen.GetSignature(member, release, 'return', func_as_ptr=False,
include_version=include_version)
diff --git a/ppapi/thunk/ppb_audio_input_dev_thunk.cc b/ppapi/thunk/ppb_audio_input_dev_thunk.cc
index 7a23c63..9eb2e3c 100644
--- a/ppapi/thunk/ppb_audio_input_dev_thunk.cc
+++ b/ppapi/thunk/ppb_audio_input_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_audio_input_dev.idl modified Fri Feb 22 11:43:43 2013.
+// From dev/ppb_audio_input_dev.idl modified Thu Mar 28 11:12:59 2013.
#include "ppapi/c/dev/ppb_audio_input_dev.h"
#include "ppapi/c/pp_completion_callback.h"
@@ -20,6 +20,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance) {
+ VLOG(4) << "PPB_AudioInput_Dev::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -27,6 +28,7 @@ PP_Resource Create(PP_Instance instance) {
}
PP_Bool IsAudioInput(PP_Resource resource) {
+ VLOG(4) << "PPB_AudioInput_Dev::IsAudioInput()";
EnterResource<PPB_AudioInput_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
@@ -34,6 +36,7 @@ PP_Bool IsAudioInput(PP_Resource resource) {
int32_t EnumerateDevices_0_2(PP_Resource audio_input,
PP_Resource* devices,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_AudioInput_Dev::EnumerateDevices()";
EnterResource<PPB_AudioInput_API> enter(audio_input, callback, true);
if (enter.failed())
return enter.retval();
@@ -45,6 +48,7 @@ int32_t EnumerateDevices_0_2(PP_Resource audio_input,
int32_t EnumerateDevices(PP_Resource audio_input,
struct PP_ArrayOutput output,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_AudioInput_Dev::EnumerateDevices()";
EnterResource<PPB_AudioInput_API> enter(audio_input, callback, true);
if (enter.failed())
return enter.retval();
@@ -55,6 +59,7 @@ int32_t EnumerateDevices(PP_Resource audio_input,
int32_t MonitorDeviceChange(PP_Resource audio_input,
PP_MonitorDeviceChangeCallback callback,
void* user_data) {
+ VLOG(4) << "PPB_AudioInput_Dev::MonitorDeviceChange()";
EnterResource<PPB_AudioInput_API> enter(audio_input, true);
if (enter.failed())
return enter.retval();
@@ -67,6 +72,7 @@ int32_t Open(PP_Resource audio_input,
PPB_AudioInput_Callback audio_input_callback,
void* user_data,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_AudioInput_Dev::Open()";
EnterResource<PPB_AudioInput_API> enter(audio_input, callback, true);
if (enter.failed())
return enter.retval();
@@ -78,6 +84,7 @@ int32_t Open(PP_Resource audio_input,
}
PP_Resource GetCurrentConfig(PP_Resource audio_input) {
+ VLOG(4) << "PPB_AudioInput_Dev::GetCurrentConfig()";
EnterResource<PPB_AudioInput_API> enter(audio_input, true);
if (enter.failed())
return 0;
@@ -85,6 +92,7 @@ PP_Resource GetCurrentConfig(PP_Resource audio_input) {
}
PP_Bool StartCapture(PP_Resource audio_input) {
+ VLOG(4) << "PPB_AudioInput_Dev::StartCapture()";
EnterResource<PPB_AudioInput_API> enter(audio_input, true);
if (enter.failed())
return PP_FALSE;
@@ -92,6 +100,7 @@ PP_Bool StartCapture(PP_Resource audio_input) {
}
PP_Bool StopCapture(PP_Resource audio_input) {
+ VLOG(4) << "PPB_AudioInput_Dev::StopCapture()";
EnterResource<PPB_AudioInput_API> enter(audio_input, true);
if (enter.failed())
return PP_FALSE;
@@ -99,6 +108,7 @@ PP_Bool StopCapture(PP_Resource audio_input) {
}
void Close(PP_Resource audio_input) {
+ VLOG(4) << "PPB_AudioInput_Dev::Close()";
EnterResource<PPB_AudioInput_API> enter(audio_input, true);
if (enter.succeeded())
enter.object()->Close();
diff --git a/ppapi/thunk/ppb_audio_thunk.cc b/ppapi/thunk/ppb_audio_thunk.cc
index 1bd1692..5dddb89 100644
--- a/ppapi/thunk/ppb_audio_thunk.cc
+++ b/ppapi/thunk/ppb_audio_thunk.cc
@@ -22,6 +22,7 @@ PP_Resource Create(PP_Instance instance,
PP_Resource config,
PPB_Audio_Callback audio_callback,
void* user_data) {
+ VLOG(4) << "PPB_Audio::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -32,11 +33,13 @@ PP_Resource Create(PP_Instance instance,
}
PP_Bool IsAudio(PP_Resource resource) {
+ VLOG(4) << "PPB_Audio::IsAudio()";
EnterResource<PPB_Audio_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
PP_Resource GetCurrentConfig(PP_Resource audio) {
+ VLOG(4) << "PPB_Audio::GetCurrentConfig()";
EnterResource<PPB_Audio_API> enter(audio, true);
if (enter.failed())
return 0;
@@ -44,6 +47,7 @@ PP_Resource GetCurrentConfig(PP_Resource audio) {
}
PP_Bool StartPlayback(PP_Resource audio) {
+ VLOG(4) << "PPB_Audio::StartPlayback()";
EnterResource<PPB_Audio_API> enter(audio, true);
if (enter.failed())
return PP_FALSE;
@@ -51,6 +55,7 @@ PP_Bool StartPlayback(PP_Resource audio) {
}
PP_Bool StopPlayback(PP_Resource audio) {
+ VLOG(4) << "PPB_Audio::StopPlayback()";
EnterResource<PPB_Audio_API> enter(audio, true);
if (enter.failed())
return PP_FALSE;
diff --git a/ppapi/thunk/ppb_buffer_trusted_thunk.cc b/ppapi/thunk/ppb_buffer_trusted_thunk.cc
index 7aa2750..86505e08 100644
--- a/ppapi/thunk/ppb_buffer_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_buffer_trusted_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From trusted/ppb_buffer_trusted.idl modified Wed Feb 6 15:21:31 2013.
+// From trusted/ppb_buffer_trusted.idl modified Thu Feb 28 11:58:17 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/trusted/ppb_buffer_trusted.h"
@@ -19,6 +19,7 @@ namespace thunk {
namespace {
int32_t GetSharedMemory(PP_Resource buffer, int* handle) {
+ VLOG(4) << "PPB_BufferTrusted::GetSharedMemory()";
EnterResource<PPB_Buffer_API> enter(buffer, true);
if (enter.failed())
return enter.retval();
diff --git a/ppapi/thunk/ppb_console_thunk.cc b/ppapi/thunk/ppb_console_thunk.cc
index 2dd5481..9af6b20 100644
--- a/ppapi/thunk/ppb_console_thunk.cc
+++ b/ppapi/thunk/ppb_console_thunk.cc
@@ -18,6 +18,7 @@ namespace thunk {
namespace {
void Log(PP_Instance instance, PP_LogLevel level, struct PP_Var value) {
+ VLOG(4) << "PPB_Console::Log()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->Log(instance, level, value);
@@ -27,6 +28,7 @@ void LogWithSource(PP_Instance instance,
PP_LogLevel level,
struct PP_Var source,
struct PP_Var value) {
+ VLOG(4) << "PPB_Console::LogWithSource()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->LogWithSource(instance, level, source, value);
diff --git a/ppapi/thunk/ppb_content_decryptor_private_thunk.cc b/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
index c6417b4..03cd778 100644
--- a/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
+++ b/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// From private/ppb_content_decryptor_private.idl,
-// modified Mon Feb 25 14:49:36 2013.
+// modified Thu Mar 28 11:12:59 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_content_decryptor_private.h"
@@ -22,6 +22,7 @@ void NeedKey(PP_Instance instance,
struct PP_Var key_system,
struct PP_Var session_id,
struct PP_Var init_data) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::NeedKey()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->NeedKey(instance, key_system, session_id, init_data);
@@ -30,6 +31,7 @@ void NeedKey(PP_Instance instance,
void KeyAdded(PP_Instance instance,
struct PP_Var key_system,
struct PP_Var session_id) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::KeyAdded()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->KeyAdded(instance, key_system, session_id);
@@ -40,6 +42,7 @@ void KeyMessage(PP_Instance instance,
struct PP_Var session_id,
struct PP_Var message,
struct PP_Var default_url) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::KeyMessage()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->KeyMessage(instance,
@@ -54,6 +57,7 @@ void KeyError(PP_Instance instance,
struct PP_Var session_id,
int32_t media_error,
int32_t system_code) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::KeyError()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->KeyError(instance,
@@ -66,6 +70,7 @@ void KeyError(PP_Instance instance,
void DeliverBlock(PP_Instance instance,
PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::DeliverBlock()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->DeliverBlock(instance,
@@ -77,6 +82,7 @@ void DecoderInitializeDone(PP_Instance instance,
PP_DecryptorStreamType decoder_type,
uint32_t request_id,
PP_Bool success) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::DecoderInitializeDone()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->DecoderInitializeDone(instance,
@@ -88,6 +94,7 @@ void DecoderInitializeDone(PP_Instance instance,
void DecoderDeinitializeDone(PP_Instance instance,
PP_DecryptorStreamType decoder_type,
uint32_t request_id) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::DecoderDeinitializeDone()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->DecoderDeinitializeDone(instance,
@@ -98,6 +105,7 @@ void DecoderDeinitializeDone(PP_Instance instance,
void DecoderResetDone(PP_Instance instance,
PP_DecryptorStreamType decoder_type,
uint32_t request_id) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::DecoderResetDone()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->DecoderResetDone(instance, decoder_type, request_id);
@@ -106,6 +114,7 @@ void DecoderResetDone(PP_Instance instance,
void DeliverFrame(PP_Instance instance,
PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::DeliverFrame()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->DeliverFrame(instance,
@@ -117,6 +126,7 @@ void DeliverSamples(
PP_Instance instance,
PP_Resource audio_frames,
const struct PP_DecryptedBlockInfo* decrypted_block_info) {
+ VLOG(4) << "PPB_ContentDecryptor_Private::DeliverSamples()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->DeliverSamples(instance,
diff --git a/ppapi/thunk/ppb_device_ref_dev_thunk.cc b/ppapi/thunk/ppb_device_ref_dev_thunk.cc
index 6e16288..9045cd8 100644
--- a/ppapi/thunk/ppb_device_ref_dev_thunk.cc
+++ b/ppapi/thunk/ppb_device_ref_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_device_ref_dev.idl modified Tue Jan 22 12:22:52 2013.
+// From dev/ppb_device_ref_dev.idl modified Thu Dec 20 13:10:26 2012.
#include "ppapi/c/dev/ppb_device_ref_dev.h"
#include "ppapi/c/pp_errors.h"
@@ -19,11 +19,13 @@ namespace thunk {
namespace {
PP_Bool IsDeviceRef(PP_Resource resource) {
+ VLOG(4) << "PPB_DeviceRef_Dev::IsDeviceRef()";
EnterResource<PPB_DeviceRef_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
PP_DeviceType_Dev GetType(PP_Resource device_ref) {
+ VLOG(4) << "PPB_DeviceRef_Dev::GetType()";
EnterResource<PPB_DeviceRef_API> enter(device_ref, true);
if (enter.failed())
return PP_DEVICETYPE_DEV_INVALID;
@@ -31,6 +33,7 @@ PP_DeviceType_Dev GetType(PP_Resource device_ref) {
}
struct PP_Var GetName(PP_Resource device_ref) {
+ VLOG(4) << "PPB_DeviceRef_Dev::GetName()";
EnterResource<PPB_DeviceRef_API> enter(device_ref, true);
if (enter.failed())
return PP_MakeUndefined();
diff --git a/ppapi/thunk/ppb_file_chooser_dev_thunk.cc b/ppapi/thunk/ppb_file_chooser_dev_thunk.cc
index 5eb1586..fe1aa0d 100644
--- a/ppapi/thunk/ppb_file_chooser_dev_thunk.cc
+++ b/ppapi/thunk/ppb_file_chooser_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_file_chooser_dev.idl modified Fri Mar 29 09:14:13 2013.
+// From dev/ppb_file_chooser_dev.idl modified Mon Apr 1 08:24:03 2013.
#include "ppapi/c/dev/ppb_file_chooser_dev.h"
#include "ppapi/c/pp_completion_callback.h"
@@ -22,6 +22,7 @@ namespace {
PP_Resource Create(PP_Instance instance,
PP_FileChooserMode_Dev mode,
struct PP_Var accept_types) {
+ VLOG(4) << "PPB_FileChooser_Dev::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -29,11 +30,13 @@ PP_Resource Create(PP_Instance instance,
}
PP_Bool IsFileChooser(PP_Resource resource) {
+ VLOG(4) << "PPB_FileChooser_Dev::IsFileChooser()";
EnterResource<PPB_FileChooser_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
int32_t Show_0_5(PP_Resource chooser, struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileChooser_Dev::Show()";
EnterResource<PPB_FileChooser_API> enter(chooser, callback, true);
if (enter.failed())
return enter.retval();
@@ -41,6 +44,7 @@ int32_t Show_0_5(PP_Resource chooser, struct PP_CompletionCallback callback) {
}
PP_Resource GetNextChosenFile(PP_Resource chooser) {
+ VLOG(4) << "PPB_FileChooser_Dev::GetNextChosenFile()";
EnterResource<PPB_FileChooser_API> enter(chooser, true);
if (enter.failed())
return 0;
@@ -50,6 +54,7 @@ PP_Resource GetNextChosenFile(PP_Resource chooser) {
int32_t Show(PP_Resource chooser,
struct PP_ArrayOutput output,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileChooser_Dev::Show()";
EnterResource<PPB_FileChooser_API> enter(chooser, callback, true);
if (enter.failed())
return enter.retval();
diff --git a/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc b/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
index 211eba0..552bee0 100644
--- a/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// From trusted/ppb_file_chooser_trusted.idl,
-// modified Fri Mar 29 09:14:05 2013.
+// modified Mon Apr 1 08:24:03 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -24,6 +24,7 @@ int32_t ShowWithoutUserGesture_0_5(PP_Resource chooser,
PP_Bool save_as,
struct PP_Var suggested_file_name,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileChooserTrusted::ShowWithoutUserGesture()";
EnterResource<PPB_FileChooser_API> enter(chooser, callback, true);
if (enter.failed())
return enter.retval();
@@ -38,6 +39,7 @@ int32_t ShowWithoutUserGesture(PP_Resource chooser,
struct PP_Var suggested_file_name,
struct PP_ArrayOutput output,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileChooserTrusted::ShowWithoutUserGesture()";
EnterResource<PPB_FileChooser_API> enter(chooser, callback, true);
if (enter.failed())
return enter.retval();
diff --git a/ppapi/thunk/ppb_file_io_thunk.cc b/ppapi/thunk/ppb_file_io_thunk.cc
index 52bc524..2f7d149 100644
--- a/ppapi/thunk/ppb_file_io_thunk.cc
+++ b/ppapi/thunk/ppb_file_io_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_file_io.idl modified Thu Dec 20 13:10:26 2012.
+// From ppb_file_io.idl modified Mon Mar 18 13:58:22 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -20,6 +20,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance) {
+ VLOG(4) << "PPB_FileIO::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -27,6 +28,7 @@ PP_Resource Create(PP_Instance instance) {
}
PP_Bool IsFileIO(PP_Resource resource) {
+ VLOG(4) << "PPB_FileIO::IsFileIO()";
EnterResource<PPB_FileIO_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
@@ -35,6 +37,7 @@ int32_t Open(PP_Resource file_io,
PP_Resource file_ref,
int32_t open_flags,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::Open()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -46,6 +49,7 @@ int32_t Open(PP_Resource file_io,
int32_t Query(PP_Resource file_io,
struct PP_FileInfo* info,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::Query()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -56,6 +60,7 @@ int32_t Touch(PP_Resource file_io,
PP_Time last_access_time,
PP_Time last_modified_time,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::Touch()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -69,6 +74,7 @@ int32_t Read(PP_Resource file_io,
char* buffer,
int32_t bytes_to_read,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::Read()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -83,6 +89,7 @@ int32_t Write(PP_Resource file_io,
const char* buffer,
int32_t bytes_to_write,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::Write()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -95,6 +102,7 @@ int32_t Write(PP_Resource file_io,
int32_t SetLength(PP_Resource file_io,
int64_t length,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::SetLength()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -102,6 +110,7 @@ int32_t SetLength(PP_Resource file_io,
}
int32_t Flush(PP_Resource file_io, struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::Flush()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
@@ -109,6 +118,7 @@ int32_t Flush(PP_Resource file_io, struct PP_CompletionCallback callback) {
}
void Close(PP_Resource file_io) {
+ VLOG(4) << "PPB_FileIO::Close()";
EnterResource<PPB_FileIO_API> enter(file_io, true);
if (enter.succeeded())
enter.object()->Close();
@@ -119,6 +129,7 @@ int32_t ReadToArray(PP_Resource file_io,
int32_t max_read_length,
struct PP_ArrayOutput* output,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileIO::ReadToArray()";
EnterResource<PPB_FileIO_API> enter(file_io, callback, true);
if (enter.failed())
return enter.retval();
diff --git a/ppapi/thunk/ppb_file_system_thunk.cc b/ppapi/thunk/ppb_file_system_thunk.cc
index df02ec6..8a608ac 100644
--- a/ppapi/thunk/ppb_file_system_thunk.cc
+++ b/ppapi/thunk/ppb_file_system_thunk.cc
@@ -20,6 +20,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance, PP_FileSystemType type) {
+ VLOG(4) << "PPB_FileSystem::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -27,6 +28,7 @@ PP_Resource Create(PP_Instance instance, PP_FileSystemType type) {
}
PP_Bool IsFileSystem(PP_Resource resource) {
+ VLOG(4) << "PPB_FileSystem::IsFileSystem()";
EnterResource<PPB_FileSystem_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
@@ -34,6 +36,7 @@ PP_Bool IsFileSystem(PP_Resource resource) {
int32_t Open(PP_Resource file_system,
int64_t expected_size,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_FileSystem::Open()";
EnterResource<PPB_FileSystem_API> enter(file_system, callback, true);
if (enter.failed())
return enter.retval();
@@ -41,6 +44,7 @@ int32_t Open(PP_Resource file_system,
}
PP_FileSystemType GetType(PP_Resource file_system) {
+ VLOG(4) << "PPB_FileSystem::GetType()";
EnterResource<PPB_FileSystem_API> enter(file_system, true);
if (enter.failed())
return PP_FILESYSTEMTYPE_INVALID;
diff --git a/ppapi/thunk/ppb_find_dev_thunk.cc b/ppapi/thunk/ppb_find_dev_thunk.cc
index 84b94dc..7fe79b4 100644
--- a/ppapi/thunk/ppb_find_dev_thunk.cc
+++ b/ppapi/thunk/ppb_find_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_find_dev.idl modified Tue Dec 4 10:44:11 2012.
+// From dev/ppb_find_dev.idl modified Thu Dec 20 13:10:26 2012.
#include "ppapi/c/dev/ppb_find_dev.h"
#include "ppapi/c/pp_errors.h"
@@ -20,6 +20,7 @@ namespace {
void NumberOfFindResultsChanged(PP_Instance instance,
int32_t total,
PP_Bool final_result) {
+ VLOG(4) << "PPB_Find_Dev::NumberOfFindResultsChanged()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->NumberOfFindResultsChanged(instance,
@@ -28,6 +29,7 @@ void NumberOfFindResultsChanged(PP_Instance instance,
}
void SelectedFindResultChanged(PP_Instance instance, int32_t index) {
+ VLOG(4) << "PPB_Find_Dev::SelectedFindResultChanged()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->SelectedFindResultChanged(instance, index);
diff --git a/ppapi/thunk/ppb_flash_device_id_thunk.cc b/ppapi/thunk/ppb_flash_device_id_thunk.cc
index 09a3749..595fdc7 100644
--- a/ppapi/thunk/ppb_flash_device_id_thunk.cc
+++ b/ppapi/thunk/ppb_flash_device_id_thunk.cc
@@ -20,6 +20,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance) {
+ VLOG(4) << "PPB_Flash_DeviceID::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -29,6 +30,7 @@ PP_Resource Create(PP_Instance instance) {
int32_t GetDeviceID(PP_Resource device_id,
struct PP_Var* id,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_Flash_DeviceID::GetDeviceID()";
EnterResource<PPB_Flash_DeviceID_API> enter(device_id, callback, true);
if (enter.failed())
return enter.retval();
diff --git a/ppapi/thunk/ppb_gamepad_thunk.cc b/ppapi/thunk/ppb_gamepad_thunk.cc
index 252e38e..40ac32f 100644
--- a/ppapi/thunk/ppb_gamepad_thunk.cc
+++ b/ppapi/thunk/ppb_gamepad_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_gamepad.idl modified Thu Mar 28 15:36:32 2013.
+// From ppb_gamepad.idl modified Mon Apr 1 08:24:03 2013.
#include <string.h>
@@ -21,6 +21,7 @@ namespace thunk {
namespace {
void Sample(PP_Instance instance, struct PP_GamepadsSampleData* data) {
+ VLOG(4) << "PPB_Gamepad::Sample()";
EnterInstanceAPI<PPB_Gamepad_API> enter(instance);
if (enter.succeeded()) {
enter.functions()->Sample(instance, data);
diff --git a/ppapi/thunk/ppb_graphics_3d_thunk.cc b/ppapi/thunk/ppb_graphics_3d_thunk.cc
index 28946b9..cc00696 100644
--- a/ppapi/thunk/ppb_graphics_3d_thunk.cc
+++ b/ppapi/thunk/ppb_graphics_3d_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_graphics_3d.idl modified Fri Mar 29 10:54:38 2013.
+// From ppb_graphics_3d.idl modified Mon Apr 1 08:24:03 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -22,6 +22,7 @@ namespace {
int32_t GetAttribMaxValue(PP_Resource instance,
int32_t attribute,
int32_t* value) {
+ VLOG(4) << "PPB_Graphics3D::GetAttribMaxValue()";
EnterResource<PPB_Graphics3D_API> enter(instance, true);
if (enter.failed())
return enter.retval();
@@ -31,6 +32,7 @@ int32_t GetAttribMaxValue(PP_Resource instance,
PP_Resource Create(PP_Instance instance,
PP_Resource share_context,
const int32_t attrib_list[]) {
+ VLOG(4) << "PPB_Graphics3D::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -40,11 +42,13 @@ PP_Resource Create(PP_Instance instance,
}
PP_Bool IsGraphics3D(PP_Resource resource) {
+ VLOG(4) << "PPB_Graphics3D::IsGraphics3D()";
EnterResource<PPB_Graphics3D_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
int32_t GetAttribs(PP_Resource context, int32_t attrib_list[]) {
+ VLOG(4) << "PPB_Graphics3D::GetAttribs()";
EnterResource<PPB_Graphics3D_API> enter(context, true);
if (enter.failed())
return enter.retval();
@@ -52,6 +56,7 @@ int32_t GetAttribs(PP_Resource context, int32_t attrib_list[]) {
}
int32_t SetAttribs(PP_Resource context, const int32_t attrib_list[]) {
+ VLOG(4) << "PPB_Graphics3D::SetAttribs()";
EnterResource<PPB_Graphics3D_API> enter(context, true);
if (enter.failed())
return enter.retval();
@@ -59,6 +64,7 @@ int32_t SetAttribs(PP_Resource context, const int32_t attrib_list[]) {
}
int32_t GetError(PP_Resource context) {
+ VLOG(4) << "PPB_Graphics3D::GetError()";
EnterResource<PPB_Graphics3D_API> enter(context, true);
if (enter.failed())
return enter.retval();
@@ -66,6 +72,7 @@ int32_t GetError(PP_Resource context) {
}
int32_t ResizeBuffers(PP_Resource context, int32_t width, int32_t height) {
+ VLOG(4) << "PPB_Graphics3D::ResizeBuffers()";
EnterResource<PPB_Graphics3D_API> enter(context, true);
if (enter.failed())
return enter.retval();
@@ -74,6 +81,7 @@ int32_t ResizeBuffers(PP_Resource context, int32_t width, int32_t height) {
int32_t SwapBuffers(PP_Resource context,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_Graphics3D::SwapBuffers()";
EnterResource<PPB_Graphics3D_API> enter(context, callback, true);
if (enter.failed())
return enter.retval();
diff --git a/ppapi/thunk/ppb_instance_private_thunk.cc b/ppapi/thunk/ppb_instance_private_thunk.cc
index 6205cd1..0d9c10b 100644
--- a/ppapi/thunk/ppb_instance_private_thunk.cc
+++ b/ppapi/thunk/ppb_instance_private_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From private/ppb_instance_private.idl modified Thu Dec 27 10:36:33 2012.
+// From private/ppb_instance_private.idl modified Thu Feb 28 11:58:17 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_instance_private.h"
@@ -18,6 +18,7 @@ namespace thunk {
namespace {
struct PP_Var GetWindowObject(PP_Instance instance) {
+ VLOG(4) << "PPB_Instance_Private::GetWindowObject()";
EnterInstance enter(instance);
if (enter.failed())
return PP_MakeUndefined();
@@ -25,6 +26,7 @@ struct PP_Var GetWindowObject(PP_Instance instance) {
}
struct PP_Var GetOwnerElementObject(PP_Instance instance) {
+ VLOG(4) << "PPB_Instance_Private::GetOwnerElementObject()";
EnterInstance enter(instance);
if (enter.failed())
return PP_MakeUndefined();
@@ -34,6 +36,7 @@ struct PP_Var GetOwnerElementObject(PP_Instance instance) {
struct PP_Var ExecuteScript(PP_Instance instance,
struct PP_Var script,
struct PP_Var* exception) {
+ VLOG(4) << "PPB_Instance_Private::ExecuteScript()";
EnterInstance enter(instance);
if (enter.failed())
return PP_MakeUndefined();
diff --git a/ppapi/thunk/ppb_instance_thunk.cc b/ppapi/thunk/ppb_instance_thunk.cc
index cf4b782..f55c7ee 100644
--- a/ppapi/thunk/ppb_instance_thunk.cc
+++ b/ppapi/thunk/ppb_instance_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_instance.idl modified Thu Dec 27 10:36:33 2012.
+// From ppb_instance.idl modified Thu Feb 28 11:58:17 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_instance.h"
@@ -18,6 +18,7 @@ namespace thunk {
namespace {
PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) {
+ VLOG(4) << "PPB_Instance::BindGraphics()";
EnterInstance enter(instance);
if (enter.failed())
return PP_FALSE;
@@ -25,6 +26,7 @@ PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) {
}
PP_Bool IsFullFrame(PP_Instance instance) {
+ VLOG(4) << "PPB_Instance::IsFullFrame()";
EnterInstance enter(instance);
if (enter.failed())
return PP_FALSE;
diff --git a/ppapi/thunk/ppb_messaging_thunk.cc b/ppapi/thunk/ppb_messaging_thunk.cc
index 7f01c7c..98c6ccd 100644
--- a/ppapi/thunk/ppb_messaging_thunk.cc
+++ b/ppapi/thunk/ppb_messaging_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_messaging.idl modified Mon Jan 14 14:09:38 2013.
+// From ppb_messaging.idl modified Thu Mar 28 11:12:59 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_messaging.h"
@@ -18,6 +18,7 @@ namespace thunk {
namespace {
void PostMessage(PP_Instance instance, struct PP_Var message) {
+ VLOG(4) << "PPB_Messaging::PostMessage()";
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->PostMessage(instance, message);
diff --git a/ppapi/thunk/ppb_mouse_cursor_thunk.cc b/ppapi/thunk/ppb_mouse_cursor_thunk.cc
index 278e422..beb8263 100644
--- a/ppapi/thunk/ppb_mouse_cursor_thunk.cc
+++ b/ppapi/thunk/ppb_mouse_cursor_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_mouse_cursor.idl modified Mon Feb 25 16:10:34 2013.
+// From ppb_mouse_cursor.idl modified Mon Apr 1 08:24:03 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_mouse_cursor.h"
@@ -21,6 +21,7 @@ PP_Bool SetCursor(PP_Instance instance,
enum PP_MouseCursor_Type type,
PP_Resource image,
const struct PP_Point* hot_spot) {
+ VLOG(4) << "PPB_MouseCursor::SetCursor()";
EnterInstance enter(instance);
if (enter.failed())
return PP_FALSE;
diff --git a/ppapi/thunk/ppb_resource_array_dev_thunk.cc b/ppapi/thunk/ppb_resource_array_dev_thunk.cc
index d9d5d48f..6d51a56 100644
--- a/ppapi/thunk/ppb_resource_array_dev_thunk.cc
+++ b/ppapi/thunk/ppb_resource_array_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_resource_array_dev.idl modified Tue Dec 4 10:44:11 2012.
+// From dev/ppb_resource_array_dev.idl modified Thu Dec 20 13:10:26 2012.
#include "ppapi/c/dev/ppb_resource_array_dev.h"
#include "ppapi/c/pp_errors.h"
@@ -21,6 +21,7 @@ namespace {
PP_Resource Create(PP_Instance instance,
const PP_Resource elements[],
uint32_t size) {
+ VLOG(4) << "PPB_ResourceArray_Dev::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -28,11 +29,13 @@ PP_Resource Create(PP_Instance instance,
}
PP_Bool IsResourceArray(PP_Resource resource) {
+ VLOG(4) << "PPB_ResourceArray_Dev::IsResourceArray()";
EnterResource<PPB_ResourceArray_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
uint32_t GetSize(PP_Resource resource_array) {
+ VLOG(4) << "PPB_ResourceArray_Dev::GetSize()";
EnterResource<PPB_ResourceArray_API> enter(resource_array, true);
if (enter.failed())
return 0;
@@ -40,6 +43,7 @@ uint32_t GetSize(PP_Resource resource_array) {
}
PP_Resource GetAt(PP_Resource resource_array, uint32_t index) {
+ VLOG(4) << "PPB_ResourceArray_Dev::GetAt()";
EnterResource<PPB_ResourceArray_API> enter(resource_array, true);
if (enter.failed())
return 0;
diff --git a/ppapi/thunk/ppb_url_request_info_thunk.cc b/ppapi/thunk/ppb_url_request_info_thunk.cc
index 27a1462..c6a7397 100644
--- a/ppapi/thunk/ppb_url_request_info_thunk.cc
+++ b/ppapi/thunk/ppb_url_request_info_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_url_request_info.idl modified Thu Mar 21 14:15:28 2013.
+// From ppb_url_request_info.idl modified Mon Apr 1 08:24:03 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_url_request_info.h"
@@ -19,6 +19,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance) {
+ VLOG(4) << "PPB_URLRequestInfo::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -26,6 +27,7 @@ PP_Resource Create(PP_Instance instance) {
}
PP_Bool IsURLRequestInfo(PP_Resource resource) {
+ VLOG(4) << "PPB_URLRequestInfo::IsURLRequestInfo()";
EnterResource<PPB_URLRequestInfo_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
@@ -33,6 +35,7 @@ PP_Bool IsURLRequestInfo(PP_Resource resource) {
PP_Bool SetProperty(PP_Resource request,
PP_URLRequestProperty property,
struct PP_Var value) {
+ VLOG(4) << "PPB_URLRequestInfo::SetProperty()";
EnterResource<PPB_URLRequestInfo_API> enter(request, true);
if (enter.failed())
return PP_FALSE;
@@ -40,6 +43,7 @@ PP_Bool SetProperty(PP_Resource request,
}
PP_Bool AppendDataToBody(PP_Resource request, const void* data, uint32_t len) {
+ VLOG(4) << "PPB_URLRequestInfo::AppendDataToBody()";
EnterResource<PPB_URLRequestInfo_API> enter(request, true);
if (enter.failed())
return PP_FALSE;
@@ -51,6 +55,7 @@ PP_Bool AppendFileToBody(PP_Resource request,
int64_t start_offset,
int64_t number_of_bytes,
PP_Time expected_last_modified_time) {
+ VLOG(4) << "PPB_URLRequestInfo::AppendFileToBody()";
EnterResource<PPB_URLRequestInfo_API> enter(request, true);
if (enter.failed())
return PP_FALSE;
diff --git a/ppapi/thunk/ppb_view_dev_thunk.cc b/ppapi/thunk/ppb_view_dev_thunk.cc
index 188c807..d3a6374 100644
--- a/ppapi/thunk/ppb_view_dev_thunk.cc
+++ b/ppapi/thunk/ppb_view_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_view_dev.idl modified Fri Feb 8 14:28:54 2013.
+// From dev/ppb_view_dev.idl modified Thu Mar 28 11:12:59 2013.
#include "ppapi/c/dev/ppb_view_dev.h"
#include "ppapi/c/pp_errors.h"
@@ -19,6 +19,7 @@ namespace thunk {
namespace {
float GetDeviceScale(PP_Resource resource) {
+ VLOG(4) << "PPB_View_Dev::GetDeviceScale()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return 0.0f;
@@ -26,6 +27,7 @@ float GetDeviceScale(PP_Resource resource) {
}
float GetCSSScale(PP_Resource resource) {
+ VLOG(4) << "PPB_View_Dev::GetCSSScale()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return 0.0f;
diff --git a/ppapi/thunk/ppb_view_thunk.cc b/ppapi/thunk/ppb_view_thunk.cc
index 1aa16e6..d0ff38a 100644
--- a/ppapi/thunk/ppb_view_thunk.cc
+++ b/ppapi/thunk/ppb_view_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_view.idl modified Fri Feb 8 14:28:54 2013.
+// From ppb_view.idl modified Thu Mar 28 11:12:59 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_view.h"
@@ -19,11 +19,13 @@ namespace thunk {
namespace {
PP_Bool IsView(PP_Resource resource) {
+ VLOG(4) << "PPB_View::IsView()";
EnterResource<PPB_View_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
PP_Bool GetRect(PP_Resource resource, struct PP_Rect* rect) {
+ VLOG(4) << "PPB_View::GetRect()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return PP_FALSE;
@@ -31,6 +33,7 @@ PP_Bool GetRect(PP_Resource resource, struct PP_Rect* rect) {
}
PP_Bool IsFullscreen(PP_Resource resource) {
+ VLOG(4) << "PPB_View::IsFullscreen()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return PP_FALSE;
@@ -38,6 +41,7 @@ PP_Bool IsFullscreen(PP_Resource resource) {
}
PP_Bool IsVisible(PP_Resource resource) {
+ VLOG(4) << "PPB_View::IsVisible()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return PP_FALSE;
@@ -45,6 +49,7 @@ PP_Bool IsVisible(PP_Resource resource) {
}
PP_Bool IsPageVisible(PP_Resource resource) {
+ VLOG(4) << "PPB_View::IsPageVisible()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return PP_FALSE;
@@ -52,6 +57,7 @@ PP_Bool IsPageVisible(PP_Resource resource) {
}
PP_Bool GetClipRect(PP_Resource resource, struct PP_Rect* clip) {
+ VLOG(4) << "PPB_View::GetClipRect()";
EnterResource<PPB_View_API> enter(resource, true);
if (enter.failed())
return PP_FALSE;
diff --git a/ppapi/thunk/ppb_websocket_thunk.cc b/ppapi/thunk/ppb_websocket_thunk.cc
index 527e143..1040665 100644
--- a/ppapi/thunk/ppb_websocket_thunk.cc
+++ b/ppapi/thunk/ppb_websocket_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_websocket.idl modified Thu Dec 27 10:36:33 2012.
+// From ppb_websocket.idl modified Thu Feb 28 11:58:17 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -20,6 +20,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance) {
+ VLOG(4) << "PPB_WebSocket::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -27,6 +28,7 @@ PP_Resource Create(PP_Instance instance) {
}
PP_Bool IsWebSocket(PP_Resource resource) {
+ VLOG(4) << "PPB_WebSocket::IsWebSocket()";
EnterResource<PPB_WebSocket_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
@@ -36,6 +38,7 @@ int32_t Connect(PP_Resource web_socket,
const struct PP_Var protocols[],
uint32_t protocol_count,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_WebSocket::Connect()";
EnterResource<PPB_WebSocket_API> enter(web_socket, callback, false);
if (enter.failed())
return enter.retval();
@@ -49,6 +52,7 @@ int32_t Close(PP_Resource web_socket,
uint16_t code,
struct PP_Var reason,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_WebSocket::Close()";
EnterResource<PPB_WebSocket_API> enter(web_socket, callback, false);
if (enter.failed())
return enter.retval();
@@ -58,6 +62,7 @@ int32_t Close(PP_Resource web_socket,
int32_t ReceiveMessage(PP_Resource web_socket,
struct PP_Var* message,
struct PP_CompletionCallback callback) {
+ VLOG(4) << "PPB_WebSocket::ReceiveMessage()";
EnterResource<PPB_WebSocket_API> enter(web_socket, callback, false);
if (enter.failed())
return enter.retval();
@@ -66,6 +71,7 @@ int32_t ReceiveMessage(PP_Resource web_socket,
}
int32_t SendMessage(PP_Resource web_socket, struct PP_Var message) {
+ VLOG(4) << "PPB_WebSocket::SendMessage()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return enter.retval();
@@ -73,6 +79,7 @@ int32_t SendMessage(PP_Resource web_socket, struct PP_Var message) {
}
uint64_t GetBufferedAmount(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetBufferedAmount()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return 0;
@@ -80,6 +87,7 @@ uint64_t GetBufferedAmount(PP_Resource web_socket) {
}
uint16_t GetCloseCode(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetCloseCode()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return 0;
@@ -87,6 +95,7 @@ uint16_t GetCloseCode(PP_Resource web_socket) {
}
struct PP_Var GetCloseReason(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetCloseReason()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return PP_MakeUndefined();
@@ -94,6 +103,7 @@ struct PP_Var GetCloseReason(PP_Resource web_socket) {
}
PP_Bool GetCloseWasClean(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetCloseWasClean()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return PP_FALSE;
@@ -101,6 +111,7 @@ PP_Bool GetCloseWasClean(PP_Resource web_socket) {
}
struct PP_Var GetExtensions(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetExtensions()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return PP_MakeUndefined();
@@ -108,6 +119,7 @@ struct PP_Var GetExtensions(PP_Resource web_socket) {
}
struct PP_Var GetProtocol(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetProtocol()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return PP_MakeUndefined();
@@ -115,6 +127,7 @@ struct PP_Var GetProtocol(PP_Resource web_socket) {
}
PP_WebSocketReadyState GetReadyState(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetReadyState()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return PP_WEBSOCKETREADYSTATE_INVALID;
@@ -122,6 +135,7 @@ PP_WebSocketReadyState GetReadyState(PP_Resource web_socket) {
}
struct PP_Var GetURL(PP_Resource web_socket) {
+ VLOG(4) << "PPB_WebSocket::GetURL()";
EnterResource<PPB_WebSocket_API> enter(web_socket, false);
if (enter.failed())
return PP_MakeUndefined();
diff --git a/ppapi/thunk/ppb_widget_dev_thunk.cc b/ppapi/thunk/ppb_widget_dev_thunk.cc
index c3cf34b..3a6fab9 100644
--- a/ppapi/thunk/ppb_widget_dev_thunk.cc
+++ b/ppapi/thunk/ppb_widget_dev_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From dev/ppb_widget_dev.idl modified Wed Nov 28 12:14:51 2012.
+// From dev/ppb_widget_dev.idl modified Thu Dec 20 13:10:26 2012.
#include "ppapi/c/dev/ppb_widget_dev.h"
#include "ppapi/c/pp_errors.h"
@@ -19,6 +19,7 @@ namespace thunk {
namespace {
PP_Bool IsWidget(PP_Resource resource) {
+ VLOG(4) << "PPB_Widget_Dev::IsWidget()";
EnterResource<PPB_Widget_API> enter(resource, false);
return PP_FromBool(enter.succeeded());
}
@@ -26,6 +27,7 @@ PP_Bool IsWidget(PP_Resource resource) {
PP_Bool Paint(PP_Resource widget,
const struct PP_Rect* rect,
PP_Resource image) {
+ VLOG(4) << "PPB_Widget_Dev::Paint()";
EnterResource<PPB_Widget_API> enter(widget, false);
if (enter.failed())
return PP_FALSE;
@@ -33,6 +35,7 @@ PP_Bool Paint(PP_Resource widget,
}
PP_Bool HandleEvent(PP_Resource widget, PP_Resource input_event) {
+ VLOG(4) << "PPB_Widget_Dev::HandleEvent()";
EnterResource<PPB_Widget_API> enter(widget, false);
if (enter.failed())
return PP_FALSE;
@@ -40,6 +43,7 @@ PP_Bool HandleEvent(PP_Resource widget, PP_Resource input_event) {
}
PP_Bool GetLocation(PP_Resource widget, struct PP_Rect* location) {
+ VLOG(4) << "PPB_Widget_Dev::GetLocation()";
EnterResource<PPB_Widget_API> enter(widget, false);
if (enter.failed())
return PP_FALSE;
@@ -47,12 +51,14 @@ PP_Bool GetLocation(PP_Resource widget, struct PP_Rect* location) {
}
void SetLocation(PP_Resource widget, const struct PP_Rect* location) {
+ VLOG(4) << "PPB_Widget_Dev::SetLocation()";
EnterResource<PPB_Widget_API> enter(widget, false);
if (enter.succeeded())
enter.object()->SetLocation(location);
}
void SetScale(PP_Resource widget, float scale) {
+ VLOG(4) << "PPB_Widget_Dev::SetScale()";
EnterResource<PPB_Widget_API> enter(widget, false);
if (enter.succeeded())
enter.object()->SetScale(scale);