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

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

Issue 630603003: Replacing the OVERRIDE with override in chrome/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 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
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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "ipc/ipc_channel_proxy.h" 10 #include "ipc/ipc_channel_proxy.h"
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 explicit CastIPCDispatcher( 22 explicit CastIPCDispatcher(
23 const scoped_refptr<base::MessageLoopProxy>& io_message_loop); 23 const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
24 24
25 static CastIPCDispatcher* Get(); 25 static CastIPCDispatcher* Get();
26 void Send(IPC::Message* message); 26 void Send(IPC::Message* message);
27 int32 AddSender(CastTransportSenderIPC* sender); 27 int32 AddSender(CastTransportSenderIPC* sender);
28 void RemoveSender(int32 channel_id); 28 void RemoveSender(int32 channel_id);
29 29
30 // IPC::MessageFilter implementation 30 // IPC::MessageFilter implementation
31 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 31 virtual bool OnMessageReceived(const IPC::Message& message) override;
32 virtual void OnFilterAdded(IPC::Sender* sender) OVERRIDE; 32 virtual void OnFilterAdded(IPC::Sender* sender) override;
33 virtual void OnFilterRemoved() OVERRIDE; 33 virtual void OnFilterRemoved() override;
34 virtual void OnChannelClosing() OVERRIDE; 34 virtual void OnChannelClosing() override;
35 35
36 protected: 36 protected:
37 virtual ~CastIPCDispatcher(); 37 virtual ~CastIPCDispatcher();
38 38
39 private: 39 private:
40 void OnNotifyStatusChange( 40 void OnNotifyStatusChange(
41 int32 channel_id, 41 int32 channel_id,
42 media::cast::CastTransportStatus status); 42 media::cast::CastTransportStatus status);
43 void OnRtpStatistics( 43 void OnRtpStatistics(
44 int32 channel_id, 44 int32 channel_id,
(...skipping 17 matching lines...) Expand all
62 // Message loop on which IPC calls are driven. 62 // Message loop on which IPC calls are driven.
63 const scoped_refptr<base::MessageLoopProxy> io_message_loop_; 63 const scoped_refptr<base::MessageLoopProxy> io_message_loop_;
64 64
65 // A map of stream ids to delegates; must only be accessed on 65 // A map of stream ids to delegates; must only be accessed on
66 // |io_message_loop_|. 66 // |io_message_loop_|.
67 IDMap<CastTransportSenderIPC> id_map_; 67 IDMap<CastTransportSenderIPC> id_map_;
68 DISALLOW_COPY_AND_ASSIGN(CastIPCDispatcher); 68 DISALLOW_COPY_AND_ASSIGN(CastIPCDispatcher);
69 }; 69 };
70 70
71 #endif // CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_ 71 #endif // CHROME_RENDERER_MEDIA_CAST_IPC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | chrome/renderer/media/cast_rtp_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698