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

Side by Side Diff: chrome/common/extensions/api/file_browser_private.json

Issue 23740004: Files.app: Let the file browser private tasks APIs use the auto-generated helper classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed the test. Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_tasks_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace":"fileBrowserPrivate", 7 "namespace":"fileBrowserPrivate",
8 "compiler_options": { 8 "compiler_options": {
9 "implemented_in": "chrome/browser/chromeos/extensions/file_manager/file_br owser_private_api_functions.h" 9 "implemented_in": "chrome/browser/chromeos/extensions/file_manager/file_br owser_private_api_functions.h"
10 }, 10 },
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 { 415 {
416 "name": "executeTask", 416 "name": "executeTask",
417 "description": "Executes file browser task over selected files", 417 "description": "Executes file browser task over selected files",
418 "parameters": [ 418 "parameters": [
419 { 419 {
420 "name": "taskId", 420 "name": "taskId",
421 "type": "string", 421 "type": "string",
422 "description": "The unique identifier of task to execute." 422 "description": "The unique identifier of task to execute."
423 }, 423 },
424 { 424 {
425 "name": "fileURLs", 425 "name": "fileUrls",
426 "type": "array", 426 "type": "array",
427 "description": "Array of file URLs", 427 "description": "Array of file URLs",
428 "items": { "type": "string" } 428 "items": { "type": "string" }
429 }, 429 },
430 { 430 {
431 "name": "callback", 431 "name": "callback",
432 "type": "function", 432 "type": "function",
433 "optional": true, 433 "optional": true,
434 "parameters": [ 434 "parameters": [
435 { 435 {
436 "name": "success", 436 "name": "success",
437 "type": "boolean", 437 "type": "boolean",
438 "optional": true, 438 "optional": true,
439 "description": "True of task execution was successfully initiate d." 439 "description": "True of task execution was successfully initiate d."
440 } 440 }
441 ] 441 ]
442 } 442 }
443 ] 443 ]
444 }, 444 },
445 { 445 {
446 "name": "setDefaultTask", 446 "name": "setDefaultTask",
447 "description": "Sets the default task for the supplied MIME types and su ffixes of the supplied file URLs. Lists of MIME types and URLs may contain dupli cates.", 447 "description": "Sets the default task for the supplied MIME types and su ffixes of the supplied file URLs. Lists of MIME types and URLs may contain dupli cates.",
448 "parameters": [ 448 "parameters": [
449 { 449 {
450 "name": "taskId", 450 "name": "taskId",
451 "type": "string", 451 "type": "string",
452 "description": "The unique identifier of task to mark as default." 452 "description": "The unique identifier of task to mark as default."
453 }, 453 },
454 { 454 {
455 "name": "fileURLs", 455 "name": "fileUrls",
456 "type": "array", 456 "type": "array",
457 "description": "Array of selected file URLs to extract suffixes from .", 457 "description": "Array of selected file URLs to extract suffixes from .",
458 "items": { "type": "string" } 458 "items": { "type": "string" }
459 }, 459 },
460 { 460 {
461 "name": "mimeTypes", 461 "name": "mimeTypes",
462 "type": "array", 462 "type": "array",
463 "optional": true, 463 "optional": true,
464 "description": "Array of selected file MIME types.", 464 "description": "Array of selected file MIME types.",
465 "items": { "type": "string" } 465 "items": { "type": "string" }
466 }, 466 },
467 { 467 {
468 "name": "callback", 468 "name": "callback",
469 "type": "function", 469 "type": "function",
470 "optional": true, 470 "optional": true,
471 "parameters": [] 471 "parameters": []
472 } 472 }
473 ] 473 ]
474 }, 474 },
475 { 475 {
476 "name": "getFileTasks", 476 "name": "getFileTasks",
477 "description": "Gets the list of tasks that can be performed over select ed files.", 477 "description": "Gets the list of tasks that can be performed over select ed files.",
478 "parameters": [ 478 "parameters": [
479 { 479 {
480 "name": "fileURLs", 480 "name": "fileUrls",
481 "type": "array", 481 "type": "array",
482 "description": "Array of selected file URLs", 482 "description": "Array of selected file URLs",
483 "items": { "type": "string" } 483 "items": { "type": "string" }
484 }, 484 },
485 { 485 {
486 "name": "mimeTypes", 486 "name": "mimeTypes",
487 "type": "array", 487 "type": "array",
488 "description": "Array of selected file MIME types", 488 "description": "Array of selected file MIME types",
489 "items": { "type": "string" } 489 "items": { "type": "string" }
490 }, 490 },
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 }, 1318 },
1319 { 1319 {
1320 "name": "onDriveConnectionStatusChanged", 1320 "name": "onDriveConnectionStatusChanged",
1321 "type": "function", 1321 "type": "function",
1322 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", 1322 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.",
1323 "parameters": [] 1323 "parameters": []
1324 } 1324 }
1325 ] 1325 ]
1326 } 1326 }
1327 ] 1327 ]
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_tasks_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698