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

Side by Side Diff: mojo/system/channel.h

Issue 611733002: Mojo: Convert OVERRIDE -> override in mojo/{embedder,system}. (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 | « mojo/embedder/simple_platform_support.h ('k') | mojo/system/channel_unittest.cc » ('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 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 MOJO_SYSTEM_CHANNEL_H_ 5 #ifndef MOJO_SYSTEM_CHANNEL_H_
6 #define MOJO_SYSTEM_CHANNEL_H_ 6 #define MOJO_SYSTEM_CHANNEL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 return platform_support_; 125 return platform_support_;
126 } 126 }
127 127
128 private: 128 private:
129 friend class base::RefCountedThreadSafe<Channel>; 129 friend class base::RefCountedThreadSafe<Channel>;
130 virtual ~Channel(); 130 virtual ~Channel();
131 131
132 // |RawChannel::Delegate| implementation (only called on the creation thread): 132 // |RawChannel::Delegate| implementation (only called on the creation thread):
133 virtual void OnReadMessage( 133 virtual void OnReadMessage(
134 const MessageInTransit::View& message_view, 134 const MessageInTransit::View& message_view,
135 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE; 135 embedder::ScopedPlatformHandleVectorPtr platform_handles) override;
136 virtual void OnError(Error error) OVERRIDE; 136 virtual void OnError(Error error) override;
137 137
138 // Helpers for |OnReadMessage| (only called on the creation thread): 138 // Helpers for |OnReadMessage| (only called on the creation thread):
139 void OnReadMessageForDownstream( 139 void OnReadMessageForDownstream(
140 const MessageInTransit::View& message_view, 140 const MessageInTransit::View& message_view,
141 embedder::ScopedPlatformHandleVectorPtr platform_handles); 141 embedder::ScopedPlatformHandleVectorPtr platform_handles);
142 void OnReadMessageForChannel( 142 void OnReadMessageForChannel(
143 const MessageInTransit::View& message_view, 143 const MessageInTransit::View& message_view,
144 embedder::ScopedPlatformHandleVectorPtr platform_handles); 144 embedder::ScopedPlatformHandleVectorPtr platform_handles);
145 145
146 // Removes the message pipe endpoint with the given local ID, which must exist 146 // Removes the message pipe endpoint with the given local ID, which must exist
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // be checked for existence before use. 185 // be checked for existence before use.
186 MessageInTransit::EndpointId next_local_id_; 186 MessageInTransit::EndpointId next_local_id_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(Channel); 188 DISALLOW_COPY_AND_ASSIGN(Channel);
189 }; 189 };
190 190
191 } // namespace system 191 } // namespace system
192 } // namespace mojo 192 } // namespace mojo
193 193
194 #endif // MOJO_SYSTEM_CHANNEL_H_ 194 #endif // MOJO_SYSTEM_CHANNEL_H_
OLDNEW
« no previous file with comments | « mojo/embedder/simple_platform_support.h ('k') | mojo/system/channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698