#include "components/enterprise/data_controls/core/browser/data_controls_dialog_factory.h"
#include <map>
#include "base/memory/singleton.h"
namespace data_controls {
namespace {
std::map<std::pair<void*, DataControlsDialog::Type>, DataControlsDialog*>&
CurrentDialogsStorage() { … }
DataControlsDialog* GetCurrentDialog(content::WebContents* web_contents,
DataControlsDialog::Type type) { … }
}
void DataControlsDialogFactory::ShowDialogIfNeeded(
content::WebContents* web_contents,
DataControlsDialog::Type type,
base::OnceCallback<void(bool bypassed)> callback) { … }
}