mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
url: Remove perfetto tracing
This commit is contained in:
parent
44a7b06ca6
commit
1367542cf6
@ -16,7 +16,6 @@
|
||||
#include "base/strings/string_piece.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/trace_event/memory_usage_estimator.h"
|
||||
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
|
||||
#include "url/url_canon_stdstring.h"
|
||||
#include "url/url_util.h"
|
||||
|
||||
@ -509,10 +508,6 @@ bool GURL::IsAboutPath(base::StringPiece actual_path,
|
||||
return false;
|
||||
}
|
||||
|
||||
void GURL::WriteIntoTracedValue(perfetto::TracedValue context) const {
|
||||
std::move(context).WriteString(possibly_invalid_spec());
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, const GURL& url) {
|
||||
return out << url.possibly_invalid_spec();
|
||||
}
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "base/component_export.h"
|
||||
#include "base/debug/alias.h"
|
||||
#include "base/strings/string_piece.h"
|
||||
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
|
||||
#include "url/third_party/mozilla/url_parse.h"
|
||||
#include "url/url_canon.h"
|
||||
#include "url/url_canon_stdstring.h"
|
||||
@ -437,8 +436,6 @@ class COMPONENT_EXPORT(URL) GURL {
|
||||
static bool IsAboutPath(base::StringPiece actual_path,
|
||||
base::StringPiece allowed_path);
|
||||
|
||||
void WriteIntoTracedValue(perfetto::TracedValue context) const;
|
||||
|
||||
private:
|
||||
// Variant of the string parsing constructor that allows the caller to elect
|
||||
// retain trailing whitespace, if any, on the passed URL spec, but only if
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "base/strings/strcat.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
|
||||
#include "url/gurl.h"
|
||||
#include "url/url_canon.h"
|
||||
#include "url/url_canon_stdstring.h"
|
||||
@ -373,10 +372,6 @@ base::Optional<Origin> Origin::Deserialize(const std::string& value) {
|
||||
return origin;
|
||||
}
|
||||
|
||||
void Origin::WriteIntoTracedValue(perfetto::TracedValue context) const {
|
||||
std::move(context).WriteString(GetDebugString());
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, const url::Origin& origin) {
|
||||
out << origin.GetDebugString();
|
||||
return out;
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "base/unguessable_token.h"
|
||||
#include "build/build_config.h"
|
||||
#include "ipc/ipc_param_traits.h"
|
||||
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
|
||||
#include "url/scheme_host_port.h"
|
||||
#include "url/third_party/mozilla/url_parse.h"
|
||||
#include "url/url_canon.h"
|
||||
@ -295,8 +294,6 @@ class COMPONENT_EXPORT(URL) Origin {
|
||||
const base::android::JavaRef<jobject>& java_origin);
|
||||
#endif // OS_ANDROID
|
||||
|
||||
void WriteIntoTracedValue(perfetto::TracedValue context) const;
|
||||
|
||||
private:
|
||||
friend class blink::SecurityOrigin;
|
||||
// SchemefulSite needs access to the serialization/deserialization logic which
|
||||
|
Loading…
Reference in New Issue
Block a user