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

Unified Diff: components/cronet/android/java/src/org/chromium/net/CronetEngineBuilderList.template

Issue 1507783002: Revert of [Cronet] Remove JSON serialization of CronetEngine.Builder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: components/cronet/android/java/src/org/chromium/net/CronetEngineBuilderList.template
diff --git a/components/cronet/android/java/src/org/chromium/net/CronetEngineBuilderList.template b/components/cronet/android/java/src/org/chromium/net/CronetEngineBuilderList.template
new file mode 100644
index 0000000000000000000000000000000000000000..f30a09fa4978ddb92fffb87b41c26f8ea5be91b2
--- /dev/null
+++ b/components/cronet/android/java/src/org/chromium/net/CronetEngineBuilderList.template
@@ -0,0 +1,14 @@
+// Copyright 2014 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.
+
+package org.chromium.net;
+
+// A simple auto-generated interface used to list config params as used by
+// both org.chromium.net.CronetEngine.Builder and
+// components/cronet/url_request_context_config.h
+public interface CronetEngineBuilderList {
+#define DEFINE_CONTEXT_CONFIG(x) public static final String x = #x;
+#include "components/cronet/url_request_context_config_list.h"
+#undef DEFINE_CONTEXT_CONFIG
+}

Powered by Google App Engine
This is Rietveld 408576698