• Lei Zhang's avatar
    Add PrintedDocument::HasDebugDumpPath(). · bdd6381b
    Lei Zhang authored
    Unlike the current checks for the debug dump path, HasDebugDumpPath()
    is truly read only and won't create the base::FilePath when accessing
    the |g_debug_dump_info| base::LazyInstance.
    
    Update code to use HasDebugDumpPath() instead of accessing
    |g_debug_dump_info| directly, and only do that when getting / setting
    the path value.
    
    Change-Id: I200664a9cb70289883627c8dc7f85c6f02edd45b
    Reviewed-on: https://chromium-review.googlesource.com/821370Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
    Commit-Queue: Lei Zhang <thestig@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#523356}
    bdd6381b
print_view_manager_base.cc 21.3 KB