OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FILEAPI_IPHOTO_DATA_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_DATA_PROVIDER_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_DATA_PROVIDER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_DATA_PROVIDER_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/callback_forward.h" | 12 #include "base/callback_forward.h" |
14 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
15 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
16 #include "base/files/file_path_watcher.h" | 15 #include "base/files/file_path_watcher.h" |
| 16 #include "base/macros.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "chrome/browser/media_galleries/fileapi/iapps_data_provider.h" | 18 #include "chrome/browser/media_galleries/fileapi/iapps_data_provider.h" |
19 #include "chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h" | 19 #include "chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h" |
20 #include "chrome/common/media_galleries/iphoto_library.h" | 20 #include "chrome/common/media_galleries/iphoto_library.h" |
21 | 21 |
22 namespace iphoto { | 22 namespace iphoto { |
23 | 23 |
24 // This class is the holder for iPhoto parsed data. Given a path to the iPhoto | 24 // This class is the holder for iPhoto parsed data. Given a path to the iPhoto |
25 // library XML file it will read it in, parse the data, and provide convenient | 25 // library XML file it will read it in, parse the data, and provide convenient |
26 // methods to access it. When the file changes, it will update the data. | 26 // methods to access it. When the file changes, it will update the data. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 scoped_refptr<iapps::SafeIAppsLibraryParser> xml_parser_; | 68 scoped_refptr<iapps::SafeIAppsLibraryParser> xml_parser_; |
69 | 69 |
70 base::WeakPtrFactory<IPhotoDataProvider> weak_factory_; | 70 base::WeakPtrFactory<IPhotoDataProvider> weak_factory_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(IPhotoDataProvider); | 72 DISALLOW_COPY_AND_ASSIGN(IPhotoDataProvider); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace iphoto | 75 } // namespace iphoto |
76 | 76 |
77 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_DATA_PROVIDER_H_ | 77 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_DATA_PROVIDER_H_ |
OLD | NEW |