Split cancelFileTransfers private API method into two methods.
In order to limit usage of optional arguments in Files app's private APIs
this CL splits a only one method which has different behavior depending
on number of arguments, into two separate methods.
Along the way, the returned type is corrected, as the private API doesn't
return any data with the callback in contrast to what IDL was saying.
TEST=All current tests pass. Closure compiler compiles.
BUG=510334
Review URL: https://codereview.chromium.org/1231933009
Cr-Commit-Position: refs/heads/master@{#338986}
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h
index 4ae895bb..f2dc4e5 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -1129,6 +1129,7 @@
LANGUAGESETTINGSPRIVATE_GETINPUTMETHODLISTS,
LANGUAGESETTINGSPRIVATE_ADDINPUTMETHOD,
LANGUAGESETTINGSPRIVATE_REMOVEINPUTMETHOD,
+ FILEMANAGERPRIVATE_CANCELALLFILETRANSFERS,
// Last entry: Add new entries above, then run:
// python tools/metrics/histograms/update_extension_histograms.py
ENUM_BOUNDARY