1 // Copyright 2021 The Chromium Embedded Framework Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be found 3 // in the LICENSE file. 4 5 #include "libcef/browser/alloy/alloy_download_util.h" 6 7 #include "libcef/browser/alloy/alloy_browser_context.h" 8 9 namespace alloy { 10 GetDownloadPrefsFromBrowserContext(content::BrowserContext * context)11DownloadPrefs* GetDownloadPrefsFromBrowserContext( 12 content::BrowserContext* context) { 13 return static_cast<AlloyBrowserContext*>(context)->GetDownloadPrefs(); 14 } 15 16 } // namespace alloy 17