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

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

Issue 139823003: Mojo: Move system embedder API files to mojo/system/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/system/embedder/embedder.h ('k') | mojo/system/embedder/embedder_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 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/system/embedder.h" 5 #include "mojo/system/embedder/embedder.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "mojo/system/channel.h" 11 #include "mojo/system/channel.h"
12 #include "mojo/system/core_impl.h" 12 #include "mojo/system/core_impl.h"
13 #include "mojo/system/local_message_pipe_endpoint.h" 13 #include "mojo/system/local_message_pipe_endpoint.h"
14 #include "mojo/system/message_pipe.h" 14 #include "mojo/system/message_pipe.h"
15 #include "mojo/system/message_pipe_dispatcher.h" 15 #include "mojo/system/message_pipe_dispatcher.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 void DestroyChannelOnIOThread(ChannelInfo* channel_info) { 83 void DestroyChannelOnIOThread(ChannelInfo* channel_info) {
84 DCHECK(channel_info); 84 DCHECK(channel_info);
85 DCHECK(channel_info->channel.get()); 85 DCHECK(channel_info->channel.get());
86 channel_info->channel->Shutdown(); 86 channel_info->channel->Shutdown();
87 delete channel_info; 87 delete channel_info;
88 } 88 }
89 89
90 } // namespace embedder 90 } // namespace embedder
91 } // namespace mojo 91 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/embedder/embedder.h ('k') | mojo/system/embedder/embedder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698