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

Unified Diff: mojo/devtools/common/mojo_debug

Issue 1532893003: Tidy up the debugger. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-2
Patch Set: tidy up the debugger Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/debugger/BUILD.gn » ('j') | services/debugger/debugger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/mojo_debug
diff --git a/mojo/devtools/common/mojo_debug b/mojo/devtools/common/mojo_debug
index b3b786dc9f2dcdfa306a728290f1901afb8fed51..dc1000b8dd59b6b27c0b04bd53cac7b06b70cec8 100755
--- a/mojo/devtools/common/mojo_debug
+++ b/mojo/devtools/common/mojo_debug
@@ -109,27 +109,6 @@ def _add_tracing_command(subparsers):
stop_tracing_parser.set_defaults(func=_tracing_stop)
-def _wm_load(args):
- """Loads (embeds) the given url in the window manager."""
- if not _send_request('load', args.url):
- return 1
- return 0
-
-
-def _add_wm_command(subparsers):
- """Sets up the parser for the 'wm' command."""
- wm_parser = subparsers.add_parser('wm', help='window manager (requires '
- 'debugger.mojo)')
- wm_subparser = wm_parser.add_subparsers(
- help='the command to run')
-
- wm_load_parser = wm_subparser.add_parser('load',
- help='load (embed) the given url')
- wm_load_parser.add_argument('url', type=str,
- help='the url to load')
- wm_load_parser.set_defaults(func=_wm_load)
-
-
def _device_stack(args):
"""Runs the device logcat through android_stack_parser."""
adb_path = args.adb_path if args.adb_path else 'adb'
@@ -325,7 +304,6 @@ def main():
subparsers = parser.add_subparsers(help='the tool to run')
_add_device_command(subparsers)
_add_tracing_command(subparsers)
- _add_wm_command(subparsers)
_add_gdb_command(subparsers)
args = parser.parse_args()
« no previous file with comments | « no previous file | services/debugger/BUILD.gn » ('j') | services/debugger/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698