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

Side by Side Diff: chrome/renderer/media/cast_ipc_dispatcher.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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
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 CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_
6 #define CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_ 6 #define CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 static CastIPCDispatcher* global_instance_; 61 static CastIPCDispatcher* global_instance_;
62 62
63 // For IPC Send(); must only be accesed on |io_message_loop_|. 63 // For IPC Send(); must only be accesed on |io_message_loop_|.
64 IPC::Sender* sender_; 64 IPC::Sender* sender_;
65 65
66 // Task runner on which IPC calls are driven. 66 // Task runner on which IPC calls are driven.
67 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 67 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
68 68
69 // A map of stream ids to delegates; must only be accessed on 69 // A map of stream ids to delegates; must only be accessed on
70 // |io_message_loop_|. 70 // |io_message_loop_|.
71 IDMap<CastTransportIPC> id_map_; 71 IDMap<CastTransportIPC*> id_map_;
72 DISALLOW_COPY_AND_ASSIGN(CastIPCDispatcher); 72 DISALLOW_COPY_AND_ASSIGN(CastIPCDispatcher);
73 }; 73 };
74 74
75 #endif // CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_ 75 #endif // CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/certificates_handler.cc ('k') | components/drive/job_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698