Allow typing label names on Windows by not treating things that start with slashes as arguments rather than switches.

The old command line parsing is still run so some code could get confused later since / will also be treated as a switch if you ask for it. This seems not as likely to happen that the label will match a switch. If it does, we'll have to change the CommandLine class to make the "/" behavior optional.

Fix a "desc" crash attributing blame due to a null pointer.

BUG=
R=scottmg@chromium.org, thakis@chromium.org

Review URL: https://codereview.chromium.org/24613003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225277 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: bf98a0e1aede4510b84af40ee727d0cd6c8755f9
2 files changed
tree: 39bfd6a2ca5d7f80973be7a703849690457b9ba5
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/