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

Unified Diff: chrome/common/extensions/api/command_line_private.json

Issue 14027005: Implement Command Line Private extension API (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: rebase Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,34 @@
+// 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",
+ "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
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698