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

Side by Side Diff: chrome/common/extensions/api/file_manager_private.idl

Issue 1221093002: Add support for refreshing contents of providers which don't support watchers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // fileManagerPrivate API. 5 // fileManagerPrivate API.
6 // This is a private API used by the file browser of ChromeOS. 6 // This is a private API used by the file browser of ChromeOS.
7 [platforms=("chromeos"), 7 [platforms=("chromeos"),
8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr ivate_api_functions.h"] 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr ivate_api_functions.h"]
9 namespace fileManagerPrivate { 9 namespace fileManagerPrivate {
10 // Type of the mounted volume. 10 // Type of the mounted volume.
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 // Flag that specifies if volume is mounted in read-only mode. 328 // Flag that specifies if volume is mounted in read-only mode.
329 boolean isReadOnly; 329 boolean isReadOnly;
330 330
331 // Flag that specifies whether the volume contains media. 331 // Flag that specifies whether the volume contains media.
332 boolean hasMedia; 332 boolean hasMedia;
333 333
334 // Flag that specifies whether the volume is configurable. 334 // Flag that specifies whether the volume is configurable.
335 boolean configurable; 335 boolean configurable;
336 336
337 // Flag that specifies whether the volume is watchable.
338 boolean watchable;
339
337 // Additional data about mount, for example, that the filesystem is not 340 // Additional data about mount, for example, that the filesystem is not
338 // supported. 341 // supported.
339 MountCondition? mountCondition; 342 MountCondition? mountCondition;
340 343
341 // Context in which the volume has been mounted. 344 // Context in which the volume has been mounted.
342 MountContext? mountContext; 345 MountContext? mountContext;
343 }; 346 };
344 347
345 // Payload data for mount event. 348 // Payload data for mount event.
346 dictionary MountCompletedEvent { 349 dictionary MountCompletedEvent {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 dictionary ProvidingExtension { 527 dictionary ProvidingExtension {
525 // ID of the providing extension. 528 // ID of the providing extension.
526 DOMString extensionId; 529 DOMString extensionId;
527 530
528 // Name of the providing extension. 531 // Name of the providing extension.
529 DOMString name; 532 DOMString name;
530 533
531 // Whether supports configuration dialog. 534 // Whether supports configuration dialog.
532 boolean configurable; 535 boolean configurable;
533 536
537 // Whether supports configuration dialog.
benwells 2015/07/07 03:38:53 This comment is incorrect.
mtomasz 2015/07/07 03:44:48 Done.
538 boolean watchable;
539
534 // Whether supports mounting multiple instances. 540 // Whether supports mounting multiple instances.
535 boolean multipleMounts; 541 boolean multipleMounts;
536 542
537 // Source of file systems' data. 543 // Source of file systems' data.
538 manifestTypes.FileSystemProviderSource source; 544 manifestTypes.FileSystemProviderSource source;
539 }; 545 };
540 546
541 // Callback that does not take arguments. 547 // Callback that does not take arguments.
542 callback SimpleCallback = void(); 548 callback SimpleCallback = void();
543 549
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 948
943 static void onPreferencesChanged(); 949 static void onPreferencesChanged();
944 950
945 static void onDriveConnectionStatusChanged(); 951 static void onDriveConnectionStatusChanged();
946 952
947 static void onDeviceChanged(DeviceEvent event); 953 static void onDeviceChanged(DeviceEvent event);
948 954
949 static void onDriveSyncError(DriveSyncErrorEvent event); 955 static void onDriveSyncError(DriveSyncErrorEvent event);
950 }; 956 };
951 }; 957 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698