OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GALLERIES_PREFERENCES_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "base/strings/string16.h" | 20 #include "base/strings/string16.h" |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "components/keyed_service/core/keyed_service.h" | 22 #include "components/keyed_service/core/keyed_service.h" |
23 #include "components/storage_monitor/removable_storage_observer.h" | 23 #include "components/storage_monitor/removable_storage_observer.h" |
24 | 24 |
25 class Profile; | 25 class Profile; |
26 | 26 |
27 namespace base { | |
28 class DictionaryValue; | |
29 } | |
30 | |
31 namespace extensions { | 27 namespace extensions { |
32 class Extension; | 28 class Extension; |
33 class ExtensionPrefs; | 29 class ExtensionPrefs; |
34 } | 30 } |
35 | 31 |
36 namespace user_prefs { | 32 namespace user_prefs { |
37 class PrefRegistrySyncable; | 33 class PrefRegistrySyncable; |
38 } | 34 } |
39 | 35 |
40 typedef uint64_t MediaGalleryPrefId; | 36 typedef uint64_t MediaGalleryPrefId; |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 DeviceIdPrefIdsMap device_map_; | 385 DeviceIdPrefIdsMap device_map_; |
390 | 386 |
391 base::ObserverList<GalleryChangeObserver> gallery_change_observers_; | 387 base::ObserverList<GalleryChangeObserver> gallery_change_observers_; |
392 | 388 |
393 base::WeakPtrFactory<MediaGalleriesPreferences> weak_factory_; | 389 base::WeakPtrFactory<MediaGalleriesPreferences> weak_factory_; |
394 | 390 |
395 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPreferences); | 391 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPreferences); |
396 }; | 392 }; |
397 | 393 |
398 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ | 394 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ |
OLD | NEW |