diff options
author | reillyg <reillyg@chromium.org> | 2014-09-19 08:00:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-19 15:00:29 +0000 |
commit | 89b276fbcd87b3ce88be7b0a00df6d9266d90ad6 (patch) | |
tree | 737ef60a3a1a6191f4a62e9a5c3a368bb6c668a8 /apps/apps.gypi | |
parent | bfae635632bc062c0a56f5ed525390c82ed5c6cc (diff) | |
download | chromium_src-89b276fbcd87b3ce88be7b0a00df6d9266d90ad6.zip chromium_src-89b276fbcd87b3ce88be7b0a00df6d9266d90ad6.tar.gz chromium_src-89b276fbcd87b3ce88be7b0a00df6d9266d90ad6.tar.bz2 |
Add a service to track devices selected by the user.
apps::SavedDevicesService tracks USB devices that have been selected by
the user in the context of a given extension. Devices that can be
identified accurately after they have been reconnected because they have
a serial number are written out to ExtensionPrefs. All others are only
remembered until they are disconnected.
A new OnDisconnect observer function has been added to UsbDevice to
enable this monitoring.
BUG=346953
Review URL: https://codereview.chromium.org/580963002
Cr-Commit-Position: refs/heads/master@{#295708}
Diffstat (limited to 'apps/apps.gypi')
-rw-r--r-- | apps/apps.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/apps.gypi b/apps/apps.gypi index 35248b5..789b7a2 100644 --- a/apps/apps.gypi +++ b/apps/apps.gypi @@ -45,6 +45,10 @@ 'launcher.cc', 'launcher.h', 'metrics_names.h', + 'saved_devices_service.cc', + 'saved_devices_service.h', + 'saved_devices_service_factory.cc', + 'saved_devices_service_factory.h', 'saved_files_service.cc', 'saved_files_service.h', 'saved_files_service_factory.cc', |