| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 scoped_ptr<MediaFolderFinder> folder_finder_; | 86 scoped_ptr<MediaFolderFinder> folder_finder_; |
| 87 | 87 |
| 88 base::Time scan_start_time_; | 88 base::Time scan_start_time_; |
| 89 | 89 |
| 90 // If not NULL, used to create |folder_finder_|. Used for testing. | 90 // If not NULL, used to create |folder_finder_|. Used for testing. |
| 91 MediaFolderFinderFactory testing_folder_finder_factory_; | 91 MediaFolderFinderFactory testing_folder_finder_factory_; |
| 92 | 92 |
| 93 // Set of extensions (on all profiles) that have an in-progress scan. | 93 // Set of extensions (on all profiles) that have an in-progress scan. |
| 94 ScanObserverMap observers_; | 94 ScanObserverMap observers_; |
| 95 | 95 |
| 96 // Used to listen for NOTIFICATION_EXTENSION_UNLOADED events. | 96 // Used to listen for NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED events. |
| 97 content::NotificationRegistrar registrar_; | 97 content::NotificationRegistrar registrar_; |
| 98 | 98 |
| 99 base::WeakPtrFactory<MediaScanManager> weak_factory_; | 99 base::WeakPtrFactory<MediaScanManager> weak_factory_; |
| 100 | 100 |
| 101 DISALLOW_COPY_AND_ASSIGN(MediaScanManager); | 101 DISALLOW_COPY_AND_ASSIGN(MediaScanManager); |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ | 104 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ |
| OLD | NEW |