blob: 2a66c5c24c02081c0d9417e0de15ffa1f244992e [file] [log] [blame]
Avi Drissman4e1b7bc32022-09-15 14:03:501// Copyright 2012 The Chromium Authors
[email protected]5bf1646f52013-01-28 03:57:022// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/browser/webui/url_data_source_impl.h"
6
dschuyler613a1032016-12-15 19:22:357#include <utility>
8
Avi Drissmanadac21992023-01-11 23:46:399#include "base/functional/bind.h"
[email protected]5bf1646f52013-01-28 03:57:0210#include "base/memory/ref_counted_memory.h"
[email protected]348fbaac2013-06-11 06:31:5111#include "base/strings/string_util.h"
Eric Seckler8652dcd52018-09-20 10:42:2812#include "content/public/browser/browser_task_traits.h"
[email protected]5bf1646f52013-01-28 03:57:0213#include "content/public/browser/browser_thread.h"
14#include "content/public/browser/url_data_source.h"
15
16namespace content {
17
18URLDataSourceImpl::URLDataSourceImpl(const std::string& source_name,
Lei Zhangc77274da2018-08-28 23:14:0019 std::unique_ptr<URLDataSource> source)
20 : source_name_(source_name), source_(std::move(source)) {}
[email protected]5bf1646f52013-01-28 03:57:0221
22URLDataSourceImpl::~URLDataSourceImpl() {
23}
24
dbeam25af85bd2016-12-09 03:34:3725bool URLDataSourceImpl::IsWebUIDataSourceImpl() const {
26 return false;
27}
28
[email protected]5bf1646f52013-01-28 03:57:0229} // namespace content