diff options
author | hirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 05:45:52 +0000 |
---|---|---|
committer | hirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 05:45:52 +0000 |
commit | cafe930fc6f5950b4039734f4fc693624b081335 (patch) | |
tree | 5810509951787ba3fd8ee750bb2b57e185724911 /extensions | |
parent | 16ecd5f4f3edaf55179b1f3f3279fed9dc223bd3 (diff) | |
download | chromium_src-cafe930fc6f5950b4039734f4fc693624b081335.zip chromium_src-cafe930fc6f5950b4039734f4fc693624b081335.tar.gz chromium_src-cafe930fc6f5950b4039734f4fc693624b081335.tar.bz2 |
Add a dialog to share files during file transferring.
Previously when we files copy between profiles, hosted documents are copied to
other profiles but it does not share with to the profile. This CL adds a dialog
to share files during file transferring.
The dialog is invoked from FileTransferController. When it starts to copy files,
the class checks the source files and finds if the sources include hosted
documents or not.
If hosted documents are included in the source entries, the class shows a dialog
to ask users whether they would like to share the files or not.
If they select yes, FileTransferController calls private API to share the files.
This CL also adds the interface of private API, but has not implemented it yet.
BUG=348476
TEST=manually
R=asvitkine@chromium.org, benwells@chromium.org, kinaba@chromium.org, yoshiki@chromium.org
Review URL: https://codereview.chromium.org/188583002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/browser/extension_function_histogram_value.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h index 77dd397..0c9c19b 100644 --- a/extensions/browser/extension_function_histogram_value.h +++ b/extensions/browser/extension_function_histogram_value.h @@ -761,6 +761,7 @@ enum HistogramValue { APP_CURRENTWINDOWINTERNAL_SETSIZECONSTRAINTS, BLUETOOTH_GETDEVICE, GCM_UNREGISTER, + FILEBROWSERPRIVATE_REQUESTDRIVESHARE, // Last entry: Add new entries above and ensure to update // tools/metrics/histograms/histograms/histograms.xml. ENUM_BOUNDARY |