[andorid_webview] Don't 'jiggle' on overscroll
[chromium-blink-merge.git] / chrome / utility / media_galleries / picasa_album_table_reader.h
blob32f28af54afac8b1aa7920f8ced441a1b7aea6d7
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
3 // found in the LICENSE file.
5 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_
6 #define CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "chrome/common/media_galleries/picasa_types.h"
13 namespace picasa {
15 class PicasaAlbumTableReader {
16 public:
17 explicit PicasaAlbumTableReader(const AlbumTableFiles& table_files);
18 ~PicasaAlbumTableReader();
20 bool Init();
22 const std::vector<AlbumInfo>& albums() const;
23 const std::vector<AlbumInfo>& folders() const;
25 private:
26 const AlbumTableFiles table_files_;
28 bool initialized_;
30 std::vector<AlbumInfo> albums_;
31 std::vector<AlbumInfo> folders_;
33 DISALLOW_COPY_AND_ASSIGN(PicasaAlbumTableReader);
36 } // namespace picasa
38 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PICASA_ALBUM_TABLE_READER_H_