// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_H_ #define CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_H_ #include <memory> #include <string> #include <vector> #include "base/memory/raw_ptr.h" #include "base/supports_user_data.h" #include "base/values.h" #include "content/common/content_export.h" namespace content { class BrowserContext; class URLDataSource; class URLDataSourceImpl; class WebUIDataSource; // To serve dynamic data off of chrome: URLs, implement the // URLDataManager::DataSource interface and register your handler // with AddDataSource. DataSources must be added on the UI thread (they are also // deleted on the UI thread). Internally the DataSources are maintained by // URLDataManagerBackend, see it for details. class CONTENT_EXPORT URLDataManager : public base::SupportsUserData::Data { … }; } // namespace content #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_H_