blob: 4b1c2130cccb64779872d875a6fb6f4685c21e62 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/webui/url_data_source_impl.h"
#include <utility>
#include "base/bind.h"
#include "base/memory/ref_counted_memory.h"
#include "base/strings/string_util.h"
#include "base/task/post_task.h"
#include "content/browser/webui/url_data_manager_backend.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/url_data_source.h"
namespace content {
URLDataSourceImpl::URLDataSourceImpl(const std::string& source_name,
std::unique_ptr<URLDataSource> source)
: source_name_(source_name), source_(std::move(source)) {}
URLDataSourceImpl::~URLDataSourceImpl() {
}
bool URLDataSourceImpl::IsWebUIDataSourceImpl() const {
return false;
}
const ui::TemplateReplacements* URLDataSourceImpl::GetReplacements() const {
return nullptr;
}
} // namespace content