| OLD | NEW |
| (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_ |
| OLD | NEW |