| Index: content/browser/webui/shared_resources_data_source.h
|
| diff --git a/content/browser/webui/shared_resources_data_source.h b/content/browser/webui/shared_resources_data_source.h
|
| index 002bbd244cb2b06c507aaaef9242b3ffb52ac784..5e14505837733978e095ac0beeb7d5cbef769a27 100644
|
| --- a/content/browser/webui/shared_resources_data_source.h
|
| +++ b/content/browser/webui/shared_resources_data_source.h
|
| @@ -5,17 +5,24 @@
|
| #ifndef CONTENT_BROWSER_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
|
| #define CONTENT_BROWSER_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
|
|
|
| +#include <string>
|
| +
|
| #include "base/compiler_specific.h"
|
| +#include "base/containers/hash_tables.h"
|
| #include "base/macros.h"
|
| #include "content/public/browser/url_data_source.h"
|
| +#include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| // A DataSource for chrome://resources/ URLs.
|
| -class SharedResourcesDataSource : public URLDataSource {
|
| +class CONTENT_EXPORT SharedResourcesDataSource : public URLDataSource {
|
| public:
|
| SharedResourcesDataSource();
|
|
|
| + using ResourcesMap = base::hash_map<std::string, int>;
|
| + static const ResourcesMap& GetResourcesMap();
|
| +
|
| // URLDataSource implementation.
|
| std::string GetSource() const override;
|
| void StartDataRequest(
|
|
|