mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-02-23 18:33:22 +03:00
base, crypto, net: Fix trace stubs
This commit is contained in:
parent
541c9f47d3
commit
4e81474df6
@ -2,6 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "base/trace_event/memory_usage_estimator.h"
|
||||
#include "base/trace_event/trace_event_stub.h"
|
||||
|
||||
#include <stddef.h>
|
||||
@ -20,6 +21,9 @@ MemoryDumpProvider::~MemoryDumpProvider() = default;
|
||||
// static
|
||||
constexpr const char* const MemoryDumpManager::kTraceCategory;
|
||||
|
||||
template size_t EstimateMemoryUsage(const std::string&);
|
||||
template size_t EstimateMemoryUsage(const std::u16string&);
|
||||
|
||||
} // namespace trace_event
|
||||
} // namespace base
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <dpapi.h>
|
||||
|
||||
#include "base/process/memory.h"
|
||||
#include "base/trace_event/trace_event.h"
|
||||
#include "base/trace_event/trace_event_stub.h"
|
||||
#else
|
||||
#include "third_party/boringssl/src/include/openssl/mem.h"
|
||||
#endif // BUILDFLAG(IS_WIN)
|
||||
|
@ -12,9 +12,9 @@
|
||||
#ifndef NET_BASE_TRACE_EVENT_STUB_H_
|
||||
#define NET_BASE_TRACE_EVENT_STUB_H_
|
||||
|
||||
#import "base/base_export.h"
|
||||
#import "base/memory/weak_ptr.h"
|
||||
#import "base/trace_event/trace_event_stub.h"
|
||||
#include "base/base_export.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "base/trace_event/trace_event_stub.h"
|
||||
|
||||
namespace base::trace_event {
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "build/build_config.h"
|
||||
#include "net/base/cronet_buildflags.h"
|
||||
|
||||
#if BUILDFLAG(CRONET_BUILD) && !BUILDFLAG(IS_APPLE)
|
||||
#if BUILDFLAG(CRONET_BUILD)
|
||||
#include "net/base/trace_event_stub.h" // IWYU pragma: export
|
||||
#endif // BUILDFLAG(CRONET_BUILD) && !BUILDFLAG(IS_APPLE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user