summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormtomasz <mtomasz@chromium.org>2014-10-09 21:39:02 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-10 04:39:20 +0000
commit9b1e24c73938eb4d7e1c631758d213e0f05525b7 (patch)
tree38a2c49ba1aa9a925d68580591c28804ba3bf7ff /tools
parent5938395e0b1ff3ce9b540fa1efeded2d554d0052 (diff)
downloadchromium_src-9b1e24c73938eb4d7e1c631758d213e0f05525b7.zip
chromium_src-9b1e24c73938eb4d7e1c631758d213e0f05525b7.tar.gz
chromium_src-9b1e24c73938eb4d7e1c631758d213e0f05525b7.tar.bz2
[fsp] Add support for observing entries and notifying about changes.
This patch adds: 1. Flag supports_notify_tag to chrome.fsp.mount(). 2. Method chrome.fsp.Notify() to notify about changes of observed entries. 3. Events chrome.fsp.OnObserveDirectory and OnUnobserveEntry. Missing things, to be added in a separate patch: 1. Glueing chrome.fsp.Notify to the C++ layer properly, not with fake data. 2. Saving and restoring observed entries together with tags from preferences. TEST=unit_test: *FileSystemProviderProvidedFileSystem*, *FileSystemProvider*Observe*, *FileSystemProvider*Unobserve* BUG=248427 Review URL: https://codereview.chromium.org/625463002 Cr-Commit-Position: refs/heads/master@{#299058}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index e010196..99c62a9 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -42700,6 +42700,7 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="903" label="COPRESENCESOCKET_SEND"/>
<int value="904" label="COPRESENCESOCKET_DISCONNECT"/>
<int value="905" label="BOOKMARKMANAGERPRIVATE_SETVERSION"/>
+ <int value="906" label="FILESYSTEMPROVIDER_NOTIFY"/>
</enum>
<enum name="ExtensionInstallCause" type="int">