Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chrome/utility/media_galleries/picasa_album_table_reader.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_ALBUM_TABLE_READER_H_ 5 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_
6 #define CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_ 6 #define CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "chrome/common/media_galleries/picasa_types.h" 11 #include "chrome/common/media_galleries/picasa_types.h"
12 12
13 namespace picasa { 13 namespace picasa {
14 14
15 class PicasaAlbumTableReader { 15 class PicasaAlbumTableReader {
16 public: 16 public:
17 // This class takes ownership of |table_files| and will close them. 17 // This class takes ownership of |table_files| and will close them.
18 explicit PicasaAlbumTableReader(AlbumTableFiles table_files); 18 explicit PicasaAlbumTableReader(AlbumTableFiles table_files);
19 ~PicasaAlbumTableReader(); 19 ~PicasaAlbumTableReader();
20 20
21 bool Init(); 21 bool Init();
22 22
23 const std::vector<AlbumInfo>& albums() const; 23 const std::vector<AlbumInfo>& albums() const;
24 const std::vector<AlbumInfo>& folders() const; 24 const std::vector<AlbumInfo>& folders() const;
25 25
26 private: 26 private:
27 AlbumTableFiles table_files_; 27 AlbumTableFiles table_files_;
28 28
29 bool initialized_; 29 bool initialized_;
30 30
31 std::vector<AlbumInfo> albums_; 31 std::vector<AlbumInfo> albums_;
32 std::vector<AlbumInfo> folders_; 32 std::vector<AlbumInfo> folders_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(PicasaAlbumTableReader); 34 DISALLOW_COPY_AND_ASSIGN(PicasaAlbumTableReader);
35 }; 35 };
36 36
37 } // namespace picasa 37 } // namespace picasa
38 38
39 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_ 39 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_
OLDNEW
« no previous file with comments | « chrome/utility/media_galleries/media_metadata_parser.h ('k') | chrome/utility/media_galleries/picasa_album_table_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698