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

Side by Side Diff: content/plugin/plugin_channel.h

Issue 7661031: Tag IPC::Channel::Listener implementations with OVERRIDE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/transport_texture.h ('k') | content/plugin/plugin_channel_base.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ 5 #ifndef CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ 6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 bool incognito() { return incognito_; } 50 bool incognito() { return incognito_; }
51 void set_incognito(bool value) { incognito_ = value; } 51 void set_incognito(bool value) { incognito_ = value; }
52 52
53 #if defined(OS_POSIX) 53 #if defined(OS_POSIX)
54 int renderer_fd() const { return channel_->GetClientFileDescriptor(); } 54 int renderer_fd() const { return channel_->GetClientFileDescriptor(); }
55 #endif 55 #endif
56 56
57 protected: 57 protected:
58 // IPC::Channel::Listener implementation: 58 // IPC::Channel::Listener implementation:
59 virtual void OnChannelConnected(int32 peer_pid); 59 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
60 virtual void OnChannelError(); 60 virtual void OnChannelError() OVERRIDE;
61 61
62 virtual void CleanUp(); 62 virtual void CleanUp();
63 63
64 // Overrides PluginChannelBase::Init. 64 // Overrides PluginChannelBase::Init.
65 virtual bool Init(base::MessageLoopProxy* ipc_message_loop, 65 virtual bool Init(base::MessageLoopProxy* ipc_message_loop,
66 bool create_pipe_now); 66 bool create_pipe_now);
67 67
68 private: 68 private:
69 class MessageFilter; 69 class MessageFilter;
70 70
(...skipping 21 matching lines...) Expand all
92 92
93 int in_send_; // Tracks if we're in a Send call. 93 int in_send_; // Tracks if we're in a Send call.
94 bool log_messages_; // True if we should log sent and received messages. 94 bool log_messages_; // True if we should log sent and received messages.
95 bool incognito_; // True if the renderer is in incognito mode. 95 bool incognito_; // True if the renderer is in incognito mode.
96 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. 96 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events.
97 97
98 DISALLOW_COPY_AND_ASSIGN(PluginChannel); 98 DISALLOW_COPY_AND_ASSIGN(PluginChannel);
99 }; 99 };
100 100
101 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ 101 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/transport_texture.h ('k') | content/plugin/plugin_channel_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698