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

Unified Diff: ppapi/thunk/ppb_find_dev_thunk.cc

Issue 197623005: Rename PPB_Find_Dev to PPB_Find_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_find_private_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_find_dev_thunk.cc
diff --git a/ppapi/thunk/ppb_find_dev_thunk.cc b/ppapi/thunk/ppb_find_dev_thunk.cc
deleted file mode 100644
index 91224f97c7c00f6023fa2ebd090fe80cd3866036..0000000000000000000000000000000000000000
--- a/ppapi/thunk/ppb_find_dev_thunk.cc
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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.
-
-#include "ppapi/c/dev/ppb_find_dev.h"
-#include "ppapi/c/pp_errors.h"
-#include "ppapi/shared_impl/tracked_callback.h"
-#include "ppapi/thunk/enter.h"
-#include "ppapi/thunk/ppapi_thunk_export.h"
-
-namespace ppapi {
-namespace thunk {
-
-namespace {
-
-void SetPluginToHandleFindRequests(PP_Instance instance) {
- VLOG(4) << "PPB_Find_Dev::SetPluginToHandleFindRequests()";
- EnterInstance enter(instance);
- if (enter.failed())
- return;
- enter.functions()->SetPluginToHandleFindRequests(instance);
-}
-
-void NumberOfFindResultsChanged(PP_Instance instance,
- int32_t total,
- PP_Bool final_result) {
- VLOG(4) << "PPB_Find_Dev::NumberOfFindResultsChanged()";
- EnterInstance enter(instance);
- if (enter.failed())
- return;
- enter.functions()->NumberOfFindResultsChanged(instance, total, final_result);
-}
-
-void SelectedFindResultChanged(PP_Instance instance, int32_t index) {
- VLOG(4) << "PPB_Find_Dev::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 = {
- &SetPluginToHandleFindRequests,
- &NumberOfFindResultsChanged,
- &SelectedFindResultChanged
-};
-
-} // namespace
-
-PPAPI_THUNK_EXPORT const PPB_Find_Dev_0_3* GetPPB_Find_Dev_0_3_Thunk() {
- return &g_ppb_find_dev_thunk_0_3;
-}
-
-} // namespace thunk
-} // namespace ppapi
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_find_private_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698