mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Move network-related code to net/ folder
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// IPC messages for CEF.
|
||||
// Multiply-included message file, hence no include guard.
|
||||
|
||||
#include "libcef/common/upload_data.h"
|
||||
#include "libcef/common/net/upload_data.h"
|
||||
|
||||
#include "base/memory/shared_memory.h"
|
||||
#include "base/values.h"
|
||||
|
@@ -10,8 +10,8 @@
|
||||
#include "libcef/browser/extensions/pdf_extension_util.h"
|
||||
#include "libcef/common/cef_switches.h"
|
||||
#include "libcef/common/extensions/extensions_util.h"
|
||||
#include "libcef/common/net/scheme_registration.h"
|
||||
#include "libcef/common/scheme_registrar_impl.h"
|
||||
#include "libcef/common/scheme_registration.h"
|
||||
|
||||
#include "base/command_line.h"
|
||||
#include "base/logging.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#include "libcef/common/http_header_utils.h"
|
||||
#include "libcef/common/net/http_header_utils.h"
|
||||
|
||||
#include "net/http/http_response_headers.h"
|
||||
#include "net/http/http_util.h"
|
||||
|
@@ -2,8 +2,8 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#ifndef CEF_LIBCEF_COMMON_HTTP_HEADER_UTILS_H_
|
||||
#define CEF_LIBCEF_COMMON_HTTP_HEADER_UTILS_H_
|
||||
#ifndef CEF_LIBCEF_COMMON_NET_HTTP_HEADER_UTILS_H_
|
||||
#define CEF_LIBCEF_COMMON_NET_HTTP_HEADER_UTILS_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
@@ -19,4 +19,4 @@ void ParseHeaders(const std::string& header_str, HeaderMap& map);
|
||||
|
||||
}; // namespace HttpHeaderUtils
|
||||
|
||||
#endif // CEF_LIBCEF_COMMON_HTTP_HEADER_UTILS_H_
|
||||
#endif // CEF_LIBCEF_COMMON_NET_HTTP_HEADER_UTILS_H_
|
@@ -3,7 +3,7 @@
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#include "libcef/common/content_client.h"
|
||||
#include "libcef/common/net_resource_provider.h"
|
||||
#include "libcef/common/net/net_resource_provider.h"
|
||||
|
||||
base::StringPiece NetResourceProvider(int key) {
|
||||
return CefContentClient::Get()->GetDataResource(key, ui::SCALE_FACTOR_NONE);
|
@@ -2,7 +2,8 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#include "libcef/common/scheme_registration.h"
|
||||
#include "libcef/common/net/scheme_registration.h"
|
||||
|
||||
#include "libcef/common/content_client.h"
|
||||
|
||||
#include "content/public/common/url_constants.h"
|
@@ -2,8 +2,8 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#ifndef CEF_LIBCEF_COMMON_SCHEME_REGISTRATION_H_
|
||||
#define CEF_LIBCEF_COMMON_SCHEME_REGISTRATION_H_
|
||||
#ifndef CEF_LIBCEF_COMMON_NET_SCHEME_REGISTRATION_H_
|
||||
#define CEF_LIBCEF_COMMON_NET_SCHEME_REGISTRATION_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
@@ -27,4 +27,4 @@ bool IsInternalProtectedScheme(const std::string& scheme);
|
||||
|
||||
} // namespace scheme
|
||||
|
||||
#endif // CEF_LIBCEF_COMMON_SCHEME_REGISTRATION_H_
|
||||
#endif // CEF_LIBCEF_COMMON_NET_SCHEME_REGISTRATION_H_
|
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "cef/libcef/common/upload_data.h"
|
||||
#include "cef/libcef/common/net/upload_data.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
|
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CEF_LIBCEF_COMMON_UPLOAD_DATA_H_
|
||||
#define CEF_LIBCEF_COMMON_UPLOAD_DATA_H_
|
||||
#ifndef CEF_LIBCEF_COMMON_NET_UPLOAD_DATA_H_
|
||||
#define CEF_LIBCEF_COMMON_NET_UPLOAD_DATA_H_
|
||||
|
||||
#include "libcef/common/upload_element.h"
|
||||
#include "libcef/common/net/upload_element.h"
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
@@ -81,4 +81,4 @@ class NET_EXPORT UploadData
|
||||
|
||||
} // namespace net
|
||||
|
||||
#endif // CEF_LIBCEF_COMMON_UPLOAD_DATA_H_
|
||||
#endif // CEF_LIBCEF_COMMON_NET_UPLOAD_DATA_H_
|
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "libcef/common/upload_element.h"
|
||||
#include "libcef/common/net/upload_element.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CEF_LIBCEF_COMMON_UPLOAD_ELEMENT_H_
|
||||
#define CEF_LIBCEF_COMMON_UPLOAD_ELEMENT_H_
|
||||
#ifndef CEF_LIBCEF_COMMON_NET_UPLOAD_ELEMENT_H_
|
||||
#define CEF_LIBCEF_COMMON_NET_UPLOAD_ELEMENT_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -107,4 +107,4 @@ inline bool operator!=(const UploadElement& a,
|
||||
|
||||
} // namespace net
|
||||
|
||||
#endif // CEF_LIBCEF_COMMON_UPLOAD_ELEMENT_H_
|
||||
#endif // CEF_LIBCEF_COMMON_NET_UPLOAD_ELEMENT_H_
|
@@ -5,10 +5,10 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "libcef/common/http_header_utils.h"
|
||||
#include "libcef/common/net/http_header_utils.h"
|
||||
#include "libcef/common/net/upload_data.h"
|
||||
#include "libcef/common/request_impl.h"
|
||||
#include "libcef/common/task_runner_impl.h"
|
||||
#include "libcef/common/upload_data.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "components/navigation_interception/navigation_params.h"
|
||||
|
Reference in New Issue
Block a user