summaryrefslogtreecommitdiffstats
path: root/chromium/content/public/browser/tracing_delegate.cc
blob: 366a6ab25e49460206c5acc7b492c3b93ce3d5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/browser/tracing_delegate.h"

#include "base/values.h"
#include "third_party/abseil-cpp/absl/types/optional.h"

namespace content {

bool TracingDelegate::IsAllowedToBeginBackgroundScenario(
    const std::string& scenario_name,
    bool requires_anonymized_data,
    bool is_crash_scenario) {
  return false;
}

bool TracingDelegate::IsAllowedToEndBackgroundScenario(
    const std::string& scenario_name,
    bool requires_anonymized_data,
    bool is_crash_scenario) {
  return false;
}

bool TracingDelegate::IsSystemWideTracingEnabled() {
  return false;
}

absl::optional<base::Value::Dict> TracingDelegate::GenerateMetadataDict() {
  return absl::nullopt;
}

}  // namespace content