refacotr: grit::ResourceMap replaced with webui::ResourcePath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2685601
This commit is contained in:
parent
dc36e8e6fc
commit
59669e99cb
2 changed files with 6 additions and 5 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include "base/files/file_path.h"
|
||||
#include "base/macros.h"
|
||||
#include "extensions/browser/component_extension_resource_manager.h"
|
||||
#include "ui/base/webui/resource_path.h"
|
||||
|
||||
struct GritResourceMap;
|
||||
|
||||
|
|
@ -32,7 +33,7 @@ class ElectronComponentExtensionResourceManager
|
|||
const std::string& extension_id) const override;
|
||||
|
||||
private:
|
||||
void AddComponentResourceEntries(const GritResourceMap* entries, size_t size);
|
||||
void AddComponentResourceEntries(const webui::ResourcePath* entries, size_t size);
|
||||
|
||||
// A map from a resource path to the resource ID. Used by
|
||||
// IsComponentExtensionResource.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue