parent
b0ba9e2cf6
commit
26576f378c
|
@ -2176,7 +2176,7 @@ component("base") {
|
||||||
"process/set_process_title_linux.h",
|
"process/set_process_title_linux.h",
|
||||||
"system/sys_info_linux.cc",
|
"system/sys_info_linux.cc",
|
||||||
]
|
]
|
||||||
if (!is_cronet_build) {
|
if (!is_android) {
|
||||||
# These dependencies are not required on Android.
|
# These dependencies are not required on Android.
|
||||||
sources += [
|
sources += [
|
||||||
"nix/mime_util_xdg.cc",
|
"nix/mime_util_xdg.cc",
|
||||||
|
|
|
@ -390,19 +390,19 @@ class TracedArray;
|
||||||
class TracedDictionary;
|
class TracedDictionary;
|
||||||
class EventContext;
|
class EventContext;
|
||||||
|
|
||||||
class StaticString {
|
class BASE_EXPORT StaticString {
|
||||||
public:
|
public:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
StaticString(T) {}
|
StaticString(T) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class DynamicString {
|
class BASE_EXPORT DynamicString {
|
||||||
public:
|
public:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
explicit DynamicString(T) {}
|
explicit DynamicString(T) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class TracedValue {
|
class BASE_EXPORT TracedValue {
|
||||||
public:
|
public:
|
||||||
void WriteInt64(int64_t) && {}
|
void WriteInt64(int64_t) && {}
|
||||||
void WriteUInt64(uint64_t) && {}
|
void WriteUInt64(uint64_t) && {}
|
||||||
|
@ -417,7 +417,7 @@ class TracedValue {
|
||||||
TracedArray WriteArray() &&;
|
TracedArray WriteArray() &&;
|
||||||
};
|
};
|
||||||
|
|
||||||
class TracedDictionary {
|
class BASE_EXPORT TracedDictionary {
|
||||||
public:
|
public:
|
||||||
TracedValue AddItem(StaticString) { return TracedValue(); }
|
TracedValue AddItem(StaticString) { return TracedValue(); }
|
||||||
TracedValue AddItem(DynamicString) { return TracedValue(); }
|
TracedValue AddItem(DynamicString) { return TracedValue(); }
|
||||||
|
@ -433,7 +433,7 @@ class TracedDictionary {
|
||||||
TracedArray AddArray(DynamicString);
|
TracedArray AddArray(DynamicString);
|
||||||
};
|
};
|
||||||
|
|
||||||
class TracedArray {
|
class BASE_EXPORT TracedArray {
|
||||||
public:
|
public:
|
||||||
TracedValue AppendItem() { return TracedValue(); }
|
TracedValue AppendItem() { return TracedValue(); }
|
||||||
|
|
||||||
|
@ -447,16 +447,16 @@ class TracedArray {
|
||||||
template <class T>
|
template <class T>
|
||||||
void WriteIntoTracedValue(TracedValue, T&&) {}
|
void WriteIntoTracedValue(TracedValue, T&&) {}
|
||||||
|
|
||||||
struct Track {
|
struct BASE_EXPORT Track {
|
||||||
explicit Track(uint64_t id) {}
|
explicit Track(uint64_t id) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NamedTrack {
|
struct BASE_EXPORT NamedTrack {
|
||||||
template <class T>
|
template <class T>
|
||||||
explicit NamedTrack(T name, uint64_t id = 0, Track parent = Track{0}) {}
|
explicit NamedTrack(T name, uint64_t id = 0, Track parent = Track{0}) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Flow {
|
struct BASE_EXPORT Flow {
|
||||||
static inline Flow ProcessScoped(uint64_t flow_id) { return Flow(); }
|
static inline Flow ProcessScoped(uint64_t flow_id) { return Flow(); }
|
||||||
static inline Flow FromPointer(void* ptr) { return Flow(); }
|
static inline Flow FromPointer(void* ptr) { return Flow(); }
|
||||||
static inline Flow Global(uint64_t flow_id) { return Flow(); }
|
static inline Flow Global(uint64_t flow_id) { return Flow(); }
|
||||||
|
|
|
@ -8,6 +8,7 @@ mkdir -p "$TMPDIR"
|
||||||
if [ "$1" = debug ]; then
|
if [ "$1" = debug ]; then
|
||||||
out=out/Debug
|
out=out/Debug
|
||||||
flags="
|
flags="
|
||||||
|
chrome_pgo_phase=0
|
||||||
is_debug=true
|
is_debug=true
|
||||||
is_component_build=true"
|
is_component_build=true"
|
||||||
else
|
else
|
||||||
|
@ -16,6 +17,7 @@ else
|
||||||
is_official_build=true
|
is_official_build=true
|
||||||
exclude_unwind_tables=true
|
exclude_unwind_tables=true
|
||||||
enable_resource_allowlist_generation=false
|
enable_resource_allowlist_generation=false
|
||||||
|
chrome_pgo_phase=2
|
||||||
symbol_level=0"
|
symbol_level=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -51,7 +53,6 @@ flags="$flags"'
|
||||||
treat_warnings_as_errors=false
|
treat_warnings_as_errors=false
|
||||||
|
|
||||||
is_cronet_build=true
|
is_cronet_build=true
|
||||||
chrome_pgo_phase=2
|
|
||||||
|
|
||||||
enable_base_tracing=false
|
enable_base_tracing=false
|
||||||
use_udev=false
|
use_udev=false
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include "build/build_config.h"
|
#include "build/build_config.h"
|
||||||
#include "net/base/features.h"
|
#include "net/base/features.h"
|
||||||
#include "net/base/load_flags.h"
|
#include "net/base/load_flags.h"
|
||||||
|
#include "net/base/net_export.h"
|
||||||
#include "net/base/proxy_chain.h"
|
#include "net/base/proxy_chain.h"
|
||||||
#include "net/base/proxy_server.h"
|
#include "net/base/proxy_server.h"
|
||||||
#include "net/dns/public/secure_dns_policy.h"
|
#include "net/dns/public/secure_dns_policy.h"
|
||||||
|
@ -207,7 +208,7 @@ base::TimeDelta ClientSocketPoolManager::unused_idle_socket_timeout(
|
||||||
return base::Seconds(kPreconnectIntervalSec);
|
return base::Seconds(kPreconnectIntervalSec);
|
||||||
}
|
}
|
||||||
|
|
||||||
int InitSocketHandleForHttpRequest(
|
int NET_EXPORT InitSocketHandleForHttpRequest(
|
||||||
url::SchemeHostPort endpoint,
|
url::SchemeHostPort endpoint,
|
||||||
int request_load_flags,
|
int request_load_flags,
|
||||||
RequestPriority request_priority,
|
RequestPriority request_priority,
|
||||||
|
|
Loading…
Reference in New Issue