From bc82d3c46cedec68b175c9572a7de412eb0e6427 Mon Sep 17 00:00:00 2001 From: reillyg Date: Mon, 29 Sep 2014 12:27:54 -0700 Subject: Rewrite apps::SavedDevicesService as extensions::DevicePermissionsManager. This service doesn't need any Chrome dependencies after all and so it can move into //extensions. This will make it possible for the USB extensions API code to directly depend on it. In the process I have rewritten the service with a couple improvements: * C++11 for-each loops are used instead of explicit iterators. * The DevicePermissions object is no longer an inner class (so it can be forward declared) and it is explicitly copied when requested so that the ownership of data on the FILE and UI threads is clear. BUG= Review URL: https://codereview.chromium.org/606503002 Cr-Commit-Position: refs/heads/master@{#297230} --- apps/apps.gypi | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/apps.gypi') diff --git a/apps/apps.gypi b/apps/apps.gypi index 1b464ae..cb8478d 100644 --- a/apps/apps.gypi +++ b/apps/apps.gypi @@ -45,10 +45,6 @@ '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', -- cgit v1.1