Chromium Code Reviews| Index: android_webview/browser/tracing/aw_tracing_delegate.h |
| diff --git a/android_webview/browser/tracing/aw_tracing_delegate.h b/android_webview/browser/tracing/aw_tracing_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1746fa0368f8c57aeb753de203b120fd0f83d513 |
| --- /dev/null |
| +++ b/android_webview/browser/tracing/aw_tracing_delegate.h |
| @@ -0,0 +1,27 @@ |
| +// 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 "content/public/browser/tracing_delegate.h" |
| + |
| +namespace android_webview { |
| + |
| +class AwTracingDelegate : public content::TracingDelegate { |
| + public: |
| + AwTracingDelegate(); |
| + ~AwTracingDelegate() override; |
| + |
| + std::unique_ptr<content::TraceUploader> GetTraceUploader( |
| + net::URLRequestContextGetter* request_context) override; |
| + |
|
jam
2016/07/12 21:28:24
nit: per convention, put content::TracingDelegate
|
| + void GenerateMetadataDict(base::DictionaryValue* metadata_dict) override; |
| + |
| + private: |
|
jam
2016/07/12 21:28:24
nit: no need
|
| +}; |
| + |
| +} // namespace android_webview |
| + |
| +#endif // ANDROID_WEBVIEW_BROWSER_TRACING_AW_TRACING_DELEGATE_H_ |