| Index: ppapi/thunk/ppb_find_private_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_find_dev_thunk.cc b/ppapi/thunk/ppb_find_private_thunk.cc
|
| similarity index 71%
|
| rename from ppapi/thunk/ppb_find_dev_thunk.cc
|
| rename to ppapi/thunk/ppb_find_private_thunk.cc
|
| index 91224f97c7c00f6023fa2ebd090fe80cd3866036..a5bb74861427e6bb8f22966d6c89de58d85628db 100644
|
| --- a/ppapi/thunk/ppb_find_dev_thunk.cc
|
| +++ b/ppapi/thunk/ppb_find_private_thunk.cc
|
| @@ -2,10 +2,10 @@
|
| // 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 Thu Mar 13 11:05:53 2014.
|
| +// From private/ppb_find_private.idl modified Thu Mar 13 11:56:31 2014.
|
|
|
| -#include "ppapi/c/dev/ppb_find_dev.h"
|
| #include "ppapi/c/pp_errors.h"
|
| +#include "ppapi/c/private/ppb_find_private.h"
|
| #include "ppapi/shared_impl/tracked_callback.h"
|
| #include "ppapi/thunk/enter.h"
|
| #include "ppapi/thunk/ppapi_thunk_export.h"
|
| @@ -16,7 +16,7 @@ namespace thunk {
|
| namespace {
|
|
|
| void SetPluginToHandleFindRequests(PP_Instance instance) {
|
| - VLOG(4) << "PPB_Find_Dev::SetPluginToHandleFindRequests()";
|
| + VLOG(4) << "PPB_Find_Private::SetPluginToHandleFindRequests()";
|
| EnterInstance enter(instance);
|
| if (enter.failed())
|
| return;
|
| @@ -26,7 +26,7 @@ void SetPluginToHandleFindRequests(PP_Instance instance) {
|
| void NumberOfFindResultsChanged(PP_Instance instance,
|
| int32_t total,
|
| PP_Bool final_result) {
|
| - VLOG(4) << "PPB_Find_Dev::NumberOfFindResultsChanged()";
|
| + VLOG(4) << "PPB_Find_Private::NumberOfFindResultsChanged()";
|
| EnterInstance enter(instance);
|
| if (enter.failed())
|
| return;
|
| @@ -34,14 +34,14 @@ void NumberOfFindResultsChanged(PP_Instance instance,
|
| }
|
|
|
| void SelectedFindResultChanged(PP_Instance instance, int32_t index) {
|
| - VLOG(4) << "PPB_Find_Dev::SelectedFindResultChanged()";
|
| + VLOG(4) << "PPB_Find_Private::SelectedFindResultChanged()";
|
| EnterInstance enter(instance);
|
| if (enter.failed())
|
| return;
|
| enter.functions()->SelectedFindResultChanged(instance, index);
|
| }
|
|
|
| -const PPB_Find_Dev_0_3 g_ppb_find_dev_thunk_0_3 = {
|
| +const PPB_Find_Private_0_3 g_ppb_find_private_thunk_0_3 = {
|
| &SetPluginToHandleFindRequests,
|
| &NumberOfFindResultsChanged,
|
| &SelectedFindResultChanged
|
| @@ -49,8 +49,9 @@ const PPB_Find_Dev_0_3 g_ppb_find_dev_thunk_0_3 = {
|
|
|
| } // namespace
|
|
|
| -PPAPI_THUNK_EXPORT const PPB_Find_Dev_0_3* GetPPB_Find_Dev_0_3_Thunk() {
|
| - return &g_ppb_find_dev_thunk_0_3;
|
| +PPAPI_THUNK_EXPORT const PPB_Find_Private_0_3*
|
| + GetPPB_Find_Private_0_3_Thunk() {
|
| + return &g_ppb_find_private_thunk_0_3;
|
| }
|
|
|
| } // namespace thunk
|
|
|