2017-10-18 15:36:56 +00:00
|
|
|
// Copyright (c) 2015 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "atom/browser/atom_resource_dispatcher_host_delegate.h"
|
|
|
|
|
|
|
|
#include "atom/browser/atom_browser_context.h"
|
|
|
|
#include "atom/browser/web_contents_preferences.h"
|
|
|
|
#include "base/strings/utf_string_conversions.h"
|
2019-01-12 01:00:43 +00:00
|
|
|
#include "base/task/post_task.h"
|
|
|
|
#include "content/public/browser/browser_task_traits.h"
|
2017-10-18 15:36:56 +00:00
|
|
|
#include "content/public/browser/browser_thread.h"
|
|
|
|
#include "content/public/browser/download_manager.h"
|
|
|
|
#include "content/public/browser/render_frame_host.h"
|
2018-10-01 20:00:53 +00:00
|
|
|
#include "electron/buildflags/buildflags.h"
|
2017-10-18 15:36:56 +00:00
|
|
|
#include "net/base/escape.h"
|
|
|
|
#include "url/gurl.h"
|
|
|
|
|
2018-10-01 20:00:53 +00:00
|
|
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
2018-03-15 08:51:48 +00:00
|
|
|
#include "atom/common/atom_constants.h"
|
|
|
|
#include "base/strings/stringprintf.h"
|
|
|
|
#include "content/public/browser/stream_info.h"
|
|
|
|
#include "net/url_request/url_request.h"
|
2018-10-01 20:00:53 +00:00
|
|
|
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
2018-03-15 08:51:48 +00:00
|
|
|
|
2017-10-18 15:36:56 +00:00
|
|
|
using content::BrowserThread;
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
AtomResourceDispatcherHostDelegate::AtomResourceDispatcherHostDelegate() {}
|
|
|
|
|
|
|
|
} // namespace atom
|