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 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.h" | 5 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/strings/utf_string_conversions.h" |
12 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
13 #include "base/utf_string_conversions.h" | |
14 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.h" | 14 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.h" |
15 | 15 |
16 namespace picasa { | 16 namespace picasa { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 COMPILE_ASSERT(sizeof(double) == 8, double_must_be_8_bytes_long); | 20 COMPILE_ASSERT(sizeof(double) == 8, double_must_be_8_bytes_long); |
21 | 21 |
22 } // namespace | 22 } // namespace |
23 | 23 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 uint32 PmpTableReader::RowCount() const { | 70 uint32 PmpTableReader::RowCount() const { |
71 return max_row_count_; | 71 return max_row_count_; |
72 } | 72 } |
73 | 73 |
74 std::map<std::string, const PmpColumnReader*> PmpTableReader::Columns() const { | 74 std::map<std::string, const PmpColumnReader*> PmpTableReader::Columns() const { |
75 return column_map_; | 75 return column_map_; |
76 } | 76 } |
77 | 77 |
78 } // namespace picasa | 78 } // namespace picasa |
OLD | NEW |