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

Side by Side Diff: content/renderer/pepper/pepper_video_source_host.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/pepper/plugin_module.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/pepper/pepper_video_source_host.h" 5 #include "content/renderer/pepper/pepper_video_source_host.h"
6 6
7 #include <string.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/numerics/safe_conversions.h" 10 #include "base/numerics/safe_conversions.h"
9 #include "content/public/renderer/renderer_ppapi_host.h" 11 #include "content/public/renderer/renderer_ppapi_host.h"
10 #include "content/renderer/media/video_track_to_pepper_adapter.h" 12 #include "content/renderer/media/video_track_to_pepper_adapter.h"
11 #include "content/renderer/pepper/ppb_image_data_impl.h" 13 #include "content/renderer/pepper/ppb_image_data_impl.h"
12 #include "content/renderer/render_thread_impl.h" 14 #include "content/renderer/render_thread_impl.h"
13 #include "ppapi/c/pp_errors.h" 15 #include "ppapi/c/pp_errors.h"
14 #include "ppapi/host/dispatch_host_message.h" 16 #include "ppapi/host/dispatch_host_message.h"
15 #include "ppapi/host/ppapi_host.h" 17 #include "ppapi/host/ppapi_host.h"
16 #include "ppapi/proxy/host_dispatcher.h" 18 #include "ppapi/proxy/host_dispatcher.h"
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 if (frame_source_.get() && !stream_url_.empty()) 302 if (frame_source_.get() && !stream_url_.empty())
301 frame_source_->Close(frame_receiver_.get()); 303 frame_source_->Close(frame_receiver_.get());
302 304
303 frame_source_.reset(NULL); 305 frame_source_.reset(NULL);
304 stream_url_.clear(); 306 stream_url_.clear();
305 307
306 shared_image_ = NULL; 308 shared_image_ = NULL;
307 } 309 }
308 310
309 } // namespace content 311 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/pepper/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698