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 #ifndef CEF_LIBCEF_BROWSER_ALLOY_ALLOY_DOWNLOAD_UTIL_H_ 6 #define CEF_LIBCEF_BROWSER_ALLOY_ALLOY_DOWNLOAD_UTIL_H_ 7 #pragma once 8 9 class DownloadPrefs; 10 11 namespace content { 12 class BrowserContext; 13 } // namespace content 14 15 namespace alloy { 16 17 // Called from DownloadPrefs::FromBrowserContext. 18 DownloadPrefs* GetDownloadPrefsFromBrowserContext( 19 content::BrowserContext* context); 20 21 } // namespace alloy 22 23 #endif // CEF_LIBCEF_BROWSER_ALLOY_ALLOY_DOWNLOAD_UTIL_H_ 24