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

Side by Side Diff: components/cronet/url_request_context_config.h

Issue 937513003: Add Data Saver support to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ 5 #ifndef COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_
6 #define COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ 6 #define COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/json/json_value_converter.h" 10 #include "base/json/json_value_converter.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // the cache. 67 // the cache.
68 bool load_disable_cache; 68 bool load_disable_cache;
69 // Storage path for http cache and cookie storage. 69 // Storage path for http cache and cookie storage.
70 std::string storage_path; 70 std::string storage_path;
71 // User-Agent request header field. 71 // User-Agent request header field.
72 std::string user_agent; 72 std::string user_agent;
73 // App-provided list of servers that support QUIC. 73 // App-provided list of servers that support QUIC.
74 ScopedVector<QuicHint> quic_hints; 74 ScopedVector<QuicHint> quic_hints;
75 // Comma-separted list of QUIC connection options. 75 // Comma-separted list of QUIC connection options.
76 std::string quic_connection_options; 76 std::string quic_connection_options;
77 // Enable Data Saver with authentication key.
78 bool enable_data_saver;
79 std::string data_saver_key;
77 80
78 private: 81 private:
79 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); 82 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig);
80 }; 83 };
81 84
82 } // namespace cronet 85 } // namespace cronet
83 86
84 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ 87 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698