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

Side by Side Diff: mojo/runner/native_application_support.h

Issue 1119763002: Fix html_viewer Windows build after r327559 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | mojo/shell/native_runner.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 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 #ifndef MOJO_RUNNER_NATIVE_APPLICATION_SUPPORT_H_ 5 #ifndef MOJO_RUNNER_NATIVE_APPLICATION_SUPPORT_H_
6 #define MOJO_RUNNER_NATIVE_APPLICATION_SUPPORT_H_ 6 #define MOJO_RUNNER_NATIVE_APPLICATION_SUPPORT_H_
7 7
8 #include "base/native_library.h" 8 #include "base/native_library.h"
9 #include "mojo/public/cpp/bindings/interface_request.h" 9 #include "mojo/public/cpp/bindings/interface_request.h"
10 #include "mojo/shell/native_runner.h" 10 #include "mojo/shell/native_runner.h"
11 11
12 #if defined(OS_WIN)
13 #undef DELETE
14 #endif
15
16 namespace base { 12 namespace base {
17 class FilePath; 13 class FilePath;
18 } 14 }
19 15
20 namespace mojo { 16 namespace mojo {
21 17
22 class Application; 18 class Application;
23 19
24 namespace runner { 20 namespace runner {
25 21
(...skipping 16 matching lines...) Expand all
42 // true if |MojoMain()| was called (even if it returns an error), and false 38 // true if |MojoMain()| was called (even if it returns an error), and false
43 // otherwise. 39 // otherwise.
44 // TODO(vtl): Maybe this should also have a |MojoResult| as an out parameter? 40 // TODO(vtl): Maybe this should also have a |MojoResult| as an out parameter?
45 bool RunNativeApplication(base::NativeLibrary app_library, 41 bool RunNativeApplication(base::NativeLibrary app_library,
46 InterfaceRequest<Application> application_request); 42 InterfaceRequest<Application> application_request);
47 43
48 } // namespace runner 44 } // namespace runner
49 } // namespace mojo 45 } // namespace mojo
50 46
51 #endif // MOJO_RUNNER_NATIVE_APPLICATION_SUPPORT_H_ 47 #endif // MOJO_RUNNER_NATIVE_APPLICATION_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/shell/native_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698