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

Side by Side Diff: ppapi/cpp/video_encoder.cc

Issue 885803003: Pepper: PPB_VideoEncoder should be 'Dev' only for now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix copyright notices. Created 5 years, 10 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
« no previous file with comments | « ppapi/cpp/video_encoder.h ('k') | ppapi/thunk/ppb_video_encoder_thunk.cc » ('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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/cpp/video_encoder.h" 5 #include "ppapi/cpp/video_encoder.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/ppb_video_encoder.h" 8 #include "ppapi/c/ppb_video_encoder.h"
9 #include "ppapi/cpp/completion_callback.h" 9 #include "ppapi/cpp/completion_callback.h"
10 #include "ppapi/cpp/instance_handle.h" 10 #include "ppapi/cpp/instance_handle.h"
11 #include "ppapi/cpp/module.h" 11 #include "ppapi/cpp/module.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 119 }
120 } 120 }
121 121
122 void VideoEncoder::Close() { 122 void VideoEncoder::Close() {
123 if (has_interface<PPB_VideoEncoder_0_1>()) { 123 if (has_interface<PPB_VideoEncoder_0_1>()) {
124 get_interface<PPB_VideoEncoder_0_1>()->Close(pp_resource()); 124 get_interface<PPB_VideoEncoder_0_1>()->Close(pp_resource());
125 } 125 }
126 } 126 }
127 127
128 } // namespace pp 128 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/video_encoder.h ('k') | ppapi/thunk/ppb_video_encoder_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698