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

Side by Side Diff: mojo/system/core.cc

Issue 307533002: Mojo: Move common type/constant definitions from mojo/public/c/system/core.h to .../types.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « mojo/system/core.h ('k') | mojo/system/core_test_base.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 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/system/core.h" 5 #include "mojo/system/core.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "mojo/public/c/system/core.h"
12 #include "mojo/system/constants.h" 11 #include "mojo/system/constants.h"
13 #include "mojo/system/data_pipe.h" 12 #include "mojo/system/data_pipe.h"
14 #include "mojo/system/data_pipe_consumer_dispatcher.h" 13 #include "mojo/system/data_pipe_consumer_dispatcher.h"
15 #include "mojo/system/data_pipe_producer_dispatcher.h" 14 #include "mojo/system/data_pipe_producer_dispatcher.h"
16 #include "mojo/system/dispatcher.h" 15 #include "mojo/system/dispatcher.h"
17 #include "mojo/system/local_data_pipe.h" 16 #include "mojo/system/local_data_pipe.h"
18 #include "mojo/system/memory.h" 17 #include "mojo/system/memory.h"
19 #include "mojo/system/message_pipe.h" 18 #include "mojo/system/message_pipe.h"
20 #include "mojo/system/message_pipe_dispatcher.h" 19 #include "mojo/system/message_pipe_dispatcher.h"
21 #include "mojo/system/raw_shared_buffer.h" 20 #include "mojo/system/raw_shared_buffer.h"
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 // |Wait()|/|WaitMany()| call. (Only after doing this can |waiter| be 554 // |Wait()|/|WaitMany()| call. (Only after doing this can |waiter| be
556 // destroyed, but this would still be required if the waiter were in TLS.) 555 // destroyed, but this would still be required if the waiter were in TLS.)
557 for (i = 0; i < num_added; i++) 556 for (i = 0; i < num_added; i++)
558 dispatchers[i]->RemoveWaiter(&waiter); 557 dispatchers[i]->RemoveWaiter(&waiter);
559 558
560 return rv; 559 return rv;
561 } 560 }
562 561
563 } // namespace system 562 } // namespace system
564 } // namespace mojo 563 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/core.h ('k') | mojo/system/core_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698