blob: 5488e085f44c3cd434a42a61a93118ffe64d3b7b [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <set>
#include "base/strings/string16.h"
#include "chrome/browser/profiles/profile.h"
namespace safe_browsing {
// Retrieve extension names for |extension_ids| from |profile|'s extension
// registry and add them to |extension_names|. If a name cannot be found for an
// extension ID, a translated string will be added stating the item is an
// unknown extension ID.
void GetExtensionNamesFromIds(Profile* profile,
const std::set<base::string16>& extension_ids,
std::set<base::string16>* extension_names);
} // namespace safe_browsing