2017-10-18 17:36:56 +02: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 06:30:43 +05:30
|
|
|
#include "base/task/post_task.h"
|
|
|
|
#include "content/public/browser/browser_task_traits.h"
|
2017-10-18 17:36:56 +02: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-02 01:30:53 +05:30
|
|
|
#include "electron/buildflags/buildflags.h"
|
2017-10-18 17:36:56 +02:00
|
|
|
#include "net/base/escape.h"
|
|
|
|
#include "url/gurl.h"
|
|
|
|
|
2018-10-02 01:30:53 +05:30
|
|
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
2018-03-15 17:51:48 +09: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-02 01:30:53 +05:30
|
|
|
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
2018-03-15 17:51:48 +09:00
|
|
|
|
2017-10-18 17:36:56 +02:00
|
|
|
using content::BrowserThread;
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
AtomResourceDispatcherHostDelegate::AtomResourceDispatcherHostDelegate() {}
|
|
|
|
|
|
|
|
} // namespace atom
|