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> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/scoped_observer.h" | 16 #include "base/scoped_observer.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "chrome/browser/media_galleries/media_folder_finder.h" | 18 #include "chrome/browser/media_galleries/media_folder_finder.h" |
19 #include "chrome/browser/media_galleries/media_scan_types.h" | 19 #include "chrome/browser/media_galleries/media_scan_types.h" |
20 #include "extensions/browser/extension_registry_observer.h" | 20 #include "extensions/browser/extension_registry_observer.h" |
21 | 21 |
22 class MediaScanManagerObserver; | 22 class MediaScanManagerObserver; |
23 class Profile; | 23 class Profile; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 ScopedObserver<extensions::ExtensionRegistry, | 104 ScopedObserver<extensions::ExtensionRegistry, |
105 extensions::ExtensionRegistryObserver> | 105 extensions::ExtensionRegistryObserver> |
106 scoped_extension_registry_observer_; | 106 scoped_extension_registry_observer_; |
107 | 107 |
108 base::WeakPtrFactory<MediaScanManager> weak_factory_; | 108 base::WeakPtrFactory<MediaScanManager> weak_factory_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(MediaScanManager); | 110 DISALLOW_COPY_AND_ASSIGN(MediaScanManager); |
111 }; | 111 }; |
112 | 112 |
113 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ | 113 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_H_ |
OLD | NEW |