summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h')
-rw-r--r--chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h b/chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h
index 3597b8119c7..80c75e0633f 100644
--- a/chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h
+++ b/chromium/content/browser/renderer_host/dwrite_font_lookup_table_builder_win.h
@@ -128,7 +128,15 @@ class CONTENT_EXPORT DWriteFontLookupTableBuilder {
std::vector<std::string> extracted_names;
};
- using FamilyResult = std::vector<FontFileWithUniqueNames>;
+ struct FamilyResult {
+ FamilyResult();
+ FamilyResult(FamilyResult&& other);
+ ~FamilyResult();
+ std::vector<FontFileWithUniqueNames> font_files_with_names;
+ HRESULT exit_hresult{S_OK};
+
+ DISALLOW_COPY_AND_ASSIGN(FamilyResult);
+ };
// Try to find a serialized lookup table from the cache directory specified at
// construction and load it into memory.
@@ -223,6 +231,7 @@ class CONTENT_EXPORT DWriteFontLookupTableBuilder {
};
std::vector<CallbackOnTaskRunner> pending_callbacks_;
+ std::map<HRESULT, unsigned> scanning_error_reasons_;
DISALLOW_COPY_AND_ASSIGN(DWriteFontLookupTableBuilder);
};