| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/child/dwrite_font_proxy/dwrite_localized_strings_win.h" | 5 #include "content/child/dwrite_font_proxy/dwrite_localized_strings_win.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 | 10 |
| 9 namespace content { | 11 namespace content { |
| 10 | 12 |
| 11 DWriteLocalizedStrings::DWriteLocalizedStrings() = default; | 13 DWriteLocalizedStrings::DWriteLocalizedStrings() = default; |
| 12 | 14 |
| 13 DWriteLocalizedStrings::~DWriteLocalizedStrings() = default; | 15 DWriteLocalizedStrings::~DWriteLocalizedStrings() = default; |
| 14 | 16 |
| 15 HRESULT DWriteLocalizedStrings::FindLocaleName(const WCHAR* locale_name, | 17 HRESULT DWriteLocalizedStrings::FindLocaleName(const WCHAR* locale_name, |
| 16 UINT32* index, | 18 UINT32* index, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 return S_OK; | 84 return S_OK; |
| 83 } | 85 } |
| 84 | 86 |
| 85 HRESULT DWriteLocalizedStrings::RuntimeClassInitialize( | 87 HRESULT DWriteLocalizedStrings::RuntimeClassInitialize( |
| 86 std::vector<std::pair<base::string16, base::string16>>* strings) { | 88 std::vector<std::pair<base::string16, base::string16>>* strings) { |
| 87 strings_.swap(*strings); | 89 strings_.swap(*strings); |
| 88 return S_OK; | 90 return S_OK; |
| 89 } | 91 } |
| 90 | 92 |
| 91 } // namespace content | 93 } // namespace content |
| OLD | NEW |