Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2572)

Unified Diff: android_webview/browser/tracing/aw_tracing_delegate.cc

Issue 2072383002: Trace revision and v8 version for IterationInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: specific_include_rules tracing_controller_impl.cc +v8 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/tracing/aw_tracing_delegate.cc
diff --git a/android_webview/browser/tracing/aw_tracing_delegate.cc b/android_webview/browser/tracing/aw_tracing_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a79374e71375329f74bfc8830c489d297c02c626
--- /dev/null
+++ b/android_webview/browser/tracing/aw_tracing_delegate.cc
@@ -0,0 +1,28 @@
+// 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 "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;
+}
+
+void AwTracingDelegate::GenerateMetadataDict(
+ base::DictionaryValue* metadata_dict) {
+ DCHECK(metadata_dict);
+ metadata_dict->SetString("revision", version_info::GetLastChange());
+}
+
+} // namespace android_webview
« no previous file with comments | « android_webview/browser/tracing/aw_tracing_delegate.h ('k') | chrome/browser/tracing/chrome_tracing_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698