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

Unified Diff: components/cronet/url_request_context_config.h

Issue 2970423002: Remove a bunch of URLRequestContext::Builder setters. (Closed)
Patch Set: Oops Created 3 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: 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 a7fc179f40d6f21d1c8a212c4d9dee4ea74ea078..2c11f36057f2ac403aac8ef4330b4519a9f11cea 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -16,6 +16,7 @@
#include "base/values.h"
#include "net/base/hash_value.h"
#include "net/cert/cert_verifier.h"
+#include "net/http/http_network_session.h"
#include "net/nqe/effective_connection_type.h"
namespace base {
@@ -186,6 +187,7 @@ struct URLRequestContextConfig {
// the URLRequestContextConfig and URLRequestContextBuilder.
void ParseAndSetExperimentalOptions(
net::URLRequestContextBuilder* context_builder,
+ net::HttpNetworkSession::Params* session_params,
net::NetLog* net_log,
const scoped_refptr<base::SequencedTaskRunner>& file_task_runner);
@@ -193,7 +195,8 @@ struct URLRequestContextConfig {
// experiments and their corresponding configuration options. The format
// is a JSON object with the name of the experiment as the key, and the
// configuration options as the value. An example:
- // {"experiment1": {"option1": "option_value1", "option2": "option_value2",
+ // {"experiment1": {"option1": "option_value1", "option2":
+ // "option_value2",
// ...}, "experiment2: {"option3", "option_value3", ...}, ...}
const std::string experimental_options;
« no previous file with comments | « no previous file | components/cronet/url_request_context_config.cc » ('j') | components/cronet/url_request_context_config.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698