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

Unified Diff: components/cronet/url_request_context_config.h

Issue 2738813004: [Cronet] Write effective experimental options to NetLog (Closed)
Patch Set: Address mgersh comment Created 3 years, 9 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: components/cronet/url_request_context_config.h
diff --git a/components/cronet/url_request_context_config.h b/components/cronet/url_request_context_config.h
index 3ef5159a37480df1548faa822d191593c2486cc8..69e1b809bb1e0d73d6bf34e5095ba0f0333708e1 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -16,6 +16,7 @@
#include "net/cert/cert_verifier.h"
namespace base {
+class DictionaryValue;
class SequencedTaskRunner;
} // namespace base
@@ -117,7 +118,7 @@ struct URLRequestContextConfig {
const std::string& cert_verifier_data);
~URLRequestContextConfig();
- // Configure |context_builder| based on |this|.
+ // Configures |context_builder| based on |this|.
void ConfigureURLRequestContextBuilder(
net::URLRequestContextBuilder* context_builder,
net::NetLog* net_log,
@@ -173,6 +174,9 @@ struct URLRequestContextConfig {
// The list of public key pins.
ScopedVector<Pkp> pkp_list;
+ // Experimental options that are recognized by the config parser.
+ std::unique_ptr<base::DictionaryValue> effective_experimental_options;
+
private:
DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig);
};

Powered by Google App Engine
This is Rietveld 408576698