Index: chrome/common/extensions/api/command_line_private.json |
=================================================================== |
--- chrome/common/extensions/api/command_line_private.json (revision 0) |
+++ chrome/common/extensions/api/command_line_private.json (revision 0) |
@@ -0,0 +1,35 @@ |
+// 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", |
+ "nodoc": true, |
not at google - send to devlin
2013/04/15 06:08:45
nodoc isn't necessary since we're not adding a tem
方觉(Fang Jue)
2013/04/15 06:25:03
Done.
Actually, many private APIs use nodoc here b
not at google - send to devlin
2013/04/15 06:26:52
Yeah this is a relic.
|
+ "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." |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+] |
Property changes on: chrome/common/extensions/api/command_line_private.json |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |