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

Side by Side Diff: ppapi/shared_impl/video_decoder_impl.cc

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/test_globals.cc ('k') | ppapi/thunk/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/shared_impl/video_decoder_impl.h" 5 #include "ppapi/shared_impl/video_decoder_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "gpu/command_buffer/client/gles2_implementation.h" 8 #include "gpu/command_buffer/client/gles2_implementation.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/proxy/plugin_resource_tracker.h"
11 #include "ppapi/shared_impl/resource_tracker.h" 10 #include "ppapi/shared_impl/resource_tracker.h"
12 #include "ppapi/thunk/ppb_context_3d_api.h" 11 #include "ppapi/thunk/ppb_context_3d_api.h"
13 #include "ppapi/thunk/enter.h" 12 #include "ppapi/thunk/enter.h"
14 13
15 using ppapi::thunk::PPB_Context3D_API; 14 using ppapi::thunk::PPB_Context3D_API;
16 15
17 namespace ppapi { 16 namespace ppapi {
18 17
19 VideoDecoderImpl::VideoDecoderImpl() 18 VideoDecoderImpl::VideoDecoderImpl()
20 : flush_callback_(PP_MakeCompletionCallback(NULL, NULL)), 19 : flush_callback_(PP_MakeCompletionCallback(NULL, NULL)),
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 bitstream_buffer_callbacks_.erase(it); 82 bitstream_buffer_callbacks_.erase(it);
84 PP_RunCompletionCallback(&cc, PP_OK); 83 PP_RunCompletionCallback(&cc, PP_OK);
85 } 84 }
86 85
87 void VideoDecoderImpl::FlushCommandBuffer() { 86 void VideoDecoderImpl::FlushCommandBuffer() {
88 if (gles2_impl_) 87 if (gles2_impl_)
89 gles2_impl_->Flush(); 88 gles2_impl_->Flush();
90 } 89 }
91 90
92 } // namespace ppapi 91 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/test_globals.cc ('k') | ppapi/thunk/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698