blob: 90c052d1455cee9262cbf127b1868a63c3135b6c [file] [log] [blame]
// Copyright 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.
[
{
"namespace": "commandLinePrivate",
"description": "none",
"functions": [
{
"name": "hasSwitch",
"type": "function",
"description": "Returns whether a switch is specified on the command line when launching Chrome.",
"parameters": [
{
"name": "name",
"type": "string",
"description": "The name of a command line switch, without leading \"--\", such as \"enable-experimental-extension-apis\"."
},
{
"name": "callback",
"type": "function",
"parameters": [
{
"name": "result",
"type": "boolean",
"description": "Whether the switch is specified on the command line."
}
]
}
]
}
]
}
]