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

Unified Diff: content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h

Issue 2911063002: Deprecate NonThreadSafe in content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h in … (Closed)
Patch Set: merge .cc in same CL Created 3 years, 7 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 | « no previous file | content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
diff --git a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
index ebe57c7d2155d514f0fde5e9bd011e645bb02b9f..04ef6ca257a88eb62db2f90370cd6391e464ea2b 100644
--- a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
+++ b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
@@ -15,6 +15,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "base/sequence_checker.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "content/common/content_export.h"
@@ -37,7 +38,6 @@ namespace content {
class CONTENT_EXPORT VideoCaptureGpuJpegDecoder
: public media::VideoCaptureJpegDecoder,
public media::JpegDecodeAccelerator::Client,
- public base::NonThreadSafe,
public base::SupportsWeakPtr<VideoCaptureGpuJpegDecoder> {
public:
// |decode_done_cb| is called on the IO thread when decode succeed. This can
@@ -114,6 +114,8 @@ class CONTENT_EXPORT VideoCaptureGpuJpegDecoder
STATUS decoder_status_;
+ SEQUENCE_CHECKER(sequence_checker_);
+
DISALLOW_COPY_AND_ASSIGN(VideoCaptureGpuJpegDecoder);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698