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

Side by Side Diff: components/nacl/loader/nacl_ipc_adapter.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NACL_NACL_IPC_ADAPTER_H_ 5 #ifndef CHROME_NACL_NACL_IPC_ADAPTER_H_
6 #define CHROME_NACL_NACL_IPC_ADAPTER_H_ 6 #define CHROME_NACL_NACL_IPC_ADAPTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // Make a NaClDesc that refers to this NaClIPCAdapter. Note that the returned 104 // Make a NaClDesc that refers to this NaClIPCAdapter. Note that the returned
105 // NaClDesc is reference-counted, and a reference is returned. 105 // NaClDesc is reference-counted, and a reference is returned.
106 NaClDesc* MakeNaClDesc(); 106 NaClDesc* MakeNaClDesc();
107 107
108 #if defined(OS_POSIX) 108 #if defined(OS_POSIX)
109 int TakeClientFileDescriptor(); 109 int TakeClientFileDescriptor();
110 #endif 110 #endif
111 111
112 // Listener implementation. 112 // Listener implementation.
113 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 113 virtual bool OnMessageReceived(const IPC::Message& message) override;
114 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 114 virtual void OnChannelConnected(int32 peer_pid) override;
115 virtual void OnChannelError() OVERRIDE; 115 virtual void OnChannelError() override;
116 116
117 typedef base::Callback<void(IPC::PlatformFileForTransit, base::FilePath)> 117 typedef base::Callback<void(IPC::PlatformFileForTransit, base::FilePath)>
118 ResolveFileTokenReplyCallback; 118 ResolveFileTokenReplyCallback;
119 119
120 typedef base::Callback<void(uint64_t, // file_token_lo 120 typedef base::Callback<void(uint64_t, // file_token_lo
121 uint64_t, // file_token_hi 121 uint64_t, // file_token_hi
122 ResolveFileTokenReplyCallback)> 122 ResolveFileTokenReplyCallback)>
123 ResolveFileTokenCallback; 123 ResolveFileTokenCallback;
124 124
125 // Sets a callback to be invoked for resolving file tokens received from the 125 // Sets a callback to be invoked for resolving file tokens received from the
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // To be accessed on the I/O thread (via task runner) only. 215 // To be accessed on the I/O thread (via task runner) only.
216 IOThreadData io_thread_data_; 216 IOThreadData io_thread_data_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter); 218 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter);
219 }; 219 };
220 220
221 // Export TranslatePepperFileReadWriteOpenFlags for testing. 221 // Export TranslatePepperFileReadWriteOpenFlags for testing.
222 int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags); 222 int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags);
223 223
224 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_ 224 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_debug_exception_handler_win.cc ('k') | components/nacl/loader/nacl_ipc_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698