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

Side by Side Diff: chromecast/media/cma/pipeline/video_pipeline_impl.h

Issue 857573004: Fix chromium-style errors for WeakPtrFactory member order in Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chromecast/media/cma/pipeline/media_pipeline_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROMECAST_MEDIA_CMA_BASE_VIDEO_PIPELINE_IMPL_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_BASE_VIDEO_PIPELINE_IMPL_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_VIDEO_PIPELINE_IMPL_H_ 6 #define CHROMECAST_MEDIA_CMA_BASE_VIDEO_PIPELINE_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const ::media::VideoDecoderConfig& video_config); 63 const ::media::VideoDecoderConfig& video_config);
64 void OnNaturalSizeChanged(const gfx::Size& size); 64 void OnNaturalSizeChanged(const gfx::Size& size);
65 65
66 VideoPipelineDevice* video_device_; 66 VideoPipelineDevice* video_device_;
67 67
68 scoped_ptr<AvPipelineImpl> av_pipeline_impl_; 68 scoped_ptr<AvPipelineImpl> av_pipeline_impl_;
69 VideoPipelineClient video_client_; 69 VideoPipelineClient video_client_;
70 70
71 ::media::PipelineStatistics previous_stats_; 71 ::media::PipelineStatistics previous_stats_;
72 72
73 base::WeakPtr<VideoPipelineImpl> weak_this_;
73 base::WeakPtrFactory<VideoPipelineImpl> weak_factory_; 74 base::WeakPtrFactory<VideoPipelineImpl> weak_factory_;
74 base::WeakPtr<VideoPipelineImpl> weak_this_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(VideoPipelineImpl); 76 DISALLOW_COPY_AND_ASSIGN(VideoPipelineImpl);
77 }; 77 };
78 78
79 } // namespace media 79 } // namespace media
80 } // namespace chromecast 80 } // namespace chromecast
81 81
82 #endif // CHROMECAST_MEDIA_CMA_BASE_VIDEO_PIPELINE_IMPL_H_ 82 #endif // CHROMECAST_MEDIA_CMA_BASE_VIDEO_PIPELINE_IMPL_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/pipeline/media_pipeline_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698