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

Side by Side Diff: chrome/browser/parsers/metadata_parser_filebase.cc

Issue 830002: win: string_util.h -> utf_string_conversions.h fix. (Closed)
Patch Set: Don't remove utf_string_conversions.h from string_util.h just yet Created 10 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
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> 5 #include <iostream>
6 #include <sstream> 6 #include <sstream>
7 7
8 #include "chrome/browser/parsers/metadata_parser_filebase.h" 8 #include "chrome/browser/parsers/metadata_parser_filebase.h"
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h"
12 13
13 FileMetadataParser::FileMetadataParser(const FilePath& path) 14 FileMetadataParser::FileMetadataParser(const FilePath& path)
14 : MetadataParser(path) { 15 : MetadataParser(path) {
15 path_ = path; 16 path_ = path;
16 } 17 }
17 18
18 bool FileMetadataParser::Parse() { 19 bool FileMetadataParser::Parse() {
19 std::string value; 20 std::string value;
20 int64 size; 21 int64 size;
21 if (file_util::GetFileSize(path_, &size)) { 22 if (file_util::GetFileSize(path_, &size)) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 return properties_.size(); 66 return properties_.size();
66 } 67 }
67 68
68 bool FileMetadataPropertyIterator::IsEnd() { 69 bool FileMetadataPropertyIterator::IsEnd() {
69 if (it == properties_.end()) { 70 if (it == properties_.end()) {
70 return true; 71 return true;
71 } else { 72 } else {
72 return false; 73 return false;
73 } 74 }
74 } 75 }
OLDNEW
« no previous file with comments | « chrome/browser/net/url_fixer_upper_unittest.cc ('k') | chrome/browser/parsers/metadata_parser_jpeg_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698