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

Side by Side Diff: ppapi/proxy/proxy_channel.h

Issue 630883002: replace OVERRIDE and FINAL with override and final in ppapi/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ppapi/proxy/printing_resource.h ('k') | ppapi/proxy/proxy_object_var.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_PROXY_PROXY_CHANNEL_H_ 5 #ifndef PPAPI_PROXY_PROXY_CHANNEL_H_
6 #define PPAPI_PROXY_PROXY_CHANNEL_H_ 6 #define PPAPI_PROXY_PROXY_CHANNEL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // returns a handle that should be sent in exactly one IPC message. Upon 63 // returns a handle that should be sent in exactly one IPC message. Upon
64 // receipt, the remote side then owns that handle. Note: if sending the 64 // receipt, the remote side then owns that handle. Note: if sending the
65 // message fails, the returned handle is properly closed by the IPC system. If 65 // message fails, the returned handle is properly closed by the IPC system. If
66 // should_close_source is set to true, the original handle is closed by this 66 // should_close_source is set to true, the original handle is closed by this
67 // operation and should not be used again. 67 // operation and should not be used again.
68 IPC::PlatformFileForTransit ShareHandleWithRemote( 68 IPC::PlatformFileForTransit ShareHandleWithRemote(
69 base::PlatformFile handle, 69 base::PlatformFile handle,
70 bool should_close_source); 70 bool should_close_source);
71 71
72 // IPC::Sender implementation. 72 // IPC::Sender implementation.
73 virtual bool Send(IPC::Message* msg) OVERRIDE; 73 virtual bool Send(IPC::Message* msg) override;
74 74
75 // IPC::Listener implementation. 75 // IPC::Listener implementation.
76 virtual void OnChannelError() OVERRIDE; 76 virtual void OnChannelError() override;
77 77
78 // Will be NULL in some unit tests and if the remote side has crashed. 78 // Will be NULL in some unit tests and if the remote side has crashed.
79 IPC::SyncChannel* channel() const { 79 IPC::SyncChannel* channel() const {
80 return channel_.get(); 80 return channel_.get();
81 } 81 }
82 82
83 #if defined(OS_POSIX) && !defined(OS_NACL) 83 #if defined(OS_POSIX) && !defined(OS_NACL)
84 int TakeRendererFD(); 84 int TakeRendererFD();
85 #endif 85 #endif
86 86
(...skipping 30 matching lines...) Expand all
117 // remote side has crashed. 117 // remote side has crashed.
118 scoped_ptr<IPC::SyncChannel> channel_; 118 scoped_ptr<IPC::SyncChannel> channel_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(ProxyChannel); 120 DISALLOW_COPY_AND_ASSIGN(ProxyChannel);
121 }; 121 };
122 122
123 } // namespace proxy 123 } // namespace proxy
124 } // namespace ppapi 124 } // namespace ppapi
125 125
126 #endif // PPAPI_PROXY_PROXY_CHANNEL_H_ 126 #endif // PPAPI_PROXY_PROXY_CHANNEL_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/printing_resource.h ('k') | ppapi/proxy/proxy_object_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698