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

Side by Side Diff: components/cronet/android/url_request_context_adapter.h

Issue 544223003: Add SetSupportsQuic method to explicitly specify server that supports QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync Created 6 years, 3 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_ANDROID_URL_REQUEST_CONTEXT_ADAPTER_H_ 5 #ifndef COMPONENTS_CRONET_ANDROID_URL_REQUEST_CONTEXT_ADAPTER_H_
6 #define COMPONENTS_CRONET_ANDROID_URL_REQUEST_CONTEXT_ADAPTER_H_ 6 #define COMPONENTS_CRONET_ANDROID_URL_REQUEST_CONTEXT_ADAPTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 scoped_refptr<URLRequestContextAdapterDelegate> delegate_; 70 scoped_refptr<URLRequestContextAdapterDelegate> delegate_;
71 scoped_ptr<net::URLRequestContext> context_; 71 scoped_ptr<net::URLRequestContext> context_;
72 std::string user_agent_; 72 std::string user_agent_;
73 base::Thread* network_thread_; 73 base::Thread* network_thread_;
74 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; 74 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
75 scoped_ptr<NetLogObserver> net_log_observer_; 75 scoped_ptr<NetLogObserver> net_log_observer_;
76 scoped_ptr<net::NetLogLogger> net_log_logger_; 76 scoped_ptr<net::NetLogLogger> net_log_logger_;
77 77
78 virtual ~URLRequestContextAdapter(); 78 virtual ~URLRequestContextAdapter();
79 79
80 // Initializes |context_| on the IO thread. 80 // Initializes |context_| on the Network thread.
81 void InitializeURLRequestContext(scoped_ptr<URLRequestContextConfig> config); 81 void InitializeURLRequestContext(scoped_ptr<URLRequestContextConfig> config);
82 82
83 DISALLOW_COPY_AND_ASSIGN(URLRequestContextAdapter); 83 DISALLOW_COPY_AND_ASSIGN(URLRequestContextAdapter);
84 }; 84 };
85 85
86 } // namespace cronet 86 } // namespace cronet
87 87
88 #endif // COMPONENTS_CRONET_ANDROID_URL_REQUEST_CONTEXT_ADAPTER_H_ 88 #endif // COMPONENTS_CRONET_ANDROID_URL_REQUEST_CONTEXT_ADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698