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

Side by Side Diff: mojo/examples/sample_app/sample_app.cc

Issue 47433002: Cleanup mojo_shell and sample_app a bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « no previous file | mojo/loader/DEPS » ('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 <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "mojo/public/system/core.h" 8 #include "mojo/public/system/core.h"
9 #include "mojo/system/core_impl.h" 9 #include "mojo/system/core_impl.h"
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 mojo::Handle pipe_; 65 mojo::Handle pipe_;
66 DISALLOW_COPY_AND_ASSIGN(SampleMessageWaiter); 66 DISALLOW_COPY_AND_ASSIGN(SampleMessageWaiter);
67 }; 67 };
68 68
69 extern "C" SAMPLE_APP_EXPORT MojoResult CDECL MojoMain( 69 extern "C" SAMPLE_APP_EXPORT MojoResult CDECL MojoMain(
70 mojo::Handle pipe) { 70 mojo::Handle pipe) {
71 SampleMessageWaiter(pipe).WaitAndRead(); 71 SampleMessageWaiter(pipe).WaitAndRead();
72 return MOJO_RESULT_OK; 72 return MOJO_RESULT_OK;
73 } 73 }
OLDNEW
« no previous file with comments | « no previous file | mojo/loader/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698