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

Side by Side Diff: mojo/shell/runner/host/command_line_switch.h

Issue 1722743002: Adds ability for chrome to behave as mojo_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to tip of tree Created 4 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SHELL_RUNNER_HOST_COMMAND_LINE_SWITCH_H_
6 #define MOJO_SHELL_RUNNER_HOST_COMMAND_LINE_SWITCH_H_
7
8 #include <string>
9
10 namespace mojo {
11 namespace shell {
12
13 struct CommandLineSwitch {
14 CommandLineSwitch() : is_switch(true) {}
15
16 // If false only the key is used and the switch is treated as a single value.
17 bool is_switch;
18 std::string key;
19 std::string value;
20 };
21
22 } // namespace shell
23 } // namespace mojo
24
25 #endif // MOJO_SHELL_RUNNER_HOST_COMMAND_LINE_SWITCH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698