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_PMP_COLUMN_READER_H_ | 5 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_PMP_COLUMN_READER_H_ |
6 #define CHROME_UTILITY_MEDIA_GALLERIES_PMP_COLUMN_READER_H_ | 6 #define CHROME_UTILITY_MEDIA_GALLERIES_PMP_COLUMN_READER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "chrome/common/media_galleries/pmp_constants.h" | 15 #include "chrome/common/media_galleries/pmp_constants.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class File; | 18 class File; |
19 class FilePath; | |
20 } | 19 } |
21 | 20 |
22 namespace picasa { | 21 namespace picasa { |
23 | 22 |
24 // Reads a single PMP column from a file. | 23 // Reads a single PMP column from a file. |
25 class PmpColumnReader { | 24 class PmpColumnReader { |
26 public: | 25 public: |
27 PmpColumnReader(); | 26 PmpColumnReader(); |
28 virtual ~PmpColumnReader(); | 27 virtual ~PmpColumnReader(); |
29 | 28 |
(...skipping 28 matching lines...) Expand all Loading... |
58 | 57 |
59 // Index of string start locations if fields are strings. Empty otherwise. | 58 // Index of string start locations if fields are strings. Empty otherwise. |
60 std::vector<const char*> strings_; | 59 std::vector<const char*> strings_; |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(PmpColumnReader); | 61 DISALLOW_COPY_AND_ASSIGN(PmpColumnReader); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace picasa | 64 } // namespace picasa |
66 | 65 |
67 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PMP_COLUMN_READER_H_ | 66 #endif // CHROME_UTILITY_MEDIA_GALLERIES_PMP_COLUMN_READER_H_ |
OLD | NEW |