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

Side by Side 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: add revision in ChromeTracingDelegate and AwTracingDelegate to keep version_info out of content 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "android_webview/browser/tracing/aw_tracing_delegate.h"
6
7 #include "base/values.h"
8 #include "components/version_info/version_info.h"
9 #include "content/public/browser/trace_uploader.h"
10
11 namespace android_webview {
12
13 std::unique_ptr<content::TraceUploader> AwTracingDelegate::GetTraceUploader(
14 net::URLRequestContextGetter* request_context) {
15 NOTREACHED();
16 return NULL;
17 }
18
19 void AwTracingDelegate::GenerateMetadataDict(
20 base::DictionaryValue* metadata_dict) {
21 DCHECK(metadata_dict);
22 metadata_dict->SetString("revision", version_info::GetLastChange());
23 }
24
25 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698