blob: 6b4cdeb427947a78b79a62f5c721936f879ad639 [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.
#include "android_webview/browser/tracing/aw_tracing_delegate.h"
#include <memory>
#include "base/logging.h"
#include "base/values.h"
#include "components/version_info/version_info.h"
#include "content/public/browser/trace_uploader.h"
namespace android_webview {
AwTracingDelegate::AwTracingDelegate() {}
AwTracingDelegate::~AwTracingDelegate() {}
std::unique_ptr<content::TraceUploader> AwTracingDelegate::GetTraceUploader(
net::URLRequestContextGetter* request_context) {
NOTREACHED();
return NULL;
}
std::unique_ptr<base::DictionaryValue>
AwTracingDelegate::GenerateMetadataDict() {
auto metadata_dict = std::make_unique<base::DictionaryValue>();
metadata_dict->SetString("revision", version_info::GetLastChange());
return metadata_dict;
}
} // namespace android_webview