Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
[email protected] | 5bf1646f5 | 2013-01-28 03:57:02 | [diff] [blame] | 2 | // 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 | |||||
dschuyler | 613a103 | 2016-12-15 19:22:35 | [diff] [blame] | 7 | #include <utility> |
8 | |||||
Avi Drissman | adac2199 | 2023-01-11 23:46:39 | [diff] [blame] | 9 | #include "base/functional/bind.h" |
[email protected] | 5bf1646f5 | 2013-01-28 03:57:02 | [diff] [blame] | 10 | #include "base/memory/ref_counted_memory.h" |
[email protected] | 348fbaac | 2013-06-11 06:31:51 | [diff] [blame] | 11 | #include "base/strings/string_util.h" |
Eric Seckler | 8652dcd5 | 2018-09-20 10:42:28 | [diff] [blame] | 12 | #include "content/public/browser/browser_task_traits.h" |
[email protected] | 5bf1646f5 | 2013-01-28 03:57:02 | [diff] [blame] | 13 | #include "content/public/browser/browser_thread.h" |
14 | #include "content/public/browser/url_data_source.h" | ||||
15 | |||||
16 | namespace content { | ||||
17 | |||||
18 | URLDataSourceImpl::URLDataSourceImpl(const std::string& source_name, | ||||
Lei Zhang | c77274da | 2018-08-28 23:14:00 | [diff] [blame] | 19 | std::unique_ptr<URLDataSource> source) |
20 | : source_name_(source_name), source_(std::move(source)) {} | ||||
[email protected] | 5bf1646f5 | 2013-01-28 03:57:02 | [diff] [blame] | 21 | |
22 | URLDataSourceImpl::~URLDataSourceImpl() { | ||||
23 | } | ||||
24 | |||||
dbeam | 25af85bd | 2016-12-09 03:34:37 | [diff] [blame] | 25 | bool URLDataSourceImpl::IsWebUIDataSourceImpl() const { |
26 | return false; | ||||
27 | } | ||||
28 | |||||
[email protected] | 5bf1646f5 | 2013-01-28 03:57:02 | [diff] [blame] | 29 | } // namespace content |