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

Unified Diff: components/cronet/url_request_context_config.h

Issue 2416473004: Add functionality for embedders to configure NQE (Closed)
Patch Set: rebased Created 3 years, 8 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 6e55a92a29e665e6ed0626039ef1f67316ff76f2..0011450a94a1950e6acb0bae7ac9136a9b5d3932 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -139,13 +139,6 @@ struct URLRequestContextConfig {
const std::string storage_path;
// User-Agent request header field.
const std::string user_agent;
- // Experimental options encoded as a string in a JSON format containing
- // 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",
- // ...}, "experiment2: {"option3", "option_value3", ...}, ...}
- const std::string experimental_options;
// Certificate verifier for testing.
std::unique_ptr<net::CertVerifier> mock_cert_verifier;
@@ -169,6 +162,14 @@ struct URLRequestContextConfig {
std::unique_ptr<base::DictionaryValue> effective_experimental_options;
private:
+ // Experimental options encoded as a string in a JSON format containing
+ // 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",
+ // ...}, "experiment2: {"option3", "option_value3", ...}, ...}
+ const std::string experimental_options;
xunjieli 2017/05/02 17:56:34 nice!
+
DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig);
};

Powered by Google App Engine
This is Rietveld 408576698