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

Side by Side Diff: webkit/fileapi/media/picasa/pmp_table_reader.h

Issue 12704024: Simple PMP reader to parse Picasa's metadata (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix memory issue. Created 7 years, 9 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
(Empty)
1 // Copyright (c) 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.
4
5 #ifndef WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
6 #define WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "base/basictypes.h"
12
13 namespace base {
14 class FilePath;
15 }
16
17 namespace fileapi {
18
19 class PmpColumnReader;
20
21 class PmpTableReader {
22 public:
23 PmpTableReader();
24
25 virtual ~PmpTableReader();
26
27 // Pass in the names of the columns you want read
28 bool ReadFromDisk(
29 const std::string& table_name,
30 const base::FilePath& directory_path,
31 const std::vector<std::string>& columns);
32
33 uint32 Count();
34
35 private:
36 std::vector<PmpColumnReader*> column_readers_;
37 uint32 max_row_count_;
38
39 DISALLOW_COPY_AND_ASSIGN(PmpTableReader);
40 };
41
42 } // namespace fileapi
43
44 #endif // WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698