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_UTILITY_MEDIA_GALLERIES_PICASA_ALBUMS_INDEXER_H_ | 5 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUMS_INDEXER_H_ |
6 #define CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUMS_INDEXER_H_ | 6 #define CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUMS_INDEXER_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/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
13 #include "chrome/common/media_galleries/picasa_types.h" | 14 #include "chrome/common/media_galleries/picasa_types.h" |
14 | 15 |
15 namespace picasa { | 16 namespace picasa { |
16 | 17 |
17 // Parses a series of INI files and builds up the set of files contained within | 18 // Parses a series of INI files and builds up the set of files contained within |
18 // the albums passed in through |album_uids|. | 19 // the albums passed in through |album_uids|. |
19 // | 20 // |
20 // Each INI file only describes the images contained within a single directory. | 21 // Each INI file only describes the images contained within a single directory. |
21 // To build the contents of all the albums, we read in all the INI files | 22 // To build the contents of all the albums, we read in all the INI files |
22 // in all the Picasa folders. | 23 // in all the Picasa folders. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 56 |
56 private: | 57 private: |
57 AlbumImagesMap albums_images_; | 58 AlbumImagesMap albums_images_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(PicasaAlbumsIndexer); | 60 DISALLOW_COPY_AND_ASSIGN(PicasaAlbumsIndexer); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace picasa | 63 } // namespace picasa |
63 | 64 |
64 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUMS_INDEXER_H_ | 65 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUMS_INDEXER_H_ |
OLD | NEW |