diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-08 21:43:28 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-08 21:43:28 +0000 |
commit | 02face6186945b29fac2ab5051e2cede6b294b45 (patch) | |
tree | f9c1ee65c6caebe8f7a0ef52dcd71d346a7b3cae /mojo/shell/switches.cc | |
parent | c7ec92eb9f883847d956f81934099a11a4fce97b (diff) | |
download | chromium_src-02face6186945b29fac2ab5051e2cede6b294b45.zip chromium_src-02face6186945b29fac2ab5051e2cede6b294b45.tar.gz chromium_src-02face6186945b29fac2ab5051e2cede6b294b45.tar.bz2 |
Simple shell that loads a dll and calls an entrypoint function passing in a handle to a pipe created by the shell app.
To achieve this I had to make mojo_system a <(component) so sample_app.dll could link against it. Trung, Darin tells me you had a different idea about how to achieve this. Consider this CL a starting point for the discussion :-)
R=darin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/25895002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/shell/switches.cc')
-rw-r--r-- | mojo/shell/switches.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mojo/shell/switches.cc b/mojo/shell/switches.cc new file mode 100644 index 0000000..0d3883d --- /dev/null +++ b/mojo/shell/switches.cc @@ -0,0 +1,11 @@ +// Copyright (c) 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "mojo/shell/switches.h" + +namespace switches { + +const char kApp[] = "app"; + +} // namespace switches |