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

Side by Side Diff: content/common/gpu/media/media_service.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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/common/gpu/media/media_service.h ('k') | content/common/gpu/media/rendering_helper.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/gpu/media/media_service.h" 5 #include "content/common/gpu/media/media_service.h"
6 6
7 #include <memory>
7 #include <utility> 8 #include <utility>
8 9
9 #include "content/common/gpu/media/gpu_video_decode_accelerator.h" 10 #include "content/common/gpu/media/gpu_video_decode_accelerator.h"
10 #include "content/common/gpu/media/gpu_video_encode_accelerator.h" 11 #include "content/common/gpu/media/gpu_video_encode_accelerator.h"
11 #include "content/common/gpu/media/media_channel.h" 12 #include "content/common/gpu/media/media_channel.h"
12 #include "gpu/ipc/service/gpu_channel.h" 13 #include "gpu/ipc/service/gpu_channel.h"
13 #include "gpu/ipc/service/gpu_channel_manager.h" 14 #include "gpu/ipc/service/gpu_channel_manager.h"
14 #include "ipc/ipc_message_macros.h" 15 #include "ipc/ipc_message_macros.h"
15 #include "ipc/param_traits_macros.h" 16 #include "ipc/param_traits_macros.h"
16 17
(...skipping 14 matching lines...) Expand all
31 32
32 void MediaService::RemoveChannel(int32_t client_id) { 33 void MediaService::RemoveChannel(int32_t client_id) {
33 media_channels_.erase(client_id); 34 media_channels_.erase(client_id);
34 } 35 }
35 36
36 void MediaService::DestroyAllChannels() { 37 void MediaService::DestroyAllChannels() {
37 media_channels_.clear(); 38 media_channels_.clear();
38 } 39 }
39 40
40 } // namespace content 41 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/media_service.h ('k') | content/common/gpu/media/rendering_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698