OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <windows.h> | 5 #include <windows.h> |
6 | 6 |
7 #include "base/file_version_info.h" | 7 #include "base/file_version_info.h" |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 return false; | 176 return false; |
177 } | 177 } |
178 | 178 |
179 std::wstring FileVersionInfo::GetStringValue(const wchar_t* name) { | 179 std::wstring FileVersionInfo::GetStringValue(const wchar_t* name) { |
180 std::wstring str; | 180 std::wstring str; |
181 if (GetValue(name, &str)) | 181 if (GetValue(name, &str)) |
182 return str; | 182 return str; |
183 else | 183 else |
184 return L""; | 184 return L""; |
185 } | 185 } |
186 | |
187 | |
OLD | NEW |