blob: f40f00197185a7d1091f8c46ed7df36f93701120 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ANDROID_WEBVIEW_BROWSER_TRACING_AW_TRACING_DELEGATE_H_
#define ANDROID_WEBVIEW_BROWSER_TRACING_AW_TRACING_DELEGATE_H_
#include <memory>
#include "content/public/browser/tracing_delegate.h"
namespace android_webview {
class AwTracingDelegate : public content::TracingDelegate {
public:
AwTracingDelegate();
~AwTracingDelegate() override;
// content::TracingDelegate implementation:
std::unique_ptr<content::TraceUploader> GetTraceUploader(
net::URLRequestContextGetter* request_context) override;
std::unique_ptr<base::DictionaryValue> GenerateMetadataDict() override;
};
} // namespace android_webview
#endif // ANDROID_WEBVIEW_BROWSER_TRACING_AW_TRACING_DELEGATE_H_