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

Side by Side Diff: third_party/mojo/src/mojo/edk/system/data_pipe.cc

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 #include "mojo/edk/system/data_pipe.h" 5 #include "mojo/edk/system/data_pipe.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <limits> 10 #include <limits>
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 void DataPipe::AwakeConsumerAwakablesForStateChangeNoLock( 474 void DataPipe::AwakeConsumerAwakablesForStateChangeNoLock(
475 const HandleSignalsState& new_consumer_state) { 475 const HandleSignalsState& new_consumer_state) {
476 lock_.AssertAcquired(); 476 lock_.AssertAcquired();
477 if (!has_local_consumer_no_lock()) 477 if (!has_local_consumer_no_lock())
478 return; 478 return;
479 consumer_awakable_list_->AwakeForStateChange(new_consumer_state); 479 consumer_awakable_list_->AwakeForStateChange(new_consumer_state);
480 } 480 }
481 481
482 } // namespace system 482 } // namespace system
483 } // namespace mojo 483 } // namespace mojo
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/data_pipe.h ('k') | third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698