OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <iostream> | |
6 #include <sstream> | |
7 | |
8 #include "chrome/browser/parsers/metadata_parser_filebase.h" | 5 #include "chrome/browser/parsers/metadata_parser_filebase.h" |
9 | 6 |
10 #include "base/file_util.h" | 7 #include "base/file_util.h" |
11 #include "base/string_util.h" | 8 #include "base/string_util.h" |
12 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
13 | 10 |
14 FileMetadataParser::FileMetadataParser(const FilePath& path) | 11 FileMetadataParser::FileMetadataParser(const FilePath& path) |
15 : MetadataParser(path) { | 12 : MetadataParser(path) { |
16 path_ = path; | 13 path_ = path; |
17 } | 14 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 return properties_.size(); | 63 return properties_.size(); |
67 } | 64 } |
68 | 65 |
69 bool FileMetadataPropertyIterator::IsEnd() { | 66 bool FileMetadataPropertyIterator::IsEnd() { |
70 if (it == properties_.end()) { | 67 if (it == properties_.end()) { |
71 return true; | 68 return true; |
72 } else { | 69 } else { |
73 return false; | 70 return false; |
74 } | 71 } |
75 } | 72 } |
OLD | NEW |