summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_find_dev_thunk.cc
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-02 17:57:50 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-02 17:57:50 +0000
commit03f8b54a71c9f8056899c6b81fed1124e2ca8f39 (patch)
treee4c484a1b145f5c8d855540dacb06dc1d8ce23bb /ppapi/thunk/ppb_find_dev_thunk.cc
parenta6d054e0fbebac6ef52c2d1587c2acced87c10f7 (diff)
downloadchromium_src-03f8b54a71c9f8056899c6b81fed1124e2ca8f39.zip
chromium_src-03f8b54a71c9f8056899c6b81fed1124e2ca8f39.tar.gz
chromium_src-03f8b54a71c9f8056899c6b81fed1124e2ca8f39.tar.bz2
Pepper: Add optional logging for PPAPI calls.
This adds VLOG(4) calls for every function autogenerated by idl_thunk.py. I had considered adding version information to the output, but couldn't find a way to do so that didn't have a confusing case. BUG=181607 Review URL: https://chromiumcodereview.appspot.com/13393007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_find_dev_thunk.cc')
-rw-r--r--ppapi/thunk/ppb_find_dev_thunk.cc4
1 files changed, 3 insertions, 1 deletions
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);