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

Side by Side Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 619493002: Mojo: Convert OVERRIDE -> override in various subdirectories of mojo/. (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 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 #include "mojo/gles2/command_buffer_client_impl.h" 5 #include "mojo/gles2/command_buffer_client_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 57 }
58 58
59 CommandBufferStatePtr WaitForProgress() { 59 CommandBufferStatePtr WaitForProgress() {
60 if (!WaitForIncomingMethodCall()) 60 if (!WaitForIncomingMethodCall())
61 return CommandBufferStatePtr(); 61 return CommandBufferStatePtr();
62 return command_buffer_state_.Pass(); 62 return command_buffer_state_.Pass();
63 } 63 }
64 64
65 private: 65 private:
66 // CommandBufferSyncClient methods: 66 // CommandBufferSyncClient methods:
67 virtual void DidInitialize(bool success) OVERRIDE { 67 virtual void DidInitialize(bool success) override {
68 initialized_successfully_ = success; 68 initialized_successfully_ = success;
69 } 69 }
70 virtual void DidMakeProgress(CommandBufferStatePtr state) OVERRIDE { 70 virtual void DidMakeProgress(CommandBufferStatePtr state) override {
71 command_buffer_state_ = state.Pass(); 71 command_buffer_state_ = state.Pass();
72 } 72 }
73 73
74 bool initialized_successfully_; 74 bool initialized_successfully_;
75 CommandBufferStatePtr command_buffer_state_; 75 CommandBufferStatePtr command_buffer_state_;
76 }; 76 };
77 77
78 CommandBufferClientImpl::CommandBufferClientImpl( 78 CommandBufferClientImpl::CommandBufferClientImpl(
79 CommandBufferDelegate* delegate, 79 CommandBufferDelegate* delegate,
80 const MojoAsyncWaiter* async_waiter, 80 const MojoAsyncWaiter* async_waiter,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 DidDestroy(); 281 DidDestroy();
282 return; 282 return;
283 } 283 }
284 284
285 if (state->generation - last_state_.generation < 0x80000000U) 285 if (state->generation - last_state_.generation < 0x80000000U)
286 last_state_ = state.To<State>(); 286 last_state_ = state.To<State>();
287 } 287 }
288 288
289 } // namespace gles2 289 } // namespace gles2
290 } // namespace mojo 290 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698