net 90 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* AwBrowserContext::CreateRequestContext( net 102 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* net 155 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* AwBrowserContext::GetRequestContext() { net 159 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* net 165 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* AwBrowserContext::GetMediaRequestContext() { net 204 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* net 210 android_webview/browser/aw_browser_context.cc net::URLRequestContextGetter* net 30 android_webview/browser/aw_browser_context.h namespace net { net 67 android_webview/browser/aw_browser_context.h net::URLRequestContextGetter* CreateRequestContext( net 69 android_webview/browser/aw_browser_context.h net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 82 android_webview/browser/aw_browser_context.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 83 android_webview/browser/aw_browser_context.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 85 android_webview/browser/aw_browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 86 android_webview/browser/aw_browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 88 android_webview/browser/aw_browser_context.h virtual net::URLRequestContextGetter* net 128 android_webview/browser/aw_browser_context.h scoped_refptr<net::CookieStore> cookie_store_; net 37 android_webview/browser/aw_browser_main_parts.cc net::NetworkChangeNotifier::SetFactory( net 38 android_webview/browser/aw_browser_main_parts.cc new net::NetworkChangeNotifierFactoryAndroid()); net 172 android_webview/browser/aw_content_browser_client.cc void AwContentBrowserClient::AddCertificate(net::URLRequest* request, net 173 android_webview/browser/aw_content_browser_client.cc net::CertificateMimeType cert_type, net 179 android_webview/browser/aw_content_browser_client.cc net::android::StoreCertificate(cert_type, cert_data, cert_size); net 212 android_webview/browser/aw_content_browser_client.cc net::URLRequestContextGetter* AwContentBrowserClient::CreateRequestContext( net 222 android_webview/browser/aw_content_browser_client.cc net::URLRequestContextGetter* net 271 android_webview/browser/aw_content_browser_client.cc const net::CookieList& cookie_list, net 289 android_webview/browser/aw_content_browser_client.cc net::CookieOptions* options) { net 336 android_webview/browser/aw_content_browser_client.cc const net::SSLInfo& ssl_info, net 359 android_webview/browser/aw_content_browser_client.cc const net::HttpNetworkSession* network_session, net 360 android_webview/browser/aw_content_browser_client.cc net::SSLCertRequestInfo* cert_request_info, net 361 android_webview/browser/aw_content_browser_client.cc const base::Callback<void(net::X509Certificate*)>& callback) { net 432 android_webview/browser/aw_content_browser_client.cc net::NetLog* AwContentBrowserClient::GetNetLog() { net 34 android_webview/browser/aw_content_browser_client.h virtual void AddCertificate(net::URLRequest* request, net 35 android_webview/browser/aw_content_browser_client.h net::CertificateMimeType cert_type, net 46 android_webview/browser/aw_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 50 android_webview/browser/aw_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 68 android_webview/browser/aw_content_browser_client.h const net::CookieList& cookie_list, net 78 android_webview/browser/aw_content_browser_client.h net::CookieOptions* options) OVERRIDE; net 101 android_webview/browser/aw_content_browser_client.h const net::SSLInfo& ssl_info, net 111 android_webview/browser/aw_content_browser_client.h const net::HttpNetworkSession* network_session, net 112 android_webview/browser/aw_content_browser_client.h net::SSLCertRequestInfo* cert_request_info, net 113 android_webview/browser/aw_content_browser_client.h const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; net 147 android_webview/browser/aw_content_browser_client.h virtual net::NetLog* GetNetLog() OVERRIDE; net 18 android_webview/browser/aw_contents_client_bridge_base.h namespace net { net 42 android_webview/browser/aw_contents_client_bridge_base.h net::X509Certificate* cert, net 14 android_webview/browser/aw_contents_io_thread_client.h namespace net { net 73 android_webview/browser/aw_contents_io_thread_client.h const net::URLRequest* request) = 0; net 41 android_webview/browser/aw_cookie_access_policy.cc bool AwCookieAccessPolicy::OnCanGetCookies(const net::URLRequest& request, net 42 android_webview/browser/aw_cookie_access_policy.cc const net::CookieList& cookie_list) { net 46 android_webview/browser/aw_cookie_access_policy.cc bool AwCookieAccessPolicy::OnCanSetCookie(const net::URLRequest& request, net 48 android_webview/browser/aw_cookie_access_policy.cc net::CookieOptions* options) { net 54 android_webview/browser/aw_cookie_access_policy.cc const net::CookieList& cookie_list, net 67 android_webview/browser/aw_cookie_access_policy.cc net::CookieOptions* options) { net 17 android_webview/browser/aw_cookie_access_policy.h namespace net { net 38 android_webview/browser/aw_cookie_access_policy.h bool OnCanGetCookies(const net::URLRequest& request, net 39 android_webview/browser/aw_cookie_access_policy.h const net::CookieList& cookie_list); net 40 android_webview/browser/aw_cookie_access_policy.h bool OnCanSetCookie(const net::URLRequest& request, net 42 android_webview/browser/aw_cookie_access_policy.h net::CookieOptions* options); net 48 android_webview/browser/aw_cookie_access_policy.h const net::CookieList& cookie_list, net 58 android_webview/browser/aw_cookie_access_policy.h net::CookieOptions* options); net 12 android_webview/browser/aw_http_auth_handler_base.h namespace net { net 26 android_webview/browser/aw_http_auth_handler_base.h net::AuthChallengeInfo* auth_info, net 39 android_webview/browser/aw_login_delegate.cc AwLoginDelegate::AwLoginDelegate(net::AuthChallengeInfo* auth_info, net 40 android_webview/browser/aw_login_delegate.cc net::URLRequest* request) net 114 android_webview/browser/aw_login_delegate.cc request_->SetAuth(net::AuthCredentials(user, password)); net 14 android_webview/browser/aw_login_delegate.h namespace net { net 24 android_webview/browser/aw_login_delegate.h AwLoginDelegate(net::AuthChallengeInfo* auth_info, net 25 android_webview/browser/aw_login_delegate.h net::URLRequest* request); net 43 android_webview/browser/aw_login_delegate.h scoped_refptr<net::AuthChallengeInfo> auth_info_; net 44 android_webview/browser/aw_login_delegate.h net::URLRequest* request_; net 40 android_webview/browser/aw_request_interceptor.cc net::URLRequest* request) const { net 56 android_webview/browser/aw_request_interceptor.cc net::URLRequestJob* AwRequestInterceptor::MaybeCreateJob( net 57 android_webview/browser/aw_request_interceptor.cc net::URLRequest* request, net 58 android_webview/browser/aw_request_interceptor.cc net::NetworkDelegate* network_delegate) const { net 13 android_webview/browser/aw_request_interceptor.h namespace net { net 27 android_webview/browser/aw_request_interceptor.h class AwRequestInterceptor : public net::URLRequestJobFactory::ProtocolHandler { net 33 android_webview/browser/aw_request_interceptor.h virtual net::URLRequestJob* MaybeCreateJob( net 34 android_webview/browser/aw_request_interceptor.h net::URLRequest* request, net 35 android_webview/browser/aw_request_interceptor.h net::NetworkDelegate* network_delegate) const OVERRIDE; net 40 android_webview/browser/aw_request_interceptor.h net::URLRequest* request) const; net 13 android_webview/browser/aw_resource_context.cc AwResourceContext::AwResourceContext(net::URLRequestContextGetter* getter) net 41 android_webview/browser/aw_resource_context.cc net::HostResolver* AwResourceContext::GetHostResolver() { net 46 android_webview/browser/aw_resource_context.cc net::URLRequestContext* AwResourceContext::GetRequestContext() { net 14 android_webview/browser/aw_resource_context.h namespace net { net 22 android_webview/browser/aw_resource_context.h explicit AwResourceContext(net::URLRequestContextGetter* getter); net 29 android_webview/browser/aw_resource_context.h virtual net::HostResolver* GetHostResolver() OVERRIDE; net 30 android_webview/browser/aw_resource_context.h virtual net::URLRequestContext* GetRequestContext() OVERRIDE; net 35 android_webview/browser/aw_resource_context.h net::URLRequestContextGetter* getter_; net 10 android_webview/browser/input_stream.h namespace net { net 43 android_webview/browser/input_stream.h virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) = 0; net 28 android_webview/browser/intercepted_request_data.cc virtual void OnInputStreamOpenFailed(net::URLRequest* request, net 34 android_webview/browser/intercepted_request_data.cc net::URLRequest* request, net 41 android_webview/browser/intercepted_request_data.cc net::URLRequest* request, net 54 android_webview/browser/intercepted_request_data.cc net::URLRequestJob* InterceptedRequestData::CreateJobFor( net 56 android_webview/browser/intercepted_request_data.cc net::URLRequest* request, net 57 android_webview/browser/intercepted_request_data.cc net::NetworkDelegate* network_delegate) { net 13 android_webview/browser/intercepted_request_data.h namespace net { net 37 android_webview/browser/intercepted_request_data.h static net::URLRequestJob* CreateJobFor( net 39 android_webview/browser/intercepted_request_data.h net::URLRequest* request, net 40 android_webview/browser/intercepted_request_data.h net::NetworkDelegate* network_delegate); net 71 android_webview/browser/net/android_stream_reader_url_request_job.cc int Seek(const net::HttpByteRange& byte_range) { net 75 android_webview/browser/net/android_stream_reader_url_request_job.cc int ReadRawData(net::IOBuffer* buffer, int buffer_size) { net 90 android_webview/browser/net/android_stream_reader_url_request_job.cc net::URLRequest* request, net 91 android_webview/browser/net/android_stream_reader_url_request_job.cc net::NetworkDelegate* network_delegate, net 131 android_webview/browser/net/android_stream_reader_url_request_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, net 132 android_webview/browser/net/android_stream_reader_url_request_job.cc net::ERR_IO_PENDING)); net 176 android_webview/browser/net/android_stream_reader_url_request_job.cc SetStatus(net::URLRequestStatus()); net 203 android_webview/browser/net/android_stream_reader_url_request_job.cc SetStatus(net::URLRequestStatus()); net 208 android_webview/browser/net/android_stream_reader_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, result)); net 223 android_webview/browser/net/android_stream_reader_url_request_job.cc NotifyDone(net::URLRequestStatus()); net 225 android_webview/browser/net/android_stream_reader_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, result)); net 228 android_webview/browser/net/android_stream_reader_url_request_job.cc SetStatus(net::URLRequestStatus()); net 237 android_webview/browser/net/android_stream_reader_url_request_job.cc bool AndroidStreamReaderURLRequestJob::ReadRawData(net::IOBuffer* dest, net 259 android_webview/browser/net/android_stream_reader_url_request_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, net 260 android_webview/browser/net/android_stream_reader_url_request_job.cc net::ERR_IO_PENDING)); net 306 android_webview/browser/net/android_stream_reader_url_request_job.cc net::HttpResponseHeaders* headers = new net::HttpResponseHeaders(status); net 311 android_webview/browser/net/android_stream_reader_url_request_job.cc net::HttpRequestHeaders::kContentLength); net 320 android_webview/browser/net/android_stream_reader_url_request_job.cc std::string content_type_header(net::HttpRequestHeaders::kContentType); net 330 android_webview/browser/net/android_stream_reader_url_request_job.cc response_info_.reset(new net::HttpResponseInfo()); net 343 android_webview/browser/net/android_stream_reader_url_request_job.cc net::HttpResponseInfo* info) { net 349 android_webview/browser/net/android_stream_reader_url_request_job.cc const net::HttpRequestHeaders& headers) { net 351 android_webview/browser/net/android_stream_reader_url_request_job.cc if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) { net 354 android_webview/browser/net/android_stream_reader_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 355 android_webview/browser/net/android_stream_reader_url_request_job.cc if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) { net 361 android_webview/browser/net/android_stream_reader_url_request_job.cc NotifyDone(net::URLRequestStatus( net 362 android_webview/browser/net/android_stream_reader_url_request_job.cc net::URLRequestStatus::FAILED, net 363 android_webview/browser/net/android_stream_reader_url_request_job.cc net::ERR_REQUEST_RANGE_NOT_SATISFIABLE)); net 28 android_webview/browser/net/android_stream_reader_url_request_job.h namespace net { net 36 android_webview/browser/net/android_stream_reader_url_request_job.h class AndroidStreamReaderURLRequestJob : public net::URLRequestJob { net 54 android_webview/browser/net/android_stream_reader_url_request_job.h net::URLRequest* request, net 59 android_webview/browser/net/android_stream_reader_url_request_job.h net::URLRequest* request, net 65 android_webview/browser/net/android_stream_reader_url_request_job.h net::URLRequest* request, net 73 android_webview/browser/net/android_stream_reader_url_request_job.h net::URLRequest* request, net 74 android_webview/browser/net/android_stream_reader_url_request_job.h net::NetworkDelegate* network_delegate, net 80 android_webview/browser/net/android_stream_reader_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 84 android_webview/browser/net/android_stream_reader_url_request_job.h const net::HttpRequestHeaders& headers) OVERRIDE; net 88 android_webview/browser/net/android_stream_reader_url_request_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 111 android_webview/browser/net/android_stream_reader_url_request_job.h net::HttpByteRange byte_range_; net 112 android_webview/browser/net/android_stream_reader_url_request_job.h scoped_ptr<net::HttpResponseInfo> response_info_; net 23 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc using net::TestDelegate; net 24 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc using net::TestJobInterceptor; net 25 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc using net::TestNetworkDelegate; net 26 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc using net::TestURLRequestContext; net 27 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc using net::TestURLRequest; net 60 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) OVERRIDE { net 78 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc virtual void OnInputStreamOpenFailed(net::URLRequest* request, net 84 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::URLRequest* request, net 91 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::URLRequest* request, net 114 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc MOCK_METHOD1(Seek, int(const net::HttpByteRange& byte_range)); net 115 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc MOCK_METHOD2(ReadRawData, int(net::IOBuffer* buffer, int buffer_size)); net 122 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::URLRequest* request, net 123 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::NetworkDelegate* network_delegate, net 157 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 163 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc void SetRange(net::URLRequest* req, int first_byte, int last_byte) { net 164 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::HttpRequestHeaders headers; net 165 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc headers.SetHeader(net::HttpRequestHeaders::kRange, net 166 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::HttpByteRange::Bounded( net 340 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc net::CompletionCallback read_completion_callback; net 22 android_webview/browser/net/aw_network_delegate.cc net::URLRequest* request, net 23 android_webview/browser/net/aw_network_delegate.cc const net::CompletionCallback& callback, net 25 android_webview/browser/net/aw_network_delegate.cc return net::OK; net 29 android_webview/browser/net/aw_network_delegate.cc net::URLRequest* request, net 30 android_webview/browser/net/aw_network_delegate.cc const net::CompletionCallback& callback, net 31 android_webview/browser/net/aw_network_delegate.cc net::HttpRequestHeaders* headers) { net 37 android_webview/browser/net/aw_network_delegate.cc return net::OK; net 40 android_webview/browser/net/aw_network_delegate.cc void AwNetworkDelegate::OnSendHeaders(net::URLRequest* request, net 41 android_webview/browser/net/aw_network_delegate.cc const net::HttpRequestHeaders& headers) { net 45 android_webview/browser/net/aw_network_delegate.cc net::URLRequest* request, net 46 android_webview/browser/net/aw_network_delegate.cc const net::CompletionCallback& callback, net 47 android_webview/browser/net/aw_network_delegate.cc const net::HttpResponseHeaders* original_response_headers, net 48 android_webview/browser/net/aw_network_delegate.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 50 android_webview/browser/net/aw_network_delegate.cc return net::OK; net 53 android_webview/browser/net/aw_network_delegate.cc void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, net 57 android_webview/browser/net/aw_network_delegate.cc void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { net 60 android_webview/browser/net/aw_network_delegate.cc void AwNetworkDelegate::OnRawBytesRead(const net::URLRequest& request, net 64 android_webview/browser/net/aw_network_delegate.cc void AwNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { net 67 android_webview/browser/net/aw_network_delegate.cc void AwNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { net 74 android_webview/browser/net/aw_network_delegate.cc net::NetworkDelegate::AuthRequiredResponse AwNetworkDelegate::OnAuthRequired( net 75 android_webview/browser/net/aw_network_delegate.cc net::URLRequest* request, net 76 android_webview/browser/net/aw_network_delegate.cc const net::AuthChallengeInfo& auth_info, net 78 android_webview/browser/net/aw_network_delegate.cc net::AuthCredentials* credentials) { net 82 android_webview/browser/net/aw_network_delegate.cc bool AwNetworkDelegate::OnCanGetCookies(const net::URLRequest& request, net 83 android_webview/browser/net/aw_network_delegate.cc const net::CookieList& cookie_list) { net 88 android_webview/browser/net/aw_network_delegate.cc bool AwNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, net 90 android_webview/browser/net/aw_network_delegate.cc net::CookieOptions* options) { net 96 android_webview/browser/net/aw_network_delegate.cc bool AwNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, net 102 android_webview/browser/net/aw_network_delegate.cc const net::URLRequest& request) const { net 107 android_webview/browser/net/aw_network_delegate.cc net::SocketStream* stream, net 108 android_webview/browser/net/aw_network_delegate.cc const net::CompletionCallback& callback) { net 109 android_webview/browser/net/aw_network_delegate.cc return net::OK; net 14 android_webview/browser/net/aw_network_delegate.h class AwNetworkDelegate : public net::NetworkDelegate { net 21 android_webview/browser/net/aw_network_delegate.h virtual int OnBeforeURLRequest(net::URLRequest* request, net 22 android_webview/browser/net/aw_network_delegate.h const net::CompletionCallback& callback, net 24 android_webview/browser/net/aw_network_delegate.h virtual int OnBeforeSendHeaders(net::URLRequest* request, net 25 android_webview/browser/net/aw_network_delegate.h const net::CompletionCallback& callback, net 26 android_webview/browser/net/aw_network_delegate.h net::HttpRequestHeaders* headers) OVERRIDE; net 27 android_webview/browser/net/aw_network_delegate.h virtual void OnSendHeaders(net::URLRequest* request, net 28 android_webview/browser/net/aw_network_delegate.h const net::HttpRequestHeaders& headers) OVERRIDE; net 30 android_webview/browser/net/aw_network_delegate.h net::URLRequest* request, net 31 android_webview/browser/net/aw_network_delegate.h const net::CompletionCallback& callback, net 32 android_webview/browser/net/aw_network_delegate.h const net::HttpResponseHeaders* original_response_headers, net 33 android_webview/browser/net/aw_network_delegate.h scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 35 android_webview/browser/net/aw_network_delegate.h virtual void OnBeforeRedirect(net::URLRequest* request, net 37 android_webview/browser/net/aw_network_delegate.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 38 android_webview/browser/net/aw_network_delegate.h virtual void OnRawBytesRead(const net::URLRequest& request, net 40 android_webview/browser/net/aw_network_delegate.h virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE; net 41 android_webview/browser/net/aw_network_delegate.h virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE; net 44 android_webview/browser/net/aw_network_delegate.h virtual net::NetworkDelegate::AuthRequiredResponse OnAuthRequired( net 45 android_webview/browser/net/aw_network_delegate.h net::URLRequest* request, net 46 android_webview/browser/net/aw_network_delegate.h const net::AuthChallengeInfo& auth_info, net 48 android_webview/browser/net/aw_network_delegate.h net::AuthCredentials* credentials) OVERRIDE; net 49 android_webview/browser/net/aw_network_delegate.h virtual bool OnCanGetCookies(const net::URLRequest& request, net 50 android_webview/browser/net/aw_network_delegate.h const net::CookieList& cookie_list) OVERRIDE; net 51 android_webview/browser/net/aw_network_delegate.h virtual bool OnCanSetCookie(const net::URLRequest& request, net 53 android_webview/browser/net/aw_network_delegate.h net::CookieOptions* options) OVERRIDE; net 54 android_webview/browser/net/aw_network_delegate.h virtual bool OnCanAccessFile(const net::URLRequest& request, net 57 android_webview/browser/net/aw_network_delegate.h const net::URLRequest& request) const OVERRIDE; net 59 android_webview/browser/net/aw_network_delegate.h net::SocketStream* stream, net 60 android_webview/browser/net/aw_network_delegate.h const net::CompletionCallback& callback) OVERRIDE; net 44 android_webview/browser/net/aw_url_request_context_getter.cc net::URLRequestContextBuilder* builder) { net 50 android_webview/browser/net/aw_url_request_context_getter.cc scoped_ptr<net::MappedHostResolver> host_resolver( net 51 android_webview/browser/net/aw_url_request_context_getter.cc new net::MappedHostResolver( net 52 android_webview/browser/net/aw_url_request_context_getter.cc net::HostResolver::CreateDefaultResolver(NULL))); net 60 android_webview/browser/net/aw_url_request_context_getter.cc net::HttpNetworkSession::Params* params) { net 76 android_webview/browser/net/aw_url_request_context_getter.cc net::URLRequestContext* context, net 77 android_webview/browser/net/aw_url_request_context_getter.cc net::HttpNetworkSession::Params* params) { net 91 android_webview/browser/net/aw_url_request_context_getter.cc scoped_ptr<net::URLRequestJobFactory> CreateJobFactory( net 96 android_webview/browser/net/aw_url_request_context_getter.cc new net::FileProtocolHandler( net 102 android_webview/browser/net/aw_url_request_context_getter.cc content::kDataScheme, new net::DataProtocolHandler()); net 124 android_webview/browser/net/aw_url_request_context_getter.cc typedef std::vector<net::URLRequestJobFactory::ProtocolHandler*> net 147 android_webview/browser/net/aw_url_request_context_getter.cc scoped_ptr<net::URLRequestJobFactory> job_factory(aw_job_factory.Pass()); net 152 android_webview/browser/net/aw_url_request_context_getter.cc job_factory.reset(new net::ProtocolInterceptJobFactory( net 162 android_webview/browser/net/aw_url_request_context_getter.cc const base::FilePath& partition_path, net::CookieStore* cookie_store) net 165 android_webview/browser/net/aw_url_request_context_getter.cc proxy_config_service_(net::ProxyService::CreateSystemProxyConfigService( net 179 android_webview/browser/net/aw_url_request_context_getter.cc net::URLRequestContextBuilder builder; net 186 android_webview/browser/net/aw_url_request_context_getter.cc builder.set_accept_language(net::HttpUtil::GenerateAcceptLanguageHeader( net 192 android_webview/browser/net/aw_url_request_context_getter.cc net::HttpNetworkSession::Params network_session_params; net 197 android_webview/browser/net/aw_url_request_context_getter.cc net::HttpCache* main_cache = new net::HttpCache( net 199 android_webview/browser/net/aw_url_request_context_getter.cc new net::HttpCache::DefaultBackend( net 200 android_webview/browser/net/aw_url_request_context_getter.cc net::DISK_CACHE, net 201 android_webview/browser/net/aw_url_request_context_getter.cc net::CACHE_BACKEND_SIMPLE, net 214 android_webview/browser/net/aw_url_request_context_getter.cc net::HttpStreamFactory::EnableNpnSpdy31(); net 217 android_webview/browser/net/aw_url_request_context_getter.cc net::URLRequestContext* AwURLRequestContextGetter::GetURLRequestContext() { net 17 android_webview/browser/net/aw_url_request_context_getter.h namespace net { net 29 android_webview/browser/net/aw_url_request_context_getter.h class AwURLRequestContextGetter : public net::URLRequestContextGetter { net 32 android_webview/browser/net/aw_url_request_context_getter.h net::CookieStore* cookie_store); net 37 android_webview/browser/net/aw_url_request_context_getter.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 56 android_webview/browser/net/aw_url_request_context_getter.h scoped_refptr<net::CookieStore> cookie_store_; net 57 android_webview/browser/net/aw_url_request_context_getter.h scoped_ptr<net::URLRequestContext> url_request_context_; net 58 android_webview/browser/net/aw_url_request_context_getter.h scoped_ptr<net::ProxyConfigService> proxy_config_service_; net 59 android_webview/browser/net/aw_url_request_context_getter.h scoped_ptr<net::URLRequestJobFactory> job_factory_; net 60 android_webview/browser/net/aw_url_request_context_getter.h scoped_ptr<net::HttpTransactionFactory> main_http_factory_; net 12 android_webview/browser/net/aw_url_request_job_factory.cc using net::NetworkDelegate; net 13 android_webview/browser/net/aw_url_request_job_factory.cc using net::URLRequest; net 14 android_webview/browser/net/aw_url_request_job_factory.cc using net::URLRequestJob; net 19 android_webview/browser/net/aw_url_request_job_factory.cc : next_factory_(new net::URLRequestJobFactoryImpl()) { net 53 android_webview/browser/net/aw_url_request_job_factory.cc if (net::URLRequest::IsHandledProtocol(scheme)) net 56 android_webview/browser/net/aw_url_request_job_factory.cc return new net::URLRequestErrorJob( net 57 android_webview/browser/net/aw_url_request_job_factory.cc request, network_delegate, net::ERR_UNKNOWN_URL_SCHEME); net 11 android_webview/browser/net/aw_url_request_job_factory.h namespace net { net 23 android_webview/browser/net/aw_url_request_job_factory.h class AwURLRequestJobFactory : public net::URLRequestJobFactory { net 32 android_webview/browser/net/aw_url_request_job_factory.h virtual net::URLRequestJob* MaybeCreateJobWithProtocolHandler( net 34 android_webview/browser/net/aw_url_request_job_factory.h net::URLRequest* request, net 35 android_webview/browser/net/aw_url_request_job_factory.h net::NetworkDelegate* network_delegate) const OVERRIDE; net 43 android_webview/browser/net/aw_url_request_job_factory.h scoped_ptr<net::URLRequestJobFactoryImpl> next_factory_; net 12 android_webview/browser/net/init_native_callback.h namespace net { net 20 android_webview/browser/net/init_native_callback.h scoped_refptr<net::CookieStore> CreateCookieStore( net 24 android_webview/browser/net/init_native_callback.h scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 28 android_webview/browser/net/init_native_callback.h scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 25 android_webview/browser/net/input_stream_reader.cc int InputStreamReader::Seek(const net::HttpByteRange& byte_range) { net 27 android_webview/browser/net/input_stream_reader.cc net::HttpByteRange verified_byte_range(byte_range); net 30 android_webview/browser/net/input_stream_reader.cc if (error_code != net::OK) net 34 android_webview/browser/net/input_stream_reader.cc if (error_code != net::OK) net 41 android_webview/browser/net/input_stream_reader.cc int InputStreamReader::ReadRawData(net::IOBuffer* dest, int dest_size) { net 49 android_webview/browser/net/input_stream_reader.cc return net::ERR_FAILED; net 54 android_webview/browser/net/input_stream_reader.cc int InputStreamReader::VerifyRequestedRange(net::HttpByteRange* byte_range, net 59 android_webview/browser/net/input_stream_reader.cc return net::ERR_FAILED; net 62 android_webview/browser/net/input_stream_reader.cc return net::OK; net 66 android_webview/browser/net/input_stream_reader.cc return net::ERR_REQUEST_RANGE_NOT_SATISFIABLE; net 73 android_webview/browser/net/input_stream_reader.cc return net::OK; net 77 android_webview/browser/net/input_stream_reader.cc const net::HttpByteRange& byte_range) { net 86 android_webview/browser/net/input_stream_reader.cc return net::ERR_FAILED; net 89 android_webview/browser/net/input_stream_reader.cc return net::ERR_REQUEST_RANGE_NOT_SATISFIABLE; net 95 android_webview/browser/net/input_stream_reader.cc return net::OK; net 10 android_webview/browser/net/input_stream_reader.h namespace net { net 35 android_webview/browser/net/input_stream_reader.h virtual int Seek(const net::HttpByteRange& byte_range); net 42 android_webview/browser/net/input_stream_reader.h virtual int ReadRawData(net::IOBuffer* buffer, int buffer_size); net 47 android_webview/browser/net/input_stream_reader.h int VerifyRequestedRange(net::HttpByteRange* byte_range, net 52 android_webview/browser/net/input_stream_reader.h int SkipToRequestedRange(const net::HttpByteRange& byte_range); net 37 android_webview/browser/net/input_stream_reader_unittest.cc MOCK_METHOD3(Read, bool(net::IOBuffer* dest, int length, int* bytes_read)); net 47 android_webview/browser/net/input_stream_reader_unittest.cc net::HttpByteRange byte_range; net 53 android_webview/browser/net/input_stream_reader_unittest.cc int ReadRawData(scoped_refptr<net::IOBuffer> buffer, int bytesToRead) { net 146 android_webview/browser/net/input_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(bytesToRead); net 156 android_webview/browser/net/input_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(1); net 165 android_webview/browser/net/input_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(bytesToRead); net 20 android_webview/browser/net_disk_cache_remover.cc using net::CompletionCallback; net 21 android_webview/browser/net_disk_cache_remover.cc using net::URLRequestContextGetter; net 27 android_webview/browser/net_disk_cache_remover.cc DCHECK(rv == net::OK); net 31 android_webview/browser/net_disk_cache_remover.cc DCHECK(rv == net::OK); net 46 android_webview/browser/net_disk_cache_remover.cc if (rv != net::ERR_IO_PENDING) net 47 android_webview/browser/net_disk_cache_remover.cc callback.Run(net::OK); net 39 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request, int flag) { net 40 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc const int all_cache_control_flags = net::LOAD_BYPASS_CACHE | net 41 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::LOAD_VALIDATE_CACHE | net 42 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::LOAD_PREFERRING_CACHE | net 43 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::LOAD_ONLY_FROM_CACHE; net 64 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request); net 82 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request_; net 87 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request) net 142 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc controller()->CancelWithError(net::ERR_ACCESS_DENIED); net 176 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc SetCacheControlFlag(request_, net::LOAD_ONLY_FROM_CACHE); net 181 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc SetCacheControlFlag(request_, net::LOAD_PREFERRING_CACHE); net 184 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc SetCacheControlFlag(request_, net::LOAD_BYPASS_CACHE); net 187 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc SetCacheControlFlag(request_, net::LOAD_ONLY_FROM_CACHE); net 210 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 241 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 249 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 264 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::HttpRequestHeaders::kUserAgent, &user_agent); net 267 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::HttpResponseHeaders* response_headers = request->response_headers(); net 296 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::AuthChallengeInfo* auth_info, net 297 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request) { net 313 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 403 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 421 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc net::HttpRequestHeaders headers; net 423 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc for (net::HttpRequestHeaders::Iterator it(headers); it.GetNext(); ) { net 33 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h net::URLRequest* request, net 41 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h net::URLRequest* request, net 50 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h net::AuthChallengeInfo* auth_info, net 51 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h net::URLRequest* request) OVERRIDE; net 57 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h net::URLRequest* request, net 64 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h net::URLRequest* request, net 88 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h void AddExtraHeadersIfNeeded(net::URLRequest* request, net 9 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java import android.net.Uri; net 18 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java import java.net.URLConnection; net 18 android_webview/java/src/org/chromium/android_webview/AwContents.java import android.net.http.SslCertificate; net 60 android_webview/java/src/org/chromium/android_webview/AwContents.java import java.net.MalformedURLException; net 61 android_webview/java/src/org/chromium/android_webview/AwContents.java import java.net.URL; net 10 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java import android.net.http.SslError; net 22 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java import org.chromium.net.NetError; net 7 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java import android.net.http.SslCertificate; net 8 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java import android.net.http.SslError; net 11 android_webview/java/src/org/chromium/android_webview/AwGeolocationPermissions.java import org.chromium.net.GURLUtils; net 7 android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java import org.chromium.net.NetError; net 7 android_webview/java/src/org/chromium/android_webview/SslUtil.java import android.net.http.SslCertificate; net 8 android_webview/java/src/org/chromium/android_webview/SslUtil.java import android.net.http.SslError; net 11 android_webview/java/src/org/chromium/android_webview/SslUtil.java import org.chromium.net.NetError; net 12 android_webview/java/src/org/chromium/android_webview/SslUtil.java import org.chromium.net.X509Util; net 13 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientAutoLoginTest.java import org.chromium.net.test.util.TestWebServer; net 14 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFaviconTest.java import org.chromium.net.test.util.TestWebServer; net 17 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFaviconTest.java import java.net.URL; net 17 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java import org.chromium.net.test.util.TestWebServer; net 17 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java import org.chromium.net.test.util.TestWebServer; net 18 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java import org.chromium.net.test.util.TestWebServer; net 13 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java import org.chromium.net.test.util.TestWebServer; net 22 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java import org.chromium.net.test.util.TestWebServer; net 25 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java import java.net.URL; net 17 android_webview/javatests/src/org/chromium/android_webview/test/AwQuotaManagerBridgeTest.java import org.chromium.net.test.util.TestWebServer; net 34 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import org.chromium.net.test.util.TestWebServer; net 14 android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageFinishedTest.java import org.chromium.net.test.util.TestWebServer; net 11 android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java import android.net.Proxy; net 19 android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java import org.chromium.net.ProxyChangeListener; net 16 android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java import org.chromium.net.test.util.TestWebServer; net 16 android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java import org.chromium.net.test.util.TestWebServer; net 12 android_webview/javatests/src/org/chromium/android_webview/test/GetTitleTest.java import org.chromium.net.test.util.TestWebServer; net 18 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java import org.chromium.net.test.util.TestWebServer; net 20 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java import org.chromium.net.test.util.TestWebServer; net 17 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java import org.chromium.net.test.util.TestWebServer; net 15 android_webview/javatests/src/org/chromium/android_webview/test/SaveRestoreStateTest.java import org.chromium.net.test.util.TestWebServer; net 20 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java import org.chromium.net.test.util.TestWebServer; net 7 android_webview/javatests/src/org/chromium/android_webview/test/util/ImagePageGenerator.java import org.chromium.net.test.util.TestWebServer; net 10 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java import org.chromium.net.test.util.TestWebServer; net 13 android_webview/lib/aw_browser_dependency_factory_impl.h namespace net { net 49 android_webview/native/android_protocol_handler.cc void MarkRequestAsFailed(net::URLRequest* request) { net 54 android_webview/native/android_protocol_handler.cc bool HasRequestPreviouslyFailed(net::URLRequest* request) { net 67 android_webview/native/android_protocol_handler.cc virtual void OnInputStreamOpenFailed(net::URLRequest* request, net 71 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 76 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 84 android_webview/native/android_protocol_handler.cc public net::URLRequestJobFactory::ProtocolHandler { net 86 android_webview/native/android_protocol_handler.cc virtual net::URLRequestJob* MaybeCreateJob( net 87 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 88 android_webview/native/android_protocol_handler.cc net::NetworkDelegate* network_delegate) const OVERRIDE; net 90 android_webview/native/android_protocol_handler.cc virtual bool CanHandleRequest(const net::URLRequest* request) const = 0; net 98 android_webview/native/android_protocol_handler.cc virtual bool CanHandleRequest(const net::URLRequest* request) const OVERRIDE; net 111 android_webview/native/android_protocol_handler.cc virtual bool CanHandleRequest(const net::URLRequest* request) const OVERRIDE; net 157 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 166 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 193 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 202 android_webview/native/android_protocol_handler.cc net::URLRequestJob* AndroidProtocolHandlerBase::MaybeCreateJob( net 203 android_webview/native/android_protocol_handler.cc net::URLRequest* request, net 204 android_webview/native/android_protocol_handler.cc net::NetworkDelegate* network_delegate) const { net 243 android_webview/native/android_protocol_handler.cc const net::URLRequest* request) const { net 262 android_webview/native/android_protocol_handler.cc const net::URLRequest* request) const { net 275 android_webview/native/android_protocol_handler.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 277 android_webview/native/android_protocol_handler.cc return make_scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 282 android_webview/native/android_protocol_handler.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 284 android_webview/native/android_protocol_handler.cc return make_scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 12 android_webview/native/android_protocol_handler.h namespace net { net 24 android_webview/native/android_protocol_handler.h scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 31 android_webview/native/android_protocol_handler.h scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 704 android_webview/native/aw_contents.cc scoped_refptr<net::X509Certificate> cert; net 711 android_webview/native/aw_contents.cc net::X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_string); net 47 android_webview/native/aw_contents_client_bridge.cc net::X509Certificate* cert, net 60 android_webview/native/aw_contents_client_bridge.cc net::X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_string); net 17 android_webview/native/aw_contents_client_bridge.h namespace net { net 38 android_webview/native/aw_contents_client_bridge.h net::X509Certificate* cert, net 233 android_webview/native/aw_contents_io_thread_client_impl.cc const net::URLRequest* request) { net 21 android_webview/native/aw_contents_io_thread_client_impl.h namespace net { net 51 android_webview/native/aw_contents_io_thread_client_impl.h const net::URLRequest* request) OVERRIDE; net 118 android_webview/native/aw_dev_tools_server.cc virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( net 119 android_webview/native/aw_dev_tools_server.cc net::StreamListenSocket::Delegate* delegate, net 121 android_webview/native/aw_dev_tools_server.cc return scoped_ptr<net::StreamListenSocket>(); net 177 android_webview/native/aw_dev_tools_server.cc new net::UnixDomainSocketWithAbstractNamespaceFactory( net 21 android_webview/native/aw_http_auth_handler.cc net::AuthChallengeInfo* auth_info, net 71 android_webview/native/aw_http_auth_handler.cc net::AuthChallengeInfo* auth_info, net 21 android_webview/native/aw_http_auth_handler.h namespace net { net 33 android_webview/native/aw_http_auth_handler.h net::AuthChallengeInfo* auth_info, net 41 android_webview/native/cookie_manager.cc using net::CookieList; net 42 android_webview/native/cookie_manager.cc using net::CookieMonster; net 94 android_webview/native/cookie_manager.cc scoped_refptr<net::CookieStore> CreateBrowserThreadCookieStore( net 152 android_webview/native/cookie_manager.cc scoped_refptr<net::CookieMonster> cookie_monster_; net 194 android_webview/native/cookie_manager.cc net::CookieStore* cookie_store = content::CreateCookieStore(cookie_config); net 238 android_webview/native/cookie_manager.cc scoped_refptr<net::CookieStore> CookieManager::CreateBrowserThreadCookieStore( net 288 android_webview/native/cookie_manager.cc net::CookieOptions options; net 319 android_webview/native/cookie_manager.cc net::CookieOptions options; net 494 android_webview/native/cookie_manager.cc scoped_refptr<net::CookieStore> CreateCookieStore( net 76 android_webview/native/input_stream_impl.cc bool InputStreamImpl::Read(net::IOBuffer* dest, int length, int* bytes_read) { net 12 android_webview/native/input_stream_impl.h namespace net { net 37 android_webview/native/input_stream_impl.h virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) OVERRIDE; net 21 android_webview/native/input_stream_unittest.cc using net::IOBuffer; net 14 android_webview/native/net_init_native_callback.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 19 android_webview/native/net_init_native_callback.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 176 android_webview/renderer/aw_content_renderer_client.cc net::EscapeForHTML(error_url.possibly_invalid_spec())); net 181 android_webview/renderer/aw_content_renderer_client.cc *error_description = base::ASCIIToUTF16(net::ErrorToString(error.reason)); net 652 android_webview/renderer/print_web_view_helper.cc net::EscapeQueryParamValue(frame()->selectionAsMarkup().utf8(), false)); net 9 android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java import android.net.http.SslError; net 17 android_webview/test/shell/src/org/chromium/android_webview/test/TestContentProvider.java import android.net.Uri; net 189 apps/launcher.cc if (!net::GetMimeTypeFromFile(file_path_, &mime_type)) net 30 apps/shell/browser/shell_browser_main_parts.h namespace net { net 79 apps/shell/browser/shell_browser_main_parts.h scoped_ptr<net::NetLog> net_log_; net 63 apps/shell/browser/shell_content_browser_client.cc net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext( net 71 apps/shell/browser/shell_content_browser_client.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 75 apps/shell/browser/shell_content_browser_client.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 33 apps/shell/browser/shell_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 21 ash/shell/content_client/shell_browser_main_parts.h namespace net { net 54 ash/shell/content_client/shell_browser_main_parts.h scoped_ptr<net::NetLog> net_log_; net 27 ash/shell/content_client/shell_content_browser_client.cc net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext( net 32 ash/shell/content_client/shell_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 9 base/android/java/src/org/chromium/base/ContentUriUtils.java import android.net.Uri; net 11 base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java import android.net.Uri; net 45 base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java java.net.URLEncoder.encode(html, "UTF-8"); net 64 base/threading/thread_restrictions.h namespace net { net 215 base/threading/thread_restrictions.h friend class net::FileStreamPosix; // http://crbug.com/115067 net 216 base/threading/thread_restrictions.h friend class net::FileStreamWin; // http://crbug.com/115067 net 217 base/threading/thread_restrictions.h friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097 net 22 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java import android.net.Uri; net 10 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java import android.net.http.SslCertificate; net 19 chrome/android/java/src/org/chromium/chrome/browser/ChromeBrowserProvider.java import android.net.Uri; net 8 chrome/android/java/src/org/chromium/chrome/browser/ChromeBrowserProviderClient.java import android.net.Uri; net 11 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java import android.net.Uri; net 9 chrome/android/java/src/org/chromium/chrome/browser/PKCS11AuthenticationManager.java import org.chromium.net.AndroidPrivateKey; net 18 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import org.chromium.net.AndroidPrivateKey; net 19 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import org.chromium.net.DefaultAndroidKeyStore; net 11 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java import java.net.URI; net 12 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java import java.net.URISyntaxException; net 29 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java import java.net.URISyntaxException; net 5 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java package org.chromium.chrome.browser.net.spdyproxy; net 12 chrome/android/javatests/src/org/chromium/chrome/browser/UrlUtilitiesTest.java import java.net.URI; net 13 chrome/android/javatests/src/org/chromium/chrome/browser/UrlUtilitiesTest.java import java.net.URISyntaxException; net 9 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarksUriTest.java import android.net.Uri; net 9 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderSearchesUriTest.java import android.net.Uri; net 17 chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java import java.net.URL; net 10 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellPKCS11AuthenticationManager.java import org.chromium.net.AndroidPrivateKey; net 10 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java import android.net.Uri; net 35 chrome/app/android/chrome_android_initializer.cc net::ProxyResolverV8::RememberDefaultIsolate(); net 40 chrome/app/signature_validator_win_unittest.cc test_roots_ = net::TestRootCerts::GetInstance(); net 100 chrome/app/signature_validator_win_unittest.cc net::TestRootCerts* test_roots_; net 351 chrome/browser/android/dev_tools_server.cc virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( net 352 chrome/browser/android/dev_tools_server.cc net::StreamListenSocket::Delegate* delegate, net 356 chrome/browser/android/dev_tools_server.cc return net::UnixDomainSocket::CreateAndListenWithAbstractNamespace( net 361 chrome/browser/android/dev_tools_server.cc .PassAs<net::StreamListenSocket>(); net 413 chrome/browser/android/dev_tools_server.cc new net::UnixDomainSocketWithAbstractNamespaceFactory( net 16 chrome/browser/android/intercept_download_resource_throttle.cc net::URLRequest* request, net 42 chrome/browser/android/intercept_download_resource_throttle.cc if (request_->method() != net::HttpRequestHeaders::kGetMethod) net 51 chrome/browser/android/intercept_download_resource_throttle.cc net::HttpRequestHeaders headers; net 53 chrome/browser/android/intercept_download_resource_throttle.cc if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) || net 12 chrome/browser/android/intercept_download_resource_throttle.h namespace net { net 22 chrome/browser/android/intercept_download_resource_throttle.h InterceptDownloadResourceThrottle(net::URLRequest* request, net 37 chrome/browser/android/intercept_download_resource_throttle.h const net::URLRequest* request_; net 17 chrome/browser/android/url_utilities.cc net::registry_controlled_domains::PrivateRegistryFilter GetRegistryFilter( net 20 chrome/browser/android/url_utilities.cc ? net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES net 21 chrome/browser/android/url_utilities.cc : net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES; net 34 chrome/browser/android/url_utilities.cc net::registry_controlled_domains::PrivateRegistryFilter filter = net 37 chrome/browser/android/url_utilities.cc return net::registry_controlled_domains::SameDomainOrHost(url_1, net 50 chrome/browser/android/url_utilities.cc net::registry_controlled_domains::PrivateRegistryFilter filter = net 55 chrome/browser/android/url_utilities.cc env, net::registry_controlled_domains::GetDomainAndRegistry( net 69 chrome/browser/apps/app_url_redirector.cc AppUrlRedirector::MaybeCreateThrottleFor(net::URLRequest* request, net 14 chrome/browser/apps/app_url_redirector.h namespace net { net 25 chrome/browser/apps/app_url_redirector.h net::URLRequest* request, net 65 chrome/browser/apps/ephemeral_app_throttle.cc net::URLRequest* request, net 14 chrome/browser/apps/ephemeral_app_throttle.h namespace net { net 26 chrome/browser/apps/ephemeral_app_throttle.h net::URLRequest* request, net 78 chrome/browser/apps/web_view_browsertest.cc class EmptyHttpResponse : public net::test_server::HttpResponse { net 480 chrome/browser/apps/web_view_browsertest.cc static scoped_ptr<net::test_server::HttpResponse> RedirectResponseHandler( net 483 chrome/browser/apps/web_view_browsertest.cc const net::test_server::HttpRequest& request) { net 485 chrome/browser/apps/web_view_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 487 chrome/browser/apps/web_view_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 488 chrome/browser/apps/web_view_browsertest.cc new net::test_server::BasicHttpResponse); net 489 chrome/browser/apps/web_view_browsertest.cc http_response->set_code(net::HTTP_MOVED_PERMANENTLY); net 491 chrome/browser/apps/web_view_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 495 chrome/browser/apps/web_view_browsertest.cc static scoped_ptr<net::test_server::HttpResponse> EmptyResponseHandler( net 497 chrome/browser/apps/web_view_browsertest.cc const net::test_server::HttpRequest& request) { net 499 chrome/browser/apps/web_view_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>( net 503 chrome/browser/apps/web_view_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 1023 chrome/browser/apps/web_view_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 1025 chrome/browser/apps/web_view_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 1026 chrome/browser/apps/web_view_browsertest.cc net::SpawnedTestServer https_server( net 1027 chrome/browser/apps/web_view_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 1031 chrome/browser/apps/web_view_browsertest.cc net::HostPortPair host_and_port = https_server.host_port_pair(); net 281 chrome/browser/autocomplete/autocomplete_input.cc net::registry_controlled_domains::GetRegistryLength( net 283 chrome/browser/autocomplete/autocomplete_input.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 284 chrome/browser/autocomplete/autocomplete_input.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 293 chrome/browser/autocomplete/autocomplete_input.cc net::registry_controlled_domains::GetRegistryLength( net 295 chrome/browser/autocomplete/autocomplete_input.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 296 chrome/browser/autocomplete/autocomplete_input.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 310 chrome/browser/autocomplete/autocomplete_input.cc const std::string canonicalized_host(net::CanonicalizeHost( net 313 chrome/browser/autocomplete/autocomplete_input.cc !net::IsCanonicalizedHostCompliant(canonicalized_host, net 478 chrome/browser/autocomplete/autocomplete_input.cc if (!net::CanStripTrailingSlash(url)) net 112 chrome/browser/autocomplete/autocomplete_provider.cc return net::FormatUrl(url, languages, net 113 chrome/browser/autocomplete/autocomplete_provider.cc net::kFormatUrlOmitAll & ~(trim_http ? 0 : net::kFormatUrlOmitHTTP), net 114 chrome/browser/autocomplete/autocomplete_provider.cc net::UnescapeRule::SPACES, NULL, NULL, NULL); net 57 chrome/browser/autocomplete/base_search_provider.cc class SuggestionDeletionHandler : public net::URLFetcherDelegate { net 71 chrome/browser/autocomplete/base_search_provider.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 73 chrome/browser/autocomplete/base_search_provider.cc scoped_ptr<net::URLFetcher> deletion_fetcher_; net 86 chrome/browser/autocomplete/base_search_provider.cc deletion_fetcher_.reset(net::URLFetcher::Create( net 89 chrome/browser/autocomplete/base_search_provider.cc net::URLFetcher::GET, net 99 chrome/browser/autocomplete/base_search_provider.cc const net::URLFetcher* source) { net 366 chrome/browser/autocomplete/base_search_provider.cc const net::FormatUrlTypes format_types = net 367 chrome/browser/autocomplete/base_search_provider.cc net::kFormatUrlOmitAll & ~(trim_http ? 0 : net::kFormatUrlOmitHTTP); net 369 chrome/browser/autocomplete/base_search_provider.cc base::string16 match_contents = net::FormatUrl(url_, languages, format_types, net 370 chrome/browser/autocomplete/base_search_provider.cc net::UnescapeRule::SPACES, NULL, NULL, &match_start); net 591 chrome/browser/autocomplete/base_search_provider.cc !net::registry_controlled_domains::SameDomainOrHost( net 593 chrome/browser/autocomplete/base_search_provider.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES))) net 610 chrome/browser/autocomplete/base_search_provider.cc void BaseSearchProvider::OnURLFetchComplete(const net::URLFetcher* source) { net 627 chrome/browser/autocomplete/base_search_provider.cc const net::HttpResponseHeaders* const response_headers = net 39 chrome/browser/autocomplete/base_search_provider.h public net::URLFetcherDelegate { net 385 chrome/browser/autocomplete/base_search_provider.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 445 chrome/browser/autocomplete/base_search_provider.h virtual bool IsKeywordFetcher(const net::URLFetcher* fetcher) const = 0; net 166 chrome/browser/autocomplete/bookmark_provider.cc match.contents = net::FormatUrl(url, languages_, net 167 chrome/browser/autocomplete/bookmark_provider.cc net::kFormatUrlOmitAll & net::kFormatUrlOmitHTTP, net 168 chrome/browser/autocomplete/bookmark_provider.cc net::UnescapeRule::SPACES, NULL, NULL, NULL); net 186 chrome/browser/autocomplete/history_quick_provider.cc net::registry_controlled_domains::GetRegistryLength( net 188 chrome/browser/autocomplete/history_quick_provider.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 189 chrome/browser/autocomplete/history_quick_provider.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 267 chrome/browser/autocomplete/history_quick_provider.cc const net::FormatUrlTypes format_types = net::kFormatUrlOmitAll & net 268 chrome/browser/autocomplete/history_quick_provider.cc ~(!history_match.match_in_scheme ? 0 : net::kFormatUrlOmitHTTP); net 271 chrome/browser/autocomplete/history_quick_provider.cc net::FormatUrlWithOffsets(info.url(), languages_, format_types, net 272 chrome/browser/autocomplete/history_quick_provider.cc net::UnescapeRule::SPACES, NULL, NULL, &offsets)); net 275 chrome/browser/autocomplete/history_quick_provider.cc match.contents = net::FormatUrl(info.url(), languages_, format_types, net 276 chrome/browser/autocomplete/history_quick_provider.cc net::UnescapeRule::SPACES, NULL, NULL, NULL); net 871 chrome/browser/autocomplete/history_url_provider.cc net::registry_controlled_domains::GetRegistryLength( net 873 chrome/browser/autocomplete/history_url_provider.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 874 chrome/browser/autocomplete/history_url_provider.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 1080 chrome/browser/autocomplete/history_url_provider.cc const net::FormatUrlTypes format_types = net::kFormatUrlOmitAll & net 1082 chrome/browser/autocomplete/history_url_provider.cc 0 : net::kFormatUrlOmitHTTP); net 1085 chrome/browser/autocomplete/history_url_provider.cc net::FormatUrl(info.url(), languages, format_types, net 1086 chrome/browser/autocomplete/history_url_provider.cc net::UnescapeRule::SPACES, NULL, NULL, net 1101 chrome/browser/autocomplete/history_url_provider.cc match.contents = net::FormatUrl(info.url(), languages, net 1102 chrome/browser/autocomplete/history_url_provider.cc format_types, net::UnescapeRule::SPACES, NULL, NULL, &match_start); net 409 chrome/browser/autocomplete/search_provider.cc bool SearchProvider::IsKeywordFetcher(const net::URLFetcher* fetcher) const { net 765 chrome/browser/autocomplete/search_provider.cc net::URLFetcher* SearchProvider::CreateSuggestFetcher( net 794 chrome/browser/autocomplete/search_provider.cc net::URLFetcher* fetcher = net 795 chrome/browser/autocomplete/search_provider.cc net::URLFetcher::Create(id, suggest_url, net::URLFetcher::GET, this); net 797 chrome/browser/autocomplete/search_provider.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); net 799 chrome/browser/autocomplete/search_provider.cc net::HttpRequestHeaders headers; net 1265 chrome/browser/autocomplete/search_provider.cc const net::FormatUrlTypes format_types = net 1266 chrome/browser/autocomplete/search_provider.cc net::kFormatUrlOmitAll & ~(trim_http ? 0 : net::kFormatUrlOmitHTTP); net 1274 chrome/browser/autocomplete/search_provider.cc net::FormatUrl(navigation.url(), languages, format_types, net 1275 chrome/browser/autocomplete/search_provider.cc net::UnescapeRule::SPACES, NULL, NULL, net 27 chrome/browser/autocomplete/search_provider.h namespace net { net 159 chrome/browser/autocomplete/search_provider.h virtual bool IsKeywordFetcher(const net::URLFetcher* fetcher) const OVERRIDE; net 190 chrome/browser/autocomplete/search_provider.h net::URLFetcher* CreateSuggestFetcher(int id, net 319 chrome/browser/autocomplete/search_provider.h scoped_ptr<net::URLFetcher> keyword_fetcher_; net 320 chrome/browser/autocomplete/search_provider.h scoped_ptr<net::URLFetcher> default_fetcher_; net 217 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcherFactory test_factory_; net 414 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* default_fetcher = net 430 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 478 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 535 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* default_fetcher = test_factory_.GetFetcherByID( net 545 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* keyword_fetcher = test_factory_.GetFetcherByID( net 1055 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 1083 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 1143 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* default_fetcher = net 1150 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* keyword_fetcher = net 1415 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 1674 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 2148 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* default_fetcher = net 2157 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* keyword_fetcher = net 2614 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* default_fetcher = net 2623 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* keyword_fetcher = net 2723 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 2836 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 2962 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 2997 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 3532 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 3668 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 3678 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* keyword_fetcher = net 3720 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 3795 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = net 3881 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 4065 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 4122 chrome/browser/autocomplete/search_provider_unittest.cc net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID( net 209 chrome/browser/autocomplete/zero_suggest_provider.cc const net::URLFetcher* fetcher) const { net 236 chrome/browser/autocomplete/zero_suggest_provider.cc match.contents = net::FormatUrl(navigation.url(), languages, net 237 chrome/browser/autocomplete/zero_suggest_provider.cc net::kFormatUrlOmitAll, net::UnescapeRule::SPACES, NULL, NULL, NULL); net 258 chrome/browser/autocomplete/zero_suggest_provider.cc net::URLFetcher::Create(kFetcherID, net 260 chrome/browser/autocomplete/zero_suggest_provider.cc net::URLFetcher::GET, this)); net 262 chrome/browser/autocomplete/zero_suggest_provider.cc fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); net 264 chrome/browser/autocomplete/zero_suggest_provider.cc net::HttpRequestHeaders headers; net 30 chrome/browser/autocomplete/zero_suggest_provider.h namespace net { net 74 chrome/browser/autocomplete/zero_suggest_provider.h virtual bool IsKeywordFetcher(const net::URLFetcher* fetcher) const OVERRIDE; net 126 chrome/browser/autocomplete/zero_suggest_provider.h scoped_ptr<net::URLFetcher> fetcher_; net 282 chrome/browser/autofill/autofill_browsertest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 295 chrome/browser/autofill/autofill_interactive_uitest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 297 chrome/browser/autofill/autofill_interactive_uitest.cc net::URLRequestStatus status; net 298 chrome/browser/autofill/autofill_interactive_uitest.cc status.set_status(success ? net::URLRequestStatus::SUCCESS : net 299 chrome/browser/autofill/autofill_interactive_uitest.cc net::URLRequestStatus::FAILED); net 418 chrome/browser/autofill/autofill_interactive_uitest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 26 chrome/browser/bitmap_fetcher.cc url_fetcher_.reset(net::URLFetcher::Create(url_, net::URLFetcher::GET, this)); net 33 chrome/browser/bitmap_fetcher.cc void BitmapFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 36 chrome/browser/bitmap_fetcher.cc if (source->GetStatus().status() != net::URLRequestStatus::SUCCESS) { net 54 chrome/browser/bitmap_fetcher.cc void BitmapFetcher::OnURLFetchDownloadProgress(const net::URLFetcher* source, net 15 chrome/browser/bitmap_fetcher.h namespace net { net 25 chrome/browser/bitmap_fetcher.h class BitmapFetcher : public net::URLFetcherDelegate, net 43 chrome/browser/bitmap_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 48 chrome/browser/bitmap_fetcher.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 67 chrome/browser/bitmap_fetcher.h scoped_ptr<net::URLFetcher> url_fetcher_; net 69 chrome/browser/bitmap_fetcher_browsertest.cc url_fetcher_factory_.reset(new net::FakeURLFetcherFactory(NULL)); net 74 chrome/browser/bitmap_fetcher_browsertest.cc scoped_ptr<net::FakeURLFetcherFactory> url_fetcher_factory_; net 111 chrome/browser/bitmap_fetcher_browsertest.cc url, image_string, net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 161 chrome/browser/bitmap_fetcher_browsertest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 162 chrome/browser/bitmap_fetcher_browsertest.cc net::URLRequestStatus::FAILED); net 185 chrome/browser/bitmap_fetcher_browsertest.cc net::HTTP_OK, net 186 chrome/browser/bitmap_fetcher_browsertest.cc net::URLRequestStatus::SUCCESS); net 219 chrome/browser/bookmarks/bookmark_html_writer.cc utf8_string = net::EscapeForHTML(text); net 92 chrome/browser/bookmarks/bookmark_utils.cc DoesBookmarkTextContainWords(net::FormatUrl( net 93 chrome/browser/bookmarks/bookmark_utils.cc node->url(), languages, net::kFormatUrlOmitNothing, net 94 chrome/browser/bookmarks/bookmark_utils.cc net::UnescapeRule::NORMAL, NULL, NULL, NULL), words); net 284 chrome/browser/bookmarks/bookmark_utils.cc net::FormatUrl( net 285 chrome/browser/bookmarks/bookmark_utils.cc node->url(), languages, net::kFormatUrlOmitNothing, net 286 chrome/browser/bookmarks/bookmark_utils.cc net::UnescapeRule::NORMAL, NULL, NULL, NULL) == *query.url)) { net 62 chrome/browser/browser_process.h namespace net { net 110 chrome/browser/browser_process.h virtual net::URLRequestContextGetter* system_request_context() = 0; net 456 chrome/browser/browser_process_impl.cc net::URLRequestContextGetter* BrowserProcessImpl::system_request_context() { net 647 chrome/browser/browser_process_impl.cc net::kDefaultMaxSocketsPerProxyServer); net 858 chrome/browser/browser_process_impl.cc net::ClientSocketPoolManager::set_max_sockets_per_proxy_server( net 859 chrome/browser/browser_process_impl.cc net::HttpNetworkSession::NORMAL_SOCKET_POOL, net 861 chrome/browser/browser_process_impl.cc net::ClientSocketPoolManager::max_sockets_per_group( net 862 chrome/browser/browser_process_impl.cc net::HttpNetworkSession::NORMAL_SOCKET_POOL))); net 81 chrome/browser/browser_process_impl.h virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; net 59 chrome/browser/browsing_data/browsing_data_appcache_helper.cc net::CompletionCallback()); net 49 chrome/browser/browsing_data/browsing_data_appcache_helper.h net::CancelableCompletionCallback appcache_info_callback_; net 30 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::URLRequestContextGetter* request_context_getter) net 40 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const base::Callback<void(const net::CookieList& cookies)>& callback) { net 53 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CanonicalCookie& cookie) { net 63 chrome/browser/browsing_data/browsing_data_cookie_helper.cc scoped_refptr<net::CookieMonster> cookie_monster = net 70 chrome/browser/browsing_data/browsing_data_cookie_helper.cc OnFetchComplete(net::CookieList()); net 74 chrome/browser/browsing_data/browsing_data_cookie_helper.cc void BrowsingDataCookieHelper::OnFetchComplete(const net::CookieList& cookies) { net 82 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CookieList& cookies) { net 91 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CanonicalCookie& cookie) { net 93 chrome/browser/browsing_data/browsing_data_cookie_helper.cc scoped_refptr<net::CookieMonster> cookie_monster = net 98 chrome/browser/browsing_data/browsing_data_cookie_helper.cc cookie, net::CookieMonster::DeleteCookieCallback()); net 103 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::URLRequestContextGetter* request_context_getter) net 119 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::CookieList* cookies = clone->GetCookiesFor(it->first); net 128 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CookieList& cookie_list) { net 129 chrome/browser/browsing_data/browsing_data_cookie_helper.cc typedef net::CookieList::const_iterator cookie_iterator; net 140 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CookieOptions& options) { net 141 chrome/browser/browsing_data/browsing_data_cookie_helper.cc scoped_ptr<net::CanonicalCookie> cookie(net::CanonicalCookie::Create( net 177 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CookieMonster::GetCookieListCallback& callback) { net 179 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::CookieList cookie_list; net 191 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CanonicalCookie& cookie) { net 201 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CanonicalCookie& add_cookie, net 202 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::CookieList* cookie_list) { net 203 chrome/browser/browsing_data/browsing_data_cookie_helper.cc typedef net::CookieList::iterator cookie_iterator; net 216 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::CookieList* CannedBrowsingDataCookieHelper::GetCookiesFor( net 221 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::CookieList* cookies = new net::CookieList(); net 223 chrome/browser/browsing_data/browsing_data_cookie_helper.cc std::pair<GURL, net::CookieList*>(first_party_origin, cookies)); net 231 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const net::CanonicalCookie& cookie) { net 247 chrome/browser/browsing_data/browsing_data_cookie_helper.cc net::CookieList* cookie_list = net 18 chrome/browser/browsing_data/browsing_data_cookie_helper.h namespace net { net 32 chrome/browser/browsing_data/browsing_data_cookie_helper.h net::URLRequestContextGetter* request_context_getter); net 38 chrome/browser/browsing_data/browsing_data_cookie_helper.h const base::Callback<void(const net::CookieList& cookies)>& callback); net 42 chrome/browser/browsing_data/browsing_data_cookie_helper.h virtual void DeleteCookie(const net::CanonicalCookie& cookie); net 48 chrome/browser/browsing_data/browsing_data_cookie_helper.h net::URLRequestContextGetter* request_context_getter() { net 57 chrome/browser/browsing_data/browsing_data_cookie_helper.h void OnFetchComplete(const net::CookieList& cookies); net 60 chrome/browser/browsing_data/browsing_data_cookie_helper.h void NotifyInUIThread(const net::CookieList& cookies); net 63 chrome/browser/browsing_data/browsing_data_cookie_helper.h void DeleteCookieOnIOThread(const net::CanonicalCookie& cookie); net 71 chrome/browser/browsing_data/browsing_data_cookie_helper.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 74 chrome/browser/browsing_data/browsing_data_cookie_helper.h base::Callback<void(const net::CookieList& cookies)> completion_callback_; net 93 chrome/browser/browsing_data/browsing_data_cookie_helper.h typedef std::map<GURL, net::CookieList*> OriginCookieListMap; net 96 chrome/browser/browsing_data/browsing_data_cookie_helper.h net::URLRequestContextGetter* request_context); net 108 chrome/browser/browsing_data/browsing_data_cookie_helper.h const net::CookieList& cookie_list); net 124 chrome/browser/browsing_data/browsing_data_cookie_helper.h const net::CookieOptions& options); net 134 chrome/browser/browsing_data/browsing_data_cookie_helper.h const net::CookieMonster::GetCookieListCallback& callback) OVERRIDE; net 135 chrome/browser/browsing_data/browsing_data_cookie_helper.h virtual void DeleteCookie(const net::CanonicalCookie& cookie) OVERRIDE; net 149 chrome/browser/browsing_data/browsing_data_cookie_helper.h bool DeleteMatchingCookie(const net::CanonicalCookie& add_cookie, net 150 chrome/browser/browsing_data/browsing_data_cookie_helper.h net::CookieList* cookie_list); net 155 chrome/browser/browsing_data/browsing_data_cookie_helper.h net::CookieList* GetCookiesFor(const GURL& origin); net 159 chrome/browser/browsing_data/browsing_data_cookie_helper.h const net::CanonicalCookie& cookie); net 25 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc scoped_refptr<net::CookieMonster> cookie_monster = net 28 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc GURL("http://www.google.com"), "A=1", net::CookieOptions(), net 29 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieMonster::SetCookiesCallback()); net 31 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc GURL("http://www.gmail.google.com"), "B=1", net::CookieOptions(), net 32 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieMonster::SetCookiesCallback()); net 36 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc scoped_refptr<net::CookieMonster> cookie_monster = net 39 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc GURL("http://www.google.com"), "A=1", net::CookieOptions(), net 40 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieMonster::SetCookiesCallback()); net 43 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions(), net::CookieMonster::SetCookiesCallback()); net 46 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void FetchCallback(const net::CookieList& cookies) { net 49 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList::const_iterator it = cookies.begin(); net 63 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void DomainCookieCallback(const net::CookieList& cookies) { net 66 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList::const_iterator it = cookies.begin(); net 82 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void DeleteCallback(const net::CookieList& cookies) { net 84 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList::const_iterator it = cookies.begin(); net 93 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void CannedUniqueCallback(const net::CookieList& cookies) { net 96 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList::const_iterator it = cookies.begin(); net 107 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void CannedReplaceCookieCallback(const net::CookieList& cookies) { net 110 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList::const_iterator it = cookies.begin(); net 150 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void CannedDomainCookieCallback(const net::CookieList& cookies) { net 153 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList::const_iterator it = cookies.begin(); net 168 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc void CannedDifferentFramesCallback(const net::CookieList& cookie_list) { net 176 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList cookie_list_; net 211 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CanonicalCookie cookie = cookie_list_[0]; net 230 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin1, origin1, "A=1", net::CookieOptions()); net 231 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin2, origin2, "B=1", net::CookieOptions()); net 251 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList cookie; net 258 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin, origin, "A=1", net::CookieOptions()); net 260 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 262 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin, origin, std::string(), net::CookieOptions()); net 266 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 284 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList cookie; net 291 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin, origin, "A=1", net::CookieOptions()); net 292 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin, origin, "A=1", net::CookieOptions()); net 310 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList cookie; net 317 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin, origin, "A=1", net::CookieOptions()); net 318 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc helper->AddChangedCookie(origin, origin, "A=2", net::CookieOptions()); net 320 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 322 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 324 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 326 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 329 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 332 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 336 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 339 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 365 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 370 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieList cookies; net 371 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::ParsedCookie pc("a=1"); net 372 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc scoped_ptr<net::CanonicalCookie> cookie( net 373 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc new net::CanonicalCookie(url_google, pc)); net 393 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 395 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 397 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 436 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 439 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 447 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 454 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 457 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 468 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc net::CookieOptions()); net 123 chrome/browser/browsing_data/browsing_data_database_helper.cc net::CompletionCallback()); net 436 chrome/browser/browsing_data/browsing_data_remover.cc net::URLRequestContextGetter* sb_context = net 456 chrome/browser/browsing_data/browsing_data_remover.cc net::URLRequestContextGetter* rq_context = profile_->GetRequestContext(); net 869 chrome/browser/browsing_data/browsing_data_remover.cc DoClearCache(net::OK); net 878 chrome/browser/browsing_data/browsing_data_remover.cc while (rv != net::ERR_IO_PENDING && next_cache_state_ != STATE_NONE) { net 883 chrome/browser/browsing_data/browsing_data_remover.cc net::URLRequestContextGetter* getter = net 887 chrome/browser/browsing_data/browsing_data_remover.cc net::HttpTransactionFactory* factory = net 1044 chrome/browser/browsing_data/browsing_data_remover.cc net::URLRequestContextGetter* rq_context) { net 1046 chrome/browser/browsing_data/browsing_data_remover.cc net::CookieStore* cookie_store = rq_context-> net 1055 chrome/browser/browsing_data/browsing_data_remover.cc net::URLRequestContextGetter* rq_context) { net 1057 chrome/browser/browsing_data/browsing_data_remover.cc net::ServerBoundCertService* server_bound_cert_service = net 1066 chrome/browser/browsing_data/browsing_data_remover.cc net::URLRequestContextGetter* rq_context) { net 39 chrome/browser/browsing_data/browsing_data_remover.h namespace net { net 322 chrome/browser/browsing_data/browsing_data_remover.h void ClearCookiesOnIOThread(net::URLRequestContextGetter* rq_context); net 326 chrome/browser/browsing_data/browsing_data_remover.h net::URLRequestContextGetter* rq_context); net 331 chrome/browser/browsing_data/browsing_data_remover.h net::URLRequestContextGetter* rq_context); net 374 chrome/browser/browsing_data/browsing_data_remover.h scoped_refptr<net::URLRequestContextGetter> main_context_getter_; net 375 chrome/browser/browsing_data/browsing_data_remover.h scoped_refptr<net::URLRequestContextGetter> media_context_getter_; net 166 chrome/browser/browsing_data/browsing_data_remover_unittest.cc virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE { net 169 chrome/browser/browsing_data/browsing_data_remover_unittest.cc virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE { net 198 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::URLRequestContextGetter* rq_context) OVERRIDE {} net 249 chrome/browser/browsing_data/browsing_data_remover_unittest.cc kOrigin1, net::CookieOptions(), net 258 chrome/browser/browsing_data/browsing_data_remover_unittest.cc kOrigin1, "A=1", net::CookieOptions(), net 265 chrome/browser/browsing_data/browsing_data_remover_unittest.cc void SetMonster(net::CookieStore* monster) { net 287 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::CookieStore* cookie_store_; net 305 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::CookieStore* monster = net 325 chrome/browser/browsing_data/browsing_data_remover_unittest.cc class RemoveServerBoundCertTester : public net::SSLConfigService::Observer { net 364 chrome/browser/browsing_data/browsing_data_remover_unittest.cc void GetCertList(net::ServerBoundCertStore::ServerBoundCertList* certs) { net 369 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::ServerBoundCertStore* GetCertStore() { net 384 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::ServerBoundCertStore::ServerBoundCertList* dest, net 385 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const net::ServerBoundCertStore::ServerBoundCertList& result) { net 389 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::ServerBoundCertService* server_bound_cert_service_; net 390 chrome/browser/browsing_data/browsing_data_remover_unittest.cc scoped_refptr<net::SSLConfigService> ssl_config_service_; net 838 chrome/browser/browsing_data/browsing_data_remover_unittest.cc net::ServerBoundCertStore::ServerBoundCertList certs; net 35 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc const net::ServerBoundCertStore::ServerBoundCertList& cert_list); net 39 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc const net::ServerBoundCertStore::ServerBoundCertList& cert_list); net 53 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 97 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc net::ServerBoundCertStore* cert_store = net 104 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc OnFetchComplete(net::ServerBoundCertStore::ServerBoundCertList()); net 109 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc const net::ServerBoundCertStore::ServerBoundCertList& cert_list) { net 118 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc const net::ServerBoundCertStore::ServerBoundCertList& cert_list) { net 129 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc net::ServerBoundCertStore* cert_store = net 175 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc const net::ServerBoundCertStore::ServerBoundCert& server_bound_cert) { net 209 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc net::ServerBoundCertStore::ServerBoundCertList cert_list; net 30 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h void(const net::ServerBoundCertStore::ServerBoundCertList&)> net 62 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h const net::ServerBoundCertStore::ServerBoundCert& server_bound_cert); net 82 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h typedef std::map<std::string, net::ServerBoundCertStore::ServerBoundCert> net 21 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc public net::SSLConfigService::Observer { net 37 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc net::URLRequestContext* context = net 39 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc net::ServerBoundCertStore* cert_store = net 50 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc const net::ServerBoundCertStore::ServerBoundCertList& certs) { net 64 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc net::ServerBoundCertStore::ServerBoundCertList server_bound_cert_list_; net 83 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc net::ServerBoundCertStore::ServerBoundCertList::const_iterator it = net 113 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc net::ServerBoundCertStore::ServerBoundCertList::const_iterator it = net 139 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc helper->AddServerBoundCert(net::ServerBoundCertStore::ServerBoundCert( net 81 chrome/browser/browsing_data/cookies_tree_model.cc net::registry_controlled_domains::GetDomainAndRegistry( net 83 chrome/browser/browsing_data/cookies_tree_model.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 183 chrome/browser/browsing_data/cookies_tree_model.cc const net::CanonicalCookie* cookie) { net 248 chrome/browser/browsing_data/cookies_tree_model.cc const net::ServerBoundCertStore::ServerBoundCert* server_bound_cert) { net 281 chrome/browser/browsing_data/cookies_tree_model.cc std::list<net::CanonicalCookie>::iterator cookie) net 497 chrome/browser/browsing_data/cookies_tree_model.cc net::ServerBoundCertStore::ServerBoundCertList::iterator cert) net 60 chrome/browser/browsing_data/cookies_tree_model.h namespace net { net 104 chrome/browser/browsing_data/cookies_tree_model.h DetailedInfo& InitCookie(const net::CanonicalCookie* cookie); net 122 chrome/browser/browsing_data/cookies_tree_model.h const net::ServerBoundCertStore::ServerBoundCert* server_bound_cert); net 127 chrome/browser/browsing_data/cookies_tree_model.h const net::CanonicalCookie* cookie; net 136 chrome/browser/browsing_data/cookies_tree_model.h const net::ServerBoundCertStore::ServerBoundCert* server_bound_cert; net 252 chrome/browser/browsing_data/cookies_tree_model.h std::list<net::CanonicalCookie>::iterator cookie); net 262 chrome/browser/browsing_data/cookies_tree_model.h std::list<net::CanonicalCookie>::iterator cookie_; net 541 chrome/browser/browsing_data/cookies_tree_model.h net::ServerBoundCertStore::ServerBoundCertList::iterator cert); net 551 chrome/browser/browsing_data/cookies_tree_model.h net::ServerBoundCertStore::ServerBoundCertList::iterator server_bound_cert_; net 133 chrome/browser/browsing_data/local_data_container.cc const net::CookieList& cookie_list) { net 30 chrome/browser/browsing_data/local_data_container.h namespace net { net 37 chrome/browser/browsing_data/local_data_container.h typedef std::list<net::CanonicalCookie> CookieList; net 48 chrome/browser/browsing_data/local_data_container.h typedef net::ServerBoundCertStore::ServerBoundCertList ServerBoundCertList; net 94 chrome/browser/browsing_data/local_data_container.h void OnCookiesModelInfoLoaded(const net::CookieList& cookie_list); net 12 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc net::URLRequestContextGetter* request_context_getter) net 20 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc const net::CookieMonster::GetCookieListCallback &callback) { net 25 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc const net::CanonicalCookie& cookie) { net 33 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc typedef net::CookieList::const_iterator cookie_iterator; net 34 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc net::ParsedCookie pc(cookie_line); net 35 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc scoped_ptr<net::CanonicalCookie> cc(new net::CanonicalCookie(url, pc)); net 18 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h net::URLRequestContextGetter* request_context_getter); net 22 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h const net::CookieMonster::GetCookieListCallback &callback) OVERRIDE; net 23 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h virtual void DeleteCookie(const net::CanonicalCookie& cookie) OVERRIDE; net 41 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h net::CookieMonster::GetCookieListCallback callback_; net 43 chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h net::CookieList cookie_list_; net 30 chrome/browser/browsing_data/mock_browsing_data_server_bound_cert_helper.cc net::ServerBoundCertStore::ServerBoundCert( net 36 chrome/browser/browsing_data/mock_browsing_data_server_bound_cert_helper.cc net::ServerBoundCertStore::ServerBoundCertList cert_list; net 37 chrome/browser/browsing_data/mock_browsing_data_server_bound_cert_helper.cc for (net::ServerBoundCertStore::ServerBoundCertList::iterator i = net 41 chrome/browser/browsing_data/mock_browsing_data_server_bound_cert_helper.h net::ServerBoundCertStore::ServerBoundCertList server_bound_cert_list_; net 116 chrome/browser/captive_portal/captive_portal_browsertest.cc class URLRequestTimeoutOnDemandJob : public net::URLRequestJob, net 146 chrome/browser/captive_portal/captive_portal_browsertest.cc URLRequestTimeoutOnDemandJob(net::URLRequest* request, net 147 chrome/browser/captive_portal/captive_portal_browsertest.cc net::NetworkDelegate* network_delegate); net 239 chrome/browser/captive_portal/captive_portal_browsertest.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) net 240 chrome/browser/captive_portal/captive_portal_browsertest.cc : net::URLRequestJob(request, network_delegate), net 314 chrome/browser/captive_portal/captive_portal_browsertest.cc job->NotifyStartError(net::URLRequestStatus( net 315 chrome/browser/captive_portal/captive_portal_browsertest.cc net::URLRequestStatus::FAILED, net 316 chrome/browser/captive_portal/captive_portal_browsertest.cc net::ERR_CONNECTION_TIMED_OUT)); net 355 chrome/browser/captive_portal/captive_portal_browsertest.cc static net::URLRequestJob* Factory(net::URLRequest* request, net 356 chrome/browser/captive_portal/captive_portal_browsertest.cc net::NetworkDelegate* network_delegate, net 391 chrome/browser/captive_portal/captive_portal_browsertest.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 412 chrome/browser/captive_portal/captive_portal_browsertest.cc net::URLRequestJob* URLRequestMockCaptivePortalJobFactory::Factory( net 413 chrome/browser/captive_portal/captive_portal_browsertest.cc net::URLRequest* request, net 414 chrome/browser/captive_portal/captive_portal_browsertest.cc net::NetworkDelegate* network_delegate, net 435 chrome/browser/captive_portal/captive_portal_browsertest.cc request, network_delegate, net::ERR_CONNECTION_TIMED_OUT); net 771 chrome/browser/captive_portal/captive_portal_browsertest.cc void AddHstsHost(net::URLRequestContextGetter* context_getter, net 774 chrome/browser/captive_portal/captive_portal_browsertest.cc net::TransportSecurityState* transport_security_state = net 1112 chrome/browser/captive_portal/captive_portal_browsertest.cc URLRequestFailedJob::GetMockHttpsUrl(net::ERR_CONNECTION_TIMED_OUT)); net 1544 chrome/browser/captive_portal/captive_portal_browsertest.cc GURL url = URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT); net 1551 chrome/browser/captive_portal/captive_portal_browsertest.cc GURL url = URLRequestFailedJob::GetMockHttpsUrl(net::ERR_UNEXPECTED); net 1558 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer https_server( net 1559 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net::SpawnedTestServer::kLocalhost, net 1573 chrome/browser/captive_portal/captive_portal_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_CLOSED)); net 1582 chrome/browser/captive_portal/captive_portal_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_CLOSED)); net 1610 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 1612 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 1613 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer https_server( net 1614 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 1698 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::SSLOptions https_options; net 1700 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 1701 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer https_server( net 1702 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, https_options, net 2157 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer https_server( net 2158 chrome/browser/captive_portal/captive_portal_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net::SpawnedTestServer::kLocalhost, net 2163 chrome/browser/captive_portal/captive_portal_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT); net 2190 chrome/browser/captive_portal/captive_portal_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT); net 33 chrome/browser/captive_portal/captive_portal_detector.cc const scoped_refptr<net::URLRequestContextGetter>& request_context) net 58 chrome/browser/captive_portal/captive_portal_detector.cc url_fetcher_.reset(net::URLFetcher::Create(0, net 60 chrome/browser/captive_portal/captive_portal_detector.cc net::URLFetcher::GET, net 68 chrome/browser/captive_portal/captive_portal_detector.cc net::LOAD_BYPASS_CACHE | net 69 chrome/browser/captive_portal/captive_portal_detector.cc net::LOAD_DO_NOT_PROMPT_FOR_LOGIN | net 70 chrome/browser/captive_portal/captive_portal_detector.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 71 chrome/browser/captive_portal/captive_portal_detector.cc net::LOAD_DO_NOT_SEND_COOKIES | net 72 chrome/browser/captive_portal/captive_portal_detector.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 81 chrome/browser/captive_portal/captive_portal_detector.cc void CaptivePortalDetector::OnURLFetchComplete(const net::URLFetcher* source) { net 98 chrome/browser/captive_portal/captive_portal_detector.cc const net::URLFetcher* url_fetcher, net 112 chrome/browser/captive_portal/captive_portal_detector.cc if (url_fetcher->GetStatus().status() != net::URLRequestStatus::SUCCESS) net 117 chrome/browser/captive_portal/captive_portal_detector.cc net::HttpResponseHeaders* headers = url_fetcher->GetResponseHeaders(); net 35 chrome/browser/captive_portal/captive_portal_detector.h class CaptivePortalDetector : public net::URLFetcherDelegate, net 41 chrome/browser/captive_portal/captive_portal_detector.h response_code(net::URLFetcher::RESPONSE_CODE_INVALID) { net 60 chrome/browser/captive_portal/captive_portal_detector.h const scoped_refptr<net::URLRequestContextGetter>& request_context); net 76 chrome/browser/captive_portal/captive_portal_detector.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 83 chrome/browser/captive_portal/captive_portal_detector.h void GetCaptivePortalResultFromResponse(const net::URLFetcher* url_fetcher, net 104 chrome/browser/captive_portal/captive_portal_detector.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 108 chrome/browser/captive_portal/captive_portal_detector.h scoped_ptr<net::URLFetcher> url_fetcher_; net 120 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 204, NULL); net 125 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 500, NULL); net 129 chrome/browser/captive_portal/captive_portal_detector_unittest.cc results.response_code = net::URLFetcher::RESPONSE_CODE_INVALID; net 130 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::ERR_TIMED_OUT, net::URLFetcher::RESPONSE_CODE_INVALID, net 137 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 200, NULL); net 143 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 511, NULL); net 156 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 503, retry_after); net 161 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 204, NULL); net 184 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 503, retry_after); net 194 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 503, retry_after); net 202 chrome/browser/captive_portal/captive_portal_detector_unittest.cc RunTest(results, net::OK, 204, NULL); net 127 chrome/browser/captive_portal/captive_portal_service.cc class CaptivePortalService::RecheckBackoffEntry : public net::BackoffEntry { net 130 chrome/browser/captive_portal/captive_portal_service.cc : net::BackoffEntry( net 105 chrome/browser/captive_portal/captive_portal_service.h net::BackoffEntry::Policy backoff_policy; net 190 chrome/browser/captive_portal/captive_portal_service.h scoped_ptr<net::BackoffEntry> backoff_entry_; net 290 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 0, NULL); net 302 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunBackoffTest(RESULT_INTERNET_CONNECTED, net::OK, 204); net 305 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_BEHIND_CAPTIVE_PORTAL, net::OK, 200, 1600, NULL); net 306 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_BEHIND_CAPTIVE_PORTAL, net::OK, 200, 0, NULL); net 307 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_BEHIND_CAPTIVE_PORTAL, net::OK, 200, 1, NULL); net 308 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_BEHIND_CAPTIVE_PORTAL, net::OK, 200, 2, NULL); net 319 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunBackoffTest(RESULT_NO_RESPONSE, net::OK, 500); net 322 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 1600, NULL); net 323 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 0, NULL); net 324 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 100, NULL); net 335 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunBackoffTest(RESULT_BEHIND_CAPTIVE_PORTAL, net::OK, 200); net 338 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 1600, NULL); net 339 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 0, NULL); net 340 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 250, NULL); net 361 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_BEHIND_CAPTIVE_PORTAL, net::OK, 200, 0, NULL); net 437 chrome/browser/captive_portal/captive_portal_service_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 456 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 0, NULL); net 457 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 0, NULL); net 475 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_NO_RESPONSE, net::OK, 503, 0, retry_after); net 476 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_NO_RESPONSE, net::OK, 503, 101, retry_after); net 477 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_INTERNET_CONNECTED, net::OK, 204, 101, NULL); net 491 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_NO_RESPONSE, net::OK, 503, 0, retry_after); net 493 chrome/browser/captive_portal/captive_portal_service_unittest.cc RunTest(RESULT_NO_RESPONSE, net::OK, 503, 99, retry_after); net 510 chrome/browser/captive_portal/captive_portal_service_unittest.cc net::OK, net 47 chrome/browser/captive_portal/captive_portal_tab_helper.cc pending_error_code_(net::OK), net 94 chrome/browser/captive_portal/captive_portal_tab_helper.cc pending_error_code_ = net::OK; net 122 chrome/browser/captive_portal/captive_portal_tab_helper.cc tab_reloader_->OnLoadCommitted(net::OK); net 126 chrome/browser/captive_portal/captive_portal_tab_helper.cc pending_error_code_ = net::OK; net 145 chrome/browser/captive_portal/captive_portal_tab_helper.cc if (error_code == net::ERR_ABORTED) { net 192 chrome/browser/captive_portal/captive_portal_tab_helper.cc void CaptivePortalTabHelper::OnSSLCertError(const net::SSLInfo& ssl_info) { net 223 chrome/browser/captive_portal/captive_portal_tab_helper.cc pending_error_code_ = net::OK; net 26 chrome/browser/captive_portal/captive_portal_tab_helper.h namespace net { net 107 chrome/browser/captive_portal/captive_portal_tab_helper.h void OnSSLCertError(const net::SSLInfo& ssl_info); net 92 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::OK)).Times(1); net 106 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_TIMED_OUT, base::string16(), net 113 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::ERR_TIMED_OUT)).Times(1); net 130 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_ABORTED, base::string16(), net 153 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_TIMED_OUT, base::string16(), net 163 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_ABORTED, base::string16(), net 250 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::OK)).Times(1); net 335 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, cross_process_url, net::ERR_FAILED, net 340 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, same_site_url, net::ERR_ABORTED, net 348 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::ERR_FAILED)).Times(1); net 377 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, cross_process_url, net::ERR_FAILED, net 385 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::OK)).Times(1); net 406 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 2, base::string16(), false, url, net::ERR_TIMED_OUT, base::string16(), net 411 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 2, base::string16(), false, url, net::ERR_ABORTED, base::string16(), net 418 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 3, base::string16(), false, url, net::ERR_ABORTED, base::string16(), net 441 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc frame_id, base::string16(), true, url, net::ERR_UNEXPECTED, net 444 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc subframe_id, base::string16(), false, url, net::ERR_TIMED_OUT, net 457 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::ERR_UNEXPECTED)).Times(1); net 476 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, https_url, net::ERR_TIMED_OUT, net 483 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::ERR_TIMED_OUT)).Times(1); net 502 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::OK)).Times(1); net 520 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::OK)).Times(1); net 537 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::OK)).Times(1); net 557 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, https_url, net::ERR_TIMED_OUT, net 564 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc EXPECT_CALL(mock_reloader(), OnLoadCommitted(net::ERR_TIMED_OUT)).Times(1); net 30 chrome/browser/captive_portal/captive_portal_tab_reloader.cc if (error == net::ERR_CONNECTION_TIMED_OUT) net 36 chrome/browser/captive_portal/captive_portal_tab_reloader.cc if (error == net::ERR_SSL_PROTOCOL_ERROR) net 175 chrome/browser/captive_portal/captive_portal_tab_reloader.cc void CaptivePortalTabReloader::OnSSLCertError(const net::SSLInfo& ssl_info) { net 22 chrome/browser/captive_portal/captive_portal_tab_reloader.h namespace net { net 112 chrome/browser/captive_portal/captive_portal_tab_reloader.h void OnSSLCertError(const net::SSLInfo& ssl_info); net 133 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::OK); net 149 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 180 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::OK); net 201 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 232 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 262 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 280 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 308 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_SSL_PROTOCOL_ERROR); net 337 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_SSL_PROTOCOL_ERROR); net 362 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_SSL_PROTOCOL_ERROR); net 387 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 411 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 435 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 482 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 508 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::OK); net 521 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc net::SSLInfo ssl_info; net 522 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc ssl_info.SetCertError(net::CERT_STATUS_COMMON_NAME_INVALID); net 566 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::OK); net 604 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader().OnLoadCommitted(net::ERR_CONNECTION_TIMED_OUT); net 15 chrome/browser/captive_portal/testing_utils.cc scoped_refptr<net::HttpResponseHeaders> CreateResponseHeaders( net 18 chrome/browser/captive_portal/testing_utils.cc net::HttpUtil::AssembleRawHeaders(response_headers.c_str(), net 20 chrome/browser/captive_portal/testing_utils.cc return new net::HttpResponseHeaders(raw_headers); net 50 chrome/browser/captive_portal/testing_utils.cc if (net_error != net::OK) { net 52 chrome/browser/captive_portal/testing_utils.cc fetcher()->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 57 chrome/browser/captive_portal/testing_utils.cc scoped_refptr<net::HttpResponseHeaders> headers( net 18 chrome/browser/captive_portal/testing_utils.h namespace net { net 46 chrome/browser/captive_portal/testing_utils.h net::TestURLFetcher* fetcher() { return factory_.GetFetcherByID(0); } net 51 chrome/browser/captive_portal/testing_utils.h net::TestURLFetcherFactory factory_; net 66 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase* nss_cert_database, net 82 chrome/browser/certificate_manager_model.cc net::CryptoModuleList modules; net 88 chrome/browser/certificate_manager_model.cc net::HostPortPair(), // unused. net 103 chrome/browser/certificate_manager_model.cc net::CertType filter_type, net 105 chrome/browser/certificate_manager_model.cc for (net::CertificateList::const_iterator i = cert_list_.begin(); net 107 chrome/browser/certificate_manager_model.cc net::X509Certificate* cert = i->get(); net 108 chrome/browser/certificate_manager_model.cc net::CertType type = net 124 chrome/browser/certificate_manager_model.cc const net::X509Certificate& cert, net 158 chrome/browser/certificate_manager_model.cc int CertificateManagerModel::ImportFromPKCS12(net::CryptoModule* module, net 164 chrome/browser/certificate_manager_model.cc if (result == net::OK) net 170 chrome/browser/certificate_manager_model.cc const net::CertificateList& certificates, net 171 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase::TrustBits trust_bits, net 172 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase::ImportCertFailureList* not_imported) { net 180 chrome/browser/certificate_manager_model.cc const net::CertificateList& certificates, net 181 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase::TrustBits trust_bits, net 182 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase::ImportCertFailureList* not_imported) { net 191 chrome/browser/certificate_manager_model.cc const net::X509Certificate* cert, net 192 chrome/browser/certificate_manager_model.cc net::CertType type, net 193 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase::TrustBits trust_bits) { net 197 chrome/browser/certificate_manager_model.cc bool CertificateManagerModel::Delete(net::X509Certificate* cert) { net 205 chrome/browser/certificate_manager_model.cc const net::X509Certificate* cert) const { net 211 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase* cert_db, net 227 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase* cert_db) { net 252 chrome/browser/certificate_manager_model.cc net::NSSCertDatabase* cert_db = GetNSSCertDatabaseForResourceContext( net 29 chrome/browser/certificate_manager_model.h typedef std::map<std::string, net::CertificateList> OrgGroupingMap; net 63 chrome/browser/certificate_manager_model.h const net::NSSCertDatabase* cert_db() const { return cert_db_; } net 72 chrome/browser/certificate_manager_model.h void FilterAndBuildOrgGroupingMap(net::CertType filter_type, net 76 chrome/browser/certificate_manager_model.h base::string16 GetColumnText(const net::X509Certificate& cert, Column column) const; net 82 chrome/browser/certificate_manager_model.h int ImportFromPKCS12(net::CryptoModule* module, const std::string& data, net 93 chrome/browser/certificate_manager_model.h bool ImportCACerts(const net::CertificateList& certificates, net 94 chrome/browser/certificate_manager_model.h net::NSSCertDatabase::TrustBits trust_bits, net 95 chrome/browser/certificate_manager_model.h net::NSSCertDatabase::ImportCertFailureList* not_imported); net 108 chrome/browser/certificate_manager_model.h const net::CertificateList& certificates, net 109 chrome/browser/certificate_manager_model.h net::NSSCertDatabase::TrustBits trust_bits, net 110 chrome/browser/certificate_manager_model.h net::NSSCertDatabase::ImportCertFailureList* not_imported); net 115 chrome/browser/certificate_manager_model.h bool SetCertTrust(const net::X509Certificate* cert, net 116 chrome/browser/certificate_manager_model.h net::CertType type, net 117 chrome/browser/certificate_manager_model.h net::NSSCertDatabase::TrustBits trust_bits); net 121 chrome/browser/certificate_manager_model.h bool Delete(net::X509Certificate* cert); net 124 chrome/browser/certificate_manager_model.h bool IsHardwareBacked(const net::X509Certificate* cert) const; net 127 chrome/browser/certificate_manager_model.h CertificateManagerModel(net::NSSCertDatabase* nss_cert_database, net 135 chrome/browser/certificate_manager_model.h net::NSSCertDatabase* cert_db, net 143 chrome/browser/certificate_manager_model.h net::NSSCertDatabase* cert_db); net 152 chrome/browser/certificate_manager_model.h net::NSSCertDatabase* cert_db_; net 153 chrome/browser/certificate_manager_model.h net::CertificateList cert_list_; net 13 chrome/browser/certificate_viewer.cc scoped_refptr<net::X509Certificate> cert; net 14 chrome/browser/certificate_viewer.h namespace net { net 27 chrome/browser/certificate_viewer.h net::X509Certificate* cert); net 559 chrome/browser/chrome_browser_main.cc net::URLRequest::SetDefaultCookiePolicyToBlock(); net 1395 chrome/browser/chrome_browser_main.cc net::NetModule::SetResourceProvider(chrome_common_net::NetResourceProvider); net 1412 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSecureSchemeSupport(true); net 1423 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSecureSchemeSupport(true); net 1424 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSdchSupport(true); net 1426 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSdchSupport(true); net 1428 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSdchSupport(false); net 57 chrome/browser/chrome_browser_main_android.cc net::NetworkChangeNotifier::SetFactory( net 58 chrome/browser/chrome_browser_main_android.cc new net::NetworkChangeNotifierFactoryAndroid()); net 470 chrome/browser/chrome_content_browser_client.cc bool CertMatchesFilter(const net::X509Certificate& cert, net 907 chrome/browser/chrome_content_browser_client.cc net::URLRequestContextGetter* context = net 1075 chrome/browser/chrome_content_browser_client.cc net::URLRequestContextGetter* net 1085 chrome/browser/chrome_content_browser_client.cc net::URLRequestContextGetter* net 1692 chrome/browser/chrome_content_browser_client.cc const net::CookieList& cookie_list, net 1715 chrome/browser/chrome_content_browser_client.cc net::CookieOptions* options) { net 1808 chrome/browser/chrome_content_browser_client.cc net::URLRequestContext* net 1829 chrome/browser/chrome_content_browser_client.cc const net::SSLInfo& ssl_info, net 1877 chrome/browser/chrome_content_browser_client.cc const net::HttpNetworkSession* network_session, net 1878 chrome/browser/chrome_content_browser_client.cc net::SSLCertRequestInfo* cert_request_info, net 1879 chrome/browser/chrome_content_browser_client.cc const base::Callback<void(net::X509Certificate*)>& callback) { net 1915 chrome/browser/chrome_content_browser_client.cc const std::vector<scoped_refptr<net::X509Certificate> >& net 1942 chrome/browser/chrome_content_browser_client.cc net::URLRequest* request, net 1943 chrome/browser/chrome_content_browser_client.cc net::CertificateMimeType cert_type, net 2224 chrome/browser/chrome_content_browser_client.cc net::NetLog* ChromeContentBrowserClient::GetNetLog() { net 88 chrome/browser/chrome_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 92 chrome/browser/chrome_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 137 chrome/browser/chrome_content_browser_client.h const net::CookieList& cookie_list, net 147 chrome/browser/chrome_content_browser_client.h net::CookieOptions* options) OVERRIDE; net 165 chrome/browser/chrome_content_browser_client.h virtual net::URLRequestContext* OverrideRequestContextForURL( net 173 chrome/browser/chrome_content_browser_client.h const net::SSLInfo& ssl_info, net 183 chrome/browser/chrome_content_browser_client.h const net::HttpNetworkSession* network_session, net 184 chrome/browser/chrome_content_browser_client.h net::SSLCertRequestInfo* cert_request_info, net 185 chrome/browser/chrome_content_browser_client.h const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; net 187 chrome/browser/chrome_content_browser_client.h net::URLRequest* request, net 188 chrome/browser/chrome_content_browser_client.h net::CertificateMimeType cert_type, net 233 chrome/browser/chrome_content_browser_client.h virtual net::NetLog* GetNetLog() OVERRIDE; net 69 chrome/browser/chrome_main_browsertest.cc GURL url = net::FilePathToFileURL(test_file_path); net 38 chrome/browser/chrome_net_benchmarking_message_filter.cc net::URLRequestContextGetter* request_context) net 77 chrome/browser/chrome_net_benchmarking_message_filter.cc net::CompletionCallback callback = net 80 chrome/browser/chrome_net_benchmarking_message_filter.cc if (rv == net::ERR_IO_PENDING) { net 97 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HostCache* cache = net 115 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HttpStreamFactory::EnableNpnSpdy3(); net 116 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HttpNetworkLayer::ForceAlternateProtocol(); net 118 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HttpStreamFactory::EnableNpnHttpOnly(); net 140 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HttpCache::Mode mode = enabled ? net 141 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HttpCache::NORMAL : net::HttpCache::DISABLE; net 142 chrome/browser/chrome_net_benchmarking_message_filter.cc net::HttpCache* http_cache = request_context_->GetURLRequestContext()-> net 10 chrome/browser/chrome_net_benchmarking_message_filter.h namespace net { net 23 chrome/browser/chrome_net_benchmarking_message_filter.h net::URLRequestContextGetter* request_context); net 46 chrome/browser/chrome_net_benchmarking_message_filter.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 92 chrome/browser/chrome_plugin_browsertest.cc return net::FilePathToFileURL(path); net 99 chrome/browser/chrome_quota_permission_context.cc net::FormatUrl(origin_url_, display_languages_)); net 228 chrome/browser/chrome_quota_permission_context.cc net::FormatUrl(origin_url_, display_languages_)); net 35 chrome/browser/chrome_security_exploit_browsertest.cc net::SpawnedTestServer https_server( net 36 chrome/browser/chrome_security_exploit_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 37 chrome/browser/chrome_security_exploit_browsertest.cc net::SpawnedTestServer::kLocalhost, net 199 chrome/browser/chromeos/app_mode/kiosk_app_data.cc net::URLRequestContextGetter* context_getter) { net 340 chrome/browser/chromeos/app_mode/kiosk_app_data.cc net::URLRequestContextGetter* KioskAppData::GetRequestContextGetter() { net 32 chrome/browser/chromeos/app_mode/kiosk_app_data.h namespace net { net 86 chrome/browser/chromeos/app_mode/kiosk_app_data.h net::URLRequestContextGetter* GetRequestContextGetter(); net 42 chrome/browser/chromeos/attestation/attestation_ca_client.cc void AttestationCAClient::OnURLFetchComplete(const net::URLFetcher* source) { net 51 chrome/browser/chromeos/attestation/attestation_ca_client.cc scoped_ptr<const net::URLFetcher> scoped_source(source); net 53 chrome/browser/chromeos/attestation/attestation_ca_client.cc if (source->GetStatus().status() != net::URLRequestStatus::SUCCESS) { net 61 chrome/browser/chromeos/attestation/attestation_ca_client.cc if (source->GetResponseCode() != net::HTTP_OK) { net 80 chrome/browser/chromeos/attestation/attestation_ca_client.cc net::URLFetcher* fetcher = net::URLFetcher::Create(0, net 82 chrome/browser/chromeos/attestation/attestation_ca_client.cc net::URLFetcher::POST, net 85 chrome/browser/chromeos/attestation/attestation_ca_client.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 86 chrome/browser/chromeos/attestation/attestation_ca_client.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 87 chrome/browser/chromeos/attestation/attestation_ca_client.cc net::LOAD_DISABLE_CACHE); net 22 chrome/browser/chromeos/attestation/attestation_ca_client.h public net::URLFetcherDelegate { net 34 chrome/browser/chromeos/attestation/attestation_ca_client.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 37 chrome/browser/chromeos/attestation/attestation_ca_client.h typedef std::map<const net::URLFetcher*, DataCallback> FetcherCallbackMap; net 43 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc void SendResponse(net::URLRequestStatus::Status status, int response_code) { net 44 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 46 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc fetcher->set_status(net::URLRequestStatus(status, 0)); net 54 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 68 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_OK); net 81 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_OK); net 94 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc SendResponse(net::URLRequestStatus::FAILED, net::HTTP_OK); net 107 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_NOT_FOUND); net 121 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_OK); net 214 chrome/browser/chromeos/attestation/attestation_policy_observer.cc scoped_refptr<net::X509Certificate> x509( net 215 chrome/browser/chromeos/attestation/attestation_policy_observer.cc net::X509Certificate::CreateFromBytes(certificate.data(), net 64 chrome/browser/chromeos/attestation/fake_certificate.cc return net::x509_util::CreateSelfSignedCert(test_key.get(), net 65 chrome/browser/chromeos/attestation/fake_certificate.cc net::x509_util::DIGEST_SHA256, net 468 chrome/browser/chromeos/attestation/platform_verification_flow.cc scoped_refptr<net::X509Certificate> x509( net 469 chrome/browser/chromeos/attestation/platform_verification_flow.cc net::X509Certificate::CreateFromBytes(certificate.data(), net 394 chrome/browser/chromeos/chrome_browser_main_chromeos.cc net::NetworkChangeNotifier::SetFactory( net 448 chrome/browser/chromeos/customization_document.cc url_fetcher_.reset(net::URLFetcher::Create( net 449 chrome/browser/chromeos/customization_document.cc url_, net::URLFetcher::GET, this)); net 452 chrome/browser/chromeos/customization_document.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 453 chrome/browser/chromeos/customization_document.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 454 chrome/browser/chromeos/customization_document.cc net::LOAD_DISABLE_CACHE | net 455 chrome/browser/chromeos/customization_document.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 489 chrome/browser/chromeos/customization_document.cc const net::URLFetcher* source) { net 493 chrome/browser/chromeos/customization_document.cc source->GetResponseCode() == net::HTTP_OK && net 498 chrome/browser/chromeos/customization_document.cc } else if (source->GetResponseCode() == net::HTTP_NOT_FOUND) { net 32 chrome/browser/chromeos/customization_document.h namespace net { net 141 chrome/browser/chromeos/customization_document.h private net::URLFetcherDelegate { net 203 chrome/browser/chromeos/customization_document.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 244 chrome/browser/chromeos/customization_document.h scoped_ptr<net::URLFetcher> url_fetcher_; net 169 chrome/browser/chromeos/customization_document_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 171 chrome/browser/chromeos/customization_document_unittest.cc net::URLFetcherDelegate* d, net 173 chrome/browser/chromeos/customization_document_unittest.cc net::HttpStatusCode response_code, net 174 chrome/browser/chromeos/customization_document_unittest.cc net::URLRequestStatus::Status status) { net 175 chrome/browser/chromeos/customization_document_unittest.cc scoped_ptr<net::FakeURLFetcher> fetcher( net 176 chrome/browser/chromeos/customization_document_unittest.cc new net::FakeURLFetcher(url, d, response_data, response_code, status)); net 181 chrome/browser/chromeos/customization_document_unittest.cc void(const GURL&, net::FakeURLFetcher*)); net 184 chrome/browser/chromeos/customization_document_unittest.cc void AddMimeHeader(const GURL& url, net::FakeURLFetcher* fetcher) { net 185 chrome/browser/chromeos/customization_document_unittest.cc scoped_refptr<net::HttpResponseHeaders> download_headers = net 186 chrome/browser/chromeos/customization_document_unittest.cc new net::HttpResponseHeaders(""); net 274 chrome/browser/chromeos/customization_document_unittest.cc net::HTTP_OK, net 275 chrome/browser/chromeos/customization_document_unittest.cc net::URLRequestStatus::SUCCESS); net 286 chrome/browser/chromeos/customization_document_unittest.cc net::HTTP_NOT_FOUND, net 287 chrome/browser/chromeos/customization_document_unittest.cc net::URLRequestStatus::SUCCESS); net 310 chrome/browser/chromeos/customization_document_unittest.cc net::FakeURLFetcherFactory factory_; net 44 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc if (error_.empty() && result != net::OK) net 45 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc error_ = net::ErrorToString(result); net 49 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc net::CompletionCallback callback_; net 52 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc net::ProxyInfo proxy_info_; // ProxyInfo resolved for source_url_. net 98 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc scoped_refptr<net::URLRequestContextGetter> getter = net 113 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc scoped_refptr<net::URLRequestContextGetter> getter, net 121 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc request->OnCompletion(net::ERR_UNEXPECTED); net 126 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc net::ProxyService* proxy_service = net 130 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc request->OnCompletion(net::ERR_UNEXPECTED); net 138 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc request->callback_, NULL, net::BoundNetLog()); net 139 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc if (result != net::ERR_IO_PENDING) { net 29 chrome/browser/chromeos/drive/drive_file_stream_reader.cc return net::FileErrorToNetError(FileErrorToBaseFileError(error)); net 40 chrome/browser/chromeos/drive/drive_file_stream_reader.cc bool ComputeConcretePosition(net::HttpByteRange range, int64 total, net 66 chrome/browser/chromeos/drive/drive_file_stream_reader.cc net::IOBuffer* buffer, int buffer_length) { net 106 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int LocalReaderProxy::Read(net::IOBuffer* buffer, int buffer_length, net 107 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const net::CompletionCallback& callback) { net 122 chrome/browser/chromeos/drive/drive_file_stream_reader.cc return net::ERR_IO_PENDING; net 136 chrome/browser/chromeos/drive/drive_file_stream_reader.cc void LocalReaderProxy::OnReadCompleted(const net::CompletionCallback& callback, net 158 chrome/browser/chromeos/drive/drive_file_stream_reader.cc error_code_(net::OK), net 170 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int NetworkReaderProxy::Read(net::IOBuffer* buffer, int buffer_length, net 171 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const net::CompletionCallback& callback) { net 182 chrome/browser/chromeos/drive/drive_file_stream_reader.cc if (error_code_ != net::OK) { net 202 chrome/browser/chromeos/drive/drive_file_stream_reader.cc return net::ERR_IO_PENDING; net 337 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const net::HttpByteRange& byte_range, net 359 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int DriveFileStreamReader::Read(net::IOBuffer* buffer, int buffer_length, net 360 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const net::CompletionCallback& callback) { net 375 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const net::HttpByteRange& byte_range, net 400 chrome/browser/chromeos/drive/drive_file_stream_reader.cc net::ERR_REQUEST_RANGE_NOT_SATISFIABLE, scoped_ptr<ResourceEntry>()); net 409 chrome/browser/chromeos/drive/drive_file_stream_reader.cc callback.Run(net::OK, entry.Pass()); net 437 chrome/browser/chromeos/drive/drive_file_stream_reader.cc if (open_result != net::OK) { net 438 chrome/browser/chromeos/drive/drive_file_stream_reader.cc callback.Run(net::ERR_FAILED, scoped_ptr<ResourceEntry>()); net 444 chrome/browser/chromeos/drive/drive_file_stream_reader.cc callback.Run(net::OK, entry.Pass()); net 23 chrome/browser/chromeos/drive/drive_file_stream_reader.h namespace net { net 43 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual int Read(net::IOBuffer* buffer, int buffer_length, net 44 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::CompletionCallback& callback) = 0; net 65 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual int Read(net::IOBuffer* buffer, int buffer_length, net 66 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::CompletionCallback& callback) OVERRIDE; net 75 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::CompletionCallback& callback, int read_result); net 97 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual int Read(net::IOBuffer* buffer, int buffer_length, net 98 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::CompletionCallback& callback) OVERRIDE; net 116 chrome/browser/chromeos/drive/drive_file_stream_reader.h scoped_refptr<net::IOBuffer> buffer_; net 118 chrome/browser/chromeos/drive/drive_file_stream_reader.h net::CompletionCallback callback_; net 160 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::HttpByteRange& byte_range, net 171 chrome/browser/chromeos/drive/drive_file_stream_reader.h int Read(net::IOBuffer* buffer, int buffer_length, net 172 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::CompletionCallback& callback); net 181 chrome/browser/chromeos/drive/drive_file_stream_reader.h const net::HttpByteRange& byte_range, net 68 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 70 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, callback.WaitForResult()); net 77 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(&proxy, &content)); net 89 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 91 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, callback.WaitForResult()); net 98 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(&proxy, &content)); net 114 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 116 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 126 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 128 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 132 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, result); net 171 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 173 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 177 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, result); net 220 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 222 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 226 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, result); net 231 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_FAILED, result); net 234 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_FAILED, net 241 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 243 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 254 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_FAILED, net 327 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int error = net::ERR_FAILED; net 333 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::HttpByteRange(), net 339 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::OK, error); net 346 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &first_content)); net 355 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc error = net::ERR_FAILED; net 361 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::HttpByteRange(), net 367 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::OK, error); net 376 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &second_content)); net 395 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int error = net::ERR_FAILED; net 397 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::HttpByteRange byte_range; net 411 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::OK, error); net 417 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &first_content)); net 428 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc error = net::ERR_FAILED; net 440 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::OK, error); net 446 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &second_content)); net 464 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int error = net::ERR_FAILED; net 466 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::HttpByteRange byte_range; net 480 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE, error); net 510 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int error = net::ERR_FAILED; net 516 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::HttpByteRange(), net 522 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::OK, error); net 529 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &first_content)); net 538 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc error = net::ERR_FAILED; net 544 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc net::HttpByteRange(), net 550 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ(net::OK, error); net 556 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &second_content)); net 30 chrome/browser/chromeos/drive/drive_protocol_handler.cc net::URLRequestJob* DriveProtocolHandler::MaybeCreateJob( net 31 chrome/browser/chromeos/drive/drive_protocol_handler.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 18 chrome/browser/chromeos/drive/drive_protocol_handler.h class DriveProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 24 chrome/browser/chromeos/drive/drive_protocol_handler.h virtual net::URLRequestJob* MaybeCreateJob( net 25 chrome/browser/chromeos/drive/drive_protocol_handler.h net::URLRequest* request, net 26 chrome/browser/chromeos/drive/drive_protocol_handler.h net::NetworkDelegate* network_delegate) const OVERRIDE; net 52 chrome/browser/chromeos/drive/drive_url_request_job.cc net::URLRequest* request, net 53 chrome/browser/chromeos/drive/drive_url_request_job.cc net::NetworkDelegate* network_delegate) net 54 chrome/browser/chromeos/drive/drive_url_request_job.cc : net::URLRequestJob(request, network_delegate), net 61 chrome/browser/chromeos/drive/drive_url_request_job.cc const net::HttpRequestHeaders& headers) { net 63 chrome/browser/chromeos/drive/drive_url_request_job.cc if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) { net 65 chrome/browser/chromeos/drive/drive_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 66 chrome/browser/chromeos/drive/drive_url_request_job.cc if (net::HttpUtil::ParseRangeHeader(range_header, &ranges) && net 72 chrome/browser/chromeos/drive/drive_url_request_job.cc net::URLRequestStatus(net::URLRequestStatus::FAILED, net 73 chrome/browser/chromeos/drive/drive_url_request_job.cc net::ERR_REQUEST_RANGE_NOT_SATISFIABLE)); net 87 chrome/browser/chromeos/drive/drive_url_request_job.cc NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 88 chrome/browser/chromeos/drive/drive_url_request_job.cc net::ERR_METHOD_NOT_SUPPORTED)); net 95 chrome/browser/chromeos/drive/drive_url_request_job.cc NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 96 chrome/browser/chromeos/drive/drive_url_request_job.cc net::ERR_INVALID_URL)); net 114 chrome/browser/chromeos/drive/drive_url_request_job.cc net::URLRequestJob::Kill(); net 146 chrome/browser/chromeos/drive/drive_url_request_job.cc net::IOBuffer* buf, int buf_size, int* bytes_read) { net 155 chrome/browser/chromeos/drive/drive_url_request_job.cc if (result == net::ERR_IO_PENDING) { net 157 chrome/browser/chromeos/drive/drive_url_request_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); net 162 chrome/browser/chromeos/drive/drive_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, result)); net 181 chrome/browser/chromeos/drive/drive_url_request_job.cc net::URLRequestStatus(net::URLRequestStatus::FAILED, error)); net 201 chrome/browser/chromeos/drive/drive_url_request_job.cc DCHECK_NE(read_result, net::ERR_IO_PENDING); net 202 chrome/browser/chromeos/drive/drive_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 206 chrome/browser/chromeos/drive/drive_url_request_job.cc SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status. net 23 chrome/browser/chromeos/drive/drive_url_request_job.h namespace net { net 40 chrome/browser/chromeos/drive/drive_url_request_job.h class DriveURLRequestJob : public net::URLRequestJob { net 51 chrome/browser/chromeos/drive/drive_url_request_job.h net::URLRequest* request, net 52 chrome/browser/chromeos/drive/drive_url_request_job.h net::NetworkDelegate* network_delegate); net 55 chrome/browser/chromeos/drive/drive_url_request_job.h virtual void SetExtraRequestHeaders(const net::HttpRequestHeaders& headers) net 63 chrome/browser/chromeos/drive/drive_url_request_job.h net::IOBuffer* buf, int buf_size, int* bytes_read) OVERRIDE; net 80 chrome/browser/chromeos/drive/drive_url_request_job.h net::HttpByteRange byte_range_; net 34 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc class TestURLRequestJobFactory : public net::URLRequestJobFactory { net 46 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJobWithProtocolHandler( net 48 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest* request, net 49 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 75 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc class TestDelegate : public net::TestDelegate { net 82 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc virtual void OnReceivedRedirect(net::URLRequest* request, net 86 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::TestDelegate::OnReceivedRedirect(request, new_url, defer_redirect); net 118 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc test_network_delegate_.reset(new net::TestNetworkDelegate); net 124 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc url_request_context_.reset(new net::URLRequestContext()); net 145 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc int error = net::ERR_FAILED; net 151 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::HttpByteRange(), net 158 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc if (error != net::OK || !entry) net 163 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc if (test_util::ReadAllData(reader.get(), &content) != net::OK) net 178 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc scoped_ptr<net::TestNetworkDelegate> test_network_delegate_; net 180 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc scoped_ptr<net::URLRequestContext> url_request_context_; net 185 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:drive/root/File 1.txt"), net 186 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 194 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 195 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::ERR_METHOD_NOT_SUPPORTED, request.status().error()); net 204 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(kTestUrl, net 205 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 212 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 230 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:drive/root/File 1.txt"), net 231 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 238 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 252 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request( net 254 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 261 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 269 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:drive/root"), net 270 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 277 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 278 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FAILED, request.status().error()); net 282 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:drive/root/Directory 1"), net 283 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 290 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 291 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FAILED, request.status().error()); net 295 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:drive/root/non-existing-file.txt"), net 296 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 303 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 304 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request.status().error()); net 308 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:"), net 309 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 316 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 317 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::ERR_INVALID_URL, request.status().error()); net 321 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(GURL("drive:drive/root/File 1.txt"), net 322 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 332 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, request.status().status()); net 339 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(kTestUrl, net 340 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 351 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 363 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::URLRequest request(kTestUrl, net 364 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 375 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 376 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc EXPECT_EQ(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE, request.status().error()); net 453 chrome/browser/chromeos/drive/file_cache.cc std::vector<char> content(net::kMaxBytesToSniff); net 470 chrome/browser/chromeos/drive/file_cache.cc } else if (net::SniffMimeType(&content[0], read_result, net 471 chrome/browser/chromeos/drive/file_cache.cc net::FilePathToFileURL(current), net 473 chrome/browser/chromeos/drive/file_cache.cc net::SniffMimeTypeFromLocalData(&content[0], read_result, net 476 chrome/browser/chromeos/drive/file_cache.cc if (net::MatchesMimeType("image/*", mime_type)) { net 478 chrome/browser/chromeos/drive/file_cache.cc } else if (net::MatchesMimeType("video/*", mime_type)) { net 480 chrome/browser/chromeos/drive/file_cache.cc } else if (net::MatchesMimeType("audio/*", mime_type)) { net 487 chrome/browser/chromeos/drive/file_cache.cc if (net::GetPreferredExtensionForMimeType(mime_type, &extension)) net 490 chrome/browser/chromeos/drive/file_cache.cc net::GetExtensionsForMimeType(mime_type, &extensions); net 50 chrome/browser/chromeos/drive/file_system/create_file_operation.cc !net::GetMimeTypeFromFile(file_path, &mime_type)) net 133 chrome/browser/chromeos/drive/file_system_util.cc net::EscapePath(kDriveMountPointNameBase + net 201 chrome/browser/chromeos/drive/file_system_util.cc std::string path_string = net::UnescapeURLComponent( net 202 chrome/browser/chromeos/drive/file_system_util.cc url.GetContent(), net::UnescapeRule::NORMAL); net 412 chrome/browser/chromeos/drive/file_system_util.cc if (net::NetworkChangeNotifier::IsOffline()) net 418 chrome/browser/chromeos/drive/file_system_util.cc net::NetworkChangeNotifier::IsConnectionCellular( net 419 chrome/browser/chromeos/drive/file_system_util.cc net::NetworkChangeNotifier::GetConnectionType()); net 42 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc int WebkitFileStreamReaderImpl::Read(net::IOBuffer* buffer, net 44 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const net::CompletionCallback& callback) { net 53 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc net::HttpByteRange byte_range; net 65 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc return net::ERR_IO_PENDING; net 69 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const net::Int64CompletionCallback& callback) { net 79 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc net::HttpByteRange byte_range; net 90 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc return net::ERR_IO_PENDING; net 94 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const net::CompletionCallback& callback, net 101 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc if (error == net::OK) { net 108 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc error = net::ERR_UPLOAD_FILE_CHANGED; net 112 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc if (error != net::OK) { net 121 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc callback.Run(net::OK); net 125 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc scoped_refptr<net::IOBuffer> buffer, net 127 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const net::CompletionCallback& callback, net 132 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc if (initialization_result != net::OK) { net 139 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc if (result != net::ERR_IO_PENDING) net 144 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const net::Int64CompletionCallback& callback, net 149 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc if (initialization_result != net::OK) { net 44 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h virtual int Read(net::IOBuffer* buffer, net 46 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const net::CompletionCallback& callback) OVERRIDE; net 47 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h virtual int64 GetLength(const net::Int64CompletionCallback& callback) net 55 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const net::CompletionCallback& callback, net 61 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h scoped_refptr<net::IOBuffer> buffer, net 63 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const net::CompletionCallback& callback, net 69 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const net::Int64CompletionCallback& callback, net 80 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &content)); net 82 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestInt64CompletionCallback callback; net 99 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestInt64CompletionCallback callback; net 104 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &content)); net 121 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &content)); net 123 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestInt64CompletionCallback callback; net 141 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc scoped_refptr<net::IOBuffer> io_buffer(new net::IOBuffer(kBufferSize)); net 142 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestCompletionCallback callback; net 145 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, result); net 159 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestInt64CompletionCallback callback; net 162 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, result); net 179 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestInt64CompletionCallback callback; net 184 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(reader.get(), &content)); net 199 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc net::TestInt64CompletionCallback callback; net 202 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc EXPECT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result); net 69 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc int WebkitFileStreamWriterImpl::Write(net::IOBuffer* buf, net 71 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const net::CompletionCallback& callback) { net 82 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc return net::ERR_FILE_NOT_FOUND; net 90 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc return net::ERR_IO_PENDING; net 94 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const net::CompletionCallback& callback) { net 108 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc return net::ERR_IO_PENDING; net 112 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc return net::ERR_UNEXPECTED; net 115 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc int WebkitFileStreamWriterImpl::Flush(const net::CompletionCallback& callback) { net 129 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc return net::OK; net 133 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc net::IOBuffer* buf, net 153 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::ResetAndReturn(&pending_cancel_callback_).Run(net::OK); net 159 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const net::CompletionCallback callback = net 164 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc net::FileErrorToNetError(open_result)); net 175 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc if (result != net::ERR_IO_PENDING) net 20 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h namespace net { net 50 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h virtual int Write(net::IOBuffer* buf, int buf_len, net 51 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h const net::CompletionCallback& callback) OVERRIDE; net 52 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h virtual int Cancel(const net::CompletionCallback& callback) OVERRIDE; net 53 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h virtual int Flush(const net::CompletionCallback& callback) OVERRIDE; net 58 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h net::IOBuffer* buf, net 71 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h net::CompletionCallback pending_write_callback_; net 72 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h net::CompletionCallback pending_cancel_callback_; net 180 chrome/browser/chromeos/drive/job_scheduler.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 191 chrome/browser/chromeos/drive/job_scheduler.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 814 chrome/browser/chromeos/drive/job_scheduler.cc if (net::NetworkChangeNotifier::IsOffline()) net 821 chrome/browser/chromeos/drive/job_scheduler.cc net::NetworkChangeNotifier::IsConnectionCellular( net 822 chrome/browser/chromeos/drive/job_scheduler.cc net::NetworkChangeNotifier::GetConnectionType())) net 1055 chrome/browser/chromeos/drive/job_scheduler.cc net::NetworkChangeNotifier::ConnectionType type) { net 62 chrome/browser/chromeos/drive/job_scheduler.h : public net::NetworkChangeNotifier::ConnectionTypeObserver, net 348 chrome/browser/chromeos/drive/job_scheduler.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 155 chrome/browser/chromeos/drive/job_scheduler_unittest.cc void ChangeConnectionType(net::NetworkChangeNotifier::ConnectionType type) { net 161 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ChangeConnectionType(net::NetworkChangeNotifier::CONNECTION_WIFI); net 166 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ChangeConnectionType(net::NetworkChangeNotifier::CONNECTION_2G); net 171 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ChangeConnectionType(net::NetworkChangeNotifier::CONNECTION_4G); net 176 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ChangeConnectionType(net::NetworkChangeNotifier::CONNECTION_NONE); net 28 chrome/browser/chromeos/drive/local_file_reader.cc const net::CompletionCallback& callback) { net 37 chrome/browser/chromeos/drive/local_file_reader.cc DCHECK_EQ(rv, net::ERR_IO_PENDING); net 40 chrome/browser/chromeos/drive/local_file_reader.cc void LocalFileReader::Read(net::IOBuffer* in_buffer, net 42 chrome/browser/chromeos/drive/local_file_reader.cc const net::CompletionCallback& callback) { net 46 chrome/browser/chromeos/drive/local_file_reader.cc DCHECK_EQ(rv, net::ERR_IO_PENDING); net 49 chrome/browser/chromeos/drive/local_file_reader.cc void LocalFileReader::DidOpen(const net::CompletionCallback& callback, net 52 chrome/browser/chromeos/drive/local_file_reader.cc if (error != net::OK) net 55 chrome/browser/chromeos/drive/local_file_reader.cc int rv = file_stream_.Seek(net::FROM_BEGIN, offset, net 59 chrome/browser/chromeos/drive/local_file_reader.cc DCHECK_EQ(rv, net::ERR_IO_PENDING); net 62 chrome/browser/chromeos/drive/local_file_reader.cc void LocalFileReader::DidSeek(const net::CompletionCallback& callback, net 65 chrome/browser/chromeos/drive/local_file_reader.cc callback.Run(error == offset ? net::OK : net::ERR_FAILED); net 19 chrome/browser/chromeos/drive/local_file_reader.h namespace net { net 41 chrome/browser/chromeos/drive/local_file_reader.h const net::CompletionCallback& callback); net 47 chrome/browser/chromeos/drive/local_file_reader.h void Read(net::IOBuffer* buffer, net 49 chrome/browser/chromeos/drive/local_file_reader.h const net::CompletionCallback& callback); net 52 chrome/browser/chromeos/drive/local_file_reader.h void DidOpen(const net::CompletionCallback& callback, net 55 chrome/browser/chromeos/drive/local_file_reader.h void DidSeek(const net::CompletionCallback& callback, net 59 chrome/browser/chromeos/drive/local_file_reader.h net::FileStream file_stream_; net 30 chrome/browser/chromeos/drive/local_file_reader_unittest.cc int Read(net::IOBuffer* buffer, net 32 chrome/browser/chromeos/drive/local_file_reader_unittest.cc const net::CompletionCallback& callback) { net 36 chrome/browser/chromeos/drive/local_file_reader_unittest.cc return net::ERR_IO_PENDING; net 65 chrome/browser/chromeos/drive/local_file_reader_unittest.cc net::TestCompletionCallback callback; net 67 chrome/browser/chromeos/drive/local_file_reader_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, callback.WaitForResult()); net 76 chrome/browser/chromeos/drive/local_file_reader_unittest.cc net::TestCompletionCallback callback; net 78 chrome/browser/chromeos/drive/local_file_reader_unittest.cc ASSERT_EQ(net::OK, callback.WaitForResult()); net 82 chrome/browser/chromeos/drive/local_file_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(&adapter, &content)); net 95 chrome/browser/chromeos/drive/local_file_reader_unittest.cc net::TestCompletionCallback callback; net 98 chrome/browser/chromeos/drive/local_file_reader_unittest.cc ASSERT_EQ(net::OK, callback.WaitForResult()); net 102 chrome/browser/chromeos/drive/local_file_reader_unittest.cc ASSERT_EQ(net::OK, test_util::ReadAllData(&adapter, &content)); net 349 chrome/browser/chromeos/drive/search_metadata.cc highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(pre))); net 351 chrome/browser/chromeos/drive/search_metadata.cc highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(match))); net 353 chrome/browser/chromeos/drive/search_metadata.cc highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(post))); net 389 chrome/browser/chromeos/drive/sync_client_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE), net 407 chrome/browser/chromeos/drive/sync_client_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 81 chrome/browser/chromeos/drive/test_util.cc net::NetworkChangeNotifier::ConnectionType net 19 chrome/browser/chromeos/drive/test_util.h namespace net { net 57 chrome/browser/chromeos/drive/test_util.h scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 59 chrome/browser/chromeos/drive/test_util.h net::TestCompletionCallback callback; net 76 chrome/browser/chromeos/drive/test_util.h class FakeNetworkChangeNotifier : public net::NetworkChangeNotifier { net 86 chrome/browser/chromeos/drive/test_util.h net::NetworkChangeNotifier::ConnectionType type_; net 110 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 134 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc new net::TestURLRequestContextGetter(base::MessageLoopProxy::current()); net 233 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc net::TestURLFetcherFactory factory; net 240 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID( net 31 chrome/browser/chromeos/extensions/external_cache.cc net::URLRequestContextGetter* request_context, net 31 chrome/browser/chromeos/extensions/external_cache.h namespace net { net 61 chrome/browser/chromeos/extensions/external_cache.h net::URLRequestContextGetter* request_context, net 129 chrome/browser/chromeos/extensions/external_cache.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 50 chrome/browser/chromeos/extensions/external_cache_unittest.cc net::URLRequestContextGetter* request_context_getter() { net 60 chrome/browser/chromeos/extensions/external_cache_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 63 chrome/browser/chromeos/extensions/external_cache_unittest.cc fetcher_factory_.reset(new net::TestURLFetcherFactory()); net 145 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 146 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_ptr<net::TestURLFetcherFactory> fetcher_factory_; net 553 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc GURL(params->parent + "/" + net::EscapePath(params->new_name)))); net 319 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc net::URLRequestContextGetter* url_request_context_getter = net 33 chrome/browser/chromeos/extensions/wallpaper_api.cc class WallpaperFetcher : public net::URLFetcherDelegate { net 42 chrome/browser/chromeos/extensions/wallpaper_api.cc url_fetcher_.reset(net::URLFetcher::Create(url, net 43 chrome/browser/chromeos/extensions/wallpaper_api.cc net::URLFetcher::GET, net 47 chrome/browser/chromeos/extensions/wallpaper_api.cc url_fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 53 chrome/browser/chromeos/extensions/wallpaper_api.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 57 chrome/browser/chromeos/extensions/wallpaper_api.cc source->GetResponseCode() == net::HTTP_OK; net 81 chrome/browser/chromeos/extensions/wallpaper_api.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 89 chrome/browser/chromeos/file_manager/file_browser_handlers.cc net::UnescapeURLComponent(str, net::UnescapeRule::NORMAL)); net 90 chrome/browser/chromeos/file_manager/file_browser_handlers.cc return net::EscapeUrlEncodedData( net 36 chrome/browser/chromeos/file_manager/fileapi_util.cc net::EscapeUrlEncodedData(relative_path.AsUTF8Unsafe(), net 21 chrome/browser/chromeos/file_manager/mime_util.cc !net::GetWellKnownMimeTypeFromExtension(file_extension.substr(1), net 124 chrome/browser/chromeos/file_manager/open_with_browser.cc url = net::FilePathToFileURL(file_path); net 138 chrome/browser/chromeos/file_manager/open_with_browser.cc GURL page_url = net::FilePathToFileURL(file_path); net 109 chrome/browser/chromeos/file_manager/path_util.cc return net::EscapePath(kDownloadsFolderName + id); net 121 chrome/browser/chromeos/file_manager/url_util.cc net::EscapeUrlEncodedData(json_args, net 22 chrome/browser/chromeos/file_manager/url_util_unittest.cc const std::string json = net::UnescapeURLComponent( net 23 chrome/browser/chromeos/file_manager/url_util_unittest.cc query, net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS); net 212 chrome/browser/chromeos/imageburner/burn_manager.cc scoped_refptr<net::URLRequestContextGetter> context_getter) net 253 chrome/browser/chromeos/imageburner/burn_manager.cc scoped_refptr<net::URLRequestContextGetter> context_getter) { net 366 chrome/browser/chromeos/imageburner/burn_manager.cc config_fetcher_.reset(net::URLFetcher::Create( net 367 chrome/browser/chromeos/imageburner/burn_manager.cc config_file_url_, net::URLFetcher::GET, this)); net 385 chrome/browser/chromeos/imageburner/burn_manager.cc image_fetcher_.reset(net::URLFetcher::Create(image_download_url_, net 386 chrome/browser/chromeos/imageburner/burn_manager.cc net::URLFetcher::GET, net 439 chrome/browser/chromeos/imageburner/burn_manager.cc void BurnManager::OnURLFetchComplete(const net::URLFetcher* source) { net 443 chrome/browser/chromeos/imageburner/burn_manager.cc source->GetStatus().status() == net::URLRequestStatus::SUCCESS; net 469 chrome/browser/chromeos/imageburner/burn_manager.cc void BurnManager::OnURLFetchDownloadProgress(const net::URLFetcher* source, net 25 chrome/browser/chromeos/imageburner/burn_manager.h namespace net { net 213 chrome/browser/chromeos/imageburner/burn_manager.h class BurnManager : public net::URLFetcherDelegate, net 252 chrome/browser/chromeos/imageburner/burn_manager.h scoped_refptr<net::URLRequestContextGetter> context_getter); net 314 chrome/browser/chromeos/imageburner/burn_manager.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 315 chrome/browser/chromeos/imageburner/burn_manager.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 350 chrome/browser/chromeos/imageburner/burn_manager.h scoped_refptr<net::URLRequestContextGetter> context_getter); net 392 chrome/browser/chromeos/imageburner/burn_manager.h scoped_ptr<net::URLFetcher> config_fetcher_; net 393 chrome/browser/chromeos/imageburner/burn_manager.h scoped_ptr<net::URLFetcher> image_fetcher_; net 395 chrome/browser/chromeos/imageburner/burn_manager.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 266 chrome/browser/chromeos/login/app_launch_controller.cc << net::NetworkChangeNotifier::GetConnectionType(); net 118 chrome/browser/chromeos/login/auth_prewarmer.cc net::URLRequestContextGetter* AuthPrewarmer::GetRequestContext() const { net 14 chrome/browser/chromeos/login/auth_prewarmer.h namespace net { net 41 chrome/browser/chromeos/login/auth_prewarmer.h net::URLRequestContextGetter* GetRequestContext() const; net 36 chrome/browser/chromeos/login/eula_browsertest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 38 chrome/browser/chromeos/login/eula_browsertest.cc net::URLFetcherDelegate* d, net 40 chrome/browser/chromeos/login/eula_browsertest.cc net::HttpStatusCode response_code, net 41 chrome/browser/chromeos/login/eula_browsertest.cc net::URLRequestStatus::Status status) { net 42 chrome/browser/chromeos/login/eula_browsertest.cc scoped_ptr<net::FakeURLFetcher> fetcher( net 43 chrome/browser/chromeos/login/eula_browsertest.cc new net::FakeURLFetcher(url, d, response_data, response_code, status)); net 48 chrome/browser/chromeos/login/eula_browsertest.cc void(const GURL&, net::FakeURLFetcher*)); net 51 chrome/browser/chromeos/login/eula_browsertest.cc void AddMimeHeader(const GURL& url, net::FakeURLFetcher* fetcher) { net 52 chrome/browser/chromeos/login/eula_browsertest.cc scoped_refptr<net::HttpResponseHeaders> download_headers = net 53 chrome/browser/chromeos/login/eula_browsertest.cc new net::HttpResponseHeaders(""); net 61 chrome/browser/chromeos/login/eula_browsertest.cc net::FakeURLFetcherFactory factory( net 66 chrome/browser/chromeos/login/eula_browsertest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 85 chrome/browser/chromeos/login/eula_browsertest.cc net::FakeURLFetcherFactory factory(NULL); net 86 chrome/browser/chromeos/login/eula_browsertest.cc factory.SetFakeResponse(GURL(kEULAURL), "", net::HTTP_INTERNAL_SERVER_ERROR, net 87 chrome/browser/chromeos/login/eula_browsertest.cc net::URLRequestStatus::FAILED); net 99 chrome/browser/chromeos/login/existing_user_controller.cc net::URLRequestContextGetter* default_profile_context_getter, net 100 chrome/browser/chromeos/login/existing_user_controller.cc net::URLRequestContextGetter* browser_process_context_getter) { net 101 chrome/browser/chromeos/login/existing_user_controller.cc net::HttpAuthCache* new_cache = net 104 chrome/browser/chromeos/login/existing_user_controller.cc net::HttpAuthCache* old_cache = net 261 chrome/browser/chromeos/login/existing_user_controller.cc scoped_refptr<net::URLRequestContextGetter> browser_process_context_getter = net 264 chrome/browser/chromeos/login/existing_user_controller.cc scoped_refptr<net::URLRequestContextGetter> signin_profile_context_getter = net 53 chrome/browser/chromeos/login/kiosk_browsertest.cc using net::test_server::BasicHttpResponse; net 54 chrome/browser/chromeos/login/kiosk_browsertest.cc using net::test_server::HttpRequest; net 55 chrome/browser/chromeos/login/kiosk_browsertest.cc using net::test_server::HttpResponse; net 979 chrome/browser/chromeos/login/kiosk_browsertest.cc http_response->set_code(net::HTTP_OK); net 82 chrome/browser/chromeos/login/login_status_consumer.h return net::ErrorToString(error_.network_error()); net 112 chrome/browser/chromeos/login/login_utils.cc public net::NetworkChangeNotifier::ConnectionTypeObserver, net 121 chrome/browser/chromeos/login/login_utils.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 125 chrome/browser/chromeos/login/login_utils.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 153 chrome/browser/chromeos/login/login_utils.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 801 chrome/browser/chromeos/login/login_utils.cc if (!net::NetworkChangeNotifier::IsOffline()) { net 870 chrome/browser/chromeos/login/login_utils.cc net::NetworkChangeNotifier::ConnectionType type) { net 872 chrome/browser/chromeos/login/login_utils.cc if (type == net::NetworkChangeNotifier::CONNECTION_NONE || net 248 chrome/browser/chromeos/login/login_utils_browsertest.cc new net::TestURLRequestContextGetter( net 428 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* PrepareOAuthFetcher(const GURL& expected_url) { net 429 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* fetcher = test_url_fetcher_factory_.GetFetcherByID(0); net 439 chrome/browser/chromeos/login/login_utils_browsertest.cc fetcher->set_status(net::URLRequestStatus()); net 443 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* PrepareDMServiceFetcher( net 446 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* fetcher = test_url_fetcher_factory_.GetFetcherByID( net 457 chrome/browser/chromeos/login/login_utils_browsertest.cc fetcher->set_status(net::URLRequestStatus()); net 464 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* PrepareDMRegisterFetcher() { net 474 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* PrepareDMPolicyFetcher() { net 504 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcherFactory test_url_fetcher_factory_; net 641 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* fetcher; net 657 chrome/browser/chromeos/login/login_utils_browsertest.cc net::ResponseCookies cookies; net 703 chrome/browser/chromeos/login/login_utils_browsertest.cc net::TestURLFetcher* fetcher = test_url_fetcher_factory_.GetFetcherByID( net 74 chrome/browser/chromeos/login/merge_session_throttle.cc MergeSessionThrottle::MergeSessionThrottle(net::URLRequest* request, net 123 chrome/browser/chromeos/login/merge_session_throttle.cc return !net::NetworkChangeNotifier::IsOffline() && net 19 chrome/browser/chromeos/login/merge_session_throttle.h namespace net { net 38 chrome/browser/chromeos/login/merge_session_throttle.h explicit MergeSessionThrottle(net::URLRequest* request, net 83 chrome/browser/chromeos/login/merge_session_throttle.h net::URLRequest* request_; net 25 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcher::RequestType request_type, net 26 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcherDelegate* d) net 27 chrome/browser/chromeos/login/mock_url_fetchers.cc : net::TestURLFetcher(0, url, d), net 51 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcher::RequestType request_type, net 52 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcherDelegate* d) net 53 chrome/browser/chromeos/login/mock_url_fetchers.cc : net::TestURLFetcher(0, url, d) { net 55 chrome/browser/chromeos/login/mock_url_fetchers.cc set_status(net::URLRequestStatus(net::URLRequestStatus::CANCELED, 0)); net 56 chrome/browser/chromeos/login/mock_url_fetchers.cc set_response_code(net::HTTP_FORBIDDEN); net 68 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcher::RequestType request_type, net 69 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcherDelegate* d) net 70 chrome/browser/chromeos/login/mock_url_fetchers.cc : net::TestURLFetcher(0, url, d) { net 72 chrome/browser/chromeos/login/mock_url_fetchers.cc set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 73 chrome/browser/chromeos/login/mock_url_fetchers.cc set_response_code(net::HTTP_OK); net 85 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcher::RequestType request_type, net 86 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcherDelegate* d) net 87 chrome/browser/chromeos/login/mock_url_fetchers.cc : net::TestURLFetcher(0, url, d) { net 89 chrome/browser/chromeos/login/mock_url_fetchers.cc set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, ECONNRESET)); net 90 chrome/browser/chromeos/login/mock_url_fetchers.cc set_response_code(net::HTTP_OK); net 112 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcher::RequestType request_type, net 113 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcherDelegate* d) net 114 chrome/browser/chromeos/login/mock_url_fetchers.cc : net::TestURLFetcher(0, url, d) { net 116 chrome/browser/chromeos/login/mock_url_fetchers.cc set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 117 chrome/browser/chromeos/login/mock_url_fetchers.cc set_response_code(net::HTTP_FORBIDDEN); net 152 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcher::RequestType request_type, net 153 chrome/browser/chromeos/login/mock_url_fetchers.cc net::URLFetcherDelegate* d) net 154 chrome/browser/chromeos/login/mock_url_fetchers.cc : net::TestURLFetcher(0, url, d) { net 156 chrome/browser/chromeos/login/mock_url_fetchers.cc set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 157 chrome/browser/chromeos/login/mock_url_fetchers.cc set_response_code(net::HTTP_OK); net 166 chrome/browser/chromeos/login/mock_url_fetchers.cc set_response_code(net::HTTP_FORBIDDEN); net 17 chrome/browser/chromeos/login/mock_url_fetchers.h namespace net { net 25 chrome/browser/chromeos/login/mock_url_fetchers.h class ExpectCanceledFetcher : public net::TestURLFetcher { net 30 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcher::RequestType request_type, net 31 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcherDelegate* d); net 43 chrome/browser/chromeos/login/mock_url_fetchers.h class GotCanceledFetcher : public net::TestURLFetcher { net 48 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcher::RequestType request_type, net 49 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcherDelegate* d); net 58 chrome/browser/chromeos/login/mock_url_fetchers.h class SuccessFetcher : public net::TestURLFetcher { net 63 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcher::RequestType request_type, net 64 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcherDelegate* d); net 73 chrome/browser/chromeos/login/mock_url_fetchers.h class FailFetcher : public net::TestURLFetcher { net 78 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcher::RequestType request_type, net 79 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcherDelegate* d); net 88 chrome/browser/chromeos/login/mock_url_fetchers.h class CaptchaFetcher : public net::TestURLFetcher { net 93 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcher::RequestType request_type, net 94 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcherDelegate* d); net 111 chrome/browser/chromeos/login/mock_url_fetchers.h class HostedFetcher : public net::TestURLFetcher { net 116 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcher::RequestType request_type, net 117 chrome/browser/chromeos/login/mock_url_fetchers.h net::URLFetcherDelegate* d); net 386 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc net::CertificateList certificates; net 387 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc certificates.push_back(new net::X509Certificate( net 41 chrome/browser/chromeos/login/oauth2_browsertest.cc using net::test_server::BasicHttpResponse; net 42 chrome/browser/chromeos/login/oauth2_browsertest.cc using net::test_server::HttpRequest; net 43 chrome/browser/chromeos/login/oauth2_browsertest.cc using net::test_server::HttpResponse; net 349 chrome/browser/chromeos/login/oauth2_browsertest.cc for (std::vector<net::CanonicalCookie>::const_iterator iter = net 373 chrome/browser/chromeos/login/oauth2_browsertest.cc void OnGetAllCookiesOnUIThread(const net::CookieList& cookies) { net 385 chrome/browser/chromeos/login/oauth2_browsertest.cc scoped_refptr<net::URLRequestContextGetter> context_; net 386 chrome/browser/chromeos/login/oauth2_browsertest.cc net::CookieList cookie_list_; net 499 chrome/browser/chromeos/login/oauth2_browsertest.cc http_response->set_code(net::HTTP_OK); net 503 chrome/browser/chromeos/login/oauth2_browsertest.cc http_response->set_code(net::HTTP_OK); net 64 chrome/browser/chromeos/login/oauth2_login_manager.cc net::URLRequestContextGetter* auth_request_context, net 93 chrome/browser/chromeos/login/oauth2_login_manager.h net::URLRequestContextGetter* auth_request_context, net 227 chrome/browser/chromeos/login/oauth2_login_manager.h scoped_refptr<net::URLRequestContextGetter> auth_request_context_; net 51 chrome/browser/chromeos/login/oauth2_login_verifier.cc net::URLRequestContextGetter* system_request_context, net 52 chrome/browser/chromeos/login/oauth2_login_verifier.cc net::URLRequestContextGetter* user_request_context, net 50 chrome/browser/chromeos/login/oauth2_login_verifier.h net::URLRequestContextGetter* system_request_context, net 51 chrome/browser/chromeos/login/oauth2_login_verifier.h net::URLRequestContextGetter* user_request_context, net 113 chrome/browser/chromeos/login/oauth2_login_verifier.h scoped_refptr<net::URLRequestContextGetter> system_request_context_; net 114 chrome/browser/chromeos/login/oauth2_login_verifier.h scoped_refptr<net::URLRequestContextGetter> user_request_context_; net 32 chrome/browser/chromeos/login/oauth2_token_fetcher.cc net::URLRequestContextGetter* context_getter) net 17 chrome/browser/chromeos/login/oauth2_token_fetcher.h namespace net { net 38 chrome/browser/chromeos/login/oauth2_token_fetcher.h net::URLRequestContextGetter* context_getter); net 179 chrome/browser/chromeos/login/online_attempt_unittest.cc GoogleServiceAuthError::FromConnectionError(net::ERR_CONNECTION_RESET)); net 26 chrome/browser/chromeos/login/oobe_browsertest.cc using namespace net::test_server; net 40 chrome/browser/chromeos/login/profile_auth_data.cc void OnTransferCookiesIfEmptyJar(const net::CookieList& cookies_in_jar); net 41 chrome/browser/chromeos/login/profile_auth_data.cc void OnGetCookiesToTransfer(const net::CookieList& cookies_to_transfer); net 44 chrome/browser/chromeos/login/profile_auth_data.cc const net::ServerBoundCertStore::ServerBoundCertList& certs); net 48 chrome/browser/chromeos/login/profile_auth_data.cc scoped_refptr<net::URLRequestContextGetter> from_context_; net 49 chrome/browser/chromeos/login/profile_auth_data.cc scoped_refptr<net::URLRequestContextGetter> to_context_; net 53 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieList cookies_to_transfer_; net 54 chrome/browser/chromeos/login/profile_auth_data.cc net::ServerBoundCertStore::ServerBoundCertList certs_to_transfer_; net 116 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieStore* to_store = net 118 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieMonster* to_monster = to_store->GetCookieMonster(); net 137 chrome/browser/chromeos/login/profile_auth_data.cc const net::CookieList& cookies_in_jar) { net 141 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieStore* to_store = net 143 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieMonster* to_monster = to_store->GetCookieMonster(); net 146 chrome/browser/chromeos/login/profile_auth_data.cc net::ServerBoundCertService* to_cert_service = net 157 chrome/browser/chromeos/login/profile_auth_data.cc const net::CookieList& cookies_to_transfer) { net 169 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieStore* from_store = net 171 chrome/browser/chromeos/login/profile_auth_data.cc net::CookieMonster* from_monster = from_store->GetCookieMonster(); net 181 chrome/browser/chromeos/login/profile_auth_data.cc const net::ServerBoundCertStore::ServerBoundCertList& certs) { net 191 chrome/browser/chromeos/login/profile_auth_data.cc net::ServerBoundCertService* from_service = net 205 chrome/browser/chromeos/login/profile_auth_data.cc net::HttpAuthCache* new_cache = to_context_->GetURLRequestContext()-> net 43 chrome/browser/chromeos/login/proxy_settings_dialog.cc net::EscapeUrlEncodedData(service_path, true).c_str()); net 47 chrome/browser/chromeos/login/saml/saml_browsertest.cc using net::test_server::BasicHttpResponse; net 48 chrome/browser/chromeos/login/saml/saml_browsertest.cc using net::test_server::HttpRequest; net 49 chrome/browser/chromeos/login/saml/saml_browsertest.cc using net::test_server::HttpResponse; net 143 chrome/browser/chromeos/login/saml/saml_browsertest.cc net::GetValueForKeyInQuery(request_url, kRelayState, &relay_state); net 164 chrome/browser/chromeos/login/saml/saml_browsertest.cc redirect_url = net::AppendQueryParameter( net 166 chrome/browser/chromeos/login/saml/saml_browsertest.cc redirect_url = net::AppendQueryParameter( net 170 chrome/browser/chromeos/login/saml/saml_browsertest.cc http_response->set_code(net::HTTP_TEMPORARY_REDIRECT); net 184 chrome/browser/chromeos/login/saml/saml_browsertest.cc http_response->set_code(net::HTTP_OK); net 96 chrome/browser/chromeos/login/screens/terms_of_service_screen.cc terms_of_service_fetcher_.reset(net::URLFetcher::Create( net 97 chrome/browser/chromeos/login/screens/terms_of_service_screen.cc GURL(terms_of_service_url), net::URLFetcher::GET, this)); net 122 chrome/browser/chromeos/login/screens/terms_of_service_screen.cc void TermsOfServiceScreen::OnURLFetchComplete(const net::URLFetcher* source) { net 131 chrome/browser/chromeos/login/screens/terms_of_service_screen.cc scoped_ptr<net::URLFetcher> fetcher(terms_of_service_fetcher_.Pass()); net 16 chrome/browser/chromeos/login/screens/terms_of_service_screen.h namespace net { net 30 chrome/browser/chromeos/login/screens/terms_of_service_screen.h public net::URLFetcherDelegate { net 55 chrome/browser/chromeos/login/screens/terms_of_service_screen.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 59 chrome/browser/chromeos/login/screens/terms_of_service_screen.h scoped_ptr<net::URLFetcher> terms_of_service_fetcher_; net 16 chrome/browser/chromeos/login/test/https_forwarder.cc : net::LocalTestServer(net::LocalTestServer::TYPE_HTTPS, net 17 chrome/browser/chromeos/login/test/https_forwarder.cc net::LocalTestServer::kLocalhost, net 26 chrome/browser/chromeos/login/test/https_forwarder.cc if (!net::LocalTestServer::SetPythonPath()) net 54 chrome/browser/chromeos/login/test/https_forwarder.cc if (!net::LocalTestServer::GenerateAdditionalArguments(arguments) || net 17 chrome/browser/chromeos/login/test/https_forwarder.h class HTTPSForwarder : public net::LocalTestServer { net 223 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::TestURLFetcherFactory* url_fetcher_factory) { net 235 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::TestURLFetcher* fetcher = url_fetcher_factory->GetFetcherByID(0); net 239 chrome/browser/chromeos/login/user_image_manager_browsertest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 240 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::OK)); net 253 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::TestURLFetcherFactory* url_fetcher_factory) { net 265 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::TestURLFetcher* fetcher = url_fetcher_factory->GetFetcherByID(0); net 268 chrome/browser/chromeos/login/user_image_manager_browsertest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 269 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::OK)); net 508 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::TestURLFetcherFactory url_fetcher_factory; net 558 chrome/browser/chromeos/login/user_image_manager_browsertest.cc net::TestURLFetcherFactory url_fetcher_factory; net 178 chrome/browser/chromeos/login/user_manager_impl.cc void OnGetNSSCertDatabaseForUser(net::NSSCertDatabase* database) { net 729 chrome/browser/chromeos/login/wizard_controller_browsertest.cc : proxy_server_(net::SpawnedTestServer::TYPE_BASIC_AUTH_PROXY, net 730 chrome/browser/chromeos/login/wizard_controller_browsertest.cc net::SpawnedTestServer::kLocalhost, net 752 chrome/browser/chromeos/login/wizard_controller_browsertest.cc net::SpawnedTestServer& proxy_server() { return proxy_server_; } net 755 chrome/browser/chromeos/login/wizard_controller_browsertest.cc net::SpawnedTestServer proxy_server_; net 23 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc const net::CertificateList& additional_trust_anchors; net 38 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc net::X509Certificate* cert, net 41 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc net::CRLSet* crl_set, net 42 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc const net::CertificateList& additional_trust_anchors, net 43 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc net::CertVerifyResult* verify_result) { net 69 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc if (net::TestRootCerts::HasInstance()) { net 70 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc if (net::TestRootCerts::GetInstance()->Contains(cert)) { net 79 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc for (net::CertificateList::const_iterator i = net 83 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc if (net::X509Certificate::IsSameOSCert(cert, (*i)->os_cert_handle())) { net 21 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h class CertVerifyProcChromeOS : public net::CertVerifyProcNSS { net 36 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h net::X509Certificate* cert, net 39 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h net::CRLSet* crl_set, net 40 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h const net::CertificateList& additional_trust_anchors, net 41 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h net::CertVerifyResult* verify_result) OVERRIDE; net 54 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h net::NSSProfileFilterChromeOS profile_filter_; net 31 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc db_1_.reset(new net::NSSCertDatabaseChromeOS( net 36 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc db_2_.reset(new net::NSSCertDatabaseChromeOS( net 49 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 51 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate::FORMAT_AUTO); net 55 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 57 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate::FORMAT_AUTO); net 77 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertVerifyProc* verify_proc, net 78 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc const net::CertificateList& additional_trust_anchors, net 79 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate* cert, net 82 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertVerifyResult verify_result; net 91 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate::OSCertHandle root = net 100 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc int Verify(net::CertVerifyProc* verify_proc, net 101 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate* cert, net 103 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList additional_trust_anchors; net 111 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> db_1_; net 112 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> db_2_; net 113 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_refptr<net::CertVerifyProc> verify_proc_default_; net 114 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_refptr<net::CertVerifyProc> verify_proc_1_; net 115 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_refptr<net::CertVerifyProc> verify_proc_2_; net 116 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList certs_1_; net 117 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList certs_2_; net 118 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList root_1_; net 119 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList root_2_; net 126 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_refptr<net::X509Certificate> server = certs_1_[0]; net 130 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 132 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 134 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 138 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::NSSCertDatabase::ImportCertFailureList failed; net 140 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc root_1_, net::NSSCertDatabase::TRUSTED_SSL, &failed)); net 144 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 147 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, Verify(verify_proc_1_.get(), server.get(), &verify_root)); net 150 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 156 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc root_2_, net::NSSCertDatabase::TRUSTED_SSL, &failed)); net 160 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 163 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, Verify(verify_proc_1_.get(), server.get(), &verify_root)); net 166 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, Verify(verify_proc_2_.get(), server.get(), &verify_root)); net 171 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 174 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 177 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, Verify(verify_proc_2_.get(), server.get(), &verify_root)); net 182 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 185 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 188 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 199 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_refptr<net::X509Certificate> server = certs_1_[0]; net 201 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList additional_trust_anchors; net 205 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 210 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 218 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, net 224 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, net 231 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 233 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList(), net 239 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 244 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 251 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::CertificateList roots; net 253 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::NSSCertDatabase::ImportCertFailureList failed; net 255 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc db_2_->ImportCACerts(roots, net::NSSCertDatabase::TRUSTED_SSL, &failed)); net 261 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, net 267 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, net 273 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::OK, net 298 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc scoped_refptr<net::X509Certificate> server = certs_1_[0]; net 304 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 306 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 308 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, net 312 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc int expected_user1_result = net::ERR_CERT_AUTHORITY_INVALID; net 313 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc int expected_user2_result = net::ERR_CERT_AUTHORITY_INVALID; net 316 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc expected_user1_result = net::OK; net 318 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::NSSCertDatabase::ImportCertFailureList failed; net 320 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc root_1_, net::NSSCertDatabase::TRUSTED_SSL, &failed)); net 329 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc expected_user2_result = net::OK; net 331 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::NSSCertDatabase::ImportCertFailureList failed; net 333 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc root_2_, net::NSSCertDatabase::TRUSTED_SSL, &failed)); net 351 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::ERR_CERT_AUTHORITY_INVALID, net 357 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc if (expected_user1_result == net::OK) net 363 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc if (expected_user2_result == net::OK) net 33 chrome/browser/chromeos/net/network_portal_detector.h response_code(net::URLFetcher::RESPONSE_CODE_INVALID) { net 152 chrome/browser/chromeos/net/network_portal_detector_impl.cc const scoped_refptr<net::URLRequestContextGetter>& request_context) net 428 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (state.response_code == net::HTTP_PROXY_AUTHENTICATION_REQUIRED) { net 30 chrome/browser/chromeos/net/network_portal_detector_impl.h namespace net { net 63 chrome/browser/chromeos/net/network_portal_detector_impl.h const scoped_refptr<net::URLRequestContextGetter>& request_context); net 176 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc CompleteURLFetch(net::OK, 200, NULL); net 286 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 304 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 314 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 301, NULL); net 324 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 302, NULL); net 362 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 396 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 403 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 434 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 456 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 478 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 487 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 496 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 540 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 503, retry_after); net 560 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 503, retry_after); net 583 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 503, retry_after); net 591 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 614 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 503, retry_after); net 622 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 503, retry_after); net 630 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 503, retry_after); net 648 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 407, NULL); net 671 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID, NULL); net 679 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID, NULL); net 687 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID, NULL); net 692 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::URLFetcher::RESPONSE_CODE_INVALID, net 723 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 732 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 747 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 766 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID, NULL); net 776 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID, NULL); net 785 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 834 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 204, NULL); net 847 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CompleteURLFetch(net::OK, 200, NULL); net 869 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc 0, 5, net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID); net 876 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net 877 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::URLFetcher::RESPONSE_CODE_INVALID); net 884 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net 885 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::URLFetcher::RESPONSE_CODE_INVALID); net 895 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net 896 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::URLFetcher::RESPONSE_CODE_INVALID); net 905 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc 0, 5, net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID); net 910 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CheckRequestTimeoutAndCompleteAttempt(1, 10, net::OK, 204); net 918 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CheckRequestTimeoutAndCompleteAttempt(0, 15, net::OK, 204); net 936 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc 0, 5, net::ERR_CONNECTION_CLOSED, net::URLFetcher::RESPONSE_CODE_INVALID); net 943 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net 944 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::URLFetcher::RESPONSE_CODE_INVALID); net 951 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::ERR_CONNECTION_CLOSED, net 952 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc net::URLFetcher::RESPONSE_CODE_INVALID); net 960 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc CheckRequestTimeoutAndCompleteAttempt(0, 5, net::OK, 204); net 42 chrome/browser/chromeos/net/onc_utils.cc net::ProxyServer ConvertOncProxyLocationToHostPort( net 43 chrome/browser/chromeos/net/onc_utils.cc net::ProxyServer::Scheme default_proxy_scheme, net 48 chrome/browser/chromeos/net/onc_utils.cc net::ProxyServer proxy_server = net 49 chrome/browser/chromeos/net/onc_utils.cc net::ProxyServer::FromURI(host, default_proxy_scheme); net 54 chrome/browser/chromeos/net/onc_utils.cc return net::ProxyServer( net 56 chrome/browser/chromeos/net/onc_utils.cc net::HostPortPair(proxy_server.host_port_pair().host(), net 70 chrome/browser/chromeos/net/onc_utils.cc net::ProxyServer::Scheme default_proxy_scheme = net::ProxyServer::SCHEME_HTTP; net 79 chrome/browser/chromeos/net/onc_utils.cc default_proxy_scheme = net::ProxyServer::SCHEME_SOCKS4; net 85 chrome/browser/chromeos/net/onc_utils.cc net::ProxyServer proxy_server = ConvertOncProxyLocationToHostPort( net 91 chrome/browser/chromeos/net/onc_utils.cc net::ProxyBypassRules ConvertOncExcludeDomainsToBypassRules( net 93 chrome/browser/chromeos/net/onc_utils.cc net::ProxyBypassRules rules; net 137 chrome/browser/chromeos/net/onc_utils.cc net::ProxyBypassRules bypass_rules; net 61 chrome/browser/chromeos/offline/offline_load_page.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 67 chrome/browser/chromeos/offline/offline_load_page.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 98 chrome/browser/chromeos/offline/offline_load_page.cc LocalizedError::GetStrings(net::ERR_INTERNET_DISCONNECTED, net 99 chrome/browser/chromeos/offline/offline_load_page.cc net::kErrorDomain, url_, false, false, locale, net 162 chrome/browser/chromeos/offline/offline_load_page.cc net::NetworkChangeNotifier::ConnectionType type) { net 164 chrome/browser/chromeos/offline/offline_load_page.cc const bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE; net 168 chrome/browser/chromeos/offline/offline_load_page.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 37 chrome/browser/chromeos/offline/offline_load_page.h public net::NetworkChangeNotifier::ConnectionTypeObserver { net 69 chrome/browser/chromeos/offline/offline_load_page.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 39 chrome/browser/chromeos/options/cert_library.cc base::string16 GetDisplayString(net::X509Certificate* cert, net 66 chrome/browser/chromeos/options/cert_library.cc std::string CertToPEM(const net::X509Certificate& cert) { net 68 chrome/browser/chromeos/options/cert_library.cc if (!net::X509Certificate::GetPEMEncoded(cert.os_cert_handle(), net 84 chrome/browser/chromeos/options/cert_library.cc bool operator()(const scoped_refptr<net::X509Certificate>& lhs, net 85 chrome/browser/chromeos/options/cert_library.cc const scoped_refptr<net::X509Certificate>& rhs) const { net 153 chrome/browser/chromeos/options/cert_library.cc const net::CertificateList& cert_list = GetCertificateListForType(type); net 159 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); net 169 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); net 174 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); net 182 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); net 194 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); net 195 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); net 203 chrome/browser/chromeos/options/cert_library.cc void CertLibrary::OnCertificatesLoaded(const net::CertificateList& cert_list, net 213 chrome/browser/chromeos/options/cert_library.cc for (net::CertificateList::const_iterator iter = cert_list.begin(); net 216 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate::OSCertHandle cert_handle = net 218 chrome/browser/chromeos/options/cert_library.cc net::CertType type = x509_certificate_model::GetType(cert_handle); net 220 chrome/browser/chromeos/options/cert_library.cc case net::USER_CERT: net 223 chrome/browser/chromeos/options/cert_library.cc case net::SERVER_CERT: net 226 chrome/browser/chromeos/options/cert_library.cc case net::CA_CERT: { net 261 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* CertLibrary::GetCertificateAt(CertType type, net 263 chrome/browser/chromeos/options/cert_library.cc const net::CertificateList& cert_list = GetCertificateListForType(type); net 269 chrome/browser/chromeos/options/cert_library.cc const net::CertificateList& CertLibrary::GetCertificateListForType( net 86 chrome/browser/chromeos/options/cert_library.h virtual void OnCertificatesLoaded(const net::CertificateList&, net 93 chrome/browser/chromeos/options/cert_library.h net::X509Certificate* GetCertificateAt(CertType type, int index) const; net 94 chrome/browser/chromeos/options/cert_library.h const net::CertificateList& GetCertificateListForType(CertType type) const; net 99 chrome/browser/chromeos/options/cert_library.h net::CertificateList certs_; net 100 chrome/browser/chromeos/options/cert_library.h net::CertificateList user_certs_; net 101 chrome/browser/chromeos/options/cert_library.h net::CertificateList server_certs_; net 102 chrome/browser/chromeos/options/cert_library.h net::CertificateList server_ca_certs_; net 63 chrome/browser/chromeos/policy/app_pack_updater.cc AppPackUpdater::AppPackUpdater(net::URLRequestContextGetter* request_context, net 23 chrome/browser/chromeos/policy/app_pack_updater.h namespace net { net 41 chrome/browser/chromeos/policy/app_pack_updater.h AppPackUpdater(net::URLRequestContextGetter* request_context, net 89 chrome/browser/chromeos/policy/auto_enrollment_client.cc scoped_refptr<net::URLRequestContextGetter> system_request_context, net 118 chrome/browser/chromeos/policy/auto_enrollment_client.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 137 chrome/browser/chromeos/policy/auto_enrollment_client.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 138 chrome/browser/chromeos/policy/auto_enrollment_client.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 169 chrome/browser/chromeos/policy/auto_enrollment_client.cc net::NetworkChangeNotifier::ConnectionType type) { net 170 chrome/browser/chromeos/policy/auto_enrollment_client.cc if (type != net::NetworkChangeNotifier::CONNECTION_NONE && net 26 chrome/browser/chromeos/policy/auto_enrollment_client.h namespace net { net 55 chrome/browser/chromeos/policy/auto_enrollment_client.h : public net::NetworkChangeNotifier::NetworkChangeObserver { net 74 chrome/browser/chromeos/policy/auto_enrollment_client.h scoped_refptr<net::URLRequestContextGetter> system_request_context, net 113 chrome/browser/chromeos/policy/auto_enrollment_client.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 212 chrome/browser/chromeos/policy/auto_enrollment_client.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 75 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc new net::TestURLRequestContextGetter( net 272 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 287 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 377 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); net 386 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 391 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); net 392 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 433 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 444 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 501 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 110 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc scoped_refptr<net::URLRequestContextGetter> request_context) { net 20 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h namespace net { net 42 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h scoped_refptr<net::URLRequestContextGetter> request_context) OVERRIDE; net 408 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<net::URLRequestContextGetter> request_context) { net 53 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h scoped_refptr<net::URLRequestContextGetter> request_context) OVERRIDE; net 67 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc class FakeURLFetcherFactory : public net::FakeURLFetcherFactory { net 73 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc virtual net::URLFetcher* CreateURLFetcher( net 76 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLFetcher::RequestType request_type, net 77 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLFetcherDelegate* delegate) OVERRIDE; net 84 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc : net::FakeURLFetcherFactory(NULL) { net 90 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLFetcher* FakeURLFetcherFactory::CreateURLFetcher( net 93 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLFetcher::RequestType request_type, net 94 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLFetcherDelegate* delegate) { net 95 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLFetcher* fetcher = net::FakeURLFetcherFactory::CreateURLFetcher( net 126 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::HttpStatusCode response_code, net 127 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::Status status); net 133 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_content_getter_; net 171 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc request_content_getter_ = new net::TestURLRequestContextGetter( net 245 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::HttpStatusCode response_code, net 246 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::Status status) { net 294 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, net 295 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 350 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, net 351 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 352 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k20BytePolicyURL, k20ByteData, net::HTTP_OK, net 353 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 425 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, net 426 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 445 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 446 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::FAILED); net 483 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k20BytePolicyURL, k10ByteData, net::HTTP_OK, net 484 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 663 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k10BytePolicyURL, k20ByteData, net::HTTP_OK, net 664 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 684 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k20BytePolicyURL, k20ByteData, net::HTTP_OK, net 685 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 731 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 732 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::FAILED); net 734 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 735 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::FAILED); net 760 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc SetFakeResponse(k20BytePolicyURL, k10ByteData, net::HTTP_OK, net 761 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc net::URLRequestStatus::SUCCESS); net 142 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 394 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 399 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 400 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::OK)); net 436 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 440 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 441 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::OK)); net 509 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 555 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 560 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 561 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::OK)); net 599 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 617 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 618 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::OK)); net 666 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 671 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 672 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::OK)); net 741 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 295 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc scoped_refptr<net::URLRequestContextGetter> request_context = net 106 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 154 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 155 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 472 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID( net 476 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 182 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleRequest( net 183 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const net::test_server::HttpRequest& request); net 225 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<net::test_server::HttpResponse> net 227 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const net::test_server::HttpRequest& request) { net 230 chrome/browser/chromeos/policy/device_local_account_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 233 chrome/browser/chromeos/policy/device_local_account_browsertest.cc for (net::QueryIterator it(url); !it.IsAtEnd(); it.Advance()) { net 239 chrome/browser/chromeos/policy/device_local_account_browsertest.cc net::GetValueForKeyInQuery(GURL("http://dummy?" + it.GetUnescapedValue()), net 250 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> net 251 chrome/browser/chromeos/policy/device_local_account_browsertest.cc http_response(new net::test_server::BasicHttpResponse); net 252 chrome/browser/chromeos/policy/device_local_account_browsertest.cc http_response->set_code(net::HTTP_OK); net 255 chrome/browser/chromeos/policy/device_local_account_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 272 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<net::FakeURLFetcher> RunCallbackAndReturnFakeURLFetcher( net 276 chrome/browser/chromeos/policy/device_local_account_browsertest.cc net::URLFetcherDelegate* delegate, net 278 chrome/browser/chromeos/policy/device_local_account_browsertest.cc net::HttpStatusCode response_code, net 279 chrome/browser/chromeos/policy/device_local_account_browsertest.cc net::URLRequestStatus::Status status) { net 281 chrome/browser/chromeos/policy/device_local_account_browsertest.cc return make_scoped_ptr(new net::FakeURLFetcher( net 877 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<net::FakeURLFetcherFactory> fetcher_factory( net 878 chrome/browser/chromeos/policy/device_local_account_browsertest.cc new net::FakeURLFetcherFactory( net 885 chrome/browser/chromeos/policy/device_local_account_browsertest.cc net::HTTP_OK, net 886 chrome/browser/chromeos/policy/device_local_account_browsertest.cc net::URLRequestStatus::SUCCESS); net 51 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<net::URLRequestContextGetter> system_request_context) { net 60 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<net::URLRequestContextGetter> request_context = net 150 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<net::URLRequestContextGetter> request_context) { net 194 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<net::URLRequestContextGetter> request_context) net 33 chrome/browser/chromeos/policy/device_local_account_policy_service.h namespace net { net 80 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<net::URLRequestContextGetter> request_context); net 128 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<net::URLRequestContextGetter> request_context); net 227 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 166 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new net::TestURLRequestContextGetter( net 277 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc EnrollmentStatus::ForRobotRefreshFetchError(net::HTTP_BAD_REQUEST)); net 13 chrome/browser/chromeos/policy/enrollment_status_chromeos.cc return EnrollmentStatus(status, DM_STATUS_SUCCESS, net::HTTP_OK, net 22 chrome/browser/chromeos/policy/enrollment_status_chromeos.cc net::HTTP_OK, CloudPolicyStore::STATUS_OK, net 30 chrome/browser/chromeos/policy/enrollment_status_chromeos.cc net::HTTP_OK, CloudPolicyStore::STATUS_OK, net 45 chrome/browser/chromeos/policy/enrollment_status_chromeos.cc net::HTTP_OK, CloudPolicyStore::STATUS_OK, net 53 chrome/browser/chromeos/policy/enrollment_status_chromeos.cc net::HTTP_OK, CloudPolicyStore::STATUS_OK, net 62 chrome/browser/chromeos/policy/enrollment_status_chromeos.cc net::HTTP_OK, store_error, validation_status); net 74 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc const net::CertificateList& trust_anchors) OVERRIDE { net 77 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList trust_anchors_; net 329 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList cert_list; net 331 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 333 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::X509Certificate::FORMAT_AUTO); net 354 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList trust_anchors; net 368 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList cert_list; net 370 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 372 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::X509Certificate::FORMAT_AUTO); net 388 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList trust_anchors; net 402 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc .WillRepeatedly(SetCertificateList(net::CertificateList())); net 418 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList trust_anchors; net 425 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList cert_list; net 427 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 429 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::X509Certificate::FORMAT_AUTO); net 450 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc net::CertificateList trust_anchors; net 60 chrome/browser/chromeos/policy/policy_cert_service.cc net::CertificateList trust_anchors; net 68 chrome/browser/chromeos/policy/policy_cert_service.cc const net::CertificateList& trust_anchors) { net 104 chrome/browser/chromeos/policy/policy_cert_service.cc OnTrustAnchorsChanged(net::CertificateList()); net 23 chrome/browser/chromeos/policy/policy_cert_service.h namespace net { net 58 chrome/browser/chromeos/policy/policy_cert_service.h virtual void OnTrustAnchorsChanged(const net::CertificateList& trust_anchors) net 20 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::CertVerifyResult& verify_result) { net 22 chrome/browser/chromeos/policy/policy_cert_verifier.cc if (error != net::OK || !verify_result.is_issued_by_additional_trust_anchor || net 31 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::CompletionCallback& completion_callback, net 32 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::CertVerifyResult* verify_result, net 53 chrome/browser/chromeos/policy/policy_cert_verifier.cc const scoped_refptr<net::CertVerifyProc>& verify_proc) { net 59 chrome/browser/chromeos/policy/policy_cert_verifier.cc net::MultiThreadedCertVerifier* verifier = net 60 chrome/browser/chromeos/policy/policy_cert_verifier.cc new net::MultiThreadedCertVerifier(verify_proc); net 66 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::CertificateList& trust_anchors) { net 72 chrome/browser/chromeos/policy/policy_cert_verifier.cc net::X509Certificate* cert, net 75 chrome/browser/chromeos/policy/policy_cert_verifier.cc net::CRLSet* crl_set, net 76 chrome/browser/chromeos/policy/policy_cert_verifier.cc net::CertVerifyResult* verify_result, net 77 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::CompletionCallback& completion_callback, net 79 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::BoundNetLog& net_log) { net 82 chrome/browser/chromeos/policy/policy_cert_verifier.cc net::CompletionCallback wrapped_callback = net 98 chrome/browser/chromeos/policy/policy_cert_verifier.cc const net::CertificateList& PolicyCertVerifier::GetAdditionalTrustAnchors() { net 19 chrome/browser/chromeos/policy/policy_cert_verifier.h namespace net { net 30 chrome/browser/chromeos/policy/policy_cert_verifier.h class PolicyCertVerifier : public net::CertVerifier, net 31 chrome/browser/chromeos/policy/policy_cert_verifier.h public net::CertTrustAnchorProvider { net 43 chrome/browser/chromeos/policy/policy_cert_verifier.h const scoped_refptr<net::CertVerifyProc>& verify_proc); net 46 chrome/browser/chromeos/policy/policy_cert_verifier.h void SetTrustAnchors(const net::CertificateList& trust_anchors); net 50 chrome/browser/chromeos/policy/policy_cert_verifier.h virtual int Verify(net::X509Certificate* cert, net 53 chrome/browser/chromeos/policy/policy_cert_verifier.h net::CRLSet* crl_set, net 54 chrome/browser/chromeos/policy/policy_cert_verifier.h net::CertVerifyResult* verify_result, net 55 chrome/browser/chromeos/policy/policy_cert_verifier.h const net::CompletionCallback& callback, net 57 chrome/browser/chromeos/policy/policy_cert_verifier.h const net::BoundNetLog& net_log) OVERRIDE; net 62 chrome/browser/chromeos/policy/policy_cert_verifier.h virtual const net::CertificateList& GetAdditionalTrustAnchors() OVERRIDE; net 65 chrome/browser/chromeos/policy/policy_cert_verifier.h net::CertificateList trust_anchors_; net 44 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc cert_db_ = net::NSSCertDatabase::GetInstance(); net 51 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc test_ca_cert_ = LoadCertificate("root_ca_cert.pem", net::CA_CERT); net 53 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc test_server_cert_ = LoadCertificate("ok_cert.pem", net::SERVER_CERT); net 65 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc int VerifyTestServerCert(const net::TestCompletionCallback& test_callback, net 66 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult* verify_result, net 67 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle* request_handle) { net 75 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::BoundNetLog()); net 79 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc scoped_refptr<net::CertVerifyProc> proc = net 80 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyProc::CreateDefault(); net 95 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc scoped_refptr<net::X509Certificate> test_ca_cert_; net 96 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc scoped_refptr<net::X509Certificate> test_server_cert_; net 97 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertificateList test_ca_cert_list_; net 98 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::NSSCertDatabase* cert_db_; net 106 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc scoped_refptr<net::X509Certificate> LoadCertificate(const std::string& name, net 107 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertType type) { net 108 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc scoped_refptr<net::X509Certificate> cert = net 109 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::ImportCertFromFile(net::GetTestCertsDirectory(), name); net 112 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::NSSCertDatabase::TrustBits trust = net 114 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::NSSCertDatabase::TRUST_DEFAULT, trust); net 127 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 128 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 129 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 131 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc ASSERT_EQ(net::ERR_IO_PENDING, error); net 134 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, error); net 140 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 141 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 142 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 144 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, error); net 152 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::NSSCertDatabase::ImportCertFailureList failure_list; net 154 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc test_ca_cert_list_, net::NSSCertDatabase::TRUSTED_SSL, &failure_list)); net 158 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::NSSCertDatabase::TrustBits trust = net 159 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc cert_db_->GetCertTrust(test_ca_cert_.get(), net::CA_CERT); net 160 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::NSSCertDatabase::TRUSTED_SSL, trust); net 163 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 164 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 165 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 167 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc ASSERT_EQ(net::ERR_IO_PENDING, error); net 170 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::OK, error); net 182 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 183 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 184 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 186 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc ASSERT_EQ(net::ERR_IO_PENDING, error); net 189 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, error); net 196 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 197 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 198 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 200 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc ASSERT_EQ(net::ERR_IO_PENDING, error); net 203 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::OK, error); net 210 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 211 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 212 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 214 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::OK, error); net 219 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc cert_verifier_->SetTrustAnchors(net::CertificateList()); net 221 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifyResult verify_result; net 222 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::TestCompletionCallback callback; net 223 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc net::CertVerifier::RequestHandle request_handle = NULL; net 226 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc EXPECT_EQ(net::ERR_CERT_AUTHORITY_INVALID, error); net 35 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc net::URLRequestContextGetter* auth_context_getter, net 36 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc net::URLRequestContextGetter* system_context_getter, net 22 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h namespace net { net 43 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h PolicyOAuth2TokenFetcher(net::URLRequestContextGetter* auth_context_getter, net 44 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h net::URLRequestContextGetter* system_context_getter, net 105 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h scoped_refptr<net::URLRequestContextGetter> auth_context_getter_; net 106 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h scoped_refptr<net::URLRequestContextGetter> system_context_getter_; net 104 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc scoped_refptr<net::URLRequestContextGetter> system_request_context, net 109 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc scoped_refptr<net::URLRequestContextGetter> request_context; net 276 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc scoped_refptr<net::URLRequestContextGetter> signin_context; net 30 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h namespace net { net 71 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h scoped_refptr<net::URLRequestContextGetter> system_request_context, net 196 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcher* PrepareOAuthFetcher(const GURL& expected_url) { net 197 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcher* fetcher = test_url_fetcher_factory_.GetFetcherByID(0); net 207 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 225 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcher* fetcher = NULL; net 231 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc net::ResponseCookies cookies; net 319 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcherFactory test_url_fetcher_factory_; net 419 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc net::TestURLFetcher* fetcher = PrepareOAuthFetcher( net 97 chrome/browser/chromeos/policy/user_network_configuration_updater.cc net::CertificateList* certs) const { net 149 chrome/browser/chromeos/policy/user_network_configuration_updater.cc net::NSSCertDatabase* database) { net 35 chrome/browser/chromeos/policy/user_network_configuration_updater.h namespace net { net 57 chrome/browser/chromeos/policy/user_network_configuration_updater.h const net::CertificateList& trust_anchors) = 0; net 79 chrome/browser/chromeos/policy/user_network_configuration_updater.h void GetWebTrustedCertificates(net::CertificateList* certs) const; net 116 chrome/browser/chromeos/policy/user_network_configuration_updater.h void CreateAndSetCertificateImporter(net::NSSCertDatabase* database); net 135 chrome/browser/chromeos/policy/user_network_configuration_updater.h net::CertificateList web_trust_certs_; net 50 chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc EXPECT_TRUE(net::GetValueForKeyInQuery(url, "restrict", &value)); net 38 chrome/browser/chromeos/policy/wildcard_login_checker.cc scoped_refptr<net::URLRequestContextGetter> signin_context, net 15 chrome/browser/chromeos/policy/wildcard_login_checker.h namespace net { net 41 chrome/browser/chromeos/policy/wildcard_login_checker.h void Start(scoped_refptr<net::URLRequestContextGetter> signin_context, net 39 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfig* proxy_config, net 90 chrome/browser/chromeos/proxy_config_service_impl.cc const net::ProxyConfig& config) { net 167 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfig pref_config; net 171 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfig network_config; net 172 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfigService::ConfigAvailability network_availability = net 173 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfigService::CONFIG_UNSET; net 184 chrome/browser/chromeos/proxy_config_service_impl.cc network_config = net::ProxyConfig(); net 185 chrome/browser/chromeos/proxy_config_service_impl.cc network_availability = net::ProxyConfigService::CONFIG_VALID; net 189 chrome/browser/chromeos/proxy_config_service_impl.cc network_availability = net::ProxyConfigService::CONFIG_VALID; net 195 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfig effective_config; net 220 chrome/browser/chromeos/proxy_config_service_impl.cc net::ProxyConfig::ProxyRules::TYPE_NO_RULES) { net 51 chrome/browser/chromeos/proxy_config_service_impl.h const net::ProxyConfig& config) OVERRIDE; net 81 chrome/browser/chromeos/proxy_config_service_impl.h net::ProxyConfig active_config_; net 59 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation proxy_rules; net 71 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Empty(), // proxy_rules net 84 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Empty(), // proxy_rules net 98 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Empty(), // proxy_rules net 112 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Empty(), // proxy_rules net 127 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Single( // proxy_rules net 144 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Single( // proxy_rules net 161 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Single( // proxy_rules net 179 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::PerSchemeWithSocks( // proxy_rules net 200 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyRulesExpectation::Single( // proxy_rules net 231 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc scoped_ptr<net::ProxyConfigService>()); net 313 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc void SyncGetLatestProxyConfig(net::ProxyConfig* config) { net 314 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc *config = net::ProxyConfig(); net 319 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyConfigService::ConfigAvailability availability = net 322 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, availability); net 326 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc scoped_ptr<net::ProxyConfigService> proxy_config_service_; net 346 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyConfig config; net 404 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc net::ProxyConfig actual_config; net 70 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer CreateProxyServer(std::string host, net 72 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::Scheme scheme) { net 74 chrome/browser/chromeos/proxy_cros_settings_parser.cc return net::ProxyServer(); net 75 chrome/browser/chromeos/proxy_cros_settings_parser.cc uint16 default_port = net::ProxyServer::GetDefaultPortForScheme(scheme); net 76 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::HostPortPair host_port_pair; net 80 chrome/browser/chromeos/proxy_cros_settings_parser.cc host_port_pair = net::HostPortPair::FromURL(url); net 82 chrome/browser/chromeos/proxy_cros_settings_parser.cc host_port_pair = net::HostPortPair::FromString(host); net 84 chrome/browser/chromeos/proxy_cros_settings_parser.cc host_port_pair = net::HostPortPair(host, port); net 87 chrome/browser/chromeos/proxy_cros_settings_parser.cc return net::ProxyServer(scheme, host_port_pair); net 90 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer CreateProxyServerFromHost( net 93 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::Scheme scheme) { net 100 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer CreateProxyServerFromPort( net 103 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::Scheme scheme) { net 143 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)); net 149 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)); net 156 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.http_proxy, net::ProxyServer::SCHEME_HTTP)); net 163 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.http_proxy, net::ProxyServer::SCHEME_HTTP)); net 170 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.https_proxy, net::ProxyServer::SCHEME_HTTP)); net 177 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.https_proxy, net::ProxyServer::SCHEME_HTTP)); net 209 chrome/browser/chromeos/proxy_cros_settings_parser.cc config.SetProxyForScheme("http", net::ProxyServer()); net 236 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.ftp_proxy, net::ProxyServer::SCHEME_HTTP)); net 243 chrome/browser/chromeos/proxy_cros_settings_parser.cc val, config.ftp_proxy, net::ProxyServer::SCHEME_HTTP)); net 253 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::SCHEME_SOCKS5 : net 254 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::SCHEME_SOCKS4)); net 265 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::SCHEME_SOCKS5 : net 266 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyServer::SCHEME_SOCKS4)); net 269 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyBypassRules bypass_rules; net 355 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyBypassRules::RuleList bypass_rules = config.bypass_rules.rules(); net 46 chrome/browser/chromeos/settings/device_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 167 chrome/browser/chromeos/settings/device_oauth2_token_service.cc net::URLRequestContextGetter* DeviceOAuth2TokenService::GetRequestContext() { net 174 chrome/browser/chromeos/settings/device_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 207 chrome/browser/chromeos/settings/device_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 26 chrome/browser/chromeos/settings/device_oauth2_token_service.h namespace net { net 75 chrome/browser/chromeos/settings/device_oauth2_token_service.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 78 chrome/browser/chromeos/settings/device_oauth2_token_service.h net::URLRequestContextGetter* getter, net 84 chrome/browser/chromeos/settings/device_oauth2_token_service.h net::URLRequestContextGetter* getter, net 110 chrome/browser/chromeos/settings/device_oauth2_token_service.h explicit DeviceOAuth2TokenService(net::URLRequestContextGetter* getter, net 142 chrome/browser/chromeos/settings/device_oauth2_token_service.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 40 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc request_context_getter_(new net::TestURLRequestContextGetter( net 151 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode response_code, net 157 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode tokeninfo_access_token_status, net 159 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode tokeninfo_fetch_status, net 161 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode service_access_token_status, net 181 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 182 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::TestURLFetcherFactory factory_; net 192 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode response_code, net 194 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(fetcher_id); net 205 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode tokeninfo_access_token_status, net 207 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode tokeninfo_fetch_status, net 209 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HttpStatusCode service_access_token_status, net 229 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), net 230 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 231 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("scoped_access_token", 3600)); net 329 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_UNAUTHORIZED, "", net 330 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 331 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); net 342 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, "invalid response", net 343 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 344 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); net 355 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), net 356 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, "", net 357 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); net 368 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), net 369 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, "invalid response", net 370 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); net 381 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), net 382 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 383 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_BAD_REQUEST, ""); net 394 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), net 395 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 396 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, "invalid request"); net 408 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), net 409 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 410 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); net 420 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, "", net 421 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), net 422 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); net 20 chrome/browser/chromeos/timezone/timezone_provider.cc net::URLRequestContextGetter* url_context_getter, net 18 chrome/browser/chromeos/timezone/timezone_provider.h namespace net { net 34 chrome/browser/chromeos/timezone/timezone_provider.h TimeZoneProvider(net::URLRequestContextGetter* url_context_getter, net 51 chrome/browser/chromeos/timezone/timezone_provider.h scoped_refptr<net::URLRequestContextGetter> url_context_getter_; net 132 chrome/browser/chromeos/timezone/timezone_request.cc query += net::EscapeQueryParamValue(api_key, true); net 279 chrome/browser/chromeos/timezone/timezone_request.cc if (status_code != net::HTTP_OK) { net 305 chrome/browser/chromeos/timezone/timezone_request.cc net::URLRequestContextGetter* url_context_getter, net 335 chrome/browser/chromeos/timezone/timezone_request.cc net::URLFetcher::Create(request_url_, net::URLFetcher::GET, this)); net 337 chrome/browser/chromeos/timezone/timezone_request.cc url_fetcher_->SetLoadFlags(net::LOAD_BYPASS_CACHE | net 338 chrome/browser/chromeos/timezone/timezone_request.cc net::LOAD_DISABLE_CACHE | net 339 chrome/browser/chromeos/timezone/timezone_request.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 340 chrome/browser/chromeos/timezone/timezone_request.cc net::LOAD_DO_NOT_SEND_COOKIES | net 341 chrome/browser/chromeos/timezone/timezone_request.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 360 chrome/browser/chromeos/timezone/timezone_request.cc void TimeZoneRequest::OnURLFetchComplete(const net::URLFetcher* source) { net 363 chrome/browser/chromeos/timezone/timezone_request.cc net::URLRequestStatus status = source->GetStatus(); net 20 chrome/browser/chromeos/timezone/timezone_request.h namespace net { net 59 chrome/browser/chromeos/timezone/timezone_request.h class TimeZoneRequest : private net::URLFetcherDelegate { net 73 chrome/browser/chromeos/timezone/timezone_request.h TimeZoneRequest(net::URLRequestContextGetter* url_context_getter, net 88 chrome/browser/chromeos/timezone/timezone_request.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 96 chrome/browser/chromeos/timezone/timezone_request.h scoped_refptr<net::URLRequestContextGetter> url_context_getter_; net 104 chrome/browser/chromeos/timezone/timezone_request.h scoped_ptr<net::URLFetcher> url_fetcher_; net 29 chrome/browser/chromeos/ui_proxy_config.cc void UIProxyConfig::SetSingleProxy(const net::ProxyServer& server) { net 35 chrome/browser/chromeos/ui_proxy_config.cc const net::ProxyServer& server) { net 45 chrome/browser/chromeos/ui_proxy_config.cc void UIProxyConfig::SetBypassRules(const net::ProxyBypassRules& rules) { net 54 chrome/browser/chromeos/ui_proxy_config.cc bool UIProxyConfig::FromNetProxyConfig(const net::ProxyConfig& net_config) { net 56 chrome/browser/chromeos/ui_proxy_config.cc const net::ProxyConfig::ProxyRules& rules = net_config.proxy_rules(); net 58 chrome/browser/chromeos/ui_proxy_config.cc case net::ProxyConfig::ProxyRules::TYPE_NO_RULES: net 70 chrome/browser/chromeos/ui_proxy_config.cc case net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY: net 77 chrome/browser/chromeos/ui_proxy_config.cc case net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME: net 154 chrome/browser/chromeos/ui_proxy_config.cc const net::ProxyServer& server, net 19 chrome/browser/chromeos/ui_proxy_config.h namespace net { net 55 chrome/browser/chromeos/ui_proxy_config.h net::ProxyServer server; net 62 chrome/browser/chromeos/ui_proxy_config.h void SetSingleProxy(const net::ProxyServer& server); net 66 chrome/browser/chromeos/ui_proxy_config.h const net::ProxyServer& server); net 69 chrome/browser/chromeos/ui_proxy_config.h void SetBypassRules(const net::ProxyBypassRules& rules); net 72 chrome/browser/chromeos/ui_proxy_config.h bool FromNetProxyConfig(const net::ProxyConfig& net_config); net 84 chrome/browser/chromeos/ui_proxy_config.h const net::ProxyServer& server, net 111 chrome/browser/chromeos/ui_proxy_config.h net::ProxyBypassRules bypass_rules; net 44 chrome/browser/chromeos/ui_proxy_config_service.cc net::ProxyConfig* proxy_config, net 142 chrome/browser/chromeos/ui_proxy_config_service.cc net::ProxyConfig pref_config; net 147 chrome/browser/chromeos/ui_proxy_config_service.cc net::ProxyConfig network_config; net 148 chrome/browser/chromeos/ui_proxy_config_service.cc net::ProxyConfigService::ConfigAvailability network_availability = net 149 chrome/browser/chromeos/ui_proxy_config_service.cc net::ProxyConfigService::CONFIG_UNSET; net 158 chrome/browser/chromeos/ui_proxy_config_service.cc network_availability = net::ProxyConfigService::CONFIG_VALID; net 163 chrome/browser/chromeos/ui_proxy_config_service.cc net::ProxyConfig effective_config; net 388 chrome/browser/component_updater/background_downloader_win.cc net::URLRequestContextGetter* context_getter, net 30 chrome/browser/component_updater/background_downloader_win.h net::URLRequestContextGetter* context_getter, net 72 chrome/browser/component_updater/background_downloader_win.h net::URLRequestContextGetter* context_getter_; net 93 chrome/browser/component_updater/component_updater_configurator.cc net::URLRequestContextGetter* url_request_getter); net 107 chrome/browser/component_updater/component_updater_configurator.cc virtual net::URLRequestContextGetter* RequestContext() OVERRIDE; net 113 chrome/browser/component_updater/component_updater_configurator.cc net::URLRequestContextGetter* url_request_getter_; net 123 chrome/browser/component_updater/component_updater_configurator.cc net::URLRequestContextGetter* url_request_getter) net 193 chrome/browser/component_updater/component_updater_configurator.cc net::URLRequestContextGetter* ChromeConfigurator::RequestContext() { net 210 chrome/browser/component_updater/component_updater_configurator.cc const CommandLine* cmdline, net::URLRequestContextGetter* context_getter) { net 14 chrome/browser/component_updater/component_updater_configurator.h namespace net { net 22 chrome/browser/component_updater/component_updater_configurator.h net::URLRequestContextGetter* context_getter); net 35 chrome/browser/component_updater/component_updater_ping_manager.cc class PingSender : public net::URLFetcherDelegate { net 40 chrome/browser/component_updater/component_updater_ping_manager.cc net::URLRequestContextGetter* url_request_context_getter, net 46 chrome/browser/component_updater/component_updater_ping_manager.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 53 chrome/browser/component_updater/component_updater_ping_manager.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 62 chrome/browser/component_updater/component_updater_ping_manager.cc void PingSender::OnURLFetchComplete(const net::URLFetcher* source) { net 68 chrome/browser/component_updater/component_updater_ping_manager.cc net::URLRequestContextGetter* url_request_context_getter, net 176 chrome/browser/component_updater/component_updater_ping_manager.cc net::URLRequestContextGetter* url_request_context_getter) net 11 chrome/browser/component_updater/component_updater_ping_manager.h namespace net { net 24 chrome/browser/component_updater/component_updater_ping_manager.h net::URLRequestContextGetter* url_request_context_getter); net 32 chrome/browser/component_updater/component_updater_ping_manager.h net::URLRequestContextGetter* url_request_context_getter_; net 110 chrome/browser/component_updater/component_updater_service.cc explicit CUResourceThrottle(const net::URLRequest* request); net 173 chrome/browser/component_updater/component_updater_service.cc net::URLRequest* request, const std::string& crx_id) OVERRIDE; net 946 chrome/browser/component_updater/component_updater_service.cc net::URLRequest* request, const std::string& crx_id) { net 976 chrome/browser/component_updater/component_updater_service.cc CUResourceThrottle::CUResourceThrottle(const net::URLRequest* request) net 21 chrome/browser/component_updater/component_updater_service.h namespace net { net 177 chrome/browser/component_updater/component_updater_service.h virtual net::URLRequestContextGetter* RequestContext() = 0; net 206 chrome/browser/component_updater/component_updater_service.h net::URLRequest* request, const std::string& crx_id) = 0; net 81 chrome/browser/component_updater/component_updater_utils.cc net::URLFetcher* SendProtocolRequest( net 84 chrome/browser/component_updater/component_updater_utils.cc net::URLFetcherDelegate* url_fetcher_delegate, net 85 chrome/browser/component_updater/component_updater_utils.cc net::URLRequestContextGetter* url_request_context_getter) { net 86 chrome/browser/component_updater/component_updater_utils.cc net::URLFetcher* url_fetcher( net 87 chrome/browser/component_updater/component_updater_utils.cc net::URLFetcher::Create(0, net 89 chrome/browser/component_updater/component_updater_utils.cc net::URLFetcher::POST, net 94 chrome/browser/component_updater/component_updater_utils.cc url_fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 95 chrome/browser/component_updater/component_updater_utils.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 96 chrome/browser/component_updater/component_updater_utils.cc net::LOAD_DISABLE_CACHE); net 103 chrome/browser/component_updater/component_updater_utils.cc bool FetchSuccess(const net::URLFetcher& fetcher) { net 107 chrome/browser/component_updater/component_updater_utils.cc int GetFetchError(const net::URLFetcher& fetcher) { net 108 chrome/browser/component_updater/component_updater_utils.cc const net::URLRequestStatus::Status status(fetcher.GetStatus().status()); net 110 chrome/browser/component_updater/component_updater_utils.cc case net::URLRequestStatus::IO_PENDING: net 111 chrome/browser/component_updater/component_updater_utils.cc case net::URLRequestStatus::CANCELED: net 115 chrome/browser/component_updater/component_updater_utils.cc case net::URLRequestStatus::SUCCESS: { net 124 chrome/browser/component_updater/component_updater_utils.cc case net::URLRequestStatus::FAILED: { net 17 chrome/browser/component_updater/component_updater_utils.h namespace net { net 52 chrome/browser/component_updater/component_updater_utils.h net::URLFetcher* SendProtocolRequest( net 55 chrome/browser/component_updater/component_updater_utils.h net::URLFetcherDelegate* url_fetcher_delegate, net 56 chrome/browser/component_updater/component_updater_utils.h net::URLRequestContextGetter* url_request_context_getter); net 59 chrome/browser/component_updater/component_updater_utils.h bool FetchSuccess(const net::URLFetcher& fetcher); net 65 chrome/browser/component_updater/component_updater_utils.h int GetFetchError(const net::URLFetcher& fetcher); net 30 chrome/browser/component_updater/crx_downloader.cc net::URLRequestContextGetter* context_getter, net 18 chrome/browser/component_updater/crx_downloader.h namespace net { net 80 chrome/browser/component_updater/crx_downloader.h net::URLRequestContextGetter* context_getter, net 36 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> context_; net 42 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc : context_(new net::TestURLRequestContextGetter( net 54 chrome/browser/component_updater/test/component_updater_service_unittest.cc context_(new net::TestURLRequestContextGetter( net 104 chrome/browser/component_updater/test/component_updater_service_unittest.cc net::URLRequestContextGetter* TestConfigurator::RequestContext() { net 165 chrome/browser/component_updater/test/component_updater_service_unittest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 169 chrome/browser/component_updater/test/component_updater_service_unittest.cc net::URLFetcher::SetEnableInterceptionForTests(false); net 1237 chrome/browser/component_updater/test/component_updater_service_unittest.cc net::TestURLRequestContext context; net 1238 chrome/browser/component_updater/test/component_updater_service_unittest.cc net::TestURLRequest url_request( net 1240 chrome/browser/component_updater/test/component_updater_service_unittest.cc net::DEFAULT_PRIORITY, net 91 chrome/browser/component_updater/test/component_updater_service_unittest.h virtual net::URLRequestContextGetter* RequestContext() OVERRIDE; net 111 chrome/browser/component_updater/test/component_updater_service_unittest.h scoped_refptr<net::TestURLRequestContextGetter> context_; net 68 chrome/browser/component_updater/test/crx_downloader_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> context_; net 83 chrome/browser/component_updater/test/crx_downloader_unittest.cc context_(new net::TestURLRequestContextGetter( net 51 chrome/browser/component_updater/test/update_checker_unittest.cc net::URLRequestContextGetter* context() { net 72 chrome/browser/component_updater/test/update_checker_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> context_; net 82 chrome/browser/component_updater/test/update_checker_unittest.cc context_(new net::TestURLRequestContextGetter( net 89 chrome/browser/component_updater/test/update_checker_unittest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 93 chrome/browser/component_updater/test/update_checker_unittest.cc net::URLFetcher::SetEnableInterceptionForTests(false); net 22 chrome/browser/component_updater/test/url_request_post_interceptor.cc class URLRequestMockJob : public net::URLRequestSimpleJob { net 24 chrome/browser/component_updater/test/url_request_post_interceptor.cc URLRequestMockJob(net::URLRequest* request, net 25 chrome/browser/component_updater/test/url_request_post_interceptor.cc net::NetworkDelegate* network_delegate, net 27 chrome/browser/component_updater/test/url_request_post_interceptor.cc : net::URLRequestSimpleJob(request, network_delegate), net 38 chrome/browser/component_updater/test/url_request_post_interceptor.cc const net::CompletionCallback& callback) const OVERRIDE { net 42 chrome/browser/component_updater/test/url_request_post_interceptor.cc return net::OK; net 127 chrome/browser/component_updater/test/url_request_post_interceptor.cc : public net::URLRequestJobFactory::ProtocolHandler { net 134 chrome/browser/component_updater/test/url_request_post_interceptor.cc net::URLRequestFilter::GetInstance()->AddHostnameProtocolHandler( net 136 chrome/browser/component_updater/test/url_request_post_interceptor.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>(this)); net 144 chrome/browser/component_updater/test/url_request_post_interceptor.cc net::URLRequestFilter::GetInstance()-> net 158 chrome/browser/component_updater/test/url_request_post_interceptor.cc virtual net::URLRequestJob* MaybeCreateJob( net 159 chrome/browser/component_updater/test/url_request_post_interceptor.cc net::URLRequest* request, net 160 chrome/browser/component_updater/test/url_request_post_interceptor.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 184 chrome/browser/component_updater/test/url_request_post_interceptor.cc const net::UploadDataStream* stream = request->get_upload(); net 185 chrome/browser/component_updater/test/url_request_post_interceptor.cc const net::UploadBytesElementReader* reader = net 188 chrome/browser/component_updater/test/url_request_post_interceptor.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(size)); net 21 chrome/browser/component_updater/test/url_request_post_interceptor.h namespace net { net 64 chrome/browser/component_updater/update_checker.cc public net::URLFetcherDelegate { net 67 chrome/browser/component_updater/update_checker.cc net::URLRequestContextGetter* url_request_context_getter, net 77 chrome/browser/component_updater/update_checker.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 81 chrome/browser/component_updater/update_checker.cc net::URLRequestContextGetter* url_request_context_getter_; // Not owned. net 84 chrome/browser/component_updater/update_checker.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 91 chrome/browser/component_updater/update_checker.cc net::URLRequestContextGetter* url_request_context_getter, net 100 chrome/browser/component_updater/update_checker.cc net::URLRequestContextGetter* url_request_context_getter, net 129 chrome/browser/component_updater/update_checker.cc void UpdateCheckerImpl::OnURLFetchComplete(const net::URLFetcher* source) { net 18 chrome/browser/component_updater/update_checker.h namespace net { net 42 chrome/browser/component_updater/update_checker.h net::URLRequestContextGetter* url_request_context_getter, net 19 chrome/browser/component_updater/url_fetcher_downloader.cc net::URLRequestContextGetter* context_getter, net 35 chrome/browser/component_updater/url_fetcher_downloader.cc url_fetcher_.reset(net::URLFetcher::Create(0, net 37 chrome/browser/component_updater/url_fetcher_downloader.cc net::URLFetcher::GET, net 40 chrome/browser/component_updater/url_fetcher_downloader.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 41 chrome/browser/component_updater/url_fetcher_downloader.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 42 chrome/browser/component_updater/url_fetcher_downloader.cc net::LOAD_DISABLE_CACHE); net 54 chrome/browser/component_updater/url_fetcher_downloader.cc void UrlFetcherDownloader::OnURLFetchComplete(const net::URLFetcher* source) { net 86 chrome/browser/component_updater/url_fetcher_downloader.cc const net::URLFetcher* source, net 15 chrome/browser/component_updater/url_fetcher_downloader.h namespace net { net 24 chrome/browser/component_updater/url_fetcher_downloader.h public net::URLFetcherDelegate { net 28 chrome/browser/component_updater/url_fetcher_downloader.h net::URLRequestContextGetter* context_getter, net 38 chrome/browser/component_updater/url_fetcher_downloader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 39 chrome/browser/component_updater/url_fetcher_downloader.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 42 chrome/browser/component_updater/url_fetcher_downloader.h scoped_ptr<net::URLFetcher> url_fetcher_; net 43 chrome/browser/component_updater/url_fetcher_downloader.h net::URLRequestContextGetter* context_getter_; net 50 chrome/browser/content_settings/content_settings_browsertest.cc : https_server_(net::SpawnedTestServer::TYPE_HTTPS, net 51 chrome/browser/content_settings/content_settings_browsertest.cc net::SpawnedTestServer::SSLOptions( net 52 chrome/browser/content_settings/content_settings_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_OK), net 109 chrome/browser/content_settings/content_settings_browsertest.cc net::SpawnedTestServer https_server_; net 274 chrome/browser/content_settings/content_settings_browsertest.cc net::HostPortPair host_port = test_server()->host_port_pair(); net 105 chrome/browser/content_settings/content_settings_usages_state.cc net::AppendFormattedHost(url, net 203 chrome/browser/content_settings/cookie_settings.cc net::StaticCookiePolicy policy( net 204 chrome/browser/content_settings/cookie_settings.cc net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES); net 210 chrome/browser/content_settings/cookie_settings.cc DCHECK_NE(net::ERR_IO_PENDING, rv); net 211 chrome/browser/content_settings/cookie_settings.cc if (rv != net::OK) net 25 chrome/browser/content_settings/local_shared_objects_container.cc return net::registry_controlled_domains::SameDomainOrHost( net 28 chrome/browser/content_settings/local_shared_objects_container.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 91 chrome/browser/content_settings/local_shared_objects_container.cc const net::CookieList* cookie_list = it->second; net 92 chrome/browser/content_settings/local_shared_objects_container.cc for (net::CookieList::const_iterator cookie = cookie_list->begin(); net 120 chrome/browser/content_settings/tab_specific_content_settings.cc const net::CookieList& cookie_list, net 147 chrome/browser/content_settings/tab_specific_content_settings.cc const net::CookieOptions& options, net 352 chrome/browser/content_settings/tab_specific_content_settings.cc const net::CookieList& cookie_list, net 373 chrome/browser/content_settings/tab_specific_content_settings.cc const net::CookieOptions& options, net 34 chrome/browser/content_settings/tab_specific_content_settings.h namespace net { net 106 chrome/browser/content_settings/tab_specific_content_settings.h const net::CookieList& cookie_list, net 119 chrome/browser/content_settings/tab_specific_content_settings.h const net::CookieOptions& options, net 309 chrome/browser/content_settings/tab_specific_content_settings.h const net::CookieList& cookie_list, net 314 chrome/browser/content_settings/tab_specific_content_settings.h const net::CookieOptions& options, net 50 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc net::CookieOptions options; net 160 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc net::CookieOptions options; net 339 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc net::CookieList(), net 357 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc net::CookieOptions(), net 359 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc net::CookieList cookie_list; net 360 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc scoped_ptr<net::CanonicalCookie> cookie( net 361 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc net::CanonicalCookie::Create(GURL("http://google.com"), net 363 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc base::Time::Now(), net::CookieOptions())); net 50 chrome/browser/crash_recovery_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleRequest( net 51 chrome/browser/crash_recovery_browsertest.cc const net::test_server::HttpRequest& request) { net 53 chrome/browser/crash_recovery_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 56 chrome/browser/crash_recovery_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 57 chrome/browser/crash_recovery_browsertest.cc new net::test_server::BasicHttpResponse); net 62 chrome/browser/crash_recovery_browsertest.cc return response.PassAs<net::test_server::HttpResponse>(); net 89 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequestJob* MaybeCreateJob( net 90 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const; net 139 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequestJob* ProtocolHandlerRegistry::IOThreadDelegate::MaybeCreateJob( net 140 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 152 chrome/browser/custom_handlers/protocol_handler_registry.cc return new net::URLRequestRedirectJob( net 154 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequestRedirectJob::REDIRECT_307_TEMPORARY_REDIRECT, net 175 chrome/browser/custom_handlers/protocol_handler_registry.cc scoped_ptr<net::URLRequestJobFactory> job_factory) { net 179 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequestJob* net 183 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequest* request, net 184 chrome/browser/custom_handlers/protocol_handler_registry.cc net::NetworkDelegate* network_delegate) const { net 186 chrome/browser/custom_handlers/protocol_handler_registry.cc net::URLRequestJob* job = io_thread_delegate_->MaybeCreateJob( net 100 chrome/browser/custom_handlers/protocol_handler_registry.h class JobInterceptorFactory : public net::URLRequestJobFactory { net 108 chrome/browser/custom_handlers/protocol_handler_registry.h void Chain(scoped_ptr<net::URLRequestJobFactory> job_factory); net 111 chrome/browser/custom_handlers/protocol_handler_registry.h virtual net::URLRequestJob* MaybeCreateJobWithProtocolHandler( net 113 chrome/browser/custom_handlers/protocol_handler_registry.h net::URLRequest* request, net 114 chrome/browser/custom_handlers/protocol_handler_registry.h net::NetworkDelegate* network_delegate) const OVERRIDE; net 35 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc net::URLRequestJobFactory* interceptor) { net 37 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc net::URLRequestContext context; net 38 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc net::URLRequest request(url, net::DEFAULT_PRIORITY, NULL, &context); net 39 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc scoped_refptr<net::URLRequestJob> job = net 47 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc net::URLRequestJobFactory* interceptor) { net 62 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc class FakeURLRequestJobFactory : public net::URLRequestJobFactory { net 64 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc virtual net::URLRequestJob* MaybeCreateJobWithProtocolHandler( net 66 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc net::URLRequest* request, net 67 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 86 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc interceptor->Chain(scoped_ptr<net::URLRequestJobFactory>( net 89 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc interceptor->Chain(scoped_ptr<net::URLRequestJobFactory>()); net 789 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc scoped_ptr<net::URLRequestJobFactory> interceptor( net 270 chrome/browser/custom_home_pages_table_model.cc base::string16 url = net::FormatUrl(entries_[row].url, languages); net 215 chrome/browser/devtools/adb/android_rsa.cc if (!net::asn1::ExtractSubjectPublicKeyFromSPKI(asn1, &pk)) net 345 chrome/browser/devtools/adb/android_usb_device.cc net::StreamSocket* AndroidUsbDevice::CreateSocket(const std::string& command) { net 391 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> header_buffer = new net::IOBuffer(kHeaderSize); net 397 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> body_buffer = new net::IOBuffer(body_length); net 423 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer, net 437 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kHeaderSize); net 444 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer, net 486 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(data_length); net 497 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer, net 22 chrome/browser/devtools/adb/android_usb_device.h namespace net { net 83 chrome/browser/devtools/adb/android_usb_device.h net::StreamSocket* CreateSocket(const std::string& command); net 105 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<net::IOBuffer> buffer, net 110 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<net::IOBuffer> buffer, net 120 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<net::IOBuffer> buffer, net 152 chrome/browser/devtools/adb/android_usb_device.h typedef std::pair<scoped_refptr<net::IOBuffer>, size_t> BulkMessage; net 16 chrome/browser/devtools/adb/android_usb_socket.cc net::IOBuffer* buffer, net 18 chrome/browser/devtools/adb/android_usb_socket.cc const net::CompletionCallback& callback) net 54 chrome/browser/devtools/adb/android_usb_socket.cc net::CompletionCallback callback = connect_callback_; net 56 chrome/browser/devtools/adb/android_usb_socket.cc callback.Run(net::OK); net 70 chrome/browser/devtools/adb/android_usb_socket.cc net::CompletionCallback callback = connect_callback_; net 72 chrome/browser/devtools/adb/android_usb_socket.cc callback.Run(net::OK); net 96 chrome/browser/devtools/adb/android_usb_socket.cc net::CompletionCallback callback = connect_callback_; net 98 chrome/browser/devtools/adb/android_usb_socket.cc callback.Run(net::ERR_FAILED); net 105 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::Read(net::IOBuffer* buffer, net 107 chrome/browser/devtools/adb/android_usb_socket.cc const net::CompletionCallback& callback) { net 109 chrome/browser/devtools/adb/android_usb_socket.cc return is_closed_ ? 0 : net::ERR_SOCKET_NOT_CONNECTED; net 113 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_IO_PENDING; net 126 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::Write(net::IOBuffer* buffer, net 128 chrome/browser/devtools/adb/android_usb_socket.cc const net::CompletionCallback& callback) { net 130 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 137 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_IO_PENDING; net 142 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_NOT_IMPLEMENTED; net 147 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_NOT_IMPLEMENTED; net 150 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::Connect(const net::CompletionCallback& callback) { net 153 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_FAILED; net 156 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_IO_PENDING; net 175 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::GetPeerAddress(net::IPEndPoint* address) const { net 176 chrome/browser/devtools/adb/android_usb_socket.cc net::IPAddressNumber ip(net::kIPv4AddressSize); net 177 chrome/browser/devtools/adb/android_usb_socket.cc *address = net::IPEndPoint(ip, 0); net 178 chrome/browser/devtools/adb/android_usb_socket.cc return net::OK; net 181 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::GetLocalAddress(net::IPEndPoint* address) const { net 183 chrome/browser/devtools/adb/android_usb_socket.cc return net::ERR_NOT_IMPLEMENTED; net 186 chrome/browser/devtools/adb/android_usb_socket.cc const net::BoundNetLog& AndroidUsbSocket::NetLog() const { net 213 chrome/browser/devtools/adb/android_usb_socket.cc net::NextProto AndroidUsbSocket::GetNegotiatedProtocol() const { net 215 chrome/browser/devtools/adb/android_usb_socket.cc return net::kProtoUnknown; net 218 chrome/browser/devtools/adb/android_usb_socket.cc bool AndroidUsbSocket::GetSSLInfo(net::SSLInfo* ssl_info) { net 23 chrome/browser/devtools/adb/android_usb_socket.h class AndroidUsbSocket : public net::StreamSocket, net 37 chrome/browser/devtools/adb/android_usb_socket.h virtual int Read(net::IOBuffer* buf, int buf_len, net 38 chrome/browser/devtools/adb/android_usb_socket.h const net::CompletionCallback& callback) OVERRIDE; net 39 chrome/browser/devtools/adb/android_usb_socket.h virtual int Write(net::IOBuffer* buf, int buf_len, net 40 chrome/browser/devtools/adb/android_usb_socket.h const net::CompletionCallback& callback) OVERRIDE; net 43 chrome/browser/devtools/adb/android_usb_socket.h virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; net 47 chrome/browser/devtools/adb/android_usb_socket.h virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; net 48 chrome/browser/devtools/adb/android_usb_socket.h virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; net 49 chrome/browser/devtools/adb/android_usb_socket.h virtual const net::BoundNetLog& NetLog() const OVERRIDE; net 55 chrome/browser/devtools/adb/android_usb_socket.h virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; net 56 chrome/browser/devtools/adb/android_usb_socket.h virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; net 61 chrome/browser/devtools/adb/android_usb_socket.h IORequest(net::IOBuffer* buffer, net 63 chrome/browser/devtools/adb/android_usb_socket.h const net::CompletionCallback& callback); net 66 chrome/browser/devtools/adb/android_usb_socket.h scoped_refptr<net::IOBuffer> buffer; net 68 chrome/browser/devtools/adb/android_usb_socket.h net::CompletionCallback callback; net 79 chrome/browser/devtools/adb/android_usb_socket.h net::BoundNetLog net_log_; net 83 chrome/browser/devtools/adb/android_usb_socket.h net::CompletionCallback connect_callback_; net 26 chrome/browser/devtools/adb_client_socket.cc typedef base::Callback<void(int, net::StreamSocket*)> SocketCallback; net 78 chrome/browser/devtools/adb_client_socket.cc callback_.Run(net::OK, socket_.release()); net 97 chrome/browser/devtools/adb_client_socket.cc HttpOverAdbSocket(net::StreamSocket* socket, net 106 chrome/browser/devtools/adb_client_socket.cc HttpOverAdbSocket(net::StreamSocket* socket, net 120 chrome/browser/devtools/adb_client_socket.cc scoped_refptr<net::StringIOBuffer> request_buffer = net 121 chrome/browser/devtools/adb_client_socket.cc new net::StringIOBuffer(request); net 127 chrome/browser/devtools/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 134 chrome/browser/devtools/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer = net 135 chrome/browser/devtools/adb_client_socket.cc new net::IOBuffer(kBufferSize); net 143 chrome/browser/devtools/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 147 chrome/browser/devtools/adb_client_socket.cc void OnResponseData(scoped_refptr<net::IOBuffer> response_buffer, net 153 chrome/browser/devtools/adb_client_socket.cc CheckNetResultOrDie(net::ERR_CONNECTION_CLOSED); net 169 chrome/browser/devtools/adb_client_socket.cc CheckNetResultOrDie(net::ERR_FAILED); net 184 chrome/browser/devtools/adb_client_socket.cc command_callback_.Run(net::OK, response_.substr(body_pos_)); net 186 chrome/browser/devtools/adb_client_socket.cc socket_callback_.Run(net::OK, socket_.release()); net 197 chrome/browser/devtools/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 212 chrome/browser/devtools/adb_client_socket.cc scoped_ptr<net::StreamSocket> socket_; net 228 chrome/browser/devtools/adb_client_socket.cc CheckNetResultOrDie(net::ERR_INVALID_ARGUMENT); net 244 chrome/browser/devtools/adb_client_socket.cc CheckNetResultOrDie(net::ERR_MSG_TOO_BIG); net 254 chrome/browser/devtools/adb_client_socket.cc SendNextQuery(net::OK); net 292 chrome/browser/devtools/adb_client_socket.cc void AdbClientSocket::HttpQuery(net::StreamSocket* socket, net 299 chrome/browser/devtools/adb_client_socket.cc void AdbClientSocket::HttpQuery(net::StreamSocket* socket, net 312 chrome/browser/devtools/adb_client_socket.cc void AdbClientSocket::Connect(const net::CompletionCallback& callback) { net 313 chrome/browser/devtools/adb_client_socket.cc net::IPAddressNumber ip_number; net 314 chrome/browser/devtools/adb_client_socket.cc if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { net 315 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::ERR_FAILED); net 319 chrome/browser/devtools/adb_client_socket.cc net::AddressList address_list = net 320 chrome/browser/devtools/adb_client_socket.cc net::AddressList::CreateFromIPAddress(ip_number, port_); net 321 chrome/browser/devtools/adb_client_socket.cc socket_.reset(new net::TCPClientSocket(address_list, NULL, net 322 chrome/browser/devtools/adb_client_socket.cc net::NetLog::Source())); net 324 chrome/browser/devtools/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 331 chrome/browser/devtools/adb_client_socket.cc scoped_refptr<net::StringIOBuffer> request_buffer = net 332 chrome/browser/devtools/adb_client_socket.cc new net::StringIOBuffer(EncodeMessage(command)); net 339 chrome/browser/devtools/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 350 chrome/browser/devtools/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer = net 351 chrome/browser/devtools/adb_client_socket.cc new net::IOBuffer(kBufferSize); net 359 chrome/browser/devtools/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 366 chrome/browser/devtools/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer, net 369 chrome/browser/devtools/adb_client_socket.cc callback.Run(result == 0 ? net::ERR_CONNECTION_CLOSED : result, net 376 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::ERR_FAILED, "Response is too short: " + data); net 382 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::ERR_FAILED, data); net 400 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::OK, data); net 407 chrome/browser/devtools/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer, net 419 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::OK, new_response); net 434 chrome/browser/devtools/adb_client_socket.cc else if (result != net::ERR_IO_PENDING) net 435 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::OK, new_response); net 16 chrome/browser/devtools/adb_client_socket.h net::StreamSocket*)> SocketCallback; net 23 chrome/browser/devtools/adb_client_socket.h static void HttpQuery(net::StreamSocket* socket, net 27 chrome/browser/devtools/adb_client_socket.h static void HttpQuery(net::StreamSocket* socket, net 40 chrome/browser/devtools/adb_client_socket.h void Connect(const net::CompletionCallback& callback); net 46 chrome/browser/devtools/adb_client_socket.h scoped_ptr<net::StreamSocket> socket_; net 53 chrome/browser/devtools/adb_client_socket.h scoped_refptr<net::IOBuffer> response_buffer, net 58 chrome/browser/devtools/adb_client_socket.h scoped_refptr<net::IOBuffer> response_buffer, net 62 chrome/browser/devtools/adb_client_socket_browsertest.cc SingleConnectionServer(net::IPEndPoint endpoint, int buffer_size); net 81 chrome/browser/devtools/adb_client_socket_browsertest.cc scoped_ptr<net::TCPServerSocket> server_socket_; net 82 chrome/browser/devtools/adb_client_socket_browsertest.cc scoped_ptr<net::StreamSocket> client_socket_; net 83 chrome/browser/devtools/adb_client_socket_browsertest.cc scoped_refptr<net::GrowableIOBuffer> input_buffer_; net 84 chrome/browser/devtools/adb_client_socket_browsertest.cc scoped_refptr<net::GrowableIOBuffer> output_buffer_; net 89 chrome/browser/devtools/adb_client_socket_browsertest.cc SingleConnectionServer::SingleConnectionServer(net::IPEndPoint endpoint, net 94 chrome/browser/devtools/adb_client_socket_browsertest.cc input_buffer_ = new net::GrowableIOBuffer(); net 97 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_ = new net::GrowableIOBuffer(); net 99 chrome/browser/devtools/adb_client_socket_browsertest.cc server_socket_.reset(new net::TCPServerSocket(NULL, net::NetLog::Source())); net 150 chrome/browser/devtools/adb_client_socket_browsertest.cc if (accept_result != net::ERR_IO_PENDING) net 175 chrome/browser/devtools/adb_client_socket_browsertest.cc if (read_result != net::ERR_IO_PENDING) net 216 chrome/browser/devtools/adb_client_socket_browsertest.cc if (write_result != net::ERR_IO_PENDING) net 243 chrome/browser/devtools/adb_client_socket_browsertest.cc MockAdbServer(net::IPEndPoint endpoint, int buffer_size) net 380 chrome/browser/devtools/adb_client_socket_browsertest.cc net::IPAddressNumber address; net 381 chrome/browser/devtools/adb_client_socket_browsertest.cc net::ParseIPLiteralToNumber("127.0.0.1", &address); net 382 chrome/browser/devtools/adb_client_socket_browsertest.cc net::IPEndPoint endpoint(address, kAdbPort); net 15 chrome/browser/devtools/adb_web_socket.cc using net::WebSocket; net 73 chrome/browser/devtools/adb_web_socket.cc int result, net::StreamSocket* socket) { net 74 chrome/browser/devtools/adb_web_socket.cc if (result != net::OK || socket == NULL) { net 86 chrome/browser/devtools/adb_web_socket.cc scoped_refptr<net::IOBuffer> response_buffer = net 87 chrome/browser/devtools/adb_web_socket.cc new net::IOBuffer(kBufferSize); net 92 chrome/browser/devtools/adb_web_socket.cc if (result != net::ERR_IO_PENDING) net 97 chrome/browser/devtools/adb_web_socket.cc scoped_refptr<net::IOBuffer> response_buffer, int result) { net 132 chrome/browser/devtools/adb_web_socket.cc if (result != net::ERR_IO_PENDING) net 147 chrome/browser/devtools/adb_web_socket.cc scoped_refptr<net::StringIOBuffer> buffer = net 148 chrome/browser/devtools/adb_web_socket.cc new net::StringIOBuffer(request_buffer_); net 152 chrome/browser/devtools/adb_web_socket.cc if (result != net::ERR_IO_PENDING) net 160 chrome/browser/devtools/adb_web_socket.cc scoped_ptr<net::StreamSocket> socket(socket_.release()); net 38 chrome/browser/devtools/adb_web_socket.h void ConnectedOnHandlerThread(int result, net::StreamSocket* socket); net 40 chrome/browser/devtools/adb_web_socket.h void OnBytesRead(scoped_refptr<net::IOBuffer> response_buffer, int result); net 53 chrome/browser/devtools/adb_web_socket.h scoped_ptr<net::StreamSocket> socket_; net 84 chrome/browser/devtools/android_device.cc net::StreamSocket* socket, net 87 chrome/browser/devtools/android_device.cc net::StreamSocket* socket, net 89 chrome/browser/devtools/android_device.cc void OnRead(net::StreamSocket* socket, net 90 chrome/browser/devtools/android_device.cc scoped_refptr<net::IOBuffer> buffer, net 108 chrome/browser/devtools/android_device.cc net::StreamSocket* socket = device_->CreateSocket(command); net 111 chrome/browser/devtools/android_device.cc if (result != net::ERR_IO_PENDING) net 119 chrome/browser/devtools/android_device.cc net::StreamSocket* socket = device_->CreateSocket(socket_name); net 122 chrome/browser/devtools/android_device.cc if (result != net::ERR_IO_PENDING) net 127 chrome/browser/devtools/android_device.cc net::StreamSocket* socket, net 129 chrome/browser/devtools/android_device.cc callback.Run(result, result == net::OK ? socket : NULL); net 133 chrome/browser/devtools/android_device.cc net::StreamSocket* socket, net 135 chrome/browser/devtools/android_device.cc if (result != net::OK) { net 139 chrome/browser/devtools/android_device.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kBufferSize); net 143 chrome/browser/devtools/android_device.cc if (result != net::ERR_IO_PENDING) net 147 chrome/browser/devtools/android_device.cc void UsbDeviceImpl::OnRead(net::StreamSocket* socket, net 148 chrome/browser/devtools/android_device.cc scoped_refptr<net::IOBuffer> buffer, net 162 chrome/browser/devtools/android_device.cc if (result != net::ERR_IO_PENDING) net 304 chrome/browser/devtools/android_device.cc net::StreamSocket* socket) { net 305 chrome/browser/devtools/android_device.cc if (result != net::OK) { net 316 chrome/browser/devtools/android_device.cc net::StreamSocket* socket) { net 317 chrome/browser/devtools/android_device.cc if (result != net::OK) { net 439 chrome/browser/devtools/android_device.cc net::StreamSocket* socket, net 455 chrome/browser/devtools/android_device.cc net::StreamSocket* socket, net 479 chrome/browser/devtools/android_device.cc net::IPAddressNumber ip_number; net 480 chrome/browser/devtools/android_device.cc net::ParseIPLiteralToNumber(kLocalhost, &ip_number); net 488 chrome/browser/devtools/android_device.cc net::AddressList address_list = net 489 chrome/browser/devtools/android_device.cc net::AddressList::CreateFromIPAddress(ip_number, port); net 490 chrome/browser/devtools/android_device.cc net::TCPClientSocket* socket = new net::TCPClientSocket( net 491 chrome/browser/devtools/android_device.cc address_list, NULL, net::NetLog::Source()); net 21 chrome/browser/devtools/android_device.h typedef base::Callback<void(int result, net::StreamSocket*)> SocketCallback; net 50 chrome/browser/devtools/android_device.h net::StreamSocket* socket); net 54 chrome/browser/devtools/android_device.h net::StreamSocket* socket); net 121 chrome/browser/devtools/browser_list_tabcontents_provider.cc scoped_ptr<net::StreamListenSocket> net 123 chrome/browser/devtools/browser_list_tabcontents_provider.cc net::StreamListenSocket::Delegate* delegate, net 129 chrome/browser/devtools/browser_list_tabcontents_provider.cc return net::TCPListenSocket::CreateAndListen("127.0.0.1", port, delegate) net 130 chrome/browser/devtools/browser_list_tabcontents_provider.cc .PassAs<net::StreamListenSocket>(); net 133 chrome/browser/devtools/browser_list_tabcontents_provider.cc scoped_ptr<net::StreamListenSocket> net 135 chrome/browser/devtools/browser_list_tabcontents_provider.cc net::StreamListenSocket::Delegate* delegate, net 137 chrome/browser/devtools/browser_list_tabcontents_provider.cc return scoped_ptr<net::StreamListenSocket>(); net 31 chrome/browser/devtools/browser_list_tabcontents_provider.h virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( net 32 chrome/browser/devtools/browser_list_tabcontents_provider.h net::StreamListenSocket::Delegate* delegate, net 858 chrome/browser/devtools/devtools_adb_bridge.cc title_ = base::UTF16ToUTF8(net::UnescapeForHTML(base::UTF8ToUTF16(title_))); net 1022 chrome/browser/devtools/devtools_adb_bridge.cc std::string query = net::EscapeQueryParamValue(url, false /* use_plus */); net 558 chrome/browser/devtools/devtools_targets_ui.cc target_data->SetString(kNameField, net::EscapeForHTML(target.GetTitle())); net 63 chrome/browser/devtools/port_forwarding_controller.cc net::StreamSocket* socket) { net 79 chrome/browser/devtools/port_forwarding_controller.cc void Start(net::StreamSocket* socket, const std::string& host, int port) { net 82 chrome/browser/devtools/port_forwarding_controller.cc host_resolver_ = net::HostResolver::CreateDefaultResolver(NULL); net 83 chrome/browser/devtools/port_forwarding_controller.cc net::HostResolver::RequestInfo request_info(net::HostPortPair(host, port)); net 86 chrome/browser/devtools/port_forwarding_controller.cc net::DEFAULT_PRIORITY, net 90 chrome/browser/devtools/port_forwarding_controller.cc net::BoundNetLog()); net 91 chrome/browser/devtools/port_forwarding_controller.cc if (result != net::ERR_IO_PENDING) net 101 chrome/browser/devtools/port_forwarding_controller.cc host_socket_.reset(new net::TCPClientSocket(address_list_, NULL, net 102 chrome/browser/devtools/port_forwarding_controller.cc net::NetLog::Source())); net 105 chrome/browser/devtools/port_forwarding_controller.cc if (result != net::ERR_IO_PENDING) net 128 chrome/browser/devtools/port_forwarding_controller.cc void Pump(net::StreamSocket* from, net::StreamSocket* to) { net 129 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kBufferSize); net 135 chrome/browser/devtools/port_forwarding_controller.cc if (result != net::ERR_IO_PENDING) net 139 chrome/browser/devtools/port_forwarding_controller.cc void OnRead(net::StreamSocket* from, net 140 chrome/browser/devtools/port_forwarding_controller.cc net::StreamSocket* to, net 141 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<net::IOBuffer> buffer, net 149 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<net::DrainableIOBuffer> drainable = net 150 chrome/browser/devtools/port_forwarding_controller.cc new net::DrainableIOBuffer(buffer.get(), total); net 160 chrome/browser/devtools/port_forwarding_controller.cc if (result != net::ERR_IO_PENDING) net 164 chrome/browser/devtools/port_forwarding_controller.cc void OnWritten(scoped_refptr<net::DrainableIOBuffer> drainable, net 165 chrome/browser/devtools/port_forwarding_controller.cc net::StreamSocket* from, net 166 chrome/browser/devtools/port_forwarding_controller.cc net::StreamSocket* to, net 184 chrome/browser/devtools/port_forwarding_controller.cc if (result != net::ERR_IO_PENDING) net 209 chrome/browser/devtools/port_forwarding_controller.cc scoped_ptr<net::StreamSocket> remote_socket_; net 210 chrome/browser/devtools/port_forwarding_controller.cc scoped_ptr<net::StreamSocket> host_socket_; net 211 chrome/browser/devtools/port_forwarding_controller.cc scoped_ptr<net::HostResolver> host_resolver_; net 212 chrome/browser/devtools/port_forwarding_controller.cc net::AddressList address_list_; net 17 chrome/browser/devtools/remote_debugging_server.cc new net::TCPListenSocketFactory(ip, port), net 180 chrome/browser/download/chrome_download_manager_delegate.cc net::GetMimeTypeFromFile(path, &mime_type); net 466 chrome/browser/download/chrome_download_manager_delegate.cc net::FilePathToFileURL(download->GetTargetFilePath()), net 729 chrome/browser/download/download_browsertest.cc net::FileURLToFilePath(url, &filename); net 768 chrome/browser/download/download_browsertest.cc net::FileURLToFilePath(url, &filename); net 1750 chrome/browser/download/download_browsertest.cc base::FilePath file(net::GenerateFileName(download_url, net 2898 chrome/browser/download/download_browsertest.cc GURL file_url(net::FilePathToFileURL(file_path)); net 2993 chrome/browser/download/download_browsertest.cc GURL file_url(net::FilePathToFileURL(file_path)); net 253 chrome/browser/download/download_extensions.cc if (net::MatchesMimeType(kExecutableWhiteList[i], mime_type)) net 257 chrome/browser/download/download_extensions.cc if (net::MatchesMimeType(kExecutableBlackList[i], mime_type)) net 261 chrome/browser/download/download_extensions.cc return net::MatchesMimeType("application/*", mime_type); net 80 chrome/browser/download/download_query.cc url_formatted = net::FormatUrl( net 180 chrome/browser/download/download_target_determiner.cc base::FilePath generated_filename = net::GenerateFileName( net 257 chrome/browser/download/download_target_determiner.cc net::GenerateSafeFileName(std::string(), false, &new_path); net 452 chrome/browser/download/download_target_determiner.cc if (net::IsSupportedMimeType(mime_type_)) { net 464 chrome/browser/download/download_target_determiner.cc net::FilePathToFileURL(local_path_), net 285 chrome/browser/drive/drive_api_service.cc net::URLRequestContextGetter* url_request_context_getter, net 31 chrome/browser/drive/drive_api_service.h namespace net { net 56 chrome/browser/drive/drive_api_service.h net::URLRequestContextGetter* url_request_context_getter, net 196 chrome/browser/drive/drive_api_service.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 229 chrome/browser/drive/drive_api_util.cc return net::UnescapeURLComponent(url.ExtractFileName(), net 230 chrome/browser/drive/drive_api_util.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 262 chrome/browser/drive/fake_drive_service.cc return GURL("https://fake_server/" + net::EscapePath(resource_id)); net 432 chrome/browser/drive/fake_drive_service.cc net::UnescapeURLComponent(parameters[i].second, net 433 chrome/browser/drive/fake_drive_service.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 436 chrome/browser/drive/fake_drive_service.cc net::UnescapeURLComponent(parameters[i].second, net 437 chrome/browser/drive/fake_drive_service.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 1377 chrome/browser/drive/fake_drive_service.cc std::string escaped_resource_id = net::EscapePath(resource_id); net 1394 chrome/browser/drive/fake_drive_service.cc new_entry->share_url = net::AppendOrReplaceQueryParameter( net 1445 chrome/browser/drive/fake_drive_service.cc net::UnescapeURLComponent(parent_link->href().ExtractFileName(), net 1446 chrome/browser/drive/fake_drive_service.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 1504 chrome/browser/drive/fake_drive_service.cc next_url = net::AppendOrReplaceQueryParameter( net 1509 chrome/browser/drive/fake_drive_service.cc next_url = net::AppendOrReplaceQueryParameter( net 1513 chrome/browser/drive/fake_drive_service.cc next_url = net::AppendOrReplaceQueryParameter( net 53 chrome/browser/errorpage_browsertest.cc using net::URLRequestJobFactory; net 54 chrome/browser/errorpage_browsertest.cc using net::URLRequestTestJob; net 84 chrome/browser/errorpage_browsertest.cc net::Error error_code) { net 87 chrome/browser/errorpage_browsertest.cc std::string error_string = net::ErrorToString(error_code); net 95 chrome/browser/errorpage_browsertest.cc void ExpectDisplayingLocalErrorPage(Browser* browser, net::Error error_code) { net 119 chrome/browser/errorpage_browsertest.cc net::Error error_code) { net 157 chrome/browser/errorpage_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlProtocolHandler( net 163 chrome/browser/errorpage_browsertest.cc virtual net::URLRequestJob* MaybeCreateJob( net 164 chrome/browser/errorpage_browsertest.cc net::URLRequest* request, net 165 chrome/browser/errorpage_browsertest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 174 chrome/browser/errorpage_browsertest.cc net::ERR_CONNECTION_RESET); net 316 chrome/browser/errorpage_browsertest.cc return URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED); net 377 chrome/browser/errorpage_browsertest.cc void InterceptNetworkTransactions(net::URLRequestContextGetter* getter, net 378 chrome/browser/errorpage_browsertest.cc net::Error error) { net 380 chrome/browser/errorpage_browsertest.cc net::HttpCache* cache( net 383 chrome/browser/errorpage_browsertest.cc scoped_ptr<net::HttpTransactionFactory> factory( net 384 chrome/browser/errorpage_browsertest.cc new net::FailingHttpTransactionFactory(cache->GetSession(), error)); net 402 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 418 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 435 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 440 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 458 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 463 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 468 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 484 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 489 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 494 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 511 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 538 chrome/browser/errorpage_browsertest.cc ExpectDisplayingNavigationCorrections(browser(), net::ERR_NAME_NOT_RESOLVED); net 595 chrome/browser/errorpage_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED); net 673 chrome/browser/errorpage_browsertest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter = net 678 chrome/browser/errorpage_browsertest.cc net::ERR_FAILED)); net 771 chrome/browser/errorpage_browsertest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 777 chrome/browser/errorpage_browsertest.cc virtual net::URLRequestJob* MaybeCreateJob( net 778 chrome/browser/errorpage_browsertest.cc net::URLRequest* request, net 779 chrome/browser/errorpage_browsertest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 782 chrome/browser/errorpage_browsertest.cc net::ERR_ADDRESS_UNREACHABLE); net 817 chrome/browser/errorpage_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlProtocolHandler( net 819 chrome/browser/errorpage_browsertest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 825 chrome/browser/errorpage_browsertest.cc net::URLRequestFilter::GetInstance()->ClearHandlers(); net 835 chrome/browser/errorpage_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED), net 839 chrome/browser/errorpage_browsertest.cc ExpectDisplayingLocalErrorPage(browser(), net::ERR_NAME_NOT_RESOLVED); net 856 chrome/browser/errorpage_browsertest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter = net 861 chrome/browser/errorpage_browsertest.cc net::ERR_CONNECTION_FAILED)); net 917 chrome/browser/errorpage_browsertest.cc net::URLRequestFilter::GetInstance()->ClearHandlers(); net 932 chrome/browser/errorpage_browsertest.cc URLRequestFailedJob::GetMockHttpUrlForHostname(net::ERR_UNSAFE_PORT, net 16 chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc using net::test_server::BasicHttpResponse; net 17 chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc using net::test_server::HttpResponse; net 18 chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc using net::test_server::HttpRequest; net 39 chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc response->set_code(net::HTTP_OK); net 368 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc scoped_refptr<net::GrowableIOBuffer> buffer(new net::GrowableIOBuffer); net 420 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc scoped_refptr<net::WrappedIOBuffer> wrapped_io_buffer( net 421 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc new net::WrappedIOBuffer(data_to_write_->GetBuffer())); net 422 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc scoped_refptr<net::DrainableIOBuffer> drainable_io_buffer( net 423 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc new net::DrainableIOBuffer(wrapped_io_buffer.get(), net 52 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc net::NetLog* net_log) net 62 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc MOCK_METHOD1(Connect, void(const net::CompletionCallback& callback)); net 64 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc const net::CompletionCallback& callback)); net 65 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc MOCK_METHOD1(Close, void(const net::CompletionCallback& callback)); net 126 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc net::CapturingNetLog capturing_net_log_; net 142 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc .WillOnce(InvokeCompletionCallback<0>(net::OK)); net 148 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc WillOnce(InvokeCompletionCallback<1>(net::OK)); net 150 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc WillOnce(InvokeCompletionCallback<0>(net::OK)); net 169 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc .WillOnce(InvokeCompletionCallback<0>(net::OK)); net 176 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc WillOnce(InvokeCompletionCallback<0>(net::OK)); net 74 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::NetLog* net_log) : net 89 chrome/browser/extensions/api/cast_channel/cast_socket.cc net_log_source_.type = net::NetLog::SOURCE_SOCKET; net 93 chrome/browser/extensions/api/cast_channel/cast_socket.cc header_read_buffer_ = new net::GrowableIOBuffer(); net 95 chrome/browser/extensions/api/cast_channel/cast_socket.cc body_read_buffer_ = new net::GrowableIOBuffer(); net 106 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_ptr<net::TCPClientSocket> CastSocket::CreateTcpSocket() { net 107 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::AddressList addresses(ip_endpoint_); net 108 chrome/browser/extensions/api/cast_channel/cast_socket.cc return scoped_ptr<net::TCPClientSocket>( net 109 chrome/browser/extensions/api/cast_channel/cast_socket.cc new net::TCPClientSocket(addresses, net_log_, net_log_source_)); net 115 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_ptr<net::SSLClientSocket> CastSocket::CreateSslSocket( net 116 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_ptr<net::StreamSocket> socket) { net 117 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::SSLConfig ssl_config; net 121 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::SSLConfig::CertAndStatus cert_and_status; net 122 chrome/browser/extensions/api/cast_channel/cast_socket.cc cert_and_status.cert_status = net::CERT_STATUS_AUTHORITY_INVALID; net 127 chrome/browser/extensions/api/cast_channel/cast_socket.cc cert_verifier_.reset(net::CertVerifier::CreateDefault()); net 128 chrome/browser/extensions/api/cast_channel/cast_socket.cc transport_security_state_.reset(new net::TransportSecurityState); net 129 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::SSLClientSocketContext context; net 135 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_ptr<net::ClientSocketHandle> connection(new net::ClientSocketHandle); net 137 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::HostPortPair host_and_port = net::HostPortPair::FromIPEndPoint( net 140 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::ClientSocketFactory::GetDefaultFactory()->CreateSSLClientSocket( net 147 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::SSLInfo ssl_info; net 150 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool result = net::X509Certificate::GetDEREncoded( net 161 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::Connect(const net::CompletionCallback& callback) { net 165 chrome/browser/extensions/api/cast_channel/cast_socket.cc callback.Run(net::ERR_CONNECTION_FAILED); net 169 chrome/browser/extensions/api/cast_channel/cast_socket.cc callback.Run(net::ERR_CONNECTION_FAILED); net 176 chrome/browser/extensions/api/cast_channel/cast_socket.cc DoConnectLoop(net::OK); net 209 chrome/browser/extensions/api/cast_channel/cast_socket.cc DCHECK_EQ(net::OK, rv); net 228 chrome/browser/extensions/api/cast_channel/cast_socket.cc } while (rv != net::ERR_IO_PENDING && connect_state_ != CONN_STATE_NONE); net 234 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (rv != net::ERR_IO_PENDING) net 248 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (result == net::OK) { net 260 chrome/browser/extensions/api/cast_channel/cast_socket.cc socket_ = CreateSslSocket(tcp_socket_.PassAs<net::StreamSocket>()); net 267 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (result == net::ERR_CERT_AUTHORITY_INVALID && net 271 chrome/browser/extensions/api/cast_channel/cast_socket.cc } else if (result == net::OK && auth_required_) { net 293 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::ERR_IO_PENDING; net 306 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::ERR_IO_PENDING; net 314 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::ERR_FAILED; net 316 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 320 chrome/browser/extensions/api/cast_channel/cast_socket.cc ready_state_ = (result == net::OK) ? READY_STATE_OPEN : READY_STATE_CLOSED; net 321 chrome/browser/extensions/api/cast_channel/cast_socket.cc error_state_ = (result == net::OK) ? net 323 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (result == net::OK) // Start the read loop net 328 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::Close(const net::CompletionCallback& callback) { net 336 chrome/browser/extensions/api/cast_channel/cast_socket.cc callback.Run(net::OK); net 341 chrome/browser/extensions/api/cast_channel/cast_socket.cc const net::CompletionCallback& callback) { net 344 chrome/browser/extensions/api/cast_channel/cast_socket.cc callback.Run(net::ERR_FAILED); net 349 chrome/browser/extensions/api/cast_channel/cast_socket.cc callback.Run(net::ERR_FAILED); net 358 chrome/browser/extensions/api/cast_channel/cast_socket.cc const net::CompletionCallback& callback) { net 361 chrome/browser/extensions/api/cast_channel/cast_socket.cc callback.Run(net::ERR_FAILED); net 368 chrome/browser/extensions/api/cast_channel/cast_socket.cc DoWriteLoop(net::OK); net 407 chrome/browser/extensions/api/cast_channel/cast_socket.cc rv != net::ERR_IO_PENDING && net 416 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (rv == net::ERR_FAILED) net 440 chrome/browser/extensions/api/cast_channel/cast_socket.cc return result == 0 ? net::ERR_FAILED : result; net 445 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_refptr<net::DrainableIOBuffer> io_buffer = request.io_buffer; net 452 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 472 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 487 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 495 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::ERR_FAILED; net 509 chrome/browser/extensions/api/cast_channel/cast_socket.cc DoReadLoop(net::OK); net 541 chrome/browser/extensions/api/cast_channel/cast_socket.cc } while (rv != net::ERR_IO_PENDING && read_state_ != READ_STATE_NONE); net 544 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (rv == net::ERR_FAILED) net 579 chrome/browser/extensions/api/cast_channel/cast_socket.cc return result == 0 ? net::ERR_FAILED : result; net 607 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 617 chrome/browser/extensions/api/cast_channel/cast_socket.cc PostTaskToStartConnectLoop(net::OK); net 629 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 638 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::OK; net 640 chrome/browser/extensions/api/cast_channel/cast_socket.cc return net::ERR_FAILED; net 727 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::IPAddressNumber ip_address; net 728 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_address)) net 730 chrome/browser/extensions/api/cast_channel/cast_socket.cc ip_endpoint_ = net::IPEndPoint(ip_address, port); net 762 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::GrowableIOBuffer* buffer, MessageHeader* header) { net 772 chrome/browser/extensions/api/cast_channel/cast_socket.cc CastSocket::WriteRequest::WriteRequest(const net::CompletionCallback& callback) net 780 chrome/browser/extensions/api/cast_channel/cast_socket.cc io_buffer = new net::DrainableIOBuffer(new net::StringIOBuffer(message_data), net 26 chrome/browser/extensions/api/cast_channel/cast_socket.h namespace net { net 77 chrome/browser/extensions/api/cast_channel/cast_socket.h net::NetLog* net_log); net 102 chrome/browser/extensions/api/cast_channel/cast_socket.h virtual void Connect(const net::CompletionCallback& callback); net 115 chrome/browser/extensions/api/cast_channel/cast_socket.h const net::CompletionCallback& callback); net 120 chrome/browser/extensions/api/cast_channel/cast_socket.h virtual void Close(const net::CompletionCallback& callback); net 162 chrome/browser/extensions/api/cast_channel/cast_socket.h virtual scoped_ptr<net::TCPClientSocket> CreateTcpSocket(); net 164 chrome/browser/extensions/api/cast_channel/cast_socket.h virtual scoped_ptr<net::SSLClientSocket> CreateSslSocket( net 165 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_ptr<net::StreamSocket> socket); net 167 chrome/browser/extensions/api/cast_channel/cast_socket.h const net::IPEndPoint& ip_endpoint() const { return ip_endpoint_; } net 237 chrome/browser/extensions/api/cast_channel/cast_socket.h const net::CompletionCallback& callback); net 268 chrome/browser/extensions/api/cast_channel/cast_socket.h net::IPEndPoint ip_endpoint_; net 271 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_refptr<net::GrowableIOBuffer> header_read_buffer_; net 273 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_refptr<net::GrowableIOBuffer> body_read_buffer_; net 275 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_refptr<net::GrowableIOBuffer> current_read_buffer_; net 282 chrome/browser/extensions/api/cast_channel/cast_socket.h net::NetLog* net_log_; net 284 chrome/browser/extensions/api/cast_channel/cast_socket.h net::NetLog::Source net_log_source_; net 289 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_ptr<net::CertVerifier> cert_verifier_; net 290 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_ptr<net::TransportSecurityState> transport_security_state_; net 293 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_ptr<net::TCPClientSocket> tcp_socket_; net 295 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_ptr<net::SSLClientSocket> socket_; net 303 chrome/browser/extensions/api/cast_channel/cast_socket.h net::CompletionCallback connect_callback_; net 325 chrome/browser/extensions/api/cast_channel/cast_socket.h static void ReadFromIOBuffer(net::GrowableIOBuffer* buffer, net 335 chrome/browser/extensions/api/cast_channel/cast_socket.h explicit WriteRequest(const net::CompletionCallback& callback); net 341 chrome/browser/extensions/api/cast_channel/cast_socket.h net::CompletionCallback callback; net 342 chrome/browser/extensions/api/cast_channel/cast_socket.h scoped_refptr<net::DrainableIOBuffer> io_buffer; net 82 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc class MockTCPSocket : public net::TCPClientSocket { net 84 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc explicit MockTCPSocket(const net::MockConnect& connect_data) : net 85 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc TCPClientSocket(net::AddressList(), NULL, net::NetLog::Source()), net 88 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc virtual int Connect(const net::CompletionCallback& callback) OVERRIDE { net 89 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc if (connect_data_.mode == net::ASYNC) { net 90 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc CHECK_NE(connect_data_.result, net::ERR_IO_PENDING); net 94 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc return net::ERR_IO_PENDING; net 111 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc int(net::IOBuffer*, int, const net::CompletionCallback&)); net 113 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc int(net::IOBuffer*, int, const net::CompletionCallback&)); net 120 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::MockConnect connect_data_; net 157 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc static net::IPEndPoint CreateIPEndPoint() { net 158 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::IPAddressNumber number; net 163 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc return net::IPEndPoint(number, 8009); net 170 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void SetupTcp1Connect(net::IoMode mode, int result) { net 171 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc tcp_connect_data_[0].reset(new net::MockConnect(mode, result)); net 173 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void SetupSsl1Connect(net::IoMode mode, int result) { net 174 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc ssl_connect_data_[0].reset(new net::MockConnect(mode, result)); net 176 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void SetupTcp2Connect(net::IoMode mode, int result) { net 177 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc tcp_connect_data_[1].reset(new net::MockConnect(mode, result)); net 179 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void SetupSsl2Connect(net::IoMode mode, int result) { net 180 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc ssl_connect_data_[1].reset(new net::MockConnect(mode, result)); net 182 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddWriteResult(const net::MockWrite& write) { net 185 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddWriteResult(net::IoMode mode, int result) { net 186 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddWriteResult(net::MockWrite(mode, result)); net 188 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddWriteResultForMessage(net::IoMode mode, const std::string& msg) { net 191 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddWriteResultForMessage(net::IoMode mode, net 202 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResult(const net::MockRead& read) { net 205 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResult(net::IoMode mode, int result) { net 206 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(net::MockRead(mode, result)); net 208 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResult(net::IoMode mode, const char* data, int data_len) { net 209 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(net::MockRead(mode, data, data_len)); net 211 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResultForMessage(net::IoMode mode, const std::string& msg) { net 217 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResultForMessage(net::IoMode mode, net 237 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc virtual scoped_ptr<net::TCPClientSocket> CreateTcpSocket() OVERRIDE { net 238 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::MockConnect* connect_data = tcp_connect_data_[connect_index_].get(); net 240 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc return scoped_ptr<net::TCPClientSocket>(new MockTCPSocket(*connect_data)); net 243 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc virtual scoped_ptr<net::SSLClientSocket> CreateSslSocket( net 244 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc scoped_ptr<net::StreamSocket> socket) OVERRIDE { net 245 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::MockConnect* connect_data = ssl_connect_data_[connect_index_].get(); net 249 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc ssl_data_.reset(new net::StaticSocketDataProvider( net 253 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc return scoped_ptr<net::SSLClientSocket>( net 254 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc new net::MockTCPClientSocket( net 255 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::AddressList(), &capturing_net_log_, ssl_data_.get())); net 268 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::CapturingNetLog capturing_net_log_; net 269 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc net::IPEndPoint ip_; net 271 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc scoped_ptr<net::MockConnect> tcp_connect_data_[2]; net 272 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc scoped_ptr<net::MockConnect> ssl_connect_data_[2]; net 274 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc std::vector<net::MockWrite> writes_; net 275 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc std::vector<net::MockRead> reads_; net 276 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc scoped_ptr<net::SocketDataProvider> ssl_data_; net 318 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnCloseComplete(net::OK)); net 335 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 336 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::OK); net 337 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_IO_PENDING); net 339 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::OK)); net 396 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnCloseComplete(net::OK)); net 408 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::ASYNC, net::OK); net 409 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::ASYNC, net::OK); net 410 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_IO_PENDING); net 412 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::OK)); net 429 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::ASYNC, net::OK); net 430 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::ASYNC, net::ERR_CERT_AUTHORITY_INVALID); net 431 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp2Connect(net::ASYNC, net::OK); net 432 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl2Connect(net::ASYNC, net::OK); net 433 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_IO_PENDING); net 435 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::OK)); net 453 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::ASYNC, net::OK); net 454 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::ASYNC, net::ERR_CERT_AUTHORITY_INVALID); net 455 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp2Connect(net::ASYNC, net::OK); net 456 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl2Connect(net::ASYNC, net::ERR_CERT_AUTHORITY_INVALID); net 458 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_CERT_AUTHORITY_INVALID)); net 479 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::ASYNC, net::OK); net 480 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::ASYNC, net::ERR_CERT_AUTHORITY_INVALID); net 481 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp2Connect(net::ASYNC, net::OK); net 482 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl2Connect(net::ASYNC, net::OK); net 483 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::ASYNC, auth_request_); net 484 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::ASYNC, auth_reply_); net 485 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_IO_PENDING); net 487 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::OK)); net 500 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 501 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::ERR_CERT_AUTHORITY_INVALID); net 502 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp2Connect(net::SYNCHRONOUS, net::OK); net 503 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl2Connect(net::SYNCHRONOUS, net::OK); net 504 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::SYNCHRONOUS, auth_request_); net 505 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::SYNCHRONOUS, auth_reply_); net 506 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_IO_PENDING); net 508 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::OK)); net 521 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::ASYNC, net::ERR_FAILED); net 523 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 536 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::ERR_FAILED); net 538 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 551 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 552 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::ERR_FAILED); net 554 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 567 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 568 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::ASYNC, net::ERR_FAILED); net 570 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 582 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::ASYNC, net::OK); net 583 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::ASYNC, net::ERR_CERT_AUTHORITY_INVALID); net 587 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_CERT_AUTHORITY_INVALID)); net 599 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 600 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::ERR_CERT_AUTHORITY_INVALID); net 604 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_CERT_AUTHORITY_INVALID)); net 617 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 618 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::OK); net 619 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::SYNCHRONOUS, net::ERR_FAILED); net 621 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 634 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 635 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::OK); net 636 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::ASYNC, auth_request_); net 637 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::SYNCHRONOUS, net::ERR_FAILED); net 639 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 652 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupTcp1Connect(net::SYNCHRONOUS, net::OK); net 653 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->SetupSsl1Connect(net::SYNCHRONOUS, net::OK); net 654 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::ASYNC, auth_request_); net 655 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::ASYNC, auth_reply_); net 656 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_IO_PENDING); net 659 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnConnectComplete(net::ERR_FAILED)); net 671 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::ASYNC, test_proto_strs_[0]); net 687 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::SYNCHRONOUS, test_proto_strs_[0]); net 703 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::ASYNC, test_proto_strs_[0], 2); net 719 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResultForMessage(net::SYNCHRONOUS, test_proto_strs_[0], 2); net 737 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::ASYNC, msg_size); net 758 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::SYNCHRONOUS, msg_size); net 778 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnWriteComplete(net::ERR_FAILED)); net 792 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnWriteComplete(net::ERR_FAILED)); net 808 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::SYNCHRONOUS, net::ERR_FAILED); net 811 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnWriteComplete(net::ERR_FAILED)); net 826 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::ASYNC, net::ERR_FAILED); net 829 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnWriteComplete(net::ERR_FAILED)); net 844 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::SYNCHRONOUS, 0); net 847 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnWriteComplete(net::ERR_FAILED)); net 863 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddWriteResult(net::ASYNC, net::ERR_SOCKET_NOT_CONNECTED); net 867 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc EXPECT_CALL(handler_, OnWriteComplete(net::ERR_SOCKET_NOT_CONNECTED)) net 885 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::ASYNC, test_proto_strs_[0]); net 897 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::SYNCHRONOUS, test_proto_strs_[0]); net 909 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::ASYNC, test_proto_strs_[0], 2); net 921 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::SYNCHRONOUS, test_proto_strs_[0], 2); net 935 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::ASYNC, test_proto_strs_[i]); net 950 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResultForMessage(net::SYNCHRONOUS, test_proto_strs_[i]); net 963 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::ASYNC, net::ERR_SOCKET_NOT_CONNECTED); net 976 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::SYNCHRONOUS, net::ERR_SOCKET_NOT_CONNECTED); net 993 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::SYNCHRONOUS, header, arraysize(header)); net 1011 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::SYNCHRONOUS, header, arraysize(header)); net 1012 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->AddReadResult(net::SYNCHRONOUS, body, arraysize(body)); net 72 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const net::IPEndPoint& local_end_point) net 75 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc net::IPEndPoint(), net 290 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc net::IPAddressNumber localhost; net 295 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc scoped_ptr<net::UDPSocket> receive_socket( net 296 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc new net::UDPSocket(net::DatagramSocket::DEFAULT_BIND, net 297 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc net::RandIntCallback(), net 299 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc net::NetLog::Source())); net 301 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc ASSERT_EQ(net::OK, receive_socket->Bind(net::IPEndPoint(localhost, 0))); net 302 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc net::IPEndPoint receiver_end_point; net 303 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc ASSERT_EQ(net::OK, receive_socket->GetLocalAddress(&receiver_end_point)); net 162 chrome/browser/extensions/api/cast_streaming/performance_test.cc const net::IPEndPoint& local_end_point) net 165 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::IPEndPoint(), net 309 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::IPEndPoint GetFreeLocalPort() { net 313 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::IPAddressNumber localhost; net 318 chrome/browser/extensions/api/cast_streaming/performance_test.cc scoped_ptr<net::UDPSocket> receive_socket( net 319 chrome/browser/extensions/api/cast_streaming/performance_test.cc new net::UDPSocket(net::DatagramSocket::DEFAULT_BIND, net 320 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::RandIntCallback(), net 322 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::NetLog::Source())); net 324 chrome/browser/extensions/api/cast_streaming/performance_test.cc CHECK_EQ(net::OK, receive_socket->Bind(net::IPEndPoint(localhost, 0))); net 325 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::IPEndPoint endpoint; net 326 chrome/browser/extensions/api/cast_streaming/performance_test.cc CHECK_EQ(net::OK, receive_socket->GetLocalAddress(&endpoint)); net 554 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::IPEndPoint receiver_end_point = GetFreeLocalPort(); net 566 chrome/browser/extensions/api/cast_streaming/performance_test.cc net::IPEndPoint proxy_end_point = GetFreeLocalPort(); net 80 chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc net::GetHostName())); net 98 chrome/browser/extensions/api/cookies/cookies_api.cc case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT: net 102 chrome/browser/extensions/api/cookies/cookies_api.cc case net::CookieMonster::Delegate::CHANGE_COOKIE_OVERWRITE: net 106 chrome/browser/extensions/api/cookies/cookies_api.cc case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED: net 110 chrome/browser/extensions/api/cookies/cookies_api.cc case net::CookieMonster::Delegate::CHANGE_COOKIE_EVICTED: net 114 chrome/browser/extensions/api/cookies/cookies_api.cc case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED_OVERWRITE: net 168 chrome/browser/extensions/api/cookies/cookies_api.cc net::URLRequestContextGetter** context) { net 216 chrome/browser/extensions/api/cookies/cookies_api.cc net::URLRequestContextGetter* store_context = NULL; net 236 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieStore* cookie_store = net 243 chrome/browser/extensions/api/cookies/cookies_api.cc void CookiesGetFunction::GetCookieCallback(const net::CookieList& cookie_list) { net 244 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieList::const_iterator it; net 290 chrome/browser/extensions/api/cookies/cookies_api.cc net::URLRequestContextGetter* store_context = NULL; net 308 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieStore* cookie_store = net 316 chrome/browser/extensions/api/cookies/cookies_api.cc const net::CookieList& cookie_list) { net 354 chrome/browser/extensions/api/cookies/cookies_api.cc net::URLRequestContextGetter* store_context = NULL; net 372 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieMonster* cookie_monster = net 401 chrome/browser/extensions/api/cookies/cookies_api.cc net::COOKIE_PRIORITY_DEFAULT, net 407 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieMonster* cookie_monster = net 418 chrome/browser/extensions/api/cookies/cookies_api.cc const net::CookieList& cookie_list) { net 419 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieList::const_iterator it; net 469 chrome/browser/extensions/api/cookies/cookies_api.cc net::URLRequestContextGetter* store_context = NULL; net 490 chrome/browser/extensions/api/cookies/cookies_api.cc net::CookieStore* cookie_store = net 26 chrome/browser/extensions/api/cookies/cookies_api.h namespace net { net 86 chrome/browser/extensions/api/cookies/cookies_api.h net::URLRequestContextGetter** context); net 105 chrome/browser/extensions/api/cookies/cookies_api.h void GetCookieCallback(const net::CookieList& cookie_list); net 108 chrome/browser/extensions/api/cookies/cookies_api.h scoped_refptr<net::URLRequestContextGetter> store_browser_context_; net 128 chrome/browser/extensions/api/cookies/cookies_api.h void GetAllCookiesCallback(const net::CookieList& cookie_list); net 131 chrome/browser/extensions/api/cookies/cookies_api.h scoped_refptr<net::URLRequestContextGetter> store_browser_context_; net 150 chrome/browser/extensions/api/cookies/cookies_api.h void PullCookieCallback(const net::CookieList& cookie_list); net 154 chrome/browser/extensions/api/cookies/cookies_api.h scoped_refptr<net::URLRequestContextGetter> store_browser_context_; net 177 chrome/browser/extensions/api/cookies/cookies_api.h scoped_refptr<net::URLRequestContextGetter> store_browser_context_; net 66 chrome/browser/extensions/api/cookies/cookies_helpers.cc const net::CanonicalCookie& canonical_cookie, net 76 chrome/browser/extensions/api/cookies/cookies_helpers.cc cookie->host_only = net::cookie_util::DomainIsHostOnly( net 108 chrome/browser/extensions/api/cookies/cookies_helpers.cc net::CookieStore* cookie_store, const GURL& url, net 109 chrome/browser/extensions/api/cookies/cookies_helpers.cc const net::CookieMonster::GetCookieListCallback& callback) { net 111 chrome/browser/extensions/api/cookies/cookies_helpers.cc net::CookieMonster* monster = cookie_store->GetCookieMonster(); net 120 chrome/browser/extensions/api/cookies/cookies_helpers.cc GURL GetURLFromCanonicalCookie(const net::CanonicalCookie& cookie) { net 129 chrome/browser/extensions/api/cookies/cookies_helpers.cc void AppendMatchingCookiesToVector(const net::CookieList& all_cookies, net 134 chrome/browser/extensions/api/cookies/cookies_helpers.cc net::CookieList::const_iterator it; net 166 chrome/browser/extensions/api/cookies/cookies_helpers.cc const net::CanonicalCookie& cookie) { net 190 chrome/browser/extensions/api/cookies/cookies_helpers.cc if (net::cookie_util::DomainIsHostOnly(*details_->domain)) net 195 chrome/browser/extensions/api/cookies/cookies_helpers.cc if (!net::cookie_util::DomainIsHostOnly(sub_domain)) net 30 chrome/browser/extensions/api/cookies/cookies_helpers.h namespace net { net 56 chrome/browser/extensions/api/cookies/cookies_helpers.h const net::CanonicalCookie& cookie, net 69 chrome/browser/extensions/api/cookies/cookies_helpers.h net::CookieStore* cookie_store, const GURL& url, net 70 chrome/browser/extensions/api/cookies/cookies_helpers.h const net::CookieMonster::GetCookieListCallback& callback); net 77 chrome/browser/extensions/api/cookies/cookies_helpers.h const net::CanonicalCookie& cookie); net 83 chrome/browser/extensions/api/cookies/cookies_helpers.h const net::CookieList& all_cookies, const GURL& url, net 107 chrome/browser/extensions/api/cookies/cookies_helpers.h bool MatchesCookie(const net::CanonicalCookie& cookie); net 80 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie canonical_cookie1( net 83 chrome/browser/extensions/api/cookies/cookies_unittest.cc false, false, net::COOKIE_PRIORITY_DEFAULT); net 98 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie canonical_cookie2( net 101 chrome/browser/extensions/api/cookies/cookies_unittest.cc false, false, net::COOKIE_PRIORITY_DEFAULT); net 120 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie cookie1( net 122 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), false, false, net::COOKIE_PRIORITY_DEFAULT); net 127 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie cookie2( net 129 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), true, false, net::COOKIE_PRIORITY_DEFAULT); net 141 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie cookie; net 165 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie cookie(GURL(), net 175 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::COOKIE_PRIORITY_DEFAULT); net 181 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::CanonicalCookie canonical_cookie(GURL(), net 191 chrome/browser/extensions/api/cookies/cookies_unittest.cc net::COOKIE_PRIORITY_DEFAULT); net 40 chrome/browser/extensions/api/declarative_content/content_rules_registry.h namespace net { net 474 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const net::URLRequest* request, net 896 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const net::HttpResponseHeaders* headers = net 949 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const net::HttpResponseHeaders* headers = net 39 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h namespace net { net 127 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const net::URLRequest* request, net 94 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc net::TestURLRequestContext context_; net 143 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc net::TestURLRequest regular_request( net 144 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc GURL(url_string), net::DEFAULT_PRIORITY, NULL, &context_); net 146 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc scoped_refptr<net::HttpResponseHeaders> headers( net 147 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc new net::HttpResponseHeaders("")); net 48 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc WebRequestData::WebRequestData(net::URLRequest* request, RequestStage stage) net 54 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc net::URLRequest* request, net 56 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc const net::HttpResponseHeaders* original_response_headers) net 25 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h WebRequestData(net::URLRequest* request, RequestStage stage); net 27 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h net::URLRequest* request, net 29 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h const net::HttpResponseHeaders* original_response_headers); net 33 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h net::URLRequest* request; net 38 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h const net::HttpResponseHeaders* original_response_headers; net 258 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc net::HttpRequestHeaders::kContentType, &content_type); net 262 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc net::HttpUtil::ParseContentType( net 608 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const net::HttpRequestHeaders& headers = net 612 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc net::HttpRequestHeaders::Iterator it(headers); net 678 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const net::HttpResponseHeaders* headers = net 755 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const net::StaticCookiePolicy block_third_party_policy( net 756 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES); net 760 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const bool is_first_party = (can_get_cookies == net::OK); net 22 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h namespace net { net 96 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequestContext context; net 97 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request_ok( net 98 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc GURL("http://www.example.com"), net::DEFAULT_PRIORITY, NULL, &context); net 104 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request_fail( net 105 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc GURL("http://www.example.com"), net::DEFAULT_PRIORITY, NULL, &context); net 119 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::test_server::EmbeddedTestServer test_server; net 124 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequestContext context; net 125 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestDelegate delegate; net 126 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request(test_server.GetURL("/headers.html"), net 127 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::DEFAULT_PRIORITY, net 210 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequestContext context; net 211 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestDelegate delegate; net 212 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request( net 213 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc url_a, net::DEFAULT_PRIORITY, &delegate, &context); net 301 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequestContext context; net 302 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestDelegate delegate; net 303 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request( net 304 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc url_empty, net::DEFAULT_PRIORITY, &delegate, &context); net 396 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::URLRequest* url_request, net 426 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequestContext context; net 427 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestDelegate delegate; net 428 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request(GURL("http://example.com"), // Dummy URL. net 429 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::DEFAULT_PRIORITY, net 506 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::test_server::EmbeddedTestServer test_server; net 511 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequestContext context; net 512 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestDelegate delegate; net 513 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::TestURLRequest url_request(test_server.GetURL("/headers.html"), net 514 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc net::DEFAULT_PRIORITY, net 78 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequestContext context; net 80 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest match_request( net 81 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url, net::DEFAULT_PRIORITY, NULL, &context); net 91 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest wrong_resource_type( net 92 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc https_url, net::DEFAULT_PRIORITY, NULL, &context); net 126 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequestContext context; net 129 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest match_request( net 130 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url, net::DEFAULT_PRIORITY, NULL, &context); net 201 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequestContext context; net 202 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest https_request( net 203 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc GURL("https://www.example.com"), net::DEFAULT_PRIORITY, NULL, &context); net 261 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequestContext context; net 262 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest http_request( net 263 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url, net::DEFAULT_PRIORITY, NULL, &context); net 274 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest https_request( net 275 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc https_url, net::DEFAULT_PRIORITY, NULL, &context); net 284 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest https_foo_request( net 285 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc https_foo_url, net::DEFAULT_PRIORITY, NULL, &context); net 322 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequestContext context; net 323 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest http_request( net 324 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url, net::DEFAULT_PRIORITY, NULL, &context); net 329 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest http_request_80( net 330 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url_80, net::DEFAULT_PRIORITY, NULL, &context); net 335 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest http_request_1000( net 336 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url_1000, net::DEFAULT_PRIORITY, NULL, &context); net 341 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc net::TestURLRequest http_request_2000( net 342 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc http_url_2000, net::DEFAULT_PRIORITY, NULL, &context); net 34 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h namespace net { net 283 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 284 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest http_request( net 285 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc http_url, net::DEFAULT_PRIORITY, NULL, &context); net 298 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest foobar_request( net 299 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc foobar_url, net::DEFAULT_PRIORITY, NULL, &context); net 424 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 425 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest request(url, net::DEFAULT_PRIORITY, NULL, &context); net 472 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 473 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest request(url, net::DEFAULT_PRIORITY, NULL, &context); net 545 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 546 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest request(url, net::DEFAULT_PRIORITY, NULL, &context); net 594 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 595 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest http_request( net 596 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc http_url, net::DEFAULT_PRIORITY, NULL, &context); net 648 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 652 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest http_request( net 653 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc urls[i], net::DEFAULT_PRIORITY, NULL, &context); net 796 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequestContext context; net 801 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest request1(url1, net::DEFAULT_PRIORITY, NULL, &context); net 808 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc net::TestURLRequest request2(url2, net::DEFAULT_PRIORITY, NULL, &context); net 109 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc net::GetHostAndOptionalPort(origin_) : origin_.spec()); net 21 chrome/browser/extensions/api/dial/dial_registry.cc using net::NetworkChangeNotifier; net 30 chrome/browser/extensions/api/dial/dial_registry.h public net::NetworkChangeNotifier::NetworkChangeObserver { net 100 chrome/browser/extensions/api/dial/dial_registry.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 302 chrome/browser/extensions/api/dial/dial_registry_unittest.cc registry_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); net 346 chrome/browser/extensions/api/dial/dial_registry_unittest.cc registry_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); net 351 chrome/browser/extensions/api/dial/dial_registry_unittest.cc registry_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_WIFI); net 357 chrome/browser/extensions/api/dial/dial_registry_unittest.cc registry_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 39 chrome/browser/extensions/api/dial/dial_service.cc using net::HttpResponseHeaders; net 40 chrome/browser/extensions/api/dial/dial_service.cc using net::HttpUtil; net 41 chrome/browser/extensions/api/dial/dial_service.cc using net::IOBufferWithSize; net 42 chrome/browser/extensions/api/dial/dial_service.cc using net::IPAddressNumber; net 43 chrome/browser/extensions/api/dial/dial_service.cc using net::IPEndPoint; net 44 chrome/browser/extensions/api/dial/dial_service.cc using net::NetworkInterface; net 45 chrome/browser/extensions/api/dial/dial_service.cc using net::NetworkInterfaceList; net 46 chrome/browser/extensions/api/dial/dial_service.cc using net::StringIOBuffer; net 47 chrome/browser/extensions/api/dial/dial_service.cc using net::UDPSocket; net 118 chrome/browser/extensions/api/dial/dial_service.cc bool success = net::GetNetworkList( net 119 chrome/browser/extensions/api/dial/dial_service.cc &list, net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES); net 138 chrome/browser/extensions/api/dial/dial_service.cc && net::ParseIPLiteralToNumber(state->ip_address(), &bind_ip_address) net 139 chrome/browser/extensions/api/dial/dial_service.cc && bind_ip_address.size() == net::kIPv4AddressSize) { net 166 chrome/browser/extensions/api/dial/dial_service.cc net::NetLog* net_log, net 167 chrome/browser/extensions/api/dial/dial_service.cc net::NetLog::Source net_log_source) { net 170 chrome/browser/extensions/api/dial/dial_service.cc DCHECK(bind_ip_address.size() == net::kIPv4AddressSize); net 172 chrome/browser/extensions/api/dial/dial_service.cc net::RandIntCallback rand_cb = base::Bind(&base::RandInt); net 173 chrome/browser/extensions/api/dial/dial_service.cc socket_.reset(new UDPSocket(net::DatagramSocket::RANDOM_BIND, net 192 chrome/browser/extensions/api/dial/dial_service.cc const net::IPEndPoint& send_address, net 193 chrome/browser/extensions/api/dial/dial_service.cc const scoped_refptr<net::StringIOBuffer>& send_buffer) { net 226 chrome/browser/extensions/api/dial/dial_service.cc if (result < net::OK && result != net::ERR_IO_PENDING) { net 228 chrome/browser/extensions/api/dial/dial_service.cc std::string error_str(net::ErrorToString(result)); net 268 chrome/browser/extensions/api/dial/dial_service.cc int result = net::OK; net 278 chrome/browser/extensions/api/dial/dial_service.cc if (result != net::ERR_IO_PENDING) net 284 chrome/browser/extensions/api/dial/dial_service.cc } while (result_ok && result != net::OK && result != net::ERR_IO_PENDING); net 378 chrome/browser/extensions/api/dial/dial_service.cc DialServiceImpl::DialServiceImpl(net::NetLog* net_log) net 388 chrome/browser/extensions/api/dial/dial_service.cc bool success = net::ParseIPLiteralToNumber(kDialRequestAddress, &address); net 393 chrome/browser/extensions/api/dial/dial_service.cc net_log_source_.type = net::NetLog::SOURCE_UDP_SOCKET; net 459 chrome/browser/extensions/api/dial/dial_service.cc typedef std::pair<uint32, net::AddressFamily> InterfaceIndexAddressFamily; net 469 chrome/browser/extensions/api/dial/dial_service.cc net::AddressFamily addr_family = net::GetAddressFamily(iter->address); net 471 chrome/browser/extensions/api/dial/dial_service.cc << net::IPAddressToString(iter->address) net 473 chrome/browser/extensions/api/dial/dial_service.cc if (addr_family == net::ADDRESS_FAMILY_IPV4) { net 485 chrome/browser/extensions/api/dial/dial_service.cc << "adding IP address " << net::IPAddressToString(iter->address) net 20 chrome/browser/extensions/api/dial/dial_service.h namespace net { net 104 chrome/browser/extensions/api/dial/dial_service.h explicit DialServiceImpl(net::NetLog* net_log); net 128 chrome/browser/extensions/api/dial/dial_service.h bool CreateAndBindSocket(const net::IPAddressNumber& bind_ip_address, net 129 chrome/browser/extensions/api/dial/dial_service.h net::NetLog* net_log, net 130 chrome/browser/extensions/api/dial/dial_service.h net::NetLog::Source net_log_source); net 134 chrome/browser/extensions/api/dial/dial_service.h void SendOneRequest(const net::IPEndPoint& send_address, net 135 chrome/browser/extensions/api/dial/dial_service.h const scoped_refptr<net::StringIOBuffer>& send_buffer); net 172 chrome/browser/extensions/api/dial/dial_service.h scoped_ptr<net::UDPSocket> socket_; net 175 chrome/browser/extensions/api/dial/dial_service.h scoped_refptr<net::IOBufferWithSize> recv_buffer_; net 178 chrome/browser/extensions/api/dial/dial_service.h net::IPEndPoint recv_address_; net 210 chrome/browser/extensions/api/dial/dial_service.h void SendNetworkList(const net::NetworkInterfaceList& list); net 217 chrome/browser/extensions/api/dial/dial_service.h const std::vector<net::IPAddressNumber>& ip_addresses); net 221 chrome/browser/extensions/api/dial/dial_service.h void BindAndAddSocket(const net::IPAddressNumber& bind_ip_address); net 250 chrome/browser/extensions/api/dial/dial_service.h net::NetLog* net_log_; net 253 chrome/browser/extensions/api/dial/dial_service.h net::NetLog::Source net_log_source_; net 256 chrome/browser/extensions/api/dial/dial_service.h net::IPEndPoint send_address_; net 259 chrome/browser/extensions/api/dial/dial_service.h scoped_refptr<net::StringIOBuffer> send_buffer_; net 47 chrome/browser/extensions/api/dial/dial_service_unittest.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &mock_ip_)); net 52 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::CapturingNetLog capturing_net_log_; net 53 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::IPAddressNumber mock_ip_; net 84 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::NetworkInterfaceList interface_list; net 86 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::NetworkInterface("network1", "network1", 0, mock_ip_, 0)); net 88 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::NetworkInterface("network2", "network2", 1, mock_ip_, 0)); net 90 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::NetworkInterface("network3", "network3", 2, mock_ip_, 0)); net 95 chrome/browser/extensions/api/dial/dial_service_unittest.cc net::NetworkInterface("network4", "network4", 1, mock_ip_, 0)); net 121 chrome/browser/extensions/api/dial/dial_service_unittest.cc new net::IOBufferWithSize(response_size); net 125 chrome/browser/extensions/api/dial/dial_service_unittest.cc dial_socket_->recv_address_ = net::IPEndPoint(mock_ip_, 12345); net 72 chrome/browser/extensions/api/dns/dns_apitest.cc EXPECT_EQ(net::OK, resultCode); net 99 chrome/browser/extensions/api/dns/dns_apitest.cc EXPECT_EQ(net::OK, resultCode); net 26 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc net::MockHostResolver* MockHostResolverCreator::CreateMockHostResolver() { net 43 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc mock_host_resolver_ = new net::MockHostResolver(); net 13 chrome/browser/extensions/api/dns/mock_host_resolver_creator.h namespace net { net 29 chrome/browser/extensions/api/dns/mock_host_resolver_creator.h net::MockHostResolver* CreateMockHostResolver(); net 46 chrome/browser/extensions/api/dns/mock_host_resolver_creator.h net::MockHostResolver* mock_host_resolver_; net 997 chrome/browser/extensions/api/downloads/downloads_api.cc if (!net::IsSafePortableRelativePath(creator_suggested_filename)) { net 1013 chrome/browser/extensions/api/downloads/downloads_api.cc if (!net::HttpUtil::IsSafeHeader(name_value.name)) { net 1031 chrome/browser/extensions/api/downloads/downloads_api.cc download_params->set_load_flags(net::LOAD_DO_NOT_PROMPT_FOR_LOGIN); net 1689 chrome/browser/extensions/api/downloads/downloads_api.cc bool valid_filename = net::IsSafePortableRelativePath(filename); net 84 chrome/browser/extensions/api/execute_code_function.cc file_url_ = net::FilePathToFileURL(resource_.GetFilePath()); net 65 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc if (net::MatchesMimeType(*type, mime_type)) net 166 chrome/browser/extensions/api/file_system/file_system_api.cc net::GetExtensionsForMimeType(accept_type, &inner); net 184 chrome/browser/extensions/api/hid/hid_api.cc buffer_ = new net::IOBufferWithSize(parameters_->size); net 218 chrome/browser/extensions/api/hid/hid_api.cc scoped_refptr<net::IOBufferWithSize> buffer( net 219 chrome/browser/extensions/api/hid/hid_api.cc new net::IOBufferWithSize(parameters_->data.size())); net 252 chrome/browser/extensions/api/hid/hid_api.cc buffer_ = new net::IOBufferWithSize(parameters_->size); net 287 chrome/browser/extensions/api/hid/hid_api.cc scoped_refptr<net::IOBufferWithSize> buffer( net 288 chrome/browser/extensions/api/hid/hid_api.cc new net::IOBufferWithSize(parameters_->data.size())); net 18 chrome/browser/extensions/api/hid/hid_api.h namespace net { net 120 chrome/browser/extensions/api/hid/hid_api.h scoped_refptr<net::IOBufferWithSize> buffer_; net 164 chrome/browser/extensions/api/hid/hid_api.h scoped_refptr<net::IOBufferWithSize> buffer_; net 347 chrome/browser/extensions/api/identity/account_tracker_unittest.cc net::HttpStatusCode response_code, net 355 chrome/browser/extensions/api/identity/account_tracker_unittest.cc net::TestURLFetcherFactory test_fetcher_factory_; net 366 chrome/browser/extensions/api/identity/account_tracker_unittest.cc net::HttpStatusCode response_code, net 369 chrome/browser/extensions/api/identity/account_tracker_unittest.cc net::TestURLFetcher* fetcher = net 381 chrome/browser/extensions/api/identity/account_tracker_unittest.cc net::HTTP_OK, net 389 chrome/browser/extensions/api/identity/account_tracker_unittest.cc gaia::GaiaOAuthClient::kUrlFetcherId, net::HTTP_BAD_REQUEST, ""); net 48 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc net::EscapeUrlEncodedData( net 80 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc net::EscapeUrlEncodedData(token, true).c_str(), net 81 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc net::EscapeUrlEncodedData(auth_url_.spec(), true).c_str()); net 1179 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer https_server( net 1180 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::TYPE_HTTPS, net 1181 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::kLocalhost, net 1206 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer https_server( net 1207 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::TYPE_HTTPS, net 1208 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::kLocalhost, net 1229 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer https_server( net 1230 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::TYPE_HTTPS, net 1231 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::kLocalhost, net 1306 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer https_server( net 1307 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::TYPE_HTTPS, net 1308 chrome/browser/extensions/api/identity/identity_apitest.cc net::SpawnedTestServer::kLocalhost, net 20 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc net::URLRequestContextGetter* request_context, net 87 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc url_fetcher_.reset(net::URLFetcher::Create(url_, net::URLFetcher::GET, this)); net 103 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc const net::URLFetcher* source, net 110 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc const net::URLFetcher* source, net 124 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc void WriteFromUrlOperation::OnURLFetchComplete(const net::URLFetcher* source) { net 12 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h namespace net { net 23 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h class WriteFromUrlOperation : public Operation, public net::URLFetcherDelegate { net 27 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h net::URLRequestContextGetter* request_context, net 54 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 55 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 58 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h virtual void OnURLFetchUploadProgress(const net::URLFetcher* source, net 67 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h net::URLRequestContextGetter* request_context_; net 72 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h scoped_ptr<net::URLFetcher> url_fetcher_; net 33 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc net::URLRequestContextGetter* request_context, net 78 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 87 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc net::URLFetcher::SetEnableInterceptionForTests(false); net 31 chrome/browser/extensions/api/log_private/log_private_api.h public net::NetLog::ThreadSafeObserver { net 54 chrome/browser/extensions/api/log_private/log_private_api.h virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 107 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc void LogPrivateAPI::OnAddEntry(const net::NetLog::Entry& entry) { net 146 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc this, net::NetLog::LOG_ALL_BUT_BYTES); net 256 chrome/browser/extensions/api/management/management_browsertest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 341 chrome/browser/extensions/api/management/management_browsertest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 407 chrome/browser/extensions/api/management/management_browsertest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 500 chrome/browser/extensions/api/management/management_browsertest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 577 chrome/browser/extensions/api/management/management_browsertest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 20 chrome/browser/extensions/api/mdns/dns_sd_device_lister.cc service->ip_address = net::IPAddressToString( net 800 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc reader->SetByteRange(0, net::kMaxBytesToSniff); net 810 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc bool mime_type_sniffed = net::SniffMimeTypeFromLocalData( net 35 chrome/browser/extensions/api/messaging/message_property_provider.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter( net 51 chrome/browser/extensions/api/messaging/message_property_provider.cc net::ServerBoundCertService::RequestHandle request_handle; net 57 chrome/browser/extensions/api/messaging/message_property_provider.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 61 chrome/browser/extensions/api/messaging/message_property_provider.cc net::ServerBoundCertService* server_bound_cert_service = net 65 chrome/browser/extensions/api/messaging/message_property_provider.cc net::CompletionCallback net_completion_callback = net 76 chrome/browser/extensions/api/messaging/message_property_provider.cc if (status == net::ERR_IO_PENDING) net 88 chrome/browser/extensions/api/messaging/message_property_provider.cc if (status != net::OK) { net 93 chrome/browser/extensions/api/messaging/message_property_provider.cc if (!net::asn1::ExtractSPKIFromDERCert(output->domain_bound_cert, &spki)) { net 98 chrome/browser/extensions/api/messaging/message_property_provider.cc if (!net::JwkSerializer::ConvertSpkiFromDerToJwk(spki, &jwk_value)) { net 19 chrome/browser/extensions/api/messaging/message_property_provider.h namespace net { net 44 chrome/browser/extensions/api/messaging/message_property_provider.h scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 201 chrome/browser/extensions/api/messaging/native_message_process_host.cc read_stream_.reset(new net::FileStream( net 205 chrome/browser/extensions/api/messaging/native_message_process_host.cc write_stream_.reset(new net::FileStream( net 221 chrome/browser/extensions/api/messaging/native_message_process_host.cc scoped_refptr<net::IOBufferWithSize> buffer = net 222 chrome/browser/extensions/api/messaging/native_message_process_host.cc new net::IOBufferWithSize(json.size() + kMessageHeaderSize); net 277 chrome/browser/extensions/api/messaging/native_message_process_host.cc read_buffer_ = new net::IOBuffer(kReadBufferSize); net 303 chrome/browser/extensions/api/messaging/native_message_process_host.cc } else if (result == net::ERR_IO_PENDING) { net 305 chrome/browser/extensions/api/messaging/native_message_process_host.cc } else if (result == 0 || result == net::ERR_CONNECTION_RESET) { net 355 chrome/browser/extensions/api/messaging/native_message_process_host.cc current_write_buffer_ = new net::DrainableIOBuffer( net 373 chrome/browser/extensions/api/messaging/native_message_process_host.cc if (result == net::ERR_IO_PENDING) { net 20 chrome/browser/extensions/api/messaging/native_message_process_host.h namespace net { net 151 chrome/browser/extensions/api/messaging/native_message_process_host.h scoped_ptr<net::FileStream> read_stream_; net 161 chrome/browser/extensions/api/messaging/native_message_process_host.h scoped_ptr<net::FileStream> write_stream_; net 164 chrome/browser/extensions/api/messaging/native_message_process_host.h scoped_refptr<net::IOBuffer> read_buffer_; net 173 chrome/browser/extensions/api/messaging/native_message_process_host.h std::queue<scoped_refptr<net::IOBufferWithSize> > write_queue_; net 176 chrome/browser/extensions/api/messaging/native_message_process_host.h scoped_refptr<net::DrainableIOBuffer> current_write_buffer_; net 169 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 190 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 211 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc net::NetworkChangeNotifier::ConnectionType type) { net 44 chrome/browser/extensions/api/networking_private/networking_private_service_client.h net::NetworkChangeNotifier::NetworkChangeObserver { net 212 chrome/browser/extensions/api/networking_private/networking_private_service_client.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 190 chrome/browser/extensions/api/processes/processes_api.cc int64 net = 0; net 193 chrome/browser/extensions/api/processes/processes_api.cc net += model->GetNetworkUsage(index + i); net 198 chrome/browser/extensions/api/processes/processes_api.cc result->SetDouble(keys::kNetworkKey, static_cast<double>(net)); net 43 chrome/browser/extensions/api/proxy/proxy_api.cc dict->SetString(keys::kProxyEventError, net::ErrorToString(error_code)); net 65 chrome/browser/extensions/api/proxy/proxy_api.cc net::ErrorToString(net::ERR_PAC_SCRIPT_FAILED)); net 55 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc return net::DataURL::Parse(url, &mime_type, &charset, pac_script); net 150 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyServer::Scheme default_scheme, net 151 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyServer* out, net 160 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyServer::Scheme scheme = net 161 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyServer::GetSchemeFromURI(scheme_string); net 162 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (scheme == net::ProxyServer::SCHEME_INVALID) net 183 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc port = net::ProxyServer::GetDefaultPortForScheme(scheme); net 185 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc *out = net::ProxyServer(scheme, net::HostPortPair(host, port)); net 204 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyServer proxy_server[keys::SCHEME_MAX + 1]; net 214 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyServer::Scheme default_scheme = net::ProxyServer::SCHEME_HTTP; net 375 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyConfig::ProxyRules rules; net 379 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyConfig::ProxyRules::TYPE_NO_RULES: net 381 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY: net 388 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME: net 430 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::DictionaryValue* CreateProxyServerDict(const net::ProxyServer& proxy) { net 433 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_HTTP: net 436 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_HTTPS: net 439 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_QUIC: net 442 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_SOCKS4: net 445 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_SOCKS5: net 448 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_DIRECT: net 449 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc case net::ProxyServer::SCHEME_INVALID: net 96 chrome/browser/extensions/api/proxy/proxy_api_helpers.h net::ProxyServer::Scheme default_scheme, net 97 chrome/browser/extensions/api/proxy/proxy_api_helpers.h net::ProxyServer* out, net 121 chrome/browser/extensions/api/proxy/proxy_api_helpers.h base::DictionaryValue* CreateProxyServerDict(const net::ProxyServer& proxy); net 301 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc net::ProxyServer created; net 308 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc GetProxyServer(&proxy_server_dict, net::ProxyServer::SCHEME_HTTP, net 317 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc GetProxyServer(&proxy_server_dict, net::ProxyServer::SCHEME_HTTP, net 15 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc using net::URLFetcher; net 16 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc using net::URLRequestContextGetter; net 17 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc using net::URLRequestStatus; net 89 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc const net::URLFetcher* source) { net 104 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc const net::URLFetcher* source) { net 18 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h namespace net { net 43 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h ObfuscatedGaiaIdFetcher(net::URLRequestContextGetter* context, net 55 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h const net::URLFetcher* source) OVERRIDE; net 57 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h const net::URLFetcher* source) OVERRIDE; net 80 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher_unittest.cc net::TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); net 82 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 94 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher_unittest.cc net::TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); net 96 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 190 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc net::URLRequestContextGetter* context = GetProfile()->GetRequestContext(); net 90 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc new net::RuleBasedHostResolverProc(host_resolver())); net 101 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc net::RuleBasedHostResolverProc* host_resolver) { net 103 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc scoped_refptr<net::RuleBasedHostResolverProc> resolver = net 104 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc new net::RuleBasedHostResolverProc(host_resolver); net 114 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc new net::ScopedDefaultHostResolverProc(resolver.get())); net 128 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; net 71 chrome/browser/extensions/api/push_messaging/sync_setup_helper.h scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; net 38 chrome/browser/extensions/api/serial/serial_io_handler.cc pending_read_buffer_ = new net::IOBuffer(max_bytes); net 48 chrome/browser/extensions/api/serial/serial_io_handler.cc pending_write_buffer_ = new net::IOBuffer(data.length()); net 118 chrome/browser/extensions/api/serial/serial_io_handler.h net::IOBuffer* pending_read_buffer() const { net 134 chrome/browser/extensions/api/serial/serial_io_handler.h net::IOBuffer* pending_write_buffer() const { net 155 chrome/browser/extensions/api/serial/serial_io_handler.h scoped_refptr<net::IOBuffer> pending_read_buffer_; net 160 chrome/browser/extensions/api/serial/serial_io_handler.h scoped_refptr<net::IOBuffer> pending_write_buffer_; net 94 chrome/browser/extensions/api/sessions/sessions_api.cc net::FormatUrl(gurl, languages)))); net 160 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<net::SpawnedTestServer> test_server( net 161 chrome/browser/extensions/api/socket/socket_apitest.cc new net::SpawnedTestServer( net 162 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::TYPE_UDP_ECHO, net 163 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::kLocalhost, net 167 chrome/browser/extensions/api/socket/socket_apitest.cc net::HostPortPair host_port_pair = test_server->host_port_pair(); net 188 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<net::SpawnedTestServer> test_server( net 189 chrome/browser/extensions/api/socket/socket_apitest.cc new net::SpawnedTestServer( net 190 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::TYPE_TCP_ECHO, net 191 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::kLocalhost, net 195 chrome/browser/extensions/api/socket/socket_apitest.cc net::HostPortPair host_port_pair = test_server->host_port_pair(); net 262 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<net::SpawnedTestServer> test_server( net 263 chrome/browser/extensions/api/socket/socket_apitest.cc new net::SpawnedTestServer( net 264 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::TYPE_UDP_ECHO, net 265 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::kLocalhost, net 269 chrome/browser/extensions/api/socket/socket_apitest.cc net::HostPortPair host_port_pair = test_server->host_port_pair(); net 297 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<net::SpawnedTestServer> test_server( net 298 chrome/browser/extensions/api/socket/socket_apitest.cc new net::SpawnedTestServer( net 299 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::TYPE_TCP_ECHO, net 300 chrome/browser/extensions/api/socket/socket_apitest.cc net::SpawnedTestServer::kLocalhost, net 304 chrome/browser/extensions/api/socket/socket_apitest.cc net::HostPortPair host_port_pair = test_server->host_port_pair(); net 24 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc class MockTCPSocket : public net::TCPClientSocket { net 26 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc explicit MockTCPSocket(const net::AddressList& address_list) net 27 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc : net::TCPClientSocket(address_list, NULL, net::NetLog::Source()) { net 30 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD3(Read, int(net::IOBuffer* buf, int buf_len, net 31 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc const net::CompletionCallback& callback)); net 32 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD3(Write, int(net::IOBuffer* buf, int buf_len, net 33 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc const net::CompletionCallback& callback)); net 44 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc class MockTCPServerSocket : public net::TCPServerSocket { net 47 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc : net::TCPServerSocket(NULL, net::NetLog::Source()) { net 49 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD2(Listen, int(const net::IPEndPoint& address, int backlog)); net 50 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD2(Accept, int(scoped_ptr<net::StreamSocket>* socket, net 51 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc const net::CompletionCallback& callback)); net 62 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc scoped_refptr<net::IOBuffer> io_buffer)); net 63 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD2(OnAccept, void(int, net::TCPClientSocket*)); net 71 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::AddressList address_list; net 89 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::AddressList address_list; net 96 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::CompletionCallback callback; net 104 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc scoped_refptr<net::IOBufferWithSize> io_buffer( net 105 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc new net::IOBufferWithSize(256)); net 111 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::AddressList address_list; net 118 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::CompletionCallback callback; net 122 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc Return(net::ERR_IO_PENDING))); net 123 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc scoped_refptr<net::IOBufferWithSize> io_buffer(new net::IOBufferWithSize(42)); net 136 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::AddressList address_list; net 143 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::CompletionCallback callback; net 147 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc Return(net::ERR_IO_PENDING))); net 148 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc scoped_refptr<net::IOBufferWithSize> io_buffers[5]; net 151 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc io_buffers[i] = new net::IOBufferWithSize(128 + i * 50); net 152 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc scoped_refptr<net::IOBufferWithSize> io_buffer1( net 153 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc new net::IOBufferWithSize(42)); net 168 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::AddressList address_list; net 190 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc net::AddressList address_list; net 229 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc EXPECT_EQ(net::OK, socket->Listen("127.0.0.1", 9999, 10, &err_msg)); net 28 chrome/browser/extensions/api/socket/udp_socket_unittest.cc scoped_refptr<net::IOBuffer> io_buffer, net 91 chrome/browser/extensions/api/socket/udp_socket_unittest.cc scoped_refptr<net::IOBuffer> data = new net::WrappedIOBuffer(test_message); net 104 chrome/browser/extensions/api/socket/udp_socket_unittest.cc scoped_refptr<net::IOBuffer> io_buffer) { net 87 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc scoped_ptr<net::SpawnedTestServer> test_server( net 88 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc new net::SpawnedTestServer( net 89 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc net::SpawnedTestServer::TYPE_TCP_ECHO, net 90 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc net::SpawnedTestServer::kLocalhost, net 94 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc net::HostPortPair host_port_pair = test_server->host_port_pair(); net 89 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc scoped_ptr<net::SpawnedTestServer> test_server( net 90 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc new net::SpawnedTestServer( net 91 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc net::SpawnedTestServer::TYPE_UDP_ECHO, net 92 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc net::SpawnedTestServer::kLocalhost, net 96 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc net::HostPortPair host_port_pair = test_server->host_port_pair(); net 26 chrome/browser/extensions/api/streams_private/streams_private_api.cc void CreateResponseHeadersDictionary(const net::HttpResponseHeaders* headers, net 41 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc using net::test_server::BasicHttpResponse; net 42 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc using net::test_server::HttpRequest; net 43 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc using net::test_server::HttpResponse; net 44 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc using net::test_server::EmbeddedTestServer; net 59 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_OK); net 67 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_OK); net 79 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_OK); net 90 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_OK); net 98 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_OK); net 106 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_NOT_FOUND); net 112 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc response->set_code(net::HTTP_NOT_FOUND); net 29 chrome/browser/extensions/api/system_network/system_network_api.cc net::NetworkInterfaceList interface_list; net 30 chrome/browser/extensions/api/system_network/system_network_api.cc if (net::GetNetworkList( net 31 chrome/browser/extensions/api/system_network/system_network_api.cc &interface_list, net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) { net 52 chrome/browser/extensions/api/system_network/system_network_api.cc const net::NetworkInterfaceList& interface_list) { net 58 chrome/browser/extensions/api/system_network/system_network_api.cc for (net::NetworkInterfaceList::const_iterator i = interface_list.begin(); net 63 chrome/browser/extensions/api/system_network/system_network_api.cc info->address = net::IPAddressToString(i->address); net 32 chrome/browser/extensions/api/system_network/system_network_api.h void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list); net 256 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> CreateBufferForTransfer( net 265 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(std::max( net 343 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> data, net 490 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> data, net 975 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( net 1025 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( net 1071 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( net 1133 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( net 64 chrome/browser/extensions/api/usb/usb_api.h scoped_refptr<net::IOBuffer> data, net 22 chrome/browser/extensions/api/usb/usb_apitest.cc ::std::tr1::get<k>(args).Run(p1, new net::IOBuffer(1), 1); net 42 chrome/browser/extensions/api/usb/usb_apitest.cc net::IOBuffer* buffer, const size_t length, const unsigned int timeout, net 46 chrome/browser/extensions/api/usb/usb_apitest.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, net 50 chrome/browser/extensions/api/usb/usb_apitest.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, net 54 chrome/browser/extensions/api/usb/usb_apitest.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, net 23 chrome/browser/extensions/api/usb/usb_device_resource.h namespace net { net 645 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc net::ERR_ABORTED); net 673 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc net::ERR_ABORTED); net 219 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetString(keys::kErrorKey, net::ErrorToString(error_code)); net 232 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc net::URLRequest* request, net 99 chrome/browser/extensions/api/web_request/form_data_parser.cc static const net::UnescapeRule::Type unescape_rules_; net 298 chrome/browser/extensions/api/web_request/form_data_parser.cc const net::URLRequest& request) { net 301 chrome/browser/extensions/api/web_request/form_data_parser.cc net::HttpRequestHeaders::kContentType, &value); net 352 chrome/browser/extensions/api/web_request/form_data_parser.cc const net::UnescapeRule::Type FormDataParserUrlEncoded::unescape_rules_ = net 353 chrome/browser/extensions/api/web_request/form_data_parser.cc net::UnescapeRule::URL_SPECIAL_CHARS | net::UnescapeRule::CONTROL_CHARS | net 354 chrome/browser/extensions/api/web_request/form_data_parser.cc net::UnescapeRule::SPACES | net::UnescapeRule::REPLACE_PLUS_WITH_SPACE; net 380 chrome/browser/extensions/api/web_request/form_data_parser.cc result->set_name(net::UnescapeURLComponent(name_, unescape_rules_)); net 381 chrome/browser/extensions/api/web_request/form_data_parser.cc result->set_value(net::UnescapeURLComponent(value_, unescape_rules_)); net 522 chrome/browser/extensions/api/web_request/form_data_parser.cc std::string unescaped_name = net::UnescapeURLComponent( net 524 chrome/browser/extensions/api/web_request/form_data_parser.cc net::UnescapeRule::URL_SPECIAL_CHARS | net::UnescapeRule::CONTROL_CHARS); net 15 chrome/browser/extensions/api/web_request/form_data_parser.h namespace net { net 55 chrome/browser/extensions/api/web_request/form_data_parser.h static scoped_ptr<FormDataParser> Create(const net::URLRequest& request); net 66 chrome/browser/extensions/api/web_request/upload_data_presenter.cc void RawDataPresenter::FeedNext(const net::UploadElementReader& reader) { net 71 chrome/browser/extensions/api/web_request/upload_data_presenter.cc const net::UploadBytesElementReader* bytes_reader = reader.AsBytesReader(); net 75 chrome/browser/extensions/api/web_request/upload_data_presenter.cc const net::UploadFileElementReader* file_reader = reader.AsFileReader(); net 108 chrome/browser/extensions/api/web_request/upload_data_presenter.cc ParsedDataPresenter::ParsedDataPresenter(const net::URLRequest& request) net 116 chrome/browser/extensions/api/web_request/upload_data_presenter.cc void ParsedDataPresenter::FeedNext(const net::UploadElementReader& reader) { net 120 chrome/browser/extensions/api/web_request/upload_data_presenter.cc const net::UploadBytesElementReader* bytes_reader = reader.AsBytesReader(); net 24 chrome/browser/extensions/api/web_request/upload_data_presenter.h namespace net { net 55 chrome/browser/extensions/api/web_request/upload_data_presenter.h virtual void FeedNext(const net::UploadElementReader& reader) = 0; net 75 chrome/browser/extensions/api/web_request/upload_data_presenter.h virtual void FeedNext(const net::UploadElementReader& reader) OVERRIDE; net 99 chrome/browser/extensions/api/web_request/upload_data_presenter.h explicit ParsedDataPresenter(const net::URLRequest& request); net 103 chrome/browser/extensions/api/web_request/upload_data_presenter.h virtual void FeedNext(const net::UploadElementReader& reader) OVERRIDE; net 22 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc net::UploadBytesElementReader element(block, sizeof(block) - 1); net 150 chrome/browser/extensions/api/web_request/web_request_api.cc bool IsRequestFromExtension(const net::URLRequest* request, net 166 chrome/browser/extensions/api/web_request/web_request_api.cc void ExtractRequestInfoDetails(net::URLRequest* request, net 199 chrome/browser/extensions/api/web_request/web_request_api.cc void ExtractRequestInfo(net::URLRequest* request, base::DictionaryValue* out) { net 231 chrome/browser/extensions/api/web_request/web_request_api.cc void ExtractRequestInfoBody(const net::URLRequest* request, net 233 chrome/browser/extensions/api/web_request/web_request_api.cc const net::UploadDataStream* upload_data = request->get_upload(); net 254 chrome/browser/extensions/api/web_request/web_request_api.cc const ScopedVector<net::UploadElementReader>& readers = net 258 chrome/browser/extensions/api/web_request/web_request_api.cc ScopedVector<net::UploadElementReader>::const_iterator reader; net 317 chrome/browser/extensions/api/web_request/web_request_api.cc const net::HttpResponseHeaders* headers) { net 329 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* GetRequestHeadersList(const net::HttpRequestHeaders& headers) { net 331 chrome/browser/extensions/api/web_request/web_request_api.cc for (net::HttpRequestHeaders::Iterator it(headers); it.GetNext(); ) net 338 chrome/browser/extensions/api/web_request/web_request_api.cc base::StringValue* GetStatusLine(net::HttpResponseHeaders* headers) { net 482 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request; net 495 chrome/browser/extensions/api/web_request/web_request_api.cc const net::BoundNetLog* net_log; net 498 chrome/browser/extensions/api/web_request/web_request_api.cc net::CompletionCallback callback; net 506 chrome/browser/extensions/api/web_request/web_request_api.cc net::HttpRequestHeaders* request_headers; net 510 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_refptr<const net::HttpResponseHeaders> original_response_headers; net 514 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers; net 518 chrome/browser/extensions/api/web_request/web_request_api.cc net::AuthCredentials* auth_credentials; net 523 chrome/browser/extensions/api/web_request/web_request_api.cc net::NetworkDelegate::AuthCallback auth_callback; net 675 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 676 chrome/browser/extensions/api/web_request/web_request_api.cc const net::CompletionCallback& callback, net 681 chrome/browser/extensions/api/web_request/web_request_api.cc return net::OK; net 718 chrome/browser/extensions/api/web_request/web_request_api.cc return net::OK; // Nobody saw a reason for modifying the request. net 734 chrome/browser/extensions/api/web_request/web_request_api.cc return net::ERR_IO_PENDING; net 741 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 742 chrome/browser/extensions/api/web_request/web_request_api.cc const net::CompletionCallback& callback, net 743 chrome/browser/extensions/api/web_request/web_request_api.cc net::HttpRequestHeaders* headers) { net 747 chrome/browser/extensions/api/web_request/web_request_api.cc return net::OK; net 775 chrome/browser/extensions/api/web_request/web_request_api.cc return net::OK; // Nobody saw a reason for modifying the request. net 791 chrome/browser/extensions/api/web_request/web_request_api.cc return net::ERR_IO_PENDING; net 798 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 799 chrome/browser/extensions/api/web_request/web_request_api.cc const net::HttpRequestHeaders& headers) { net 831 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 832 chrome/browser/extensions/api/web_request/web_request_api.cc const net::CompletionCallback& callback, net 833 chrome/browser/extensions/api/web_request/web_request_api.cc const net::HttpResponseHeaders* original_response_headers, net 834 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 839 chrome/browser/extensions/api/web_request/web_request_api.cc return net::OK; net 873 chrome/browser/extensions/api/web_request/web_request_api.cc return net::OK; // Nobody saw a reason for modifying the request. net 894 chrome/browser/extensions/api/web_request/web_request_api.cc return net::ERR_IO_PENDING; net 898 chrome/browser/extensions/api/web_request/web_request_api.cc net::NetworkDelegate::AuthRequiredResponse net 902 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 903 chrome/browser/extensions/api/web_request/web_request_api.cc const net::AuthChallengeInfo& auth_info, net 904 chrome/browser/extensions/api/web_request/web_request_api.cc const net::NetworkDelegate::AuthCallback& callback, net 905 chrome/browser/extensions/api/web_request/web_request_api.cc net::AuthCredentials* credentials) { net 910 chrome/browser/extensions/api/web_request/web_request_api.cc return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION; net 918 chrome/browser/extensions/api/web_request/web_request_api.cc return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION; net 947 chrome/browser/extensions/api/web_request/web_request_api.cc return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_IO_PENDING; net 949 chrome/browser/extensions/api/web_request/web_request_api.cc return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION; net 955 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 1003 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request) { net 1010 chrome/browser/extensions/api/web_request/web_request_api.cc if (request->status().status() != net::URLRequestStatus::SUCCESS) net 1047 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request) { net 1060 chrome/browser/extensions/api/web_request/web_request_api.cc DCHECK(request->status().status() == net::URLRequestStatus::SUCCESS); net 1100 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 1114 chrome/browser/extensions/api/web_request/web_request_api.cc DCHECK(request->status().status() == net::URLRequestStatus::FAILED || net 1115 chrome/browser/extensions/api/web_request/web_request_api.cc request->status().status() == net::URLRequestStatus::CANCELED); net 1139 chrome/browser/extensions/api/web_request/web_request_api.cc net::ErrorToString(request->status().error())); net 1146 chrome/browser/extensions/api/web_request/web_request_api.cc void* profile, net::URLRequest* request) { net 1156 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request) { net 1162 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 1359 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request) const { net 1404 chrome/browser/extensions/api/web_request/web_request_api.cc const net::URLRequest& request) const { net 1491 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 1551 chrome/browser/extensions/api/web_request/web_request_api.cc net::HttpRequestHeaders* old_headers = blocked_request->request_headers; net 1552 chrome/browser/extensions/api/web_request/web_request_api.cc net::HttpRequestHeaders* new_headers = response->request_headers.get(); net 1558 chrome/browser/extensions/api/web_request/web_request_api.cc const net::HttpResponseHeaders* old_headers = net 1652 chrome/browser/extensions/api/web_request/web_request_api.cc net::HttpRequestHeaders::Iterator iter(delta.modified_request_headers); net 1891 chrome/browser/extensions/api/web_request/web_request_api.cc int rv = canceled ? net::ERR_BLOCKED_BY_CLIENT : net::OK; net 1894 chrome/browser/extensions/api/web_request/web_request_api.cc net::CompletionCallback callback = blocked_request.callback; net 1901 chrome/browser/extensions/api/web_request/web_request_api.cc net::NetworkDelegate::AuthRequiredResponse response = net 1902 chrome/browser/extensions/api/web_request/web_request_api.cc net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION; net 1904 chrome/browser/extensions/api/web_request/web_request_api.cc response = net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_CANCEL_AUTH; net 1906 chrome/browser/extensions/api/web_request/web_request_api.cc response = net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_SET_AUTH; net 1908 chrome/browser/extensions/api/web_request/web_request_api.cc net::NetworkDelegate::AuthCallback callback = blocked_request.auth_callback; net 1922 chrome/browser/extensions/api/web_request/web_request_api.cc net::URLRequest* request, net 1924 chrome/browser/extensions/api/web_request/web_request_api.cc const net::HttpResponseHeaders* original_response_headers) { net 2319 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<net::HttpRequestHeaders> request_headers; net 2322 chrome/browser/extensions/api/web_request/web_request_api.cc request_headers.reset(new net::HttpRequestHeaders()); net 2388 chrome/browser/extensions/api/web_request/web_request_api.cc new net::AuthCredentials(username, password)); net 45 chrome/browser/extensions/api/web_request/web_request_api.h namespace net { net 160 chrome/browser/extensions/api/web_request/web_request_api.h scoped_ptr<net::HttpRequestHeaders> request_headers; net 164 chrome/browser/extensions/api/web_request/web_request_api.h scoped_ptr<net::AuthCredentials> auth_credentials; net 183 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 184 chrome/browser/extensions/api/web_request/web_request_api.h const net::CompletionCallback& callback, net 193 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 194 chrome/browser/extensions/api/web_request/web_request_api.h const net::CompletionCallback& callback, net 195 chrome/browser/extensions/api/web_request/web_request_api.h net::HttpRequestHeaders* headers); net 201 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 202 chrome/browser/extensions/api/web_request/web_request_api.h const net::HttpRequestHeaders& headers); net 216 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 217 chrome/browser/extensions/api/web_request/web_request_api.h const net::CompletionCallback& callback, net 218 chrome/browser/extensions/api/web_request/web_request_api.h const net::HttpResponseHeaders* original_response_headers, net 219 chrome/browser/extensions/api/web_request/web_request_api.h scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 227 chrome/browser/extensions/api/web_request/web_request_api.h net::NetworkDelegate::AuthRequiredResponse OnAuthRequired( net 230 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 231 chrome/browser/extensions/api/web_request/web_request_api.h const net::AuthChallengeInfo& auth_info, net 232 chrome/browser/extensions/api/web_request/web_request_api.h const net::NetworkDelegate::AuthCallback& callback, net 233 chrome/browser/extensions/api/web_request/web_request_api.h net::AuthCredentials* credentials); net 239 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 246 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request); net 251 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request); net 256 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 260 chrome/browser/extensions/api/web_request/web_request_api.h void OnURLRequestDestroyed(void* profile, net::URLRequest* request); net 329 chrome/browser/extensions/api/web_request/web_request_api.h void ClearPendingCallbacks(net::URLRequest* request); net 333 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 344 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 396 chrome/browser/extensions/api/web_request/web_request_api.h net::URLRequest* request, net 398 chrome/browser/extensions/api/web_request/web_request_api.h const net::HttpResponseHeaders* original_response_headers); net 421 chrome/browser/extensions/api/web_request/web_request_api.h bool IsPageLoad(net::URLRequest* request) const; net 436 chrome/browser/extensions/api/web_request/web_request_api.h bool WasSignaled(const net::URLRequest& request) const; net 44 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc typedef std::vector<linked_ptr<net::ParsedCookie> > ParsedResponseCookies; net 83 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc bool ParseCookieLifetime(net::ParsedCookie* cookie, net 95 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc parsed_expiry_time = net::cookie_util::ParseCookieTime(cookie->Expires()); net 210 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::ParametersCallback CreateNetLogExtensionIdCallback( net 212 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc return net::NetLog::StringCallback("extension_id", &delta->extension_id); net 219 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::LogLevel log_level) { net 224 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders::Iterator modification( net 290 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders* old_headers, net 291 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders* new_headers) { net 301 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders::Iterator i(*old_headers); net 311 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders::Iterator i(*new_headers); net 328 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::HttpResponseHeaders* old_response_headers, net 384 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc scoped_ptr<net::AuthCredentials>* auth_credentials) { net 395 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 401 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_ABORTED_REQUEST, net 419 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log, net 440 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_REDIRECTED_REQUEST, net 450 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_IGNORED_DUE_TO_CONFLICT, net 461 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 481 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 666 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders* request_headers, net 668 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 681 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc request_headers->GetHeader(net::HttpRequestHeaders::kCookie, &cookie_header); net 694 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc request_headers->SetHeader(net::HttpRequestHeaders::kCookie, net 707 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders::Iterator modification( net 737 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders* request_headers, net 739 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 762 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders::Iterator modification( net 818 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::HttpRequestHeaders::Iterator modification( net 835 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_MODIFIED_HEADERS, net 843 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_IGNORED_DUE_TO_CONFLICT, net 854 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc scoped_refptr<net::HttpResponseHeaders> override_response_headers) { net 861 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc result.push_back(make_linked_ptr(new net::ParsedCookie(value))); net 870 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc scoped_refptr<net::HttpResponseHeaders> override_response_headers) { net 881 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::ParsedCookie* cookie) { net 902 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc static bool DoesResponseCookieMatchFilter(net::ParsedCookie* cookie, net 977 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc linked_ptr<net::ParsedCookie> cookie( net 978 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc new net::ParsedCookie(std::string())); net 1051 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::HttpResponseHeaders* original_response_headers, net 1052 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 1054 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 1067 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc *override_response_headers = new net::HttpResponseHeaders( net 1111 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::HttpResponseHeaders* original_response_headers, net 1112 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 1115 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 1134 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc *override_response_headers = new net::HttpResponseHeaders( net 1180 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_MODIFIED_HEADERS, net 1188 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_IGNORED_DUE_TO_CONFLICT, net 1202 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc *override_response_headers = new net::HttpResponseHeaders( net 1216 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::AuthCredentials* auth_credentials, net 1218 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const net::BoundNetLog* net_log) { net 1237 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_IGNORED_DUE_TO_CONFLICT, net 1241 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc net::NetLog::TYPE_CHROME_EXTENSION_PROVIDE_AUTH_CREDENTIALS, net 1314 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc return net::HttpUtil::IsToken(name); net 34 chrome/browser/extensions/api/web_request/web_request_api_helpers.h namespace net { net 147 chrome/browser/extensions/api/web_request/web_request_api_helpers.h net::HttpRequestHeaders modified_request_headers; net 160 chrome/browser/extensions/api/web_request/web_request_api_helpers.h scoped_ptr<net::AuthCredentials> auth_credentials; net 211 chrome/browser/extensions/api/web_request/web_request_api_helpers.h net::HttpRequestHeaders* old_headers, net 212 chrome/browser/extensions/api/web_request/web_request_api_helpers.h net::HttpRequestHeaders* new_headers); net 218 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::HttpResponseHeaders* old_response_headers, net 226 chrome/browser/extensions/api/web_request/web_request_api_helpers.h scoped_ptr<net::AuthCredentials>* auth_credentials); net 238 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 246 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 254 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 260 chrome/browser/extensions/api/web_request/web_request_api_helpers.h net::HttpRequestHeaders* request_headers, net 262 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 267 chrome/browser/extensions/api/web_request/web_request_api_helpers.h net::HttpRequestHeaders* request_headers, net 269 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 276 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::HttpResponseHeaders* original_response_headers, net 277 chrome/browser/extensions/api/web_request/web_request_api_helpers.h scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 279 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 288 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::HttpResponseHeaders* original_response_headers, net 289 chrome/browser/extensions/api/web_request/web_request_api_helpers.h scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 292 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 301 chrome/browser/extensions/api/web_request/web_request_api_helpers.h net::AuthCredentials* auth_credentials, net 303 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const net::BoundNetLog* net_log); net 191 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc context_.reset(new net::TestURLRequestContext(true)); net 206 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::TestDelegate delegate_; net 212 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_ptr<net::TestURLRequestContext> context_; net 233 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequestJobFactoryImpl job_factory; net 241 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request( net 242 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc GURL("about:blank"), net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 288 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 296 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request2( net 297 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc GURL("about:blank"), net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 339 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request2.status().status()); net 370 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request( net 371 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc request_url, net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 404 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 405 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::ERR_BLOCKED_BY_CLIENT, request.status().error()); net 438 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request( net 439 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc request_url, net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 466 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, request.status().status()); net 467 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::ERR_ABORTED, request.status().error()); net 502 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request( net 503 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc request_url, net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 506 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc request.SetExtraRequestHeaderByName(net::HttpRequestHeaders::kContentType, net 509 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 510 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc element_readers.push_back(new net::UploadBytesElementReader( net 513 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::UploadFileElementReader(base::MessageLoopProxy::current().get(), net 519 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::UploadBytesElementReader(&(bytes_2[0]), bytes_2.size())); net 521 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::UploadDataStream(element_readers.Pass(), 0))); net 716 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request( net 717 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc request_url, net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 788 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc context_.reset(new net::TestURLRequestContext(true)); net 789 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc host_resolver_.reset(new net::MockHostResolver()); net 799 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::TestDelegate delegate_; net 805 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_ptr<net::MockHostResolver> host_resolver_; net 806 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_ptr<net::TestURLRequestContext> context_; net 836 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::URLRequest request( net 837 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc request_url, net::DEFAULT_PRIORITY, &delegate_, context_.get()); net 842 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders before_headers; net 857 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc response->request_headers.reset(new net::HttpRequestHeaders()); net 897 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 903 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders expected_headers; net 939 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders observed_headers; net 1202 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders old_headers; net 1207 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders new_headers_added; net 1220 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders new_headers_deleted; net 1230 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders new_headers_modified; net 1245 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders new_headers_modified2; net 1267 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> base_headers( net 1268 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::HttpResponseHeaders( net 1269 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpUtil::AssembleRawHeaders( net 1305 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_ptr<net::AuthCredentials> credentials( net 1306 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::AuthCredentials(username, password)); net 1320 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1321 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1346 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1347 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1427 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1428 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1496 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1497 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1529 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders base_headers; net 1532 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1533 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1542 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders headers0; net 1562 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders headers1; net 1584 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders headers2; net 1608 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders headers3; net 1625 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders base_headers; net 1628 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1629 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1673 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpRequestHeaders headers1; net 1712 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1713 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1738 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> base_headers( net 1739 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::HttpResponseHeaders( net 1740 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpUtil::AssembleRawHeaders( net 1747 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers0; net 1911 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> headers1( net 1912 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::HttpResponseHeaders( net 1913 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpUtil::AssembleRawHeaders( net 1915 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers1; net 1947 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 1948 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 1958 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> base_headers( net 1959 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::HttpResponseHeaders( net 1960 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpUtil::AssembleRawHeaders( net 1967 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers0; net 1989 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers1; net 2023 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers2; net 2047 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 2048 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 2060 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> base_headers( net 2061 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::HttpResponseHeaders( net 2062 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::HttpUtil::AssembleRawHeaders( net 2069 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers1; net 2101 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 2102 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 2108 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> base_headers( net 2109 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::HttpResponseHeaders(net::HttpUtil::AssembleRawHeaders( net 2116 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers0; net 2137 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_headers1; net 2154 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::CapturingBoundNetLog capturing_net_log; net 2155 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::BoundNetLog net_log = capturing_net_log.bound(); net 2166 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::AuthCredentials auth0; net 2177 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc d1->auth_credentials.reset(new net::AuthCredentials(username, password)); net 2182 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::AuthCredentials auth1; net 2195 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc d2->auth_credentials.reset(new net::AuthCredentials(username, password2)); net 2200 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::AuthCredentials auth2; net 2215 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc d3->auth_credentials.reset(new net::AuthCredentials(username, password)); net 2220 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc net::AuthCredentials auth3; net 85 chrome/browser/extensions/api/web_request/web_request_permissions.cc const net::URLRequest* request) { net 19 chrome/browser/extensions/api/web_request/web_request_permissions.h namespace net { net 35 chrome/browser/extensions/api/web_request/web_request_permissions.h const net::URLRequest* request); net 33 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequestContext context; net 77 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequestContext context; net 102 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequest request( net 103 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc sensitive_url, net::DEFAULT_PRIORITY, NULL, &context); net 111 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequest request( net 112 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc non_sensitive_url, net::DEFAULT_PRIORITY, NULL, &context); net 122 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequest non_sensitive_request( net 123 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc non_sensitive_url, net::DEFAULT_PRIORITY, NULL, &context); net 131 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequest sensitive_request( net 132 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc non_sensitive_url, net::DEFAULT_PRIORITY, NULL, &context); net 145 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequest sensitive_request( net 146 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc non_sensitive_url, net::DEFAULT_PRIORITY, NULL, &context); net 157 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc net::TestURLRequest request( net 158 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc GURL("http://example.com"), net::DEFAULT_PRIORITY, NULL, &context); net 310 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc net::URLRequestContextGetter* context_getter = NULL; net 24 chrome/browser/extensions/blacklist_state_fetcher.cc class BlacklistRequestContextGetter : public net::URLRequestContextGetter { net 27 chrome/browser/extensions/blacklist_state_fetcher.cc net::URLRequestContextGetter* parent_context_getter) : net 31 chrome/browser/extensions/blacklist_state_fetcher.cc url_request_context_.reset(new net::URLRequestContext()); net 37 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_refptr<net::URLRequestContextGetter> parent_context_getter, net 38 chrome/browser/extensions/blacklist_state_fetcher.cc base::Callback<void(scoped_refptr<net::URLRequestContextGetter>)> net 42 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_refptr<net::URLRequestContextGetter> context_getter = net 49 chrome/browser/extensions/blacklist_state_fetcher.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 65 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_ptr<net::URLRequestContext> url_request_context_; net 106 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_refptr<net::URLRequestContextGetter> parent_request_context; net 126 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) { net 142 chrome/browser/extensions/blacklist_state_fetcher.cc net::URLFetcher* fetcher = net::URLFetcher::Create(url_fetcher_id_++, net 144 chrome/browser/extensions/blacklist_state_fetcher.cc net::URLFetcher::POST, net 159 chrome/browser/extensions/blacklist_state_fetcher.cc net::URLRequestContextGetter* parent_request_context) { net 173 chrome/browser/extensions/blacklist_state_fetcher.cc net::EscapeQueryParamValue(api_key, true).c_str()); net 178 chrome/browser/extensions/blacklist_state_fetcher.cc void BlacklistStateFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 181 chrome/browser/extensions/blacklist_state_fetcher.cc std::map<const net::URLFetcher*, std::string>::iterator it = net 188 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_ptr<const net::URLFetcher> fetcher; net 206 chrome/browser/extensions/blacklist_state_fetcher.cc if (source->GetStatus().status() == net::URLRequestStatus::FAILED) { net 19 chrome/browser/extensions/blacklist_state_fetcher.h namespace net { net 25 chrome/browser/extensions/blacklist_state_fetcher.h class BlacklistStateFetcher : public net::URLFetcherDelegate { net 38 chrome/browser/extensions/blacklist_state_fetcher.h net::URLRequestContextGetter* parent_request_context); net 42 chrome/browser/extensions/blacklist_state_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 51 chrome/browser/extensions/blacklist_state_fetcher.h scoped_refptr<net::URLRequestContextGetter> request_context_getter); net 59 chrome/browser/extensions/blacklist_state_fetcher.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 60 chrome/browser/extensions/blacklist_state_fetcher.h scoped_refptr<net::URLRequestContextGetter> parent_request_context_for_test_; net 63 chrome/browser/extensions/blacklist_state_fetcher.h std::map<const net::URLFetcher*, std::string> requests_; net 31 chrome/browser/extensions/blob_reader.cc fetcher_.reset(net::URLFetcher::Create( net 32 chrome/browser/extensions/blob_reader.cc blob_url, net::URLFetcher::GET, net 45 chrome/browser/extensions/blob_reader.cc net::HttpRequestHeaders headers; net 47 chrome/browser/extensions/blob_reader.cc net::HttpRequestHeaders::kRange, net 59 chrome/browser/extensions/blob_reader.cc void BlobReader::OnURLFetchComplete(const net::URLFetcher* source) { net 18 chrome/browser/extensions/blob_reader.h namespace net { net 23 chrome/browser/extensions/blob_reader.h class BlobReader : public net::URLFetcherDelegate { net 43 chrome/browser/extensions/blob_reader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 46 chrome/browser/extensions/blob_reader.h scoped_ptr<net::URLFetcher> fetcher_; net 27 chrome/browser/extensions/docs/examples/apps/calculator_browsertest.cc ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_file)); net 39 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::HttpResponse> HandleServerRedirectRequest( net 40 chrome/browser/extensions/extension_apitest.cc const net::test_server::HttpRequest& request) { net 42 chrome/browser/extensions/extension_apitest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 48 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 49 chrome/browser/extensions/extension_apitest.cc new net::test_server::BasicHttpResponse); net 50 chrome/browser/extensions/extension_apitest.cc http_response->set_code(net::HTTP_MOVED_PERMANENTLY); net 52 chrome/browser/extensions/extension_apitest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 55 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::HttpResponse> HandleEchoHeaderRequest( net 56 chrome/browser/extensions/extension_apitest.cc const net::test_server::HttpRequest& request) { net 58 chrome/browser/extensions/extension_apitest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 70 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 71 chrome/browser/extensions/extension_apitest.cc new net::test_server::BasicHttpResponse); net 72 chrome/browser/extensions/extension_apitest.cc http_response->set_code(net::HTTP_OK); net 74 chrome/browser/extensions/extension_apitest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 77 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::HttpResponse> HandleSetCookieRequest( net 78 chrome/browser/extensions/extension_apitest.cc const net::test_server::HttpRequest& request) { net 80 chrome/browser/extensions/extension_apitest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 82 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 83 chrome/browser/extensions/extension_apitest.cc new net::test_server::BasicHttpResponse); net 84 chrome/browser/extensions/extension_apitest.cc http_response->set_code(net::HTTP_OK); net 96 chrome/browser/extensions/extension_apitest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 99 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::HttpResponse> HandleSetHeaderRequest( net 100 chrome/browser/extensions/extension_apitest.cc const net::test_server::HttpRequest& request) { net 102 chrome/browser/extensions/extension_apitest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 109 chrome/browser/extensions/extension_apitest.cc net::UnescapeURLComponent(escaped_header, net 110 chrome/browser/extensions/extension_apitest.cc net::UnescapeRule::NORMAL | net 111 chrome/browser/extensions/extension_apitest.cc net::UnescapeRule::SPACES | net 112 chrome/browser/extensions/extension_apitest.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 116 chrome/browser/extensions/extension_apitest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 122 chrome/browser/extensions/extension_apitest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 123 chrome/browser/extensions/extension_apitest.cc new net::test_server::BasicHttpResponse); net 124 chrome/browser/extensions/extension_apitest.cc http_response->set_code(net::HTTP_OK); net 126 chrome/browser/extensions/extension_apitest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 213 chrome/browser/extensions/extension_apitest.cc net::FilePathToFileURL(test_data_dir_).spec()); net 439 chrome/browser/extensions/extension_apitest.cc websocket_server_.reset(new net::SpawnedTestServer( net 440 chrome/browser/extensions/extension_apitest.cc net::SpawnedTestServer::TYPE_WS, net 441 chrome/browser/extensions/extension_apitest.cc net::SpawnedTestServer::kLocalhost, net 454 chrome/browser/extensions/extension_apitest.cc ftp_server_.reset(new net::SpawnedTestServer( net 455 chrome/browser/extensions/extension_apitest.cc net::SpawnedTestServer::TYPE_FTP, net 456 chrome/browser/extensions/extension_apitest.cc net::SpawnedTestServer::kLocalhost, net 207 chrome/browser/extensions/extension_apitest.h scoped_ptr<net::SpawnedTestServer> websocket_server_; net 210 chrome/browser/extensions/extension_apitest.h scoped_ptr<net::SpawnedTestServer> ftp_server_; net 209 chrome/browser/extensions/extension_disabled_ui_browsertest.cc net::URLFetcher::SetEnableInterceptionForTests(true); net 747 chrome/browser/extensions/extension_messages_apitest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter( net 751 chrome/browser/extensions/extension_messages_apitest.cc net::ServerBoundCertService::RequestHandle request_handle; net 766 chrome/browser/extensions/extension_messages_apitest.cc net::asn1::ExtractSPKIFromDERCert(domain_bound_cert, &spki); net 768 chrome/browser/extensions/extension_messages_apitest.cc net::JwkSerializer::ConvertSpkiFromDerToJwk(spki, &jwk_value); net 778 chrome/browser/extensions/extension_messages_apitest.cc net::ServerBoundCertService::RequestHandle* request_handle, net 779 chrome/browser/extensions/extension_messages_apitest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) { net 781 chrome/browser/extensions/extension_messages_apitest.cc net::ServerBoundCertService* server_bound_cert_service = net 792 chrome/browser/extensions/extension_messages_apitest.cc if (status == net::ERR_IO_PENDING) net 798 chrome/browser/extensions/extension_messages_apitest.cc ASSERT_TRUE(status == net::OK); net 66 chrome/browser/extensions/extension_protocols.cc net::HttpResponseHeaders* BuildHttpHeaders( net 100 chrome/browser/extensions/extension_protocols.cc return new net::HttpResponseHeaders(raw_headers); net 103 chrome/browser/extensions/extension_protocols.cc class URLRequestResourceBundleJob : public net::URLRequestSimpleJob { net 105 chrome/browser/extensions/extension_protocols.cc URLRequestResourceBundleJob(net::URLRequest* request, net 106 chrome/browser/extensions/extension_protocols.cc net::NetworkDelegate* network_delegate, net 111 chrome/browser/extensions/extension_protocols.cc : net::URLRequestSimpleJob(request, network_delegate), net 125 chrome/browser/extensions/extension_protocols.cc const net::CompletionCallback& callback) const OVERRIDE { net 131 chrome/browser/extensions/extension_protocols.cc "%s: %s", net::HttpRequestHeaders::kContentLength, net 138 chrome/browser/extensions/extension_protocols.cc base::Bind(&net::GetMimeTypeFromFile, filename_, net 147 chrome/browser/extensions/extension_protocols.cc return net::ERR_IO_PENDING; net 150 chrome/browser/extensions/extension_protocols.cc virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE { net 161 chrome/browser/extensions/extension_protocols.cc const net::CompletionCallback& callback, net 170 chrome/browser/extensions/extension_protocols.cc int result = read_result ? net::OK : net::ERR_INVALID_URL; net 180 chrome/browser/extensions/extension_protocols.cc net::HttpResponseInfo response_info_; net 185 chrome/browser/extensions/extension_protocols.cc class GeneratedBackgroundPageJob : public net::URLRequestSimpleJob { net 187 chrome/browser/extensions/extension_protocols.cc GeneratedBackgroundPageJob(net::URLRequest* request, net 188 chrome/browser/extensions/extension_protocols.cc net::NetworkDelegate* network_delegate, net 191 chrome/browser/extensions/extension_protocols.cc : net::URLRequestSimpleJob(request, network_delegate), net 204 chrome/browser/extensions/extension_protocols.cc const net::CompletionCallback& callback) const OVERRIDE { net 217 chrome/browser/extensions/extension_protocols.cc return net::OK; net 220 chrome/browser/extensions/extension_protocols.cc virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE { net 228 chrome/browser/extensions/extension_protocols.cc net::HttpResponseInfo response_info_; net 278 chrome/browser/extensions/extension_protocols.cc class URLRequestExtensionJob : public net::URLRequestFileJob { net 280 chrome/browser/extensions/extension_protocols.cc URLRequestExtensionJob(net::URLRequest* request, net 281 chrome/browser/extensions/extension_protocols.cc net::NetworkDelegate* network_delegate, net 288 chrome/browser/extensions/extension_protocols.cc : net::URLRequestFileJob( net 304 chrome/browser/extensions/extension_protocols.cc virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE { net 337 chrome/browser/extensions/extension_protocols.cc net::HttpResponseInfo response_info_; net 366 chrome/browser/extensions/extension_protocols.cc bool AllowExtensionResourceLoad(net::URLRequest* request, net 488 chrome/browser/extensions/extension_protocols.cc : public net::URLRequestJobFactory::ProtocolHandler { net 496 chrome/browser/extensions/extension_protocols.cc virtual net::URLRequestJob* MaybeCreateJob( net 497 chrome/browser/extensions/extension_protocols.cc net::URLRequest* request, net 498 chrome/browser/extensions/extension_protocols.cc net::NetworkDelegate* network_delegate) const OVERRIDE; net 507 chrome/browser/extensions/extension_protocols.cc net::URLRequestJob* net 509 chrome/browser/extensions/extension_protocols.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 518 chrome/browser/extensions/extension_protocols.cc return new net::URLRequestErrorJob( net 519 chrome/browser/extensions/extension_protocols.cc request, network_delegate, net::ERR_ADDRESS_UNREACHABLE); net 641 chrome/browser/extensions/extension_protocols.cc net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler( net 16 chrome/browser/extensions/extension_protocols.h net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler( net 98 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequestContext* request_context = net 104 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequestContext* request_context = net 110 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequestContext* request_context = net 119 chrome/browser/extensions/extension_protocols_unittest.cc void StartRequest(net::URLRequest* request, net 135 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequestJobFactoryImpl job_factory_; net 136 chrome/browser/extensions/extension_protocols_unittest.cc const net::URLRequestJobFactory* old_factory_; net 137 chrome/browser/extensions/extension_protocols_unittest.cc net::TestDelegate test_delegate_; net 138 chrome/browser/extensions/extension_protocols_unittest.cc net::TestURLRequestContext test_url_request_context_; net 177 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("404.html"), net 178 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 182 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 185 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request.status().error()) << net 188 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::ERR_ADDRESS_UNREACHABLE, request.status().error()) << net 195 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("404.html"), net 196 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 200 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 203 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request.status().error()) << net 206 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::ERR_ADDRESS_UNREACHABLE, request.status().error()) << net 213 chrome/browser/extensions/extension_protocols_unittest.cc void CheckForContentLengthHeader(net::URLRequest* request) { net 215 chrome/browser/extensions/extension_protocols_unittest.cc request->GetResponseHeaderByName(net::HttpRequestHeaders::kContentLength, net 237 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("webstore_icon_16.png"), net 238 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 242 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 250 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("webstore_icon_16.png"), net 251 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 255 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 273 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("test.dat"), net 274 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 278 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 312 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("test.dat"), net 313 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 317 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 320 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("test.dat"), net 321 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 325 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, request.status().status()); net 330 chrome/browser/extensions/extension_protocols_unittest.cc net::URLRequest request(extension->GetResourceURL("test.dat"), net 331 chrome/browser/extensions/extension_protocols_unittest.cc net::DEFAULT_PRIORITY, net 335 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_EQ(net::URLRequestStatus::FAILED, request.status().status()); net 25 chrome/browser/extensions/extension_resource_protocols.cc class ExtensionResourcesJob : public net::URLRequestFileJob { net 27 chrome/browser/extensions/extension_resource_protocols.cc ExtensionResourcesJob(net::URLRequest* request, net 28 chrome/browser/extensions/extension_resource_protocols.cc net::NetworkDelegate* network_delegate) net 29 chrome/browser/extensions/extension_resource_protocols.cc : net::URLRequestFileJob( net 64 chrome/browser/extensions/extension_resource_protocols.cc net::URLRequestFileJob::Start(); net 68 chrome/browser/extensions/extension_resource_protocols.cc : public net::URLRequestJobFactory::ProtocolHandler { net 73 chrome/browser/extensions/extension_resource_protocols.cc virtual net::URLRequestJob* MaybeCreateJob( net 74 chrome/browser/extensions/extension_resource_protocols.cc net::URLRequest* request, net 75 chrome/browser/extensions/extension_resource_protocols.cc net::NetworkDelegate* network_delegate) const OVERRIDE; net 82 chrome/browser/extensions/extension_resource_protocols.cc net::URLRequestJob* net 84 chrome/browser/extensions/extension_resource_protocols.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 90 chrome/browser/extensions/extension_resource_protocols.cc net::URLRequestJobFactory::ProtocolHandler* net 11 chrome/browser/extensions/extension_resource_protocols.h net::URLRequestJobFactory::ProtocolHandler* net 4306 chrome/browser/extensions/extension_service_unittest.cc void GetAllCookiesCallback(const net::CookieList& list) { net 4311 chrome/browser/extensions/extension_service_unittest.cc net::CookieList list_; net 4330 chrome/browser/extensions/extension_service_unittest.cc net::CookieMonster* cookie_monster = net 4334 chrome/browser/extensions/extension_service_unittest.cc net::CookieOptions options; net 4446 chrome/browser/extensions/extension_service_unittest.cc net::CookieMonster* cookie_monster = net 4450 chrome/browser/extensions/extension_service_unittest.cc net::CookieOptions options; net 154 chrome/browser/extensions/extension_startup_browsertest.cc ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_file)); net 196 chrome/browser/extensions/extension_warning_set.cc final_parameters.push_back(base::UTF8ToUTF16(net::EscapeForHTML(message))); net 12 chrome/browser/extensions/extension_websocket_apitest.cc ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory())); net 40 chrome/browser/extensions/external_provider_impl_unittest.cc using namespace net::test_server; net 97 chrome/browser/extensions/external_provider_impl_unittest.cc response->set_code(net::HTTP_OK); net 119 chrome/browser/extensions/external_provider_impl_unittest.cc response->set_code(net::HTTP_OK); net 226 chrome/browser/extensions/install_signer.cc InstallSigner::InstallSigner(net::URLRequestContextGetter* context_getter, net 271 chrome/browser/extensions/install_signer.cc class InstallSigner::FetcherDelegate : public net::URLFetcherDelegate { net 280 chrome/browser/extensions/install_signer.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 372 chrome/browser/extensions/install_signer.cc url_fetcher_.reset(net::URLFetcher::Create( net 373 chrome/browser/extensions/install_signer.cc GetBackendUrl(), net::URLFetcher::POST, delegate_.get())); net 21 chrome/browser/extensions/install_signer.h namespace net { net 69 chrome/browser/extensions/install_signer.h InstallSigner(net::URLRequestContextGetter* context_getter, net 116 chrome/browser/extensions/install_signer.h net::URLRequestContextGetter* context_getter_; net 117 chrome/browser/extensions/install_signer.h scoped_ptr<net::URLFetcher> url_fetcher_; net 24 chrome/browser/extensions/install_verifier.h namespace net { net 41 chrome/browser/extensions/isolated_app_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleExpectAndSetCookieRequest( net 42 chrome/browser/extensions/isolated_app_browsertest.cc const net::test_server::EmbeddedTestServer* test_server, net 43 chrome/browser/extensions/isolated_app_browsertest.cc const net::test_server::HttpRequest& request) { net 45 chrome/browser/extensions/isolated_app_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 47 chrome/browser/extensions/isolated_app_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 48 chrome/browser/extensions/isolated_app_browsertest.cc new net::test_server::BasicHttpResponse); net 49 chrome/browser/extensions/isolated_app_browsertest.cc http_response->set_code(net::HTTP_OK); net 70 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeURLComponent(escaped_key, net 71 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeRule::NORMAL | net 72 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeRule::SPACES | net 73 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 76 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeURLComponent(escaped_value, net 77 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeRule::NORMAL | net 78 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeRule::SPACES | net 79 chrome/browser/extensions/isolated_app_browsertest.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 87 chrome/browser/extensions/isolated_app_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 96 chrome/browser/extensions/isolated_app_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 55 chrome/browser/extensions/plugin_apitest.cc net::FilePathToFileURL(extension_dir.AppendASCII("test.html"))); net 185 chrome/browser/extensions/plugin_apitest.cc net::FilePathToFileURL(extension_dir.AppendASCII("test.html"))); net 62 chrome/browser/extensions/subscribe_page_action_browsertest.cc GURL GetFeedUrl(net::SpawnedTestServer* server, const std::string& feed_page, net 97 chrome/browser/extensions/subscribe_page_action_browsertest.cc void NavigateToFeedAndValidate(net::SpawnedTestServer* server, net 37 chrome/browser/extensions/test_blacklist_state_fetcher.cc scoped_refptr<net::TestURLRequestContextGetter> context = net 38 chrome/browser/extensions/test_blacklist_state_fetcher.cc new net::TestURLRequestContextGetter( net 52 chrome/browser/extensions/test_blacklist_state_fetcher.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID( net 73 chrome/browser/extensions/test_blacklist_state_fetcher.cc url_fetcher->set_status(net::URLRequestStatus()); net 36 chrome/browser/extensions/test_blacklist_state_fetcher.h net::TestURLFetcherFactory url_fetcher_factory_; net 51 chrome/browser/extensions/updater/extension_downloader.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 91 chrome/browser/extensions/updater/extension_downloader.cc bool ShouldRetryRequest(const net::URLRequestStatus& status, net 96 chrome/browser/extensions/updater/extension_downloader.cc status.status() == net::URLRequestStatus::FAILED; net 122 chrome/browser/extensions/updater/extension_downloader.cc net::URLRequestContextGetter* request_context) net 392 chrome/browser/extensions/updater/extension_downloader.cc manifest_fetcher_.reset(net::URLFetcher::Create( net 394 chrome/browser/extensions/updater/extension_downloader.cc net::URLFetcher::GET, this)); net 396 chrome/browser/extensions/updater/extension_downloader.cc manifest_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 397 chrome/browser/extensions/updater/extension_downloader.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 398 chrome/browser/extensions/updater/extension_downloader.cc net::LOAD_DISABLE_CACHE); net 408 chrome/browser/extensions/updater/extension_downloader.cc const net::URLFetcher* source) { net 432 chrome/browser/extensions/updater/extension_downloader.cc const net::URLRequestStatus& status, net 438 chrome/browser/extensions/updater/extension_downloader.cc if (status.status() == net::URLRequestStatus::SUCCESS && net 663 chrome/browser/extensions/updater/extension_downloader.cc int load_flags = net::LOAD_DISABLE_CACHE; net 665 chrome/browser/extensions/updater/extension_downloader.cc load_flags |= net::LOAD_DO_NOT_SEND_COOKIES | net 666 chrome/browser/extensions/updater/extension_downloader.cc net::LOAD_DO_NOT_SAVE_COOKIES; net 668 chrome/browser/extensions/updater/extension_downloader.cc extension_fetcher_.reset(net::URLFetcher::Create( net 669 chrome/browser/extensions/updater/extension_downloader.cc kExtensionFetcherId, fetch->url, net::URLFetcher::GET, this)); net 686 chrome/browser/extensions/updater/extension_downloader.cc const net::URLFetcher* source, net 688 chrome/browser/extensions/updater/extension_downloader.cc const net::URLRequestStatus& status, net 692 chrome/browser/extensions/updater/extension_downloader.cc if (status.status() == net::URLRequestStatus::SUCCESS && net 710 chrome/browser/extensions/updater/extension_downloader.cc } else if (status.status() == net::URLRequestStatus::SUCCESS && net 29 chrome/browser/extensions/updater/extension_downloader.h namespace net { net 52 chrome/browser/extensions/updater/extension_downloader.h class ExtensionDownloader : public net::URLFetcherDelegate { net 57 chrome/browser/extensions/updater/extension_downloader.h net::URLRequestContextGetter* request_context); net 155 chrome/browser/extensions/updater/extension_downloader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 159 chrome/browser/extensions/updater/extension_downloader.h const net::URLRequestStatus& status, net 182 chrome/browser/extensions/updater/extension_downloader.h void OnCRXFetchComplete(const net::URLFetcher* source, net 184 chrome/browser/extensions/updater/extension_downloader.h const net::URLRequestStatus& status, net 212 chrome/browser/extensions/updater/extension_downloader.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 229 chrome/browser/extensions/updater/extension_downloader.h scoped_ptr<net::URLFetcher> manifest_fetcher_; net 230 chrome/browser/extensions/updater/extension_downloader.h scoped_ptr<net::URLFetcher> extension_fetcher_; net 88 chrome/browser/extensions/updater/extension_updater_unittest.cc const net::BackoffEntry::Policy kNoBackoffPolicy = { net 117 chrome/browser/extensions/updater/extension_updater_unittest.cc net::LOAD_DO_NOT_SEND_COOKIES | net 118 chrome/browser/extensions/updater/extension_updater_unittest.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 119 chrome/browser/extensions/updater/extension_updater_unittest.cc net::LOAD_DISABLE_CACHE; net 121 chrome/browser/extensions/updater/extension_updater_unittest.cc int kExpectedLoadFlagsForProtectedDownload = net::LOAD_DISABLE_CACHE; net 269 chrome/browser/extensions/updater/extension_updater_unittest.cc net::URLRequestContextGetter* request_context() { net 500 chrome/browser/extensions/updater/extension_updater_unittest.cc std::string decoded = net::UnescapeURLComponent( net 501 chrome/browser/extensions/updater/extension_updater_unittest.cc params["x"], net::UnescapeRule::URL_SPECIAL_CHARS); net 583 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 595 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = net 669 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 684 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = net 792 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 793 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = NULL; net 831 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 847 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 876 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 901 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 914 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 915 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = NULL; net 942 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 968 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 979 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 988 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 989 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = NULL; net 1046 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1058 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1090 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1091 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = NULL; net 1125 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1145 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1154 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1174 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1175 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = NULL; net 1251 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1273 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1351 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1401 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = net 1407 chrome/browser/extensions/updater/extension_updater_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 1624 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1656 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1693 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1739 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcher* fetcher = net 1746 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 1762 chrome/browser/extensions/updater/extension_updater_unittest.cc net::TestURLFetcherFactory factory; net 86 chrome/browser/extensions/updater/manifest_fetch_data.cc parts.push_back("ap=" + net::EscapeQueryParamValue(update_url_data, true)); net 120 chrome/browser/extensions/updater/manifest_fetch_data.cc parts.push_back("ping=" + net::EscapeQueryParamValue(ping_value, true)); net 124 chrome/browser/extensions/updater/manifest_fetch_data.cc extra += "x=" + net::EscapeQueryParamValue(JoinString(parts, '&'), true); net 41 chrome/browser/extensions/updater/request_queue.h RequestQueue(const net::BackoffEntry::Policy* backoff_policy, net 80 chrome/browser/extensions/updater/request_queue.h void set_backoff_policy(const net::BackoffEntry::Policy* backoff_policy); net 84 chrome/browser/extensions/updater/request_queue.h Request(net::BackoffEntry* backoff_entry, T* request) net 86 chrome/browser/extensions/updater/request_queue.h linked_ptr<net::BackoffEntry> backoff_entry; net 96 chrome/browser/extensions/updater/request_queue.h scoped_ptr<net::BackoffEntry> backoff_entry); net 99 chrome/browser/extensions/updater/request_queue.h const net::BackoffEntry::Policy* backoff_policy_; net 110 chrome/browser/extensions/updater/request_queue.h scoped_ptr<net::BackoffEntry> active_backoff_entry_; net 20 chrome/browser/extensions/updater/request_queue_impl.h const net::BackoffEntry::Policy* const backoff_policy, net 48 chrome/browser/extensions/updater/request_queue_impl.h PushImpl(request.Pass(), scoped_ptr<net::BackoffEntry>( net 49 chrome/browser/extensions/updater/request_queue_impl.h new net::BackoffEntry(backoff_policy_))); net 55 chrome/browser/extensions/updater/request_queue_impl.h scoped_ptr<net::BackoffEntry> backoff_entry) { net 139 chrome/browser/extensions/updater/request_queue_impl.h const net::BackoffEntry::Policy* backoff_policy) { net 41 chrome/browser/extensions/user_script_listener_unittest.cc ThrottleController(net::URLRequest* request, ResourceThrottle* throttle) net 62 chrome/browser/extensions/user_script_listener_unittest.cc net::URLRequest* request_; net 68 chrome/browser/extensions/user_script_listener_unittest.cc class SimpleTestJob : public net::URLRequestTestJob { net 70 chrome/browser/extensions/user_script_listener_unittest.cc SimpleTestJob(net::URLRequest* request, net 71 chrome/browser/extensions/user_script_listener_unittest.cc net::NetworkDelegate* network_delegate) net 72 chrome/browser/extensions/user_script_listener_unittest.cc : net::URLRequestTestJob(request, net 106 chrome/browser/extensions/user_script_listener_unittest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 112 chrome/browser/extensions/user_script_listener_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 113 chrome/browser/extensions/user_script_listener_unittest.cc net::URLRequest* request, net 114 chrome/browser/extensions/user_script_listener_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 127 chrome/browser/extensions/user_script_listener_unittest.cc net::URLRequestFilter::GetInstance()->AddHostnameProtocolHandler( net 129 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 131 chrome/browser/extensions/user_script_listener_unittest.cc net::URLRequestFilter::GetInstance()->AddHostnameProtocolHandler( net 133 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 138 chrome/browser/extensions/user_script_listener_unittest.cc net::URLRequestFilter::GetInstance()->RemoveHostnameHandler("http", net 140 chrome/browser/extensions/user_script_listener_unittest.cc net::URLRequestFilter::GetInstance()->RemoveHostnameHandler("http", net 161 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequest* StartTestRequest(net::URLRequest::Delegate* delegate, net 163 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext* context) { net 165 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequest* request = net 166 chrome/browser/extensions/user_script_listener_unittest.cc new net::TestURLRequest(url, net::DEFAULT_PRIORITY, delegate, context); net 211 chrome/browser/extensions/user_script_listener_unittest.cc net::TestDelegate delegate; net 212 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext context; net 213 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::TestURLRequest> request( net 229 chrome/browser/extensions/user_script_listener_unittest.cc net::TestDelegate delegate; net 230 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext context; net 231 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::TestURLRequest> request( net 251 chrome/browser/extensions/user_script_listener_unittest.cc net::TestDelegate delegate; net 252 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext context; net 253 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::TestURLRequest> request( net 267 chrome/browser/extensions/user_script_listener_unittest.cc net::TestDelegate delegate; net 268 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext context; net 269 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::TestURLRequest> request(StartTestRequest(&delegate, net 299 chrome/browser/extensions/user_script_listener_unittest.cc net::TestDelegate delegate; net 300 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext context; net 301 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::TestURLRequest> request( net 330 chrome/browser/extensions/user_script_listener_unittest.cc net::TestDelegate delegate; net 331 chrome/browser/extensions/user_script_listener_unittest.cc net::TestURLRequestContext context; net 333 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<net::TestURLRequest> request( net 334 chrome/browser/extensions/user_script_listener_unittest.cc new net::TestURLRequest(url, net::DEFAULT_PRIORITY, &delegate, &context)); net 26 chrome/browser/extensions/webstore_data_fetcher.cc net::URLRequestContextGetter* request_context, net 40 chrome/browser/extensions/webstore_data_fetcher.cc webstore_data_url_fetcher_.reset(net::URLFetcher::Create( net 41 chrome/browser/extensions/webstore_data_fetcher.cc webstore_data_url, net::URLFetcher::GET, this)); net 44 chrome/browser/extensions/webstore_data_fetcher.cc webstore_data_url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 45 chrome/browser/extensions/webstore_data_fetcher.cc net::LOAD_DISABLE_CACHE); net 65 chrome/browser/extensions/webstore_data_fetcher.cc void WebstoreDataFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 68 chrome/browser/extensions/webstore_data_fetcher.cc scoped_ptr<net::URLFetcher> fetcher(webstore_data_url_fetcher_.Pass()); net 19 chrome/browser/extensions/webstore_data_fetcher.h namespace net { net 31 chrome/browser/extensions/webstore_data_fetcher.h public net::URLFetcherDelegate { net 34 chrome/browser/extensions/webstore_data_fetcher.h net::URLRequestContextGetter* request_context, net 46 chrome/browser/extensions/webstore_data_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 49 chrome/browser/extensions/webstore_data_fetcher.h net::URLRequestContextGetter* request_context_; net 54 chrome/browser/extensions/webstore_data_fetcher.h scoped_ptr<net::URLFetcher> webstore_data_url_fetcher_; net 36 chrome/browser/extensions/webstore_install_helper.cc net::URLRequestContextGetter* context_getter) net 63 chrome/browser/extensions/webstore_install_helper.cc url_fetcher_.reset(net::URLFetcher::Create( net 64 chrome/browser/extensions/webstore_install_helper.cc icon_url_, net::URLFetcher::GET, this)); net 66 chrome/browser/extensions/webstore_install_helper.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 67 chrome/browser/extensions/webstore_install_helper.cc net::LOAD_DO_NOT_SEND_COOKIES); net 88 chrome/browser/extensions/webstore_install_helper.cc const net::URLFetcher* source) { net 91 chrome/browser/extensions/webstore_install_helper.cc if (source->GetStatus().status() != net::URLRequestStatus::SUCCESS || net 28 chrome/browser/extensions/webstore_install_helper.h namespace net { net 40 chrome/browser/extensions/webstore_install_helper.h public net::URLFetcherDelegate { net 75 chrome/browser/extensions/webstore_install_helper.h net::URLRequestContextGetter* context_getter); net 87 chrome/browser/extensions/webstore_install_helper.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 116 chrome/browser/extensions/webstore_install_helper.h scoped_ptr<net::URLFetcher> url_fetcher_; net 117 chrome/browser/extensions/webstore_install_helper.h net::URLRequestContextGetter* context_getter_; // Only usable on UI thread. net 179 chrome/browser/extensions/webstore_installer.cc net::EscapeQueryParamValue(JoinString(params, '&'), true)); net 58 chrome/browser/extensions/webstore_installer_test.cc net::HostPortPair host_port = test_server()->host_port_pair(); net 38 chrome/browser/extensions/webstore_installer_unittest.cc net::EscapeQueryParamValue( net 26 chrome/browser/extensions/webstore_standalone_installer.h namespace net { net 262 chrome/browser/external_protocol/external_protocol_handler.cc std::string escaped_url_string = net::EscapeExternalHandlerValue(url.spec()); net 44 chrome/browser/feedback/feedback_uploader_chrome.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 45 chrome/browser/feedback/feedback_uploader_chrome.cc post_url, net::URLFetcher::POST, net 53 chrome/browser/feedback/feedback_uploader_chrome.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 54 chrome/browser/feedback/feedback_uploader_chrome.cc net::LOAD_DO_NOT_SEND_COOKIES); net 35 chrome/browser/feedback/feedback_uploader_delegate.cc const net::URLFetcher* source) { net 36 chrome/browser/feedback/feedback_uploader_delegate.cc scoped_ptr<const net::URLFetcher> source_scoper(source); net 20 chrome/browser/feedback/feedback_uploader_delegate.h class FeedbackUploaderDelegate : public net::URLFetcherDelegate { net 29 chrome/browser/feedback/feedback_uploader_delegate.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 70 chrome/browser/file_select_helper.cc scoped_ptr<net::DirectoryLister> lister_; net 103 chrome/browser/file_select_helper.cc const net::DirectoryLister::DirectoryListerData& data) { net 182 chrome/browser/file_select_helper.cc entry->lister_.reset(new net::DirectoryLister(path, net 184 chrome/browser/file_select_helper.cc net::DirectoryLister::NO_SORT, net 199 chrome/browser/file_select_helper.cc const net::DirectoryLister::DirectoryListerData& data) { net 269 chrome/browser/file_select_helper.cc net::GetExtensionsForMimeType(ascii_type, extensions); net 57 chrome/browser/file_select_helper.h : public net::DirectoryLister::DirectoryListerDelegate { net 64 chrome/browser/file_select_helper.h const net::DirectoryLister::DirectoryListerData& data) OVERRIDE; net 117 chrome/browser/file_select_helper.h const net::DirectoryLister::DirectoryListerData& data); net 40 chrome/browser/geolocation/access_token_store_browsertest.cc net::URLRequestContextGetter* context_getter); net 59 chrome/browser/geolocation/access_token_store_browsertest.cc net::URLRequestContextGetter* /*context_getter*/) { net 84 chrome/browser/geolocation/access_token_store_browsertest.cc net::URLRequestContextGetter* context_getter) { net 96 chrome/browser/geolocation/chrome_access_token_store.cc net::URLRequestContextGetter* system_request_context_; net 87 chrome/browser/geolocation/chrome_geolocation_permission_context.cc net::FormatUrl(requesting_frame_, display_languages_)); net 146 chrome/browser/geolocation/geolocation_infobar_delegate.cc net::FormatUrl(requesting_frame_, display_languages_)); net 51 chrome/browser/google/google_url_tracker.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 125 chrome/browser/google/google_url_tracker.cc void GoogleURLTracker::OnURLFetchComplete(const net::URLFetcher* source) { net 127 chrome/browser/google/google_url_tracker.cc scoped_ptr<net::URLFetcher> clean_up_fetcher(fetcher_.release()); net 158 chrome/browser/google/google_url_tracker.cc base::string16 fetched_host(net::StripWWWFromHost(fetched_google_url_)); net 165 chrome/browser/google/google_url_tracker.cc } else if (fetched_host == net::StripWWWFromHost(google_url_)) { net 173 chrome/browser/google/google_url_tracker.cc } else if (fetched_host == net::StripWWWFromHost(last_prompted_url)) { net 193 chrome/browser/google/google_url_tracker.cc if (url.is_valid() && (fetched_host != net::StripWWWFromHost(url))) net 207 chrome/browser/google/google_url_tracker.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 253 chrome/browser/google/google_url_tracker.cc fetcher_.reset(net::URLFetcher::Create( net 254 chrome/browser/google/google_url_tracker.cc fetcher_id_, GURL(kSearchDomainCheckURL), net::URLFetcher::GET, this)); net 258 chrome/browser/google/google_url_tracker.cc fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 259 chrome/browser/google/google_url_tracker.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 45 chrome/browser/google/google_url_tracker.h class GoogleURLTracker : public net::URLFetcherDelegate, net 46 chrome/browser/google/google_url_tracker.h public net::NetworkChangeNotifier::IPAddressObserver, net 134 chrome/browser/google/google_url_tracker.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 187 chrome/browser/google/google_url_tracker.h scoped_ptr<net::URLFetcher> fetcher_; net 87 chrome/browser/google/google_url_tracker_infobar_delegate.cc net::StripWWWFromHost(google_url_tracker_->fetched_google_url()), net 88 chrome/browser/google/google_url_tracker_infobar_delegate.cc net::StripWWWFromHost(google_url_tracker_->google_url())); net 96 chrome/browser/google/google_url_tracker_infobar_delegate.cc net::StripWWWFromHost(google_url_tracker_->fetched_google_url())); net 100 chrome/browser/google/google_url_tracker_infobar_delegate.cc net::StripWWWFromHost(google_url_tracker_->google_url())); net 213 chrome/browser/google/google_url_tracker_unittest.cc net::TestURLFetcher* GetFetcher(); net 252 chrome/browser/google/google_url_tracker_unittest.cc scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 253 chrome/browser/google/google_url_tracker_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 292 chrome/browser/google/google_url_tracker_unittest.cc network_change_notifier_.reset(net::NetworkChangeNotifier::CreateMock()); net 313 chrome/browser/google/google_url_tracker_unittest.cc net::TestURLFetcher* GoogleURLTrackerTest::GetFetcher() { net 321 chrome/browser/google/google_url_tracker_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 347 chrome/browser/google/google_url_tracker_unittest.cc net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); net 89 chrome/browser/google/google_util.cc return net::AppendQueryParameter(url, "hl", GetGoogleLocale()); net 210 chrome/browser/google/google_util.cc size_t tld_length = net::registry_controlled_domains::GetRegistryLength( net 212 chrome/browser/google/google_util.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 213 chrome/browser/google/google_util.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 68 chrome/browser/guestview/adview/adview_guest.cc base::RemoveChars(net::ErrorToString(error_code), "net::", &error_type); net 118 chrome/browser/guestview/guestview.cc *partition_name = net::UnescapeURLComponent(site.query(), net 119 chrome/browser/guestview/guestview.cc net::UnescapeRule::NORMAL); net 659 chrome/browser/guestview/webview/webview_guest.cc base::RemoveChars(net::ErrorToString(error_code), "net::", &error_type); net 413 chrome/browser/history/history_backend.cc net::registry_controlled_domains::GetRegistryLength( net 415 chrome/browser/history/history_backend.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 416 chrome/browser/history/history_backend.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 45 chrome/browser/history/in_memory_url_index_types.cc return base::i18n::ToLower(net::FormatUrl( net 47 chrome/browser/history/in_memory_url_index_types.cc net::kFormatUrlOmitUsernamePassword, net 48 chrome/browser/history/in_memory_url_index_types.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS, net 146 chrome/browser/history/redirect_browsertest.cc GURL first_url = net::FilePathToFileURL(temp_file); net 241 chrome/browser/history/typed_url_syncable_service.cc if (net::IsLocalhost(url.host())) net 382 chrome/browser/history/url_database.cc base::string16 utf = net::IDNToUnicode(gurl.host(), std::string()); net 176 chrome/browser/history/url_index_private_data.cc net::UnescapeURLComponent(lower_raw_string, net 177 chrome/browser/history/url_index_private_data.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS); net 710 chrome/browser/history/url_index_private_data.cc base::string16 url(net::FormatUrl(gurl, languages, net 711 chrome/browser/history/url_index_private_data.cc net::kFormatUrlOmitUsernamePassword, net 712 chrome/browser/history/url_index_private_data.cc net::UnescapeRule::NONE, net 50 chrome/browser/history/web_history_service.cc private net::URLFetcherDelegate { net 96 chrome/browser/history/web_history_service.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 101 chrome/browser/history/web_history_service.cc net::HttpUtil::MapStatusCodeForHistogram(response_code_), net 102 chrome/browser/history/web_history_service.cc net::HttpUtil::GetStatusCodesForHistogram()); net 106 chrome/browser/history/web_history_service.cc if (response_code_ == net::HTTP_UNAUTHORIZED && ++auth_retry_count_ <= 1) { net 160 chrome/browser/history/web_history_service.cc net::URLFetcher* CreateUrlFetcher(const std::string& access_token) { net 161 chrome/browser/history/web_history_service.cc net::URLFetcher::RequestType request_type = post_data_.empty() ? net 162 chrome/browser/history/web_history_service.cc net::URLFetcher::GET : net::URLFetcher::POST; net 163 chrome/browser/history/web_history_service.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 167 chrome/browser/history/web_history_service.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 168 chrome/browser/history/web_history_service.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 172 chrome/browser/history/web_history_service.cc if (request_type == net::URLFetcher::POST) net 196 chrome/browser/history/web_history_service.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 220 chrome/browser/history/web_history_service.cc if (request->response_code() == net::HTTP_OK) { net 249 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter(url, "titles", "1"); net 257 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter(url, "max", ServerTimeString(end_time)); net 260 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter( net 265 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter( net 270 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter(url, "q", base::UTF16ToUTF8(text_query)); net 273 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter(url, "kvi", version_info); net 361 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter(url, "kvi", server_version_info_); net 19 chrome/browser/history/web_history_service.h namespace net { net 41 chrome/browser/intranet_redirect_detector.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 45 chrome/browser/intranet_redirect_detector.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 83 chrome/browser/intranet_redirect_detector.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 84 chrome/browser/intranet_redirect_detector.cc random_url, net::URLFetcher::HEAD, this); net 86 chrome/browser/intranet_redirect_detector.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 87 chrome/browser/intranet_redirect_detector.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 88 chrome/browser/intranet_redirect_detector.cc net::LOAD_DO_NOT_SEND_COOKIES); net 96 chrome/browser/intranet_redirect_detector.cc const net::URLFetcher* source) { net 99 chrome/browser/intranet_redirect_detector.cc const_cast<net::URLFetcher*>(source)); net 101 chrome/browser/intranet_redirect_detector.cc scoped_ptr<net::URLFetcher> clean_up_fetcher(*fetcher); net 121 chrome/browser/intranet_redirect_detector.cc if (net::registry_controlled_domains::SameDomainOrHost( net 124 chrome/browser/intranet_redirect_detector.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)) { net 139 chrome/browser/intranet_redirect_detector.cc net::registry_controlled_domains::SameDomainOrHost( net 142 chrome/browser/intranet_redirect_detector.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 39 chrome/browser/intranet_redirect_detector.h : public net::URLFetcherDelegate, net 40 chrome/browser/intranet_redirect_detector.h public net::NetworkChangeNotifier::IPAddressObserver { net 58 chrome/browser/intranet_redirect_detector.h typedef std::set<net::URLFetcher*> Fetchers; net 65 chrome/browser/intranet_redirect_detector.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 21 chrome/browser/invalidation/invalidation_service_util.cc net::HostPortPair::FromString( net 33 chrome/browser/invalidation/ticl_invalidation_service.cc static const net::BackoffEntry::Policy kRequestAccessTokenBackoffPolicy = { net 133 chrome/browser/invalidation/ticl_invalidation_service.h net::BackoffEntry request_access_token_backoff_; net 137 chrome/browser/io_thread.cc net::CertDatabase::GetInstance()->SetMessageLoopForKeychainEvents(); net 142 chrome/browser/io_thread.cc class SystemURLRequestContext : public net::URLRequestContext { net 146 chrome/browser/io_thread.cc net::SetURLRequestContextForNSSHttpIO(this); net 153 chrome/browser/io_thread.cc net::SetURLRequestContextForNSSHttpIO(NULL); net 158 chrome/browser/io_thread.cc scoped_ptr<net::HostResolver> CreateGlobalHostResolver(net::NetLog* net_log) { net 162 chrome/browser/io_thread.cc net::HostResolver::Options options; net 191 chrome/browser/io_thread.cc scoped_ptr<net::HostResolver> global_host_resolver( net 192 chrome/browser/io_thread.cc net::HostResolver::CreateSystemResolver(options, net_log)); net 198 chrome/browser/io_thread.cc net::ADDRESS_FAMILY_UNSPECIFIED); net 200 chrome/browser/io_thread.cc global_host_resolver->SetDefaultAddressFamily(net::ADDRESS_FAMILY_IPV4); net 207 chrome/browser/io_thread.cc return global_host_resolver.PassAs<net::HostResolver>(); net 209 chrome/browser/io_thread.cc scoped_ptr<net::MappedHostResolver> remapped_resolver( net 210 chrome/browser/io_thread.cc new net::MappedHostResolver(global_host_resolver.Pass())); net 213 chrome/browser/io_thread.cc return remapped_resolver.PassAs<net::HostResolver>(); net 219 chrome/browser/io_thread.cc net::URLRequestContext* net 221 chrome/browser/io_thread.cc net::NetLog* net_log) { net 222 chrome/browser/io_thread.cc net::URLRequestContext* context = new net::URLRequestContext; net 249 chrome/browser/io_thread.cc net::URLRequestContext* net 251 chrome/browser/io_thread.cc net::NetLog* net_log) { net 252 chrome/browser/io_thread.cc net::URLRequestContext* context = new SystemURLRequestContext; net 288 chrome/browser/io_thread.cc : public net::NetworkChangeNotifier::IPAddressObserver, net 289 chrome/browser/io_thread.cc public net::NetworkChangeNotifier::ConnectionTypeObserver, net 290 chrome/browser/io_thread.cc public net::NetworkChangeNotifier::NetworkChangeObserver { net 293 chrome/browser/io_thread.cc explicit LoggingNetworkChangeObserver(net::NetLog* net_log) net 295 chrome/browser/io_thread.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 296 chrome/browser/io_thread.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 297 chrome/browser/io_thread.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 301 chrome/browser/io_thread.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 302 chrome/browser/io_thread.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 303 chrome/browser/io_thread.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 310 chrome/browser/io_thread.cc net_log_->AddGlobalEntry(net::NetLog::TYPE_NETWORK_IP_ADDRESSES_CHANGED); net 315 chrome/browser/io_thread.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE { net 317 chrome/browser/io_thread.cc net::NetworkChangeNotifier::ConnectionTypeToString(type); net 323 chrome/browser/io_thread.cc net::NetLog::TYPE_NETWORK_CONNECTIVITY_CHANGED, net 324 chrome/browser/io_thread.cc net::NetLog::StringCallback("new_connection_type", &type_as_string)); net 329 chrome/browser/io_thread.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE { net 331 chrome/browser/io_thread.cc net::NetworkChangeNotifier::ConnectionTypeToString(type); net 336 chrome/browser/io_thread.cc net::NetLog::TYPE_NETWORK_CHANGED, net 337 chrome/browser/io_thread.cc net::NetLog::StringCallback("new_connection_type", &type_as_string)); net 341 chrome/browser/io_thread.cc net::NetLog* net_log_; net 345 chrome/browser/io_thread.cc class SystemURLRequestContextGetter : public net::URLRequestContextGetter { net 350 chrome/browser/io_thread.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 373 chrome/browser/io_thread.cc net::URLRequestContext* SystemURLRequestContextGetter::GetURLRequestContext() { net 426 chrome/browser/io_thread.cc net::ProxyResolverV8::RememberDefaultIsolate(); net 428 chrome/browser/io_thread.cc net::ProxyResolverV8::CreateIsolate(); net 430 chrome/browser/io_thread.cc net::ProxyResolverV8::RememberDefaultIsolate(); net 512 chrome/browser/io_thread.cc net::URLRequestContextGetter* IOThread::system_url_request_context_getter() { net 530 chrome/browser/io_thread.cc net::SetMessageLoopForNSSHttpIO(); net 545 chrome/browser/io_thread.cc net::NetworkChangeNotifier::InitHistogramWatcher(); net 562 chrome/browser/io_thread.cc globals_->cert_verifier.reset(new net::MultiThreadedCertVerifier( net 567 chrome/browser/io_thread.cc globals_->cert_verifier.reset(new net::MultiThreadedCertVerifier( net 568 chrome/browser/io_thread.cc net::CertVerifyProc::CreateDefault())); net 570 chrome/browser/io_thread.cc globals_->transport_security_state.reset(new net::TransportSecurityState()); net 574 chrome/browser/io_thread.cc net::MultiLogCTVerifier* ct_verifier = new net::MultiLogCTVerifier(); net 578 chrome/browser/io_thread.cc ct_verifier->AddLog(net::ct::CreateGooglePilotLogVerifier().Pass()); net 579 chrome/browser/io_thread.cc ct_verifier->AddLog(net::ct::CreateGoogleAviatorLogVerifier().Pass()); net 580 chrome/browser/io_thread.cc ct_verifier->AddLog(net::ct::CreateGoogleRocketeerLogVerifier().Pass()); net 600 chrome/browser/io_thread.cc scoped_ptr<net::CTLogVerifier> external_log_verifier( net 601 chrome/browser/io_thread.cc net::CTLogVerifier::Create(ct_public_key_data, log_description)); net 622 chrome/browser/io_thread.cc globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl()); net 625 chrome/browser/io_thread.cc net::ProxyService::CreateDirectWithNetLog(net_log_)); net 631 chrome/browser/io_thread.cc new net::ServerBoundCertService( net 632 chrome/browser/io_thread.cc new net::DefaultServerBoundCertStore(NULL), net 635 chrome/browser/io_thread.cc globals_->host_mapping_rules.reset(new net::HostMappingRules()); net 637 chrome/browser/io_thread.cc new net::StaticHttpUserAgentSettings(std::string(), GetUserAgent())); net 661 chrome/browser/io_thread.cc net::HttpNetworkSession::Params session_params; net 668 chrome/browser/io_thread.cc scoped_refptr<net::HttpNetworkSession> network_session( net 669 chrome/browser/io_thread.cc new net::HttpNetworkSession(session_params)); net 671 chrome/browser/io_thread.cc .reset(new net::HttpNetworkLayer(network_session.get())); net 673 chrome/browser/io_thread.cc scoped_ptr<net::URLRequestJobFactoryImpl> job_factory( net 674 chrome/browser/io_thread.cc new net::URLRequestJobFactoryImpl()); net 676 chrome/browser/io_thread.cc new net::DataProtocolHandler()); net 679 chrome/browser/io_thread.cc new net::FileProtocolHandler( net 685 chrome/browser/io_thread.cc new net::FtpNetworkLayer(globals_->host_resolver.get())); net 688 chrome/browser/io_thread.cc new net::FtpProtocolHandler( net 692 chrome/browser/io_thread.cc job_factory.PassAs<net::URLRequestJobFactory>(); net 694 chrome/browser/io_thread.cc globals_->throttler_manager.reset(new net::URLRequestThrottlerManager()); net 703 chrome/browser/io_thread.cc new net::NetworkTimeNotifier( net 706 chrome/browser/io_thread.cc sdch_manager_ = new net::SdchManager(); net 739 chrome/browser/io_thread.cc net::ShutdownNSSHttpIO(); net 748 chrome/browser/io_thread.cc net::NetworkChangeNotifier::ShutdownHistogramWatcher(); net 774 chrome/browser/io_thread.cc net::WebSocketJob::set_websocket_over_spdy_enabled(true); net 782 chrome/browser/io_thread.cc net::URLFetcher::SetIgnoreCertificateRequests(true); net 789 chrome/browser/io_thread.cc net::HttpStreamFactory::EnableNpnHttp2Draft04(); net 791 chrome/browser/io_thread.cc net::HttpStreamFactory::EnableNpnSpdy4a2(); net 793 chrome/browser/io_thread.cc net::HttpStreamFactory::EnableNpnSpdy3(); net 795 chrome/browser/io_thread.cc net::HttpStreamFactory::EnableNpnHttpOnly(); net 799 chrome/browser/io_thread.cc net::HttpStreamFactory::set_spdy_enabled(false); net 802 chrome/browser/io_thread.cc net::HttpStreamFactory::EnableNpnSpdy31(); net 812 chrome/browser/io_thread.cc net::SetTCPFastOpenEnabled(true); net 842 chrome/browser/io_thread.cc net::HttpStreamFactory::set_spdy_enabled(false); net 844 chrome/browser/io_thread.cc globals_->spdy_default_protocol.set(net::kProtoSPDY3); net 845 chrome/browser/io_thread.cc net::HttpStreamFactory::set_force_spdy_over_ssl(false); net 846 chrome/browser/io_thread.cc net::HttpStreamFactory::set_force_spdy_always(true); net 848 chrome/browser/io_thread.cc globals_->spdy_default_protocol.set(net::kProtoSPDY3); net 849 chrome/browser/io_thread.cc net::HttpStreamFactory::set_force_spdy_over_ssl(true); net 850 chrome/browser/io_thread.cc net::HttpStreamFactory::set_force_spdy_always(true); net 854 chrome/browser/io_thread.cc net::HttpStreamFactory::add_forced_spdy_exclusion(value); net 858 chrome/browser/io_thread.cc net::HttpStreamFactory::set_use_alternate_protocols(false); net 860 chrome/browser/io_thread.cc net::PortAlternateProtocolPair pair; net 862 chrome/browser/io_thread.cc pair.protocol = net::NPN_SPDY_3; net 863 chrome/browser/io_thread.cc net::HttpServerPropertiesImpl::ForceAlternateProtocol(pair); net 919 chrome/browser/io_thread.cc net::HttpAuthHandlerFactory* IOThread::CreateDefaultAuthHandlerFactory( net 920 chrome/browser/io_thread.cc net::HostResolver* resolver) { net 921 chrome/browser/io_thread.cc net::HttpAuthFilterWhitelist* auth_filter_default_credentials = NULL; net 924 chrome/browser/io_thread.cc new net::HttpAuthFilterWhitelist(auth_server_whitelist_); net 926 chrome/browser/io_thread.cc net::HttpAuthFilterWhitelist* auth_filter_delegate = NULL; net 929 chrome/browser/io_thread.cc new net::HttpAuthFilterWhitelist(auth_delegate_whitelist_); net 932 chrome/browser/io_thread.cc net::URLSecurityManager::Create(auth_filter_default_credentials, net 937 chrome/browser/io_thread.cc scoped_ptr<net::HttpAuthHandlerRegistryFactory> registry_factory( net 938 chrome/browser/io_thread.cc net::HttpAuthHandlerRegistryFactory::Create( net 956 chrome/browser/io_thread.cc net::HostCache* host_cache = globals_->host_resolver->GetHostCache(); net 962 chrome/browser/io_thread.cc net::HttpNetworkSession::Params* params) { net 1012 chrome/browser/io_thread.cc net::SSLConfigService* IOThread::GetSSLConfigService() { net 1059 chrome/browser/io_thread.cc net::HttpNetworkSession::Params system_params; net 1065 chrome/browser/io_thread.cc new net::HttpNetworkLayer( net 1066 chrome/browser/io_thread.cc new net::HttpNetworkSession(system_params))); net 1104 chrome/browser/io_thread.cc net::QuicVersion version = GetQuicVersion(command_line); net 1105 chrome/browser/io_thread.cc if (version != net::QUIC_VERSION_UNSUPPORTED) { net 1106 chrome/browser/io_thread.cc net::QuicVersionVector supported_versions; net 1112 chrome/browser/io_thread.cc net::HostPortPair quic_origin = net 1113 chrome/browser/io_thread.cc net::HostPortPair::FromString( net 1229 chrome/browser/io_thread.cc net::QuicVersion IOThread::GetQuicVersion(const CommandLine& command_line) { net 1231 chrome/browser/io_thread.cc return net::QUIC_VERSION_UNSUPPORTED; net 1233 chrome/browser/io_thread.cc net::QuicVersionVector supported_versions = net::QuicSupportedVersions(); net 1237 chrome/browser/io_thread.cc net::QuicVersion version = supported_versions[i]; net 1238 chrome/browser/io_thread.cc if (net::QuicVersionToString(version) == version_flag) { net 1242 chrome/browser/io_thread.cc return net::QUIC_VERSION_UNSUPPORTED; net 44 chrome/browser/io_thread.h namespace net { net 116 chrome/browser/io_thread.h scoped_ptr<net::NetworkDelegate> system_network_delegate; net 117 chrome/browser/io_thread.h scoped_ptr<net::HostResolver> host_resolver; net 118 chrome/browser/io_thread.h scoped_ptr<net::CertVerifier> cert_verifier; net 120 chrome/browser/io_thread.h scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service; net 124 chrome/browser/io_thread.h scoped_ptr<net::TransportSecurityState> transport_security_state; net 125 chrome/browser/io_thread.h scoped_ptr<net::CTVerifier> cert_transparency_verifier; net 126 chrome/browser/io_thread.h scoped_refptr<net::SSLConfigService> ssl_config_service; net 127 chrome/browser/io_thread.h scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; net 128 chrome/browser/io_thread.h scoped_ptr<net::HttpServerProperties> http_server_properties; net 129 chrome/browser/io_thread.h scoped_ptr<net::ProxyService> proxy_script_fetcher_proxy_service; net 130 chrome/browser/io_thread.h scoped_ptr<net::HttpTransactionFactory> net 132 chrome/browser/io_thread.h scoped_ptr<net::FtpTransactionFactory> net 134 chrome/browser/io_thread.h scoped_ptr<net::URLRequestJobFactory> net 136 chrome/browser/io_thread.h scoped_ptr<net::URLRequestThrottlerManager> throttler_manager; net 137 chrome/browser/io_thread.h scoped_ptr<net::URLSecurityManager> url_security_manager; net 144 chrome/browser/io_thread.h scoped_ptr<net::URLRequestContext> proxy_script_fetcher_context; net 145 chrome/browser/io_thread.h scoped_ptr<net::ProxyService> system_proxy_service; net 146 chrome/browser/io_thread.h scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory; net 147 chrome/browser/io_thread.h scoped_ptr<net::URLRequestContext> system_request_context; net 151 chrome/browser/io_thread.h scoped_refptr<net::CookieStore> system_cookie_store; net 156 chrome/browser/io_thread.h scoped_ptr<net::HostMappingRules> host_mapping_rules; net 157 chrome/browser/io_thread.h scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; net 166 chrome/browser/io_thread.h Optional<net::NextProto> spdy_default_protocol; net 174 chrome/browser/io_thread.h Optional<net::QuicVersionVector> quic_supported_versions; net 175 chrome/browser/io_thread.h Optional<net::HostPortPair> origin_to_force_quic_on; net 181 chrome/browser/io_thread.h scoped_ptr<net::NetworkTimeNotifier> network_time_notifier; net 208 chrome/browser/io_thread.h net::URLRequestContextGetter* system_url_request_context_getter(); net 215 chrome/browser/io_thread.h void InitializeNetworkSessionParams(net::HttpNetworkSession::Params* params); net 260 chrome/browser/io_thread.h net::HttpAuthHandlerFactory* CreateDefaultAuthHandlerFactory( net 261 chrome/browser/io_thread.h net::HostResolver* resolver); net 264 chrome/browser/io_thread.h net::SSLConfigService* GetSSLConfigService(); net 306 chrome/browser/io_thread.h net::QuicVersion GetQuicVersion(const base::CommandLine& command_line); net 351 chrome/browser/io_thread.h scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; net 355 chrome/browser/io_thread.h scoped_refptr<net::URLRequestContextGetter> net 358 chrome/browser/io_thread.h net::SdchManager* sdch_manager_; net 26 chrome/browser/local_discovery/cloud_print_base_api_flow.cc net::URLRequestContextGetter* request_context, net 41 chrome/browser/local_discovery/cloud_print_base_api_flow.cc net::URLRequestContextGetter* request_context, net 57 chrome/browser/local_discovery/cloud_print_base_api_flow.cc net::URLRequestContextGetter* request_context, net 84 chrome/browser/local_discovery/cloud_print_base_api_flow.cc cookie_url = net::AppendQueryParameter(cookie_url, net 89 chrome/browser/local_discovery/cloud_print_base_api_flow.cc cookie_url = net::AppendQueryParameter(cookie_url, net 95 chrome/browser/local_discovery/cloud_print_base_api_flow.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); net 111 chrome/browser/local_discovery/cloud_print_base_api_flow.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 112 chrome/browser/local_discovery/cloud_print_base_api_flow.cc net::LOAD_DO_NOT_SEND_COOKIES); net 123 chrome/browser/local_discovery/cloud_print_base_api_flow.cc url_fetcher_.reset(net::URLFetcher::Create(url, net 124 chrome/browser/local_discovery/cloud_print_base_api_flow.cc net::URLFetcher::GET, net 134 chrome/browser/local_discovery/cloud_print_base_api_flow.cc const net::URLFetcher* source) { net 141 chrome/browser/local_discovery/cloud_print_base_api_flow.cc if (source->GetStatus().status() != net::URLRequestStatus::SUCCESS || net 147 chrome/browser/local_discovery/cloud_print_base_api_flow.cc if (source->GetResponseCode() != net::HTTP_OK) { net 20 chrome/browser/local_discovery/cloud_print_base_api_flow.h class CloudPrintBaseApiFlow : public net::URLFetcherDelegate, net 45 chrome/browser/local_discovery/cloud_print_base_api_flow.h CloudPrintBaseApiFlow(net::URLRequestContextGetter* request_context, net 52 chrome/browser/local_discovery/cloud_print_base_api_flow.h CloudPrintBaseApiFlow(net::URLRequestContextGetter* request_context, net 60 chrome/browser/local_discovery/cloud_print_base_api_flow.h CloudPrintBaseApiFlow(net::URLRequestContextGetter* request_context, net 72 chrome/browser/local_discovery/cloud_print_base_api_flow.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 89 chrome/browser/local_discovery/cloud_print_base_api_flow.h scoped_ptr<net::URLFetcher> url_fetcher_; net 91 chrome/browser/local_discovery/cloud_print_base_api_flow.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 18 chrome/browser/local_discovery/cloud_print_printer_list.cc net::URLRequestContextGetter* request_context, net 39 chrome/browser/local_discovery/cloud_print_printer_list.h CloudPrintPrinterList(net::URLRequestContextGetter* request_context, net 72 chrome/browser/local_discovery/cloud_print_printer_list.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 52 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc request_context_(new net::TestURLRequestContextGetter( net 64 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc fallback_fetcher_factory_.reset(new net::TestURLFetcherFactory()); net 65 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc net::URLFetcherImpl::set_factory(NULL); net 66 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc fetcher_factory_.reset(new net::FakeURLFetcherFactory( net 72 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc net::URLFetcherImpl::set_factory(fallback_fetcher_factory_.get()); net 79 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 82 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc scoped_ptr<net::TestURLFetcherFactory> fallback_fetcher_factory_; net 83 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc scoped_ptr<net::FakeURLFetcherFactory> fetcher_factory_; net 93 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc net::HTTP_OK, net 94 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc net::URLRequestStatus::SUCCESS); net 44 chrome/browser/local_discovery/device_description.h net::HostPortPair address; net 45 chrome/browser/local_discovery/device_description.h net::IPAddressNumber ip_address; net 13 chrome/browser/local_discovery/privet_confirm_api_flow.cc net::URLRequestContextGetter* request_context, net 27 chrome/browser/local_discovery/privet_confirm_api_flow.cc net::URLRequestContextGetter* request_context, net 23 chrome/browser/local_discovery/privet_confirm_api_flow.h PrivetConfirmApiCallFlow(net::URLRequestContextGetter* request_context, net 30 chrome/browser/local_discovery/privet_confirm_api_flow.h PrivetConfirmApiCallFlow(net::URLRequestContextGetter* request_context, net 54 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc request_context_(new net::TestURLRequestContextGetter( net 68 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 69 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 87 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 91 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::HttpRequestHeaders headers; net 101 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 102 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::OK)); net 119 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 124 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::HttpRequestHeaders headers; net 131 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 132 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::OK)); net 171 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 176 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 177 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::OK)); net 199 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 204 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc fetcher->set_status(net::URLRequestStatus( net 205 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::URLRequestStatus::SUCCESS, net 206 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc net::OK)); net 138 chrome/browser/local_discovery/privet_device_lister_unittest.cc net::AddressFamily address_family, net 189 chrome/browser/local_discovery/privet_device_lister_unittest.cc service_description_.address = net::HostPortPair("myprinter.local", 6006); net 19 chrome/browser/local_discovery/privet_http_asynchronous_factory.cc net::URLRequestContextGetter* request_context) { net 13 chrome/browser/local_discovery/privet_http_asynchronous_factory.h namespace net { net 38 chrome/browser/local_discovery/privet_http_asynchronous_factory.h net::URLRequestContextGetter* request_context); net 42 chrome/browser/local_discovery/privet_http_asynchronous_factory.h const net::HostPortPair& address, net 17 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc std::string IPAddressToHostString(const net::IPAddressNumber& address) { net 18 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc std::string address_str = net::IPAddressToString(address); net 21 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc if (address.size() == net::kIPv6AddressSize) { net 32 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::URLRequestContextGetter* request_context) net 41 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc const net::HostPortPair& address, net 53 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc const net::HostPortPair& address, net 56 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::URLRequestContextGetter* request_context) net 61 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::AddressFamily address_family = net::ADDRESS_FAMILY_UNSPECIFIED; net 64 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc address_family = net::ADDRESS_FAMILY_IPV6; net 86 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc const net::IPAddressNumber& address_ipv4, net 87 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc const net::IPAddressNumber& address_ipv6) { net 93 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::IPAddressNumber address = address_ipv4; net 99 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::HostPortPair new_address = net 100 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::HostPortPair(IPAddressToHostString(address), hostport_.port()); net 18 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h net::URLRequestContextGetter* request_context); net 23 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h const net::HostPortPair& address, net 30 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h const net::HostPortPair& address, net 33 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h net::URLRequestContextGetter* request_context); net 41 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h const net::IPAddressNumber& address_ipv4, net 42 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h const net::IPAddressNumber& address_ipv6); net 46 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h net::HostPortPair hostport_; net 48 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 52 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 12 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc net::URLRequestContextGetter* request_context) net 20 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc const net::HostPortPair& address, net 27 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc net::URLRequestContextGetter* request_context, net 29 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc const net::HostPortPair& host_port, net 16 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h net::URLRequestContextGetter* request_context); net 21 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h const net::HostPortPair& address, net 27 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h ResolutionMac(net::URLRequestContextGetter* request_context, net 29 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h const net::HostPortPair& host_port, net 37 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h net::URLRequestContextGetter* request_context_; net 39 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h net::HostPortPair host_port_; net 43 chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h net::URLRequestContextGetter* request_context_; net 69 chrome/browser/local_discovery/privet_http_impl.cc url = net::AppendQueryParameter(url, kPrivetRegisterActionArgName, action); net 70 chrome/browser/local_discovery/privet_http_impl.cc return net::AppendQueryParameter(url, kPrivetRegisterUserArgName, user); net 97 chrome/browser/local_discovery/privet_http_impl.cc CreatePrivetURL(kPrivetInfoPath), net::URLFetcher::GET, this); net 223 chrome/browser/local_discovery/privet_http_impl.cc CreatePrivetRegisterURL(action, user_), net::URLFetcher::POST, this); net 319 chrome/browser/local_discovery/privet_http_impl.cc net::URLFetcher::POST, this); net 358 chrome/browser/local_discovery/privet_http_impl.cc CreatePrivetParamURL(path_, query_params_), net::URLFetcher::GET, this); net 401 chrome/browser/local_discovery/privet_http_impl.cc CreatePrivetParamURL(path_, query_params_), net::URLFetcher::GET, this); net 550 chrome/browser/local_discovery/privet_http_impl.cc CreatePrivetURL(kPrivetCreatejobPath), net::URLFetcher::POST, this); net 563 chrome/browser/local_discovery/privet_http_impl.cc url = net::AppendQueryParameter(url, net 568 chrome/browser/local_discovery/privet_http_impl.cc url = net::AppendQueryParameter(url, net 580 chrome/browser/local_discovery/privet_http_impl.cc url = net::AppendQueryParameter( net 585 chrome/browser/local_discovery/privet_http_impl.cc url = net::AppendQueryParameter(url, net 591 chrome/browser/local_discovery/privet_http_impl.cc url = net::AppendQueryParameter(url, net 597 chrome/browser/local_discovery/privet_http_impl.cc url, net::URLFetcher::POST, this); net 825 chrome/browser/local_discovery/privet_http_impl.cc const net::HostPortPair& host_port, net 826 chrome/browser/local_discovery/privet_http_impl.cc net::URLRequestContextGetter* request_context) net 888 chrome/browser/local_discovery/privet_http_impl.cc const GURL& url, net::URLFetcher::RequestType request_type, net 292 chrome/browser/local_discovery/privet_http_impl.h const net::HostPortPair& host_port, net 293 chrome/browser/local_discovery/privet_http_impl.h net::URLRequestContextGetter* request_context); net 321 chrome/browser/local_discovery/privet_http_impl.h net::URLFetcher::RequestType request_type, net 333 chrome/browser/local_discovery/privet_http_impl.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 334 chrome/browser/local_discovery/privet_http_impl.h net::HostPortPair host_port_; net 236 chrome/browser/local_discovery/privet_http_unittest.cc : public net::TestURLFetcher::DelegateForTests { net 254 chrome/browser/local_discovery/privet_http_unittest.cc request_context_= new net::TestURLRequestContextGetter( net 258 chrome/browser/local_discovery/privet_http_unittest.cc net::HostPortPair("10.0.0.8", 6006), net 268 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 276 chrome/browser/local_discovery/privet_http_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 277 chrome/browser/local_discovery/privet_http_unittest.cc net::OK)); net 286 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 301 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 320 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 349 chrome/browser/local_discovery/privet_http_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 350 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 510 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 516 chrome/browser/local_discovery/privet_http_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 517 chrome/browser/local_discovery/privet_http_unittest.cc net::OK)); net 527 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 529 chrome/browser/local_discovery/privet_http_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 530 chrome/browser/local_discovery/privet_http_unittest.cc net::OK)); net 555 chrome/browser/local_discovery/privet_http_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 562 chrome/browser/local_discovery/privet_http_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 563 chrome/browser/local_discovery/privet_http_unittest.cc net::OK)); net 33 chrome/browser/local_discovery/privet_local_printer_lister.cc net::URLRequestContextGetter* request_context, net 36 chrome/browser/local_discovery/privet_local_printer_lister.h net::URLRequestContextGetter* request_context, net 109 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc url_request_context_ = new net::TestURLRequestContextGetter( net 122 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 130 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 131 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc net::OK)); net 150 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_; net 152 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 317 chrome/browser/local_discovery/privet_notifications.cc net::ADDRESS_FAMILY_IPV4, net 46 chrome/browser/local_discovery/privet_notifications_unittest.cc net::URLRequestContextGetter* request_context, net 58 chrome/browser/local_discovery/privet_notifications_unittest.cc net::HostPortPair("1.2.3.4", 8080), net 68 chrome/browser/local_discovery/privet_notifications_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_; net 72 chrome/browser/local_discovery/privet_notifications_unittest.cc explicit MockPrivetHttpFactory(net::URLRequestContextGetter* request_context) net 78 chrome/browser/local_discovery/privet_notifications_unittest.cc const net::HostPortPair& address, net 85 chrome/browser/local_discovery/privet_notifications_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_; net 91 chrome/browser/local_discovery/privet_notifications_unittest.cc new net::TestURLRequestContextGetter(base::MessageLoopProxy::current())) { net 105 chrome/browser/local_discovery/privet_notifications_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 113 chrome/browser/local_discovery/privet_notifications_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 114 chrome/browser/local_discovery/privet_notifications_unittest.cc net::OK)); net 124 chrome/browser/local_discovery/privet_notifications_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 125 chrome/browser/local_discovery/privet_notifications_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 204 chrome/browser/local_discovery/privet_notifications_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 206 chrome/browser/local_discovery/privet_notifications_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 207 chrome/browser/local_discovery/privet_notifications_unittest.cc net::OK)); net 24 chrome/browser/local_discovery/privet_traffic_detector.cc const base::Callback<void(const net::NetworkInterfaceList&)> callback) { net 26 chrome/browser/local_discovery/privet_traffic_detector.cc net::NetworkInterfaceList networks; net 27 chrome/browser/local_discovery/privet_traffic_detector.cc if (!GetNetworkList(&networks, net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) net 30 chrome/browser/local_discovery/privet_traffic_detector.cc net::NetworkInterfaceList ip4_networks; net 32 chrome/browser/local_discovery/privet_traffic_detector.cc net::AddressFamily address_family = net 33 chrome/browser/local_discovery/privet_traffic_detector.cc net::GetAddressFamily(networks[i].address); net 34 chrome/browser/local_discovery/privet_traffic_detector.cc if (address_family == net::ADDRESS_FAMILY_IPV4 && net 40 chrome/browser/local_discovery/privet_traffic_detector.cc net::IPAddressNumber localhost_prefix(4, 0); net 43 chrome/browser/local_discovery/privet_traffic_detector.cc net::NetworkInterface("lo", "lo", 0, localhost_prefix, 8)); net 53 chrome/browser/local_discovery/privet_traffic_detector.cc net::AddressFamily address_family, net 59 chrome/browser/local_discovery/privet_traffic_detector.cc new net::IOBufferWithSize(net::dns_protocol::kMaxMulticastSize)), net 74 chrome/browser/local_discovery/privet_traffic_detector.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 79 chrome/browser/local_discovery/privet_traffic_detector.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 84 chrome/browser/local_discovery/privet_traffic_detector.cc net::NetworkChangeNotifier::ConnectionType type) { net 87 chrome/browser/local_discovery/privet_traffic_detector.cc if (type != net::NetworkChangeNotifier::CONNECTION_NONE) net 104 chrome/browser/local_discovery/privet_traffic_detector.cc void PrivetTrafficDetector::Restart(const net::NetworkInterfaceList& networks) { net 107 chrome/browser/local_discovery/privet_traffic_detector.cc if (Bind() < net::OK || DoLoop(0) < net::OK) { net 123 chrome/browser/local_discovery/privet_traffic_detector.cc socket_.reset(new net::UDPServerSocket(NULL, net::NetLog::Source())); net 124 chrome/browser/local_discovery/privet_traffic_detector.cc net::IPEndPoint multicast_addr = net::GetMDnsIPEndPoint(address_family_); net 125 chrome/browser/local_discovery/privet_traffic_detector.cc net::IPAddressNumber address_any(multicast_addr.address().size()); net 126 chrome/browser/local_discovery/privet_traffic_detector.cc net::IPEndPoint bind_endpoint(address_any, multicast_addr.port()); net 129 chrome/browser/local_discovery/privet_traffic_detector.cc if (rv < net::OK) net 137 chrome/browser/local_discovery/privet_traffic_detector.cc if (net::IPNumberMatchesPrefix(recv_addr_.address(), networks_[i].address, net 146 chrome/browser/local_discovery/privet_traffic_detector.cc if (rv <= static_cast<int>(sizeof(net::dns_protocol::Header)) || net 153 chrome/browser/local_discovery/privet_traffic_detector.cc const net::dns_protocol::Header* header = net 154 chrome/browser/local_discovery/privet_traffic_detector.cc reinterpret_cast<const net::dns_protocol::Header*>(buffer_begin); net 156 chrome/browser/local_discovery/privet_traffic_detector.cc if (!(header->flags & base::HostToNet16(net::dns_protocol::kFlagResponse))) net 175 chrome/browser/local_discovery/privet_traffic_detector.cc return net::OK; net 186 chrome/browser/local_discovery/privet_traffic_detector.cc if (rv != net::ERR_IO_PENDING) net 189 chrome/browser/local_discovery/privet_traffic_detector.cc return net::OK; net 15 chrome/browser/local_discovery/privet_traffic_detector.h namespace net { net 29 chrome/browser/local_discovery/privet_traffic_detector.h private net::NetworkChangeNotifier::NetworkChangeObserver { net 31 chrome/browser/local_discovery/privet_traffic_detector.h PrivetTrafficDetector(net::AddressFamily address_family, net 44 chrome/browser/local_discovery/privet_traffic_detector.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 48 chrome/browser/local_discovery/privet_traffic_detector.h void Restart(const net::NetworkInterfaceList& networks); net 56 chrome/browser/local_discovery/privet_traffic_detector.h net::NetworkInterfaceList networks_; net 57 chrome/browser/local_discovery/privet_traffic_detector.h net::AddressFamily address_family_; net 58 chrome/browser/local_discovery/privet_traffic_detector.h net::IPEndPoint recv_addr_; net 59 chrome/browser/local_discovery/privet_traffic_detector.h scoped_ptr<net::DatagramServerSocket> socket_; net 60 chrome/browser/local_discovery/privet_traffic_detector.h scoped_refptr<net::IOBufferWithSize> io_buffer_; net 67 chrome/browser/local_discovery/privet_url_fetcher.cc net::URLFetcher::RequestType request_type, net 68 chrome/browser/local_discovery/privet_url_fetcher.cc net::URLRequestContextGetter* request_context, net 141 chrome/browser/local_discovery/privet_url_fetcher.cc url_fetcher_.reset(net::URLFetcher::Create(url_, request_type_, this)); net 157 chrome/browser/local_discovery/privet_url_fetcher.cc if (request_type_ == net::URLFetcher::POST) { net 207 chrome/browser/local_discovery/privet_url_fetcher.cc void PrivetURLFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 208 chrome/browser/local_discovery/privet_url_fetcher.cc if (source->GetResponseCode() == net::HTTP_SERVICE_UNAVAILABLE) { net 228 chrome/browser/local_discovery/privet_url_fetcher.cc const net::URLFetcher* source) { net 234 chrome/browser/local_discovery/privet_url_fetcher.cc if (source->GetResponseCode() != net::HTTP_OK && net 235 chrome/browser/local_discovery/privet_url_fetcher.cc source->GetResponseCode() != net::HTTP_PARTIAL_CONTENT) { net 262 chrome/browser/local_discovery/privet_url_fetcher.cc const net::URLFetcher* source) { net 263 chrome/browser/local_discovery/privet_url_fetcher.cc if (source->GetResponseCode() != net::HTTP_OK) { net 29 chrome/browser/local_discovery/privet_url_fetcher.h class PrivetURLFetcher : public net::URLFetcherDelegate { net 66 chrome/browser/local_discovery/privet_url_fetcher.h net::URLFetcher::RequestType request_type, net 67 chrome/browser/local_discovery/privet_url_fetcher.h net::URLRequestContextGetter* request_context, net 97 chrome/browser/local_discovery/privet_url_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 98 chrome/browser/local_discovery/privet_url_fetcher.h void OnURLFetchCompleteParseData(const net::URLFetcher* source); net 99 chrome/browser/local_discovery/privet_url_fetcher.h bool OnURLFetchCompleteDoNotParseData(const net::URLFetcher* source); net 114 chrome/browser/local_discovery/privet_url_fetcher.h net::URLFetcher::RequestType request_type_; net 115 chrome/browser/local_discovery/privet_url_fetcher.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 130 chrome/browser/local_discovery/privet_url_fetcher.h scoped_ptr<net::URLFetcher> url_fetcher_; net 89 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc request_context_= new net::TestURLRequestContextGetter( net 93 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::URLFetcher::POST, net 119 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 120 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 127 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 130 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 131 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 146 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 149 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 150 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 160 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 161 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 170 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 173 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 174 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 184 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 187 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 188 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 198 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 200 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::HttpRequestHeaders headers; net 215 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 217 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::HttpRequestHeaders headers; net 232 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 234 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::HttpRequestHeaders headers; net 244 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 247 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 248 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 258 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 261 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 262 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 273 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 275 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::HttpRequestHeaders headers; net 287 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 291 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net 292 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc net::OK)); net 46 chrome/browser/local_discovery/service_discovery_client_mac.h net::AddressFamily address_family, net 38 chrome/browser/local_discovery/service_discovery_client_mdns.cc net::AddressFamily address_family, net 49 chrome/browser/local_discovery/service_discovery_client_mdns.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 55 chrome/browser/local_discovery/service_discovery_client_mdns.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 60 chrome/browser/local_discovery/service_discovery_client_mdns.cc net::NetworkChangeNotifier::ConnectionType type) { net 21 chrome/browser/local_discovery/service_discovery_client_mdns.h public net::NetworkChangeNotifier::NetworkChangeObserver { net 34 chrome/browser/local_discovery/service_discovery_client_mdns.h net::AddressFamily address_family, net 39 chrome/browser/local_discovery/service_discovery_client_mdns.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 27 chrome/browser/local_discovery/service_discovery_host_client.cc net::InterfaceIndexFamilyList interfaces(net::GetMDnsInterfacesToBind()); net 30 chrome/browser/local_discovery/service_discovery_host_client.cc DCHECK(interfaces[i].second == net::ADDRESS_FAMILY_IPV4 || net 31 chrome/browser/local_discovery/service_discovery_host_client.cc interfaces[i].second == net::ADDRESS_FAMILY_IPV6); net 33 chrome/browser/local_discovery/service_discovery_host_client.cc net::CreatePlatformSocket( net 34 chrome/browser/local_discovery/service_discovery_host_client.cc net::ConvertAddressFamily(interfaces[i].second), SOCK_DGRAM, net 37 chrome/browser/local_discovery/service_discovery_host_client.cc LOG_IF(ERROR, socket_descriptor.fd == net::kInvalidSocket) net 39 chrome/browser/local_discovery/service_discovery_host_client.cc if (socket_descriptor.fd != net::kInvalidSocket) { net 146 chrome/browser/local_discovery/service_discovery_host_client.cc net::AddressFamily address_family, net 173 chrome/browser/local_discovery/service_discovery_host_client.cc net::AddressFamily address_family_; net 208 chrome/browser/local_discovery/service_discovery_host_client.cc net::AddressFamily address_family, net 415 chrome/browser/local_discovery/service_discovery_host_client.cc const net::IPAddressNumber& ip_address_ipv4, net 416 chrome/browser/local_discovery/service_discovery_host_client.cc const net::IPAddressNumber& ip_address_ipv6) { net 447 chrome/browser/local_discovery/service_discovery_host_client.cc const net::IPAddressNumber& ip_address_ipv4, net 448 chrome/browser/local_discovery/service_discovery_host_client.cc const net::IPAddressNumber& ip_address_ipv6) { net 55 chrome/browser/local_discovery/service_discovery_host_client.h net::AddressFamily address_family, net 110 chrome/browser/local_discovery/service_discovery_host_client.h const net::IPAddressNumber& address_ipv4, net 111 chrome/browser/local_discovery/service_discovery_host_client.h const net::IPAddressNumber& address_ipv6); net 125 chrome/browser/local_discovery/service_discovery_host_client.h const net::IPAddressNumber& address_ipv4, net 126 chrome/browser/local_discovery/service_discovery_host_client.h const net::IPAddressNumber& address_ipv6); net 96 chrome/browser/local_discovery/storage/privet_filesystem_operations.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 19 chrome/browser/local_discovery/test_service_discovery_client.cc mdns_client_.reset(new net::MDnsClientImpl()); net 47 chrome/browser/local_discovery/test_service_discovery_client.cc net::AddressFamily address_family, net 30 chrome/browser/local_discovery/test_service_discovery_client.h net::AddressFamily address_family, net 41 chrome/browser/local_discovery/test_service_discovery_client.h net::MockMDnsSocketFactory mock_socket_factory_; net 42 chrome/browser/local_discovery/test_service_discovery_client.h scoped_ptr<net::MDnsClient> mdns_client_; net 19 chrome/browser/managed_mode/managed_mode_resource_throttle.cc const net::URLRequest* request, net 15 chrome/browser/managed_mode/managed_mode_resource_throttle.h namespace net { net 21 chrome/browser/managed_mode/managed_mode_resource_throttle.h ManagedModeResourceThrottle(const net::URLRequest* request, net 39 chrome/browser/managed_mode/managed_mode_resource_throttle.h const net::URLRequest* request_; net 24 chrome/browser/managed_mode/managed_mode_url_filter.cc using net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES; net 25 chrome/browser/managed_mode/managed_mode_url_filter.cc using net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES; net 26 chrome/browser/managed_mode/managed_mode_url_filter.cc using net::registry_controlled_domains::GetRegistryLength; net 28 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc using net::URLFetcher; net 29 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc using net::URLFetcherDelegate; net 30 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc using net::URLRequestContextGetter; net 152 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 153 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 160 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc net::EscapeUrlEncodedData( net 162 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc net::EscapeUrlEncodedData(kChromeSyncManagedOAuth2Scope, true).c_str(), net 163 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc net::EscapeUrlEncodedData(managed_user_id_, true).c_str(), net 164 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc net::EscapeUrlEncodedData(device_name_, true).c_str()); net 180 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc const net::URLRequestStatus& status = source->GetStatus(); net 187 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc if (response_code == net::HTTP_UNAUTHORIZED && !access_token_expired_) { net 196 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc if (response_code != net::HTTP_OK) { net 210 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc DispatchNetworkError(net::ERR_INVALID_RESPONSE); net 215 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc DispatchNetworkError(net::ERR_INVALID_RESPONSE); net 18 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.h namespace net { net 41 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.h net::URLRequestContextGetter* context); net 55 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc return net::GetValueForKeyInQuery(url, key, value); net 58 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc void SendResponse(net::TestURLFetcher* url_fetcher, net 61 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 62 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc url_fetcher->set_response_code(net::HTTP_OK); net 67 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc void SetNetworkError(net::TestURLFetcher* url_fetcher, int error) { net 69 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::FAILED, error)); net 73 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc void SetHttpError(net::TestURLFetcher* url_fetcher, int error) { net 74 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 96 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcher* GetIssueTokenRequest(); net 97 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcher* GetRefreshTokenRequest(); net 116 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 140 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcher* net 142 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID(1); net 149 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::HttpRequestHeaders headers; net 163 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcher* net 165 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID( net 238 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetHttpError(GetIssueTokenRequest(), net::HTTP_UNAUTHORIZED); net 252 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetHttpError(GetIssueTokenRequest(), net::HTTP_UNAUTHORIZED); net 254 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetHttpError(GetIssueTokenRequest(), net::HTTP_UNAUTHORIZED); net 257 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(net::ERR_FAILED, error().network_error()); net 267 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(net::ERR_INVALID_RESPONSE, error().network_error()); net 283 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetNetworkError(GetIssueTokenRequest(), net::ERR_SSL_PROTOCOL_ERROR); net 286 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(net::ERR_SSL_PROTOCOL_ERROR, error().network_error()); net 294 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetNetworkError(GetRefreshTokenRequest(), net::ERR_CONNECTION_REFUSED); net 296 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetNetworkError(GetRefreshTokenRequest(), net::ERR_CONNECTION_REFUSED); net 299 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(net::ERR_FAILED, error().network_error()); net 308 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetNetworkError(GetRefreshTokenRequest(), net::ERR_CONNECTION_REFUSED); net 321 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc SetHttpError(GetRefreshTokenRequest(), net::HTTP_BAD_REQUEST); net 324 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(net::ERR_FAILED, error().network_error()); net 464 chrome/browser/managed_mode/managed_user_service.cc std::string output(net::EscapeQueryParamValue(normalized_url.spec(), true)); net 77 chrome/browser/media/cast_transport_host_filter.cc const net::IPEndPoint& remote_end_point) { net 70 chrome/browser/media/cast_transport_host_filter.h const net::IPEndPoint& remote_end_point); net 25 chrome/browser/media/cast_transport_host_filter_unittest.cc net::IPAddressNumber receiver_address(4, 0); net 28 chrome/browser/media/cast_transport_host_filter_unittest.cc receive_endpoint_ = net::IPEndPoint(receiver_address, 7); net 40 chrome/browser/media/cast_transport_host_filter_unittest.cc net::IPAddressNumber receiver_address_; net 41 chrome/browser/media/cast_transport_host_filter_unittest.cc net::IPEndPoint receive_endpoint_; net 80 chrome/browser/media/chrome_midi_permission_context.cc net::FormatUrl(requesting_frame_.GetOrigin(), display_languages_)); net 158 chrome/browser/media/media_capture_devices_dispatcher.cc title = url.SchemeIsSecure() ? net::GetHostAndOptionalPort(url) net 101 chrome/browser/media/media_stream_capture_indicator.cc if (tab_title == net::FormatUrl(web_contents->GetURL(), languages)) net 75 chrome/browser/media/midi_permission_infobar_delegate.cc net::FormatUrl(requesting_frame_.GetOrigin(), display_languages_)); net 94 chrome/browser/media/protected_media_identifier_infobar_delegate.cc net::FormatUrl(requesting_frame_.GetOrigin(), display_languages_)); net 59 chrome/browser/media/webrtc_log_uploader.cc const net::URLFetcher* source) { net 91 chrome/browser/media/webrtc_log_uploader.cc const net::URLFetcher* source, int64 current, int64 total) { net 202 chrome/browser/media/webrtc_log_uploader.cc net::AddMultipartValueForUpload("prod", product, kMultipartBoundary, net 205 chrome/browser/media/webrtc_log_uploader.cc net::AddMultipartValueForUpload("ver", version_info.Version() + "-webrtc", net 207 chrome/browser/media/webrtc_log_uploader.cc net::AddMultipartValueForUpload("guid", "0", kMultipartBoundary, net 209 chrome/browser/media/webrtc_log_uploader.cc net::AddMultipartValueForUpload("type", "webrtc_log", kMultipartBoundary, net 215 chrome/browser/media/webrtc_log_uploader.cc net::AddMultipartValueForUpload(it->first, it->second, kMultipartBoundary, net 220 chrome/browser/media/webrtc_log_uploader.cc net::AddMultipartFinalDelimiterForUpload(kMultipartBoundary, post_data); net 302 chrome/browser/media/webrtc_log_uploader.cc net::URLFetcher* url_fetcher = net 303 chrome/browser/media/webrtc_log_uploader.cc net::URLFetcher::Create(GURL(kUploadURL), net::URLFetcher::POST, this); net 24 chrome/browser/media/webrtc_log_uploader.h namespace net { net 46 chrome/browser/media/webrtc_log_uploader.h class WebRtcLogUploader : public net::URLFetcherDelegate { net 52 chrome/browser/media/webrtc_log_uploader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 53 chrome/browser/media/webrtc_log_uploader.h virtual void OnURLFetchUploadProgress(const net::URLFetcher* source, net 167 chrome/browser/media/webrtc_log_uploader.h typedef std::map<const net::URLFetcher*, WebRtcLogUploadDoneData> net 68 chrome/browser/media/webrtc_logging_handler_host.cc std::string IPAddressToSensitiveString(const net::IPAddressNumber& address) { net 71 chrome/browser/media/webrtc_logging_handler_host.cc switch (net::GetAddressFamily(address)) { net 72 chrome/browser/media/webrtc_logging_handler_host.cc case net::ADDRESS_FAMILY_IPV4: { net 73 chrome/browser/media/webrtc_logging_handler_host.cc sensitive_address = net::IPAddressToString(address); net 81 chrome/browser/media/webrtc_logging_handler_host.cc case net::ADDRESS_FAMILY_IPV6: { net 84 chrome/browser/media/webrtc_logging_handler_host.cc net::IPAddressNumber sensitive_address_number = address; net 85 chrome/browser/media/webrtc_logging_handler_host.cc sensitive_address_number.resize(net::kIPv6AddressSize - 10); net 86 chrome/browser/media/webrtc_logging_handler_host.cc sensitive_address_number.resize(net::kIPv6AddressSize, 0); net 87 chrome/browser/media/webrtc_logging_handler_host.cc sensitive_address = net::IPAddressToString(sensitive_address_number); net 90 chrome/browser/media/webrtc_logging_handler_host.cc case net::ADDRESS_FAMILY_UNSPECIFIED: { net 96 chrome/browser/media/webrtc_logging_handler_host.cc return net::IPAddressToString(address); net 326 chrome/browser/media/webrtc_logging_handler_host.cc net::NetworkInterfaceList network_list; net 327 chrome/browser/media/webrtc_logging_handler_host.cc net::GetNetworkList(&network_list, net 328 chrome/browser/media/webrtc_logging_handler_host.cc net::EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES); net 335 chrome/browser/media/webrtc_logging_handler_host.cc const net::NetworkInterfaceList& network_list) { net 397 chrome/browser/media/webrtc_logging_handler_host.cc for (net::NetworkInterfaceList::const_iterator it = network_list.begin(); net 14 chrome/browser/media/webrtc_logging_handler_host.h namespace net { net 117 chrome/browser/media/webrtc_logging_handler_host.h void LogInitialInfoOnIOThread(const net::NetworkInterfaceList& network_list); net 104 chrome/browser/media/wv_test_license_server_config.cc net::IPAddressNumber address; net 105 chrome/browser/media/wv_test_license_server_config.cc net::ParseIPLiteralToNumber("127.0.0.1", &address); net 110 chrome/browser/media/wv_test_license_server_config.cc net::NetLog::Source source; net 111 chrome/browser/media/wv_test_license_server_config.cc net::TCPServerSocket sock(NULL, source); net 112 chrome/browser/media/wv_test_license_server_config.cc if (sock.Listen(net::IPEndPoint(address, try_port), 1) == net::OK) { net 25 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h namespace net { net 181 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const net::URLRequest* url_request, net 25 chrome/browser/media_galleries/fileapi/media_file_system_backend.h namespace net { net 51 chrome/browser/media_galleries/fileapi/media_file_system_backend.h const net::URLRequest* url_request, net 81 chrome/browser/media_galleries/fileapi/media_path_filter.cc return !net::GetMimeTypeFromExtension(extension, &mime_type) || net 82 chrome/browser/media_galleries/fileapi/media_path_filter.cc !net::IsSupportedMimeType(mime_type); net 88 chrome/browser/media_galleries/fileapi/media_path_filter.cc net::GetExtensionsForMimeType(mime_type, &extensions); net 11 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.cc net::IOBuffer* buf, int64 offset, int buf_len, net 17 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h namespace net { net 53 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h net::IOBuffer* buf, int64 offset, int buf_len, net 59 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h scoped_refptr<net::IOBuffer> buf; net 97 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h net::IOBuffer* buf, int64 offset, int buf_len, net 33 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::CompletionCallback& callback, net 35 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc callback.Run(net::FileErrorToNetError(file_error)); net 39 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::Int64CompletionCallback& callback, net 41 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc callback.Run(net::FileErrorToNetError(file_error)); net 45 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const fileapi::FileSystemURL& url, net::IOBuffer* buf, int64 offset, net 48 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::CompletionCallback& error_callback) { net 51 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc error_callback.Run(net::ERR_FAILED); net 82 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc int MTPFileStreamReader::Read(net::IOBuffer* buf, int buf_len, net 83 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::CompletionCallback& callback) { net 88 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc return net::ERR_FAILED; net 91 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc scoped_refptr<net::IOBuffer> header_buf; net 94 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc if (current_offset_ == 0 && buf_len >= net::kMaxBytesToSniff) { net 101 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc header_buf = new net::IOBuffer(net::kMaxBytesToSniff); net 102 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc header_buf_len = net::kMaxBytesToSniff; net 110 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc return net::ERR_IO_PENDING; net 118 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc return net::ERR_IO_PENDING; net 122 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::Int64CompletionCallback& callback) { net 127 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc return net::ERR_FAILED; net 136 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc return net::ERR_IO_PENDING; net 140 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc net::IOBuffer* header_buf, net 141 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc net::IOBuffer* buf, int buf_len, net 142 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::CompletionCallback& callback, net 169 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc void MTPFileStreamReader::FinishRead(const net::CompletionCallback& callback, net 175 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc callback.Run(net::ERR_UPLOAD_FILE_CHANGED); net 185 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const net::Int64CompletionCallback& callback, net 190 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc callback.Run(net::ERR_UPLOAD_FILE_CHANGED); net 35 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, net 36 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const net::CompletionCallback& callback) OVERRIDE; net 38 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const net::Int64CompletionCallback& callback) OVERRIDE; net 42 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h net::IOBuffer* header_buf, net 43 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h net::IOBuffer* buf, int buf_len, net 44 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const net::CompletionCallback& callback, net 48 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h void FinishRead(const net::CompletionCallback& callback, net 51 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h void FinishGetLength(const net::Int64CompletionCallback& callback, net 37 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (!net::SniffMimeTypeFromLocalData(buf, length, &mime_type)) net 66 chrome/browser/media_galleries/fileapi/native_media_file_util.cc char buffer[net::kMaxBytesToSniff]; net 69 chrome/browser/media_galleries/fileapi/native_media_file_util.cc int64 len = file.Read(0, buffer, net::kMaxBytesToSniff); net 78 chrome/browser/media_galleries/fileapi/native_media_file_util.cc net::IOBuffer* buf, size_t length) { net 12 chrome/browser/media_galleries/fileapi/native_media_file_util.h namespace net { net 30 chrome/browser/media_galleries/fileapi/native_media_file_util.h static base::File::Error BufferIsMediaHeader(net::IOBuffer* buf, net 33 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) { net 39 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc scoped_refptr<net::DrainableIOBuffer> sink = net 40 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc new net::DrainableIOBuffer(buf, buf_len); net 44 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc if (result == net::ERR_IO_PENDING) { net 55 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc const net::Int64CompletionCallback& callback) { net 60 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc net::DrainableIOBuffer* sink) { net 66 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc return net::ERR_IO_PENDING; net 73 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc net::DrainableIOBuffer* source_buffer = buffers_.front().get(); net 104 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kBufferSize)); net 111 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc if (result != net::ERR_IO_PENDING) net 115 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc void ReadaheadFileStreamReader::OnFinishReadFromSource(net::IOBuffer* buf, net 117 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc DCHECK(result != net::ERR_IO_PENDING); net 123 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc scoped_refptr<net::DrainableIOBuffer> drainable_buffer( net 124 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc new net::DrainableIOBuffer(buf, result)); net 139 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc scoped_refptr<net::DrainableIOBuffer> sink = pending_sink_buffer_; net 141 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc net::CompletionCallback completion_callback = pending_read_callback_; net 24 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, net 25 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h const net::CompletionCallback& callback) OVERRIDE; net 27 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h const net::Int64CompletionCallback& callback) OVERRIDE; net 32 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h int FinishReadFromCacheOrStoredError(net::DrainableIOBuffer* sink); net 38 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h void OnFinishReadFromSource(net::IOBuffer* buffer, int result); net 50 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h std::queue<scoped_refptr<net::DrainableIOBuffer> > buffers_; net 54 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h scoped_refptr<net::DrainableIOBuffer> pending_sink_buffer_; net 55 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h net::CompletionCallback pending_read_callback_; net 26 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc net::GetExtensionsForMimeType("audio/*", &extensions); net 27 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc net::GetExtensionsForMimeType("video/*", &extensions); net 30 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc if (net::GetWellKnownMimeTypeFromExtension(extensions[i], &mime_type) && net 31 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc net::IsSupportedMimeType(mime_type)) { net 291 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc net::IOBuffer* buf, int64 offset, int buf_len, net 76 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h net::IOBuffer* buf, int64 offset, int buf_len, net 55 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h net::IOBuffer* buf, int64 offset, int buf_len, net 451 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc net::IOBuffer* buf, int64 offset, int buf_len, net 109 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h net::IOBuffer* buf, int64 offset, int buf_len, net 17 chrome/browser/metrics/metrics_network_observer.cc wifi_phy_layer_protocol_(net::WIFI_PHY_LAYER_PROTOCOL_UNKNOWN) { net 18 chrome/browser/metrics/metrics_network_observer.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 19 chrome/browser/metrics/metrics_network_observer.cc connection_type_ = net::NetworkChangeNotifier::GetConnectionType(); net 24 chrome/browser/metrics/metrics_network_observer.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 29 chrome/browser/metrics/metrics_network_observer.cc connection_type_ = net::NetworkChangeNotifier::GetConnectionType(); net 34 chrome/browser/metrics/metrics_network_observer.cc net::NetworkChangeNotifier::ConnectionType type) { net 35 chrome/browser/metrics/metrics_network_observer.cc if (type == net::NetworkChangeNotifier::CONNECTION_NONE) net 38 chrome/browser/metrics/metrics_network_observer.cc connection_type_ != net::NetworkChangeNotifier::CONNECTION_NONE) { net 49 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_NONE: net 50 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_UNKNOWN: net 52 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_ETHERNET: net 54 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_WIFI: net 56 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_2G: net 58 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_3G: net 60 chrome/browser/metrics/metrics_network_observer.cc case net::NetworkChangeNotifier::CONNECTION_4G: net 70 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_NONE: net 72 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_ANCIENT: net 74 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_A: net 76 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_B: net 78 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_G: net 80 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_N: net 82 chrome/browser/metrics/metrics_network_observer.cc case net::WIFI_PHY_LAYER_PROTOCOL_UNKNOWN: net 93 chrome/browser/metrics/metrics_network_observer.cc base::Bind(&net::GetWifiPHYLayerProtocol), net 99 chrome/browser/metrics/metrics_network_observer.cc net::WifiPHYLayerProtocol mode) { net 100 chrome/browser/metrics/metrics_network_observer.cc if (wifi_phy_layer_protocol_ != net::WIFI_PHY_LAYER_PROTOCOL_UNKNOWN && net 20 chrome/browser/metrics/metrics_network_observer.h : public net::NetworkChangeNotifier::ConnectionTypeObserver { net 30 chrome/browser/metrics/metrics_network_observer.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 50 chrome/browser/metrics/metrics_network_observer.h void OnWifiPHYLayerProtocolResult(net::WifiPHYLayerProtocol mode); net 57 chrome/browser/metrics/metrics_network_observer.h net::NetworkChangeNotifier::ConnectionType connection_type_; net 63 chrome/browser/metrics/metrics_network_observer.h net::WifiPHYLayerProtocol wifi_phy_layer_protocol_; net 309 chrome/browser/metrics/metrics_service.cc case net::URLFetcher::RESPONSE_CODE_INVALID: net 1680 chrome/browser/metrics/metrics_service.cc current_fetch_.reset(net::URLFetcher::Create( net 1681 chrome/browser/metrics/metrics_service.cc GURL(kServerUrl), net::URLFetcher::POST, this)); net 1710 chrome/browser/metrics/metrics_service.cc current_fetch_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 1711 chrome/browser/metrics/metrics_service.cc net::LOAD_DO_NOT_SEND_COOKIES); net 1715 chrome/browser/metrics/metrics_service.cc void MetricsService::OnURLFetchComplete(const net::URLFetcher* source) { net 1722 chrome/browser/metrics/metrics_service.cc scoped_ptr<net::URLFetcher> s(current_fetch_.Pass()); net 75 chrome/browser/metrics/metrics_service.h namespace net { net 115 chrome/browser/metrics/metrics_service.h public net::URLFetcherDelegate, net 475 chrome/browser/metrics/metrics_service.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 569 chrome/browser/metrics/metrics_service.h scoped_ptr<net::URLFetcher> current_fetch_; net 48 chrome/browser/metrics/metrics_service_browsertest.cc net::FilePathToFileURL(page1_path), net 55 chrome/browser/metrics/metrics_service_browsertest.cc net::FilePathToFileURL(page2_path), net 31 chrome/browser/metrics/variations/variations_http_header_provider.cc net::HttpRequestHeaders* headers) { net 220 chrome/browser/metrics/variations/variations_http_header_provider.cc const size_t tld_length = net::registry_controlled_domains::GetRegistryLength( net 222 chrome/browser/metrics/variations/variations_http_header_provider.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 223 chrome/browser/metrics/variations/variations_http_header_provider.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 21 chrome/browser/metrics/variations/variations_http_header_provider.h namespace net { net 47 chrome/browser/metrics/variations/variations_http_header_provider.h net::HttpRequestHeaders* headers); net 97 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc net::HttpRequestHeaders headers; net 119 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc net::HttpRequestHeaders headers; net 287 chrome/browser/metrics/variations/variations_service.cc server_url = net::AppendOrReplaceQueryParameter(server_url, net 292 chrome/browser/metrics/variations/variations_service.cc server_url = net::AppendOrReplaceQueryParameter(server_url, "osname", net 351 chrome/browser/metrics/variations/variations_service.cc pending_seed_request_.reset(net::URLFetcher::Create( net 352 chrome/browser/metrics/variations/variations_service.cc 0, variations_server_url_, net::URLFetcher::GET, this)); net 353 chrome/browser/metrics/variations/variations_service.cc pending_seed_request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 354 chrome/browser/metrics/variations/variations_service.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 396 chrome/browser/metrics/variations/variations_service.cc void VariationsService::OnURLFetchComplete(const net::URLFetcher* source) { net 403 chrome/browser/metrics/variations/variations_service.cc scoped_ptr<const net::URLFetcher> request(pending_seed_request_.release()); net 404 chrome/browser/metrics/variations/variations_service.cc const net::URLRequestStatus& request_status = request->GetStatus(); net 405 chrome/browser/metrics/variations/variations_service.cc if (request_status.status() != net::URLRequestStatus::SUCCESS) { net 410 chrome/browser/metrics/variations/variations_service.cc << net::ErrorToString(request_status.error()); net 428 chrome/browser/metrics/variations/variations_service.cc if (response_code == net::HTTP_OK || net 429 chrome/browser/metrics/variations/variations_service.cc response_code == net::HTTP_NOT_MODIFIED) { net 441 chrome/browser/metrics/variations/variations_service.cc if (response_code != net::HTTP_OK) { net 444 chrome/browser/metrics/variations/variations_service.cc if (response_code == net::HTTP_NOT_MODIFIED) { net 40 chrome/browser/metrics/variations/variations_service.h : public net::URLFetcherDelegate, net 129 chrome/browser/metrics/variations/variations_service.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 153 chrome/browser/metrics/variations/variations_service.h scoped_ptr<net::URLFetcher> pending_seed_request_; net 110 chrome/browser/metrics/variations/variations_service_unittest.cc void SimulateServerResponse(int response_code, net::TestURLFetcher* fetcher) { net 112 chrome/browser/metrics/variations/variations_service_unittest.cc scoped_refptr<net::HttpResponseHeaders> headers( net 113 chrome/browser/metrics/variations/variations_service_unittest.cc new net::HttpResponseHeaders("date:Wed, 13 Feb 2013 00:25:24 GMT\0\0")); net 150 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_FALSE(net::GetValueForKeyInQuery(url, "restrict", &value)); net 155 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(net::GetValueForKeyInQuery(url, "restrict", &value)); net 204 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_FALSE(net::GetValueForKeyInQuery(url, "restrict", &value)); net 209 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(net::GetValueForKeyInQuery(url, "restrict", &value)); net 220 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(net::GetValueForKeyInQuery(url, "osname", &value)); net 272 chrome/browser/metrics/variations/variations_service_unittest.cc net::TestURLFetcherFactory factory; net 275 chrome/browser/metrics/variations/variations_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 276 chrome/browser/metrics/variations/variations_service_unittest.cc SimulateServerResponse(net::HTTP_OK, fetcher); net 286 chrome/browser/metrics/variations/variations_service_unittest.cc net::HTTP_NO_CONTENT, net 287 chrome/browser/metrics/variations/variations_service_unittest.cc net::HTTP_NOT_MODIFIED, net 288 chrome/browser/metrics/variations/variations_service_unittest.cc net::HTTP_NOT_FOUND, net 289 chrome/browser/metrics/variations/variations_service_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 290 chrome/browser/metrics/variations/variations_service_unittest.cc net::HTTP_SERVICE_UNAVAILABLE, net 301 chrome/browser/metrics/variations/variations_service_unittest.cc net::TestURLFetcherFactory factory; net 305 chrome/browser/metrics/variations/variations_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 321 chrome/browser/metrics/variations/variations_service_unittest.cc net::TestURLFetcherFactory factory; net 326 chrome/browser/metrics/variations/variations_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 327 chrome/browser/metrics/variations/variations_service_unittest.cc SimulateServerResponse(net::HTTP_NOT_MODIFIED, fetcher); net 14 chrome/browser/net/about_protocol_handler.cc net::URLRequestJob* AboutProtocolHandler::MaybeCreateJob( net 15 chrome/browser/net/about_protocol_handler.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 16 chrome/browser/net/about_protocol_handler.cc return new net::URLRequestAboutJob(request, network_delegate); net 15 chrome/browser/net/about_protocol_handler.h class AboutProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 18 chrome/browser/net/about_protocol_handler.h virtual net::URLRequestJob* MaybeCreateJob( net 19 chrome/browser/net/about_protocol_handler.h net::URLRequest* request, net 20 chrome/browser/net/about_protocol_handler.h net::NetworkDelegate* network_delegate) const OVERRIDE; net 10 chrome/browser/net/chrome_cookie_notification_details.h namespace net { net 16 chrome/browser/net/chrome_cookie_notification_details.h ChromeCookieDetails(const net::CanonicalCookie* cookie_copy, net 18 chrome/browser/net/chrome_cookie_notification_details.h net::CookieMonster::Delegate::ChangeCause cause) net 24 chrome/browser/net/chrome_cookie_notification_details.h const net::CanonicalCookie* cookie; net 26 chrome/browser/net/chrome_cookie_notification_details.h net::CookieMonster::Delegate::ChangeCause cause; net 30 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequestContext* request_context) net 40 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc const net::SSLInfo& ssl_info) { net 54 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc for (net::HashValueVector::const_iterator i = net 62 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc if (net::TransportSecurityState::GetPinsForDebugging( net 65 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::HashValue hash_value(net::HASH_VALUE_SHA1); net 70 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::HashValue hash_value(net::HASH_VALUE_SHA1); net 81 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc scoped_ptr<net::URLRequest> net 83 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequestContext* context) { net 84 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc scoped_ptr<net::URLRequest> request = net 85 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc context->CreateRequest(upload_url_, net::DEFAULT_PRIORITY, this, NULL); net 86 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc request->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 87 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 93 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc const net::SSLInfo& ssl_info, net 97 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc if (!net::TransportSecurityState::IsGooglePinnedProperty(hostname, net 104 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc scoped_ptr<net::URLRequest> url_request = CreateURLRequest(request_context_); net 107 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc scoped_ptr<net::UploadElementReader> reader( net 108 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::UploadOwnedBytesElementReader::CreateWithString(report)); net 110 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::UploadDataStream::CreateWithReader(reader.Pass(), 0))); net 112 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::HttpRequestHeaders headers; net 113 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc headers.SetHeader(net::HttpRequestHeaders::kContentType, net 117 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequest* raw_url_request = url_request.get(); net 123 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequest* request) { net 124 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc std::set<net::URLRequest*>::iterator i = inflight_requests_.find(request); net 126 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc scoped_ptr<net::URLRequest> url_request(*i); net 134 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequest* request) { net 135 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc const net::URLRequestStatus& status(request->status()); net 148 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequest* request, int bytes_read) {} net 14 chrome/browser/net/chrome_fraudulent_certificate_reporter.h namespace net { net 21 chrome/browser/net/chrome_fraudulent_certificate_reporter.h : public net::FraudulentCertificateReporter, net 22 chrome/browser/net/chrome_fraudulent_certificate_reporter.h public net::URLRequest::Delegate { net 25 chrome/browser/net/chrome_fraudulent_certificate_reporter.h net::URLRequestContext* request_context); net 31 chrome/browser/net/chrome_fraudulent_certificate_reporter.h virtual scoped_ptr<net::URLRequest> CreateURLRequest( net 32 chrome/browser/net/chrome_fraudulent_certificate_reporter.h net::URLRequestContext* context); net 36 chrome/browser/net/chrome_fraudulent_certificate_reporter.h const net::SSLInfo& ssl_info, net 40 chrome/browser/net/chrome_fraudulent_certificate_reporter.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 41 chrome/browser/net/chrome_fraudulent_certificate_reporter.h virtual void OnReadCompleted(net::URLRequest* request, net 45 chrome/browser/net/chrome_fraudulent_certificate_reporter.h net::URLRequestContext* const request_context_; net 49 chrome/browser/net/chrome_fraudulent_certificate_reporter.h void RequestComplete(net::URLRequest* request); net 53 chrome/browser/net/chrome_fraudulent_certificate_reporter.h std::set<net::URLRequest*> inflight_requests_; net 28 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc using net::SSLInfo; net 39 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc info.cert = net::ImportCertFromFile(net::GetTestCertsDirectory(), net 41 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc info.cert_status = net::CERT_STATUS_DATE_INVALID; net 56 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc info.cert = net::ImportCertFromFile(net::GetTestCertsDirectory(), net 73 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc explicit TestReporter(net::URLRequestContext* request_context) net 79 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc explicit SendingTestReporter(net::URLRequestContext* request_context) net 88 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc EXPECT_TRUE(net::TransportSecurityState::IsGooglePinnedProperty( net 104 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc explicit NotSendingTestReporter(net::URLRequestContext* request_context) net 113 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc EXPECT_FALSE(net::TransportSecurityState::IsGooglePinnedProperty( net 124 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc class MockURLRequest : public net::URLRequest { net 126 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc explicit MockURLRequest(net::URLRequestContext* context) net 127 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc : net::URLRequest(GURL(std::string()), net 128 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc net::DEFAULT_PRIORITY, net 139 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc explicit MockReporter(net::URLRequestContext* request_context) net 142 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc virtual scoped_ptr<net::URLRequest> CreateURLRequest( net 143 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc net::URLRequestContext* context) OVERRIDE { net 144 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc return scoped_ptr<net::URLRequest>(new MockURLRequest(context)); net 149 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc const net::SSLInfo& ssl_info, net 18 chrome/browser/net/chrome_http_user_agent_settings.cc net::HttpUtil::GenerateAcceptLanguageHeader(last_pref_accept_language_); net 38 chrome/browser/net/chrome_http_user_agent_settings.cc net::HttpUtil::GenerateAcceptLanguageHeader(new_pref_accept_language); net 19 chrome/browser/net/chrome_http_user_agent_settings.h class ChromeHttpUserAgentSettings : public net::HttpUserAgentSettings { net 58 chrome/browser/net/chrome_net_log.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); net 14 chrome/browser/net/chrome_net_log.h namespace net { net 22 chrome/browser/net/chrome_net_log.h class ChromeNetLog : public net::NetLog { net 32 chrome/browser/net/chrome_net_log.h scoped_ptr<net::NetLogLogger> net_log_logger_; net 94 chrome/browser/net/chrome_network_delegate.cc void ForwardProxyErrors(net::URLRequest* request, net 97 chrome/browser/net/chrome_network_delegate.cc if (request->status().status() == net::URLRequestStatus::FAILED) { net 99 chrome/browser/net/chrome_network_delegate.cc case net::ERR_PROXY_AUTH_UNSUPPORTED: net 100 chrome/browser/net/chrome_network_delegate.cc case net::ERR_PROXY_CONNECTION_FAILED: net 101 chrome/browser/net/chrome_network_delegate.cc case net::ERR_TUNNEL_CONNECTION_FAILED: net 147 chrome/browser/net/chrome_network_delegate.cc void ForceGoogleSafeSearch(net::URLRequest* request, net 168 chrome/browser/net/chrome_network_delegate.cc const net::CompletionCallback& callback, net 169 chrome/browser/net/chrome_network_delegate.cc net::URLRequest* request, net 172 chrome/browser/net/chrome_network_delegate.cc if (rv == net::OK && new_url->is_empty()) net 212 chrome/browser/net/chrome_network_delegate.cc RequestStatus status, net::URLRequest* request, void* profile_id) { net 450 chrome/browser/net/chrome_network_delegate.cc net::URLRequest* request, net 451 chrome/browser/net/chrome_network_delegate.cc const net::CompletionCallback& callback, net 463 chrome/browser/net/chrome_network_delegate.cc net::LoadTimingInfo timing_info; net 481 chrome/browser/net/chrome_network_delegate.cc net::NetLog::TYPE_CHROME_POLICY_ABORTED_REQUEST, net 482 chrome/browser/net/chrome_network_delegate.cc net::NetLog::StringCallback("url", net 484 chrome/browser/net/chrome_network_delegate.cc return net::ERR_BLOCKED_BY_ADMINISTRATOR; net 504 chrome/browser/net/chrome_network_delegate.cc net::CompletionCallback wrapped_callback = callback; net 516 chrome/browser/net/chrome_network_delegate.cc if (force_safe_search && rv == net::OK && new_url->is_empty()) net 526 chrome/browser/net/chrome_network_delegate.cc net::URLRequest* request, net 527 chrome/browser/net/chrome_network_delegate.cc const net::CompletionCallback& callback, net 528 chrome/browser/net/chrome_network_delegate.cc net::HttpRequestHeaders* headers) { net 535 chrome/browser/net/chrome_network_delegate.cc net::URLRequest* request, net 536 chrome/browser/net/chrome_network_delegate.cc const net::HttpRequestHeaders& headers) { net 542 chrome/browser/net/chrome_network_delegate.cc net::URLRequest* request, net 543 chrome/browser/net/chrome_network_delegate.cc const net::CompletionCallback& callback, net 544 chrome/browser/net/chrome_network_delegate.cc const net::HttpResponseHeaders* original_response_headers, net 545 chrome/browser/net/chrome_network_delegate.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 557 chrome/browser/net/chrome_network_delegate.cc void ChromeNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, net 566 chrome/browser/net/chrome_network_delegate.cc void ChromeNetworkDelegate::OnResponseStarted(net::URLRequest* request) { net 573 chrome/browser/net/chrome_network_delegate.cc void ChromeNetworkDelegate::OnRawBytesRead(const net::URLRequest& request, net 588 chrome/browser/net/chrome_network_delegate.cc void ChromeNetworkDelegate::OnCompleted(net::URLRequest* request, net 591 chrome/browser/net/chrome_network_delegate.cc if (request->status().status() == net::URLRequestStatus::SUCCESS) { net 642 chrome/browser/net/chrome_network_delegate.cc net::HttpResponseHeaders::IsRedirectResponseCode( net 648 chrome/browser/net/chrome_network_delegate.cc } else if (request->status().status() == net::URLRequestStatus::FAILED || net 649 chrome/browser/net/chrome_network_delegate.cc request->status().status() == net::URLRequestStatus::CANCELED) { net 662 chrome/browser/net/chrome_network_delegate.cc void ChromeNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { net 673 chrome/browser/net/chrome_network_delegate.cc net::NetworkDelegate::AuthRequiredResponse net 675 chrome/browser/net/chrome_network_delegate.cc net::URLRequest* request, net 676 chrome/browser/net/chrome_network_delegate.cc const net::AuthChallengeInfo& auth_info, net 678 chrome/browser/net/chrome_network_delegate.cc net::AuthCredentials* credentials) { net 685 chrome/browser/net/chrome_network_delegate.cc const net::URLRequest& request, net 686 chrome/browser/net/chrome_network_delegate.cc const net::CookieList& cookie_list) { net 722 chrome/browser/net/chrome_network_delegate.cc bool ChromeNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, net 724 chrome/browser/net/chrome_network_delegate.cc net::CookieOptions* options) { net 747 chrome/browser/net/chrome_network_delegate.cc bool ChromeNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, net 814 chrome/browser/net/chrome_network_delegate.cc const net::URLRequest& request) const { net 839 chrome/browser/net/chrome_network_delegate.cc net::SocketStream* socket, net 840 chrome/browser/net/chrome_network_delegate.cc const net::CompletionCallback& callback) { net 846 chrome/browser/net/chrome_network_delegate.cc net::NetLog::TYPE_CHROME_POLICY_ABORTED_REQUEST, net 847 chrome/browser/net/chrome_network_delegate.cc net::NetLog::StringCallback("url", net 849 chrome/browser/net/chrome_network_delegate.cc return net::ERR_BLOCKED_BY_ADMINISTRATOR; net 852 chrome/browser/net/chrome_network_delegate.cc return net::OK; net 44 chrome/browser/net/chrome_network_delegate.h namespace net { net 54 chrome/browser/net/chrome_network_delegate.h class ChromeNetworkDelegate : public net::NetworkDelegate { net 142 chrome/browser/net/chrome_network_delegate.h virtual int OnBeforeURLRequest(net::URLRequest* request, net 143 chrome/browser/net/chrome_network_delegate.h const net::CompletionCallback& callback, net 145 chrome/browser/net/chrome_network_delegate.h virtual int OnBeforeSendHeaders(net::URLRequest* request, net 146 chrome/browser/net/chrome_network_delegate.h const net::CompletionCallback& callback, net 147 chrome/browser/net/chrome_network_delegate.h net::HttpRequestHeaders* headers) OVERRIDE; net 148 chrome/browser/net/chrome_network_delegate.h virtual void OnSendHeaders(net::URLRequest* request, net 149 chrome/browser/net/chrome_network_delegate.h const net::HttpRequestHeaders& headers) OVERRIDE; net 151 chrome/browser/net/chrome_network_delegate.h net::URLRequest* request, net 152 chrome/browser/net/chrome_network_delegate.h const net::CompletionCallback& callback, net 153 chrome/browser/net/chrome_network_delegate.h const net::HttpResponseHeaders* original_response_headers, net 154 chrome/browser/net/chrome_network_delegate.h scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 156 chrome/browser/net/chrome_network_delegate.h virtual void OnBeforeRedirect(net::URLRequest* request, net 158 chrome/browser/net/chrome_network_delegate.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 159 chrome/browser/net/chrome_network_delegate.h virtual void OnRawBytesRead(const net::URLRequest& request, net 161 chrome/browser/net/chrome_network_delegate.h virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE; net 162 chrome/browser/net/chrome_network_delegate.h virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE; net 165 chrome/browser/net/chrome_network_delegate.h virtual net::NetworkDelegate::AuthRequiredResponse OnAuthRequired( net 166 chrome/browser/net/chrome_network_delegate.h net::URLRequest* request, net 167 chrome/browser/net/chrome_network_delegate.h const net::AuthChallengeInfo& auth_info, net 169 chrome/browser/net/chrome_network_delegate.h net::AuthCredentials* credentials) OVERRIDE; net 170 chrome/browser/net/chrome_network_delegate.h virtual bool OnCanGetCookies(const net::URLRequest& request, net 171 chrome/browser/net/chrome_network_delegate.h const net::CookieList& cookie_list) OVERRIDE; net 172 chrome/browser/net/chrome_network_delegate.h virtual bool OnCanSetCookie(const net::URLRequest& request, net 174 chrome/browser/net/chrome_network_delegate.h net::CookieOptions* options) OVERRIDE; net 175 chrome/browser/net/chrome_network_delegate.h virtual bool OnCanAccessFile(const net::URLRequest& request, net 178 chrome/browser/net/chrome_network_delegate.h const net::URLRequest& request) const OVERRIDE; net 183 chrome/browser/net/chrome_network_delegate.h net::SocketStream* stream, net 184 chrome/browser/net/chrome_network_delegate.h const net::CompletionCallback& callback) OVERRIDE; net 50 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestURLRequestContext context; net 51 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestURLRequest extension_request( net 52 chrome/browser/net/chrome_network_delegate_unittest.cc GURL("http://example.com/"), net::DEFAULT_PRIORITY, NULL, &context); net 55 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestURLRequest web_page_request( net 56 chrome/browser/net/chrome_network_delegate_unittest.cc GURL("http://example.com/"), net::DEFAULT_PRIORITY, NULL, &context); net 106 chrome/browser/net/chrome_network_delegate_unittest.cc scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() { net 110 chrome/browser/net/chrome_network_delegate_unittest.cc return network_delegate.PassAs<net::NetworkDelegate>(); net 117 chrome/browser/net/chrome_network_delegate_unittest.cc void SetDelegate(net::NetworkDelegate* delegate) { net 130 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestURLRequest request( net 131 chrome/browser/net/chrome_network_delegate_unittest.cc GURL(url_string), net::DEFAULT_PRIORITY, &delegate_, &context_); net 145 chrome/browser/net/chrome_network_delegate_unittest.cc scoped_ptr<net::URLRequest> request_; net 146 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestURLRequestContext context_; net 147 chrome/browser/net/chrome_network_delegate_unittest.cc net::NetworkDelegate* network_delegate_; net 148 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestDelegate delegate_; net 157 chrome/browser/net/chrome_network_delegate_unittest.cc scoped_ptr<net::NetworkDelegate> delegate(CreateNetworkDelegate()); net 253 chrome/browser/net/chrome_network_delegate_unittest.cc scoped_ptr<net::NetworkDelegate> delegate(CreateNetworkDelegate()); net 310 chrome/browser/net/chrome_network_delegate_unittest.cc void SetDelegate(net::NetworkDelegate* delegate) { net 321 chrome/browser/net/chrome_network_delegate_unittest.cc scoped_ptr<net::URLRequest> request_; net 322 chrome/browser/net/chrome_network_delegate_unittest.cc net::TestURLRequestContext context_; net 323 chrome/browser/net/chrome_network_delegate_unittest.cc net::NetworkDelegate* network_delegate_; net 27 chrome/browser/net/chrome_url_request_context.h class ChromeURLRequestContext : public net::URLRequestContext { net 56 chrome/browser/net/chrome_url_request_context.h class ChromeURLRequestContextGetter : public net::URLRequestContextGetter { net 23 chrome/browser/net/connect_interceptor.cc void ConnectInterceptor::WitnessURLRequest(net::URLRequest* request) { net 32 chrome/browser/net/connect_interceptor.cc bool is_subresource = !(request->load_flags() & net::LOAD_MAIN_FRAME); net 80 chrome/browser/net/connect_interceptor.cc if ((request->load_flags() & net::LOAD_SUB_FRAME) || redirected_host) net 14 chrome/browser/net/connect_interceptor.h namespace net { net 33 chrome/browser/net/connect_interceptor.h void WitnessURLRequest(net::URLRequest* request); net 51 chrome/browser/net/connection_tester.cc class ExperimentURLRequestContext : public net::URLRequestContext { net 54 chrome/browser/net/connection_tester.cc net::URLRequestContext* proxy_request_context) : net 68 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* config_service, net 76 chrome/browser/net/connection_tester.cc config_service->reset(new net::ProxyConfigServiceFixed( net 77 chrome/browser/net/connection_tester.cc net::ProxyConfig::CreateAutoDetect())); net 78 chrome/browser/net/connection_tester.cc return net::OK; net 80 chrome/browser/net/connection_tester.cc config_service->reset(new net::ProxyConfigServiceFixed( net 81 chrome/browser/net/connection_tester.cc net::ProxyConfig::CreateDirect())); net 82 chrome/browser/net/connection_tester.cc return net::OK; net 85 chrome/browser/net/connection_tester.cc return net::ERR_UNEXPECTED; net 90 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* proxy_config_service, net 91 chrome/browser/net/connection_tester.cc net::NetLog* net_log) { net 95 chrome/browser/net/connection_tester.cc scoped_ptr<net::HostResolver> host_resolver_tmp; net 98 chrome/browser/net/connection_tester.cc if (rv != net::OK) net 103 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyService> experiment_proxy_service; net 106 chrome/browser/net/connection_tester.cc if (rv != net::OK) net 112 chrome/browser/net/connection_tester.cc storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); net 113 chrome/browser/net/connection_tester.cc storage_.set_transport_security_state(new net::TransportSecurityState); net 114 chrome/browser/net/connection_tester.cc storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); net 116 chrome/browser/net/connection_tester.cc net::HttpAuthHandlerFactory::CreateDefault(host_resolver())); net 118 chrome/browser/net/connection_tester.cc scoped_ptr<net::HttpServerProperties>( net 119 chrome/browser/net/connection_tester.cc new net::HttpServerPropertiesImpl())); net 121 chrome/browser/net/connection_tester.cc net::HttpNetworkSession::Params session_params; net 130 chrome/browser/net/connection_tester.cc scoped_refptr<net::HttpNetworkSession> network_session( net 131 chrome/browser/net/connection_tester.cc new net::HttpNetworkSession(session_params)); net 132 chrome/browser/net/connection_tester.cc storage_.set_http_transaction_factory(new net::HttpCache( net 133 chrome/browser/net/connection_tester.cc network_session.get(), net::HttpCache::DefaultBackend::InMemory(0))); net 138 chrome/browser/net/connection_tester.cc return net::OK; net 147 chrome/browser/net/connection_tester.cc scoped_ptr<net::HostResolver>* host_resolver) { net 151 chrome/browser/net/connection_tester.cc net::HostResolver::Options options; net 155 chrome/browser/net/connection_tester.cc scoped_ptr<net::HostResolver> resolver( net 156 chrome/browser/net/connection_tester.cc net::HostResolver::CreateSystemResolver(options, NULL /* NetLog */)); net 163 chrome/browser/net/connection_tester.cc resolver->SetDefaultAddressFamily(net::ADDRESS_FAMILY_IPV4); net 171 chrome/browser/net/connection_tester.cc return net::ERR_UNEXPECTED; net 174 chrome/browser/net/connection_tester.cc return net::OK; net 182 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* proxy_config_service, net 183 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyService>* experiment_proxy_service) { net 188 chrome/browser/net/connection_tester.cc return net::ERR_NOT_IMPLEMENTED; net 191 chrome/browser/net/connection_tester.cc net::DhcpProxyScriptFetcherFactory dhcp_factory; net 195 chrome/browser/net/connection_tester.cc net::ProxyService::CreateUsingSystemProxyResolver( net 199 chrome/browser/net/connection_tester.cc net::CreateProxyServiceUsingV8ProxyResolver( net 201 chrome/browser/net/connection_tester.cc new net::ProxyScriptFetcherImpl(proxy_request_context_), net 208 chrome/browser/net/connection_tester.cc return net::OK; net 215 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* config_service) { net 219 chrome/browser/net/connection_tester.cc return net::ERR_NOT_IMPLEMENTED; net 221 chrome/browser/net/connection_tester.cc config_service->reset(net::ProxyService::CreateSystemProxyConfigService( net 223 chrome/browser/net/connection_tester.cc return net::OK; net 231 chrome/browser/net/connection_tester.cc return net::ERR_FILE_NOT_FOUND; net 232 chrome/browser/net/connection_tester.cc return net::OK; net 236 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* config_service, net 240 chrome/browser/net/connection_tester.cc if (rv == net::OK) { net 244 chrome/browser/net/connection_tester.cc net::ProxyConfig config; net 246 chrome/browser/net/connection_tester.cc config_service->reset(new net::ProxyConfigServiceFixed(config)); net 248 chrome/browser/net/connection_tester.cc rv = net::ERR_FAILED; net 260 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* config_service, net 264 chrome/browser/net/connection_tester.cc return net::ERR_NOT_IMPLEMENTED; net 276 chrome/browser/net/connection_tester.cc return net::ERR_FAILED; net 277 chrome/browser/net/connection_tester.cc return net::ERR_IO_PENDING; net 282 chrome/browser/net/connection_tester.cc net::URLRequestContext* const proxy_request_context_; net 284 chrome/browser/net/connection_tester.cc net::URLRequestContextStorage storage_; net 294 chrome/browser/net/connection_tester.cc class ConnectionTester::TestRunner : public net::URLRequest::Delegate { net 298 chrome/browser/net/connection_tester.cc TestRunner(ConnectionTester* tester, net::NetLog* net_log) net 308 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* proxy_config_service, int status); net 315 chrome/browser/net/connection_tester.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 316 chrome/browser/net/connection_tester.cc virtual void OnReadCompleted(net::URLRequest* request, net 326 chrome/browser/net/connection_tester.cc void ReadBody(net::URLRequest* request); net 329 chrome/browser/net/connection_tester.cc void OnResponseCompleted(net::URLRequest* request); net 334 chrome/browser/net/connection_tester.cc scoped_ptr<net::URLRequest> request_; net 335 chrome/browser/net/connection_tester.cc net::NetLog* net_log_; net 342 chrome/browser/net/connection_tester.cc void ConnectionTester::TestRunner::OnResponseStarted(net::URLRequest* request) { net 352 chrome/browser/net/connection_tester.cc void ConnectionTester::TestRunner::OnReadCompleted(net::URLRequest* request, net 363 chrome/browser/net/connection_tester.cc void ConnectionTester::TestRunner::ReadBody(net::URLRequest* request) { net 365 chrome/browser/net/connection_tester.cc scoped_refptr<net::IOBuffer> unused_buffer( net 366 chrome/browser/net/connection_tester.cc new net::IOBuffer(kReadBufferSize)); net 377 chrome/browser/net/connection_tester.cc net::URLRequest* request) { net 378 chrome/browser/net/connection_tester.cc int result = net::OK; net 380 chrome/browser/net/connection_tester.cc DCHECK_NE(net::ERR_IO_PENDING, request->status().error()); net 399 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* proxy_config_service, net 401 chrome/browser/net/connection_tester.cc if (status == net::OK) net 405 chrome/browser/net/connection_tester.cc if (status != net::OK) { net 411 chrome/browser/net/connection_tester.cc experiment.url, net::DEFAULT_PRIORITY, this, NULL); net 419 chrome/browser/net/connection_tester.cc scoped_ptr<net::ProxyConfigService>* proxy_config_service = net 420 chrome/browser/net/connection_tester.cc new scoped_ptr<net::ProxyConfigService>(); net 428 chrome/browser/net/connection_tester.cc if (rv != net::ERR_IO_PENDING) net 436 chrome/browser/net/connection_tester.cc net::URLRequestContext* proxy_request_context, net 437 chrome/browser/net/connection_tester.cc net::NetLog* net_log) net 15 chrome/browser/net/connection_tester.h namespace net { net 132 chrome/browser/net/connection_tester.h net::URLRequestContext* proxy_request_context, net 133 chrome/browser/net/connection_tester.h net::NetLog* net_log); net 179 chrome/browser/net/connection_tester.h net::URLRequestContext* const proxy_request_context_; net 181 chrome/browser/net/connection_tester.h net::NetLog* net_log_; net 93 chrome/browser/net/connection_tester_unittest.cc test_server_(net::SpawnedTestServer::TYPE_HTTP, net 94 chrome/browser/net/connection_tester_unittest.cc net::SpawnedTestServer::kLocalhost, net 97 chrome/browser/net/connection_tester_unittest.cc proxy_script_fetcher_context_(new net::URLRequestContext) { net 109 chrome/browser/net/connection_tester_unittest.cc net::SpawnedTestServer test_server_; net 111 chrome/browser/net/connection_tester_unittest.cc net::MockHostResolver host_resolver_; net 112 chrome/browser/net/connection_tester_unittest.cc scoped_ptr<net::CertVerifier> cert_verifier_; net 113 chrome/browser/net/connection_tester_unittest.cc scoped_ptr<net::TransportSecurityState> transport_security_state_; net 114 chrome/browser/net/connection_tester_unittest.cc scoped_ptr<net::ProxyService> proxy_service_; net 115 chrome/browser/net/connection_tester_unittest.cc scoped_refptr<net::SSLConfigService> ssl_config_service_; net 116 chrome/browser/net/connection_tester_unittest.cc scoped_ptr<net::HttpTransactionFactory> http_transaction_factory_; net 117 chrome/browser/net/connection_tester_unittest.cc net::HttpAuthHandlerRegistryFactory http_auth_handler_factory_; net 118 chrome/browser/net/connection_tester_unittest.cc net::HttpServerPropertiesImpl http_server_properties_impl_; net 119 chrome/browser/net/connection_tester_unittest.cc scoped_ptr<net::URLRequestContext> proxy_script_fetcher_context_; net 124 chrome/browser/net/connection_tester_unittest.cc cert_verifier_.reset(new net::MockCertVerifier); net 125 chrome/browser/net/connection_tester_unittest.cc transport_security_state_.reset(new net::TransportSecurityState); net 131 chrome/browser/net/connection_tester_unittest.cc proxy_service_.reset(net::ProxyService::CreateDirect()); net 133 chrome/browser/net/connection_tester_unittest.cc ssl_config_service_ = new net::SSLConfigServiceDefaults; net 134 chrome/browser/net/connection_tester_unittest.cc net::HttpNetworkSession::Params session_params; net 143 chrome/browser/net/connection_tester_unittest.cc scoped_refptr<net::HttpNetworkSession> network_session( net 144 chrome/browser/net/connection_tester_unittest.cc new net::HttpNetworkSession(session_params)); net 146 chrome/browser/net/connection_tester_unittest.cc new net::HttpNetworkLayer(network_session.get())); net 31 chrome/browser/net/cookie_store_util.cc class ChromeCookieMonsterDelegate : public net::CookieMonsterDelegate { net 43 chrome/browser/net/cookie_store_util.cc const net::CanonicalCookie& cookie, net 45 chrome/browser/net/cookie_store_util.cc net::CookieMonster::Delegate::ChangeCause cause) OVERRIDE { net 63 chrome/browser/net/cookie_store_util.cc const net::CanonicalCookie& cookie, net 65 chrome/browser/net/cookie_store_util.cc net::CookieMonster::Delegate::ChangeCause cause) { net 97 chrome/browser/net/cookie_store_util.cc net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile) { net 13 chrome/browser/net/cookie_store_util.h namespace net { net 30 chrome/browser/net/cookie_store_util.h net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile); net 75 chrome/browser/net/crl_set_fetcher.cc scoped_refptr<net::CRLSet>* out_crl_set) { net 82 chrome/browser/net/crl_set_fetcher.cc if (!net::CRLSet::Parse(crl_set_bytes, out_crl_set)) { net 98 chrome/browser/net/crl_set_fetcher.cc scoped_refptr<net::CRLSet> crl_set) { net 101 chrome/browser/net/crl_set_fetcher.cc scoped_refptr<net::CRLSet> old_crl_set(net::SSLConfigService::GetCRLSet()); net 108 chrome/browser/net/crl_set_fetcher.cc net::SSLConfigService::SetCRLSet(crl_set); net 163 chrome/browser/net/crl_set_fetcher.cc if (!net::CRLSet::GetIsDeltaUpdate(crl_set_bytes, &is_delta)) { net 169 chrome/browser/net/crl_set_fetcher.cc if (!net::CRLSet::Parse(crl_set_bytes, &crl_set_)) { net 181 chrome/browser/net/crl_set_fetcher.cc scoped_refptr<net::CRLSet> new_crl_set; net 19 chrome/browser/net/crl_set_fetcher.h namespace net { net 54 chrome/browser/net/crl_set_fetcher.h scoped_refptr<net::CRLSet>* out_crl_set); net 58 chrome/browser/net/crl_set_fetcher.h void SetCRLSetIfNewer(scoped_refptr<net::CRLSet> crl_set); net 67 chrome/browser/net/crl_set_fetcher.h scoped_refptr<net::CRLSet> crl_set_; net 54 chrome/browser/net/dns_probe_browsertest.cc using net::MockDnsClientRule; net 55 chrome/browser/net/dns_probe_browsertest.cc using net::NetworkDelegate; net 56 chrome/browser/net/dns_probe_browsertest.cc using net::URLRequest; net 57 chrome/browser/net/dns_probe_browsertest.cc using net::URLRequestFilter; net 58 chrome/browser/net/dns_probe_browsertest.cc using net::URLRequestJob; net 59 chrome/browser/net/dns_probe_browsertest.cc using net::URLRequestJobFactory; net 136 chrome/browser/net/dns_probe_browsertest.cc DelayableURLRequestFailedJob(net::URLRequest* request, net 137 chrome/browser/net/dns_probe_browsertest.cc net::NetworkDelegate* network_delegate, net 179 chrome/browser/net/dns_probe_browsertest.cc net::URLRequest* request, net 180 chrome/browser/net/dns_probe_browsertest.cc net::NetworkDelegate* network_delegate, net 227 chrome/browser/net/dns_probe_browsertest.cc net_error_(net::OK), net 242 chrome/browser/net/dns_probe_browsertest.cc if (net_error_ != net::OK) { net 540 chrome/browser/net/dns_probe_browsertest.cc int net_error = broken ? net::ERR_NAME_NOT_RESOLVED : net::OK; net 573 chrome/browser/net/dns_probe_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED), net 580 chrome/browser/net/dns_probe_browsertest.cc URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_REFUSED), net 22 chrome/browser/net/dns_probe_runner.cc using net::AddressList; net 23 chrome/browser/net/dns_probe_runner.cc using net::BoundNetLog; net 24 chrome/browser/net/dns_probe_runner.cc using net::DnsClient; net 25 chrome/browser/net/dns_probe_runner.cc using net::DnsResponse; net 26 chrome/browser/net/dns_probe_runner.cc using net::DnsTransaction; net 27 chrome/browser/net/dns_probe_runner.cc using net::DnsTransactionFactory; net 28 chrome/browser/net/dns_probe_runner.cc using net::IPAddressNumber; net 29 chrome/browser/net/dns_probe_runner.cc using net::IPEndPoint; net 30 chrome/browser/net/dns_probe_runner.cc using net::NetLog; net 31 chrome/browser/net/dns_probe_runner.cc using net::NetworkChangeNotifier; net 32 chrome/browser/net/dns_probe_runner.cc using net::ParseIPLiteralToNumber; net 44 chrome/browser/net/dns_probe_runner.cc case net::OK: net 49 chrome/browser/net/dns_probe_runner.cc case net::ERR_NAME_NOT_RESOLVED: net 54 chrome/browser/net/dns_probe_runner.cc case net::ERR_DNS_MALFORMED_RESPONSE: net 55 chrome/browser/net/dns_probe_runner.cc case net::ERR_DNS_SERVER_REQUIRES_TCP: // Shouldn't happen; DnsTransaction net 57 chrome/browser/net/dns_probe_runner.cc case net::ERR_DNS_SERVER_FAILED: net 58 chrome/browser/net/dns_probe_runner.cc case net::ERR_DNS_SORT_ERROR: // Can only happen if the server responds. net 62 chrome/browser/net/dns_probe_runner.cc case net::ERR_DNS_TIMED_OUT: net 86 chrome/browser/net/dns_probe_runner.cc void DnsProbeRunner::SetClient(scoped_ptr<net::DnsClient> client) { net 112 chrome/browser/net/dns_probe_runner.cc net::dns_protocol::kTypeA, net 13 chrome/browser/net/dns_probe_runner.h namespace net { net 44 chrome/browser/net/dns_probe_runner.h void SetClient(scoped_ptr<net::DnsClient> client); net 61 chrome/browser/net/dns_probe_runner.h void OnTransactionComplete(net::DnsTransaction* transaction, net 63 chrome/browser/net/dns_probe_runner.h const net::DnsResponse* response); net 68 chrome/browser/net/dns_probe_runner.h scoped_ptr<net::DnsClient> client_; net 76 chrome/browser/net/dns_probe_runner.h scoped_ptr<net::DnsTransaction> transaction_; net 18 chrome/browser/net/dns_probe_runner_unittest.cc using net::DnsClient; net 19 chrome/browser/net/dns_probe_runner_unittest.cc using net::DnsConfig; net 20 chrome/browser/net/dns_probe_runner_unittest.cc using net::MockDnsClientRule; net 19 chrome/browser/net/dns_probe_service.cc using net::DnsClient; net 20 chrome/browser/net/dns_probe_service.cc using net::DnsConfig; net 21 chrome/browser/net/dns_probe_service.cc using net::IPAddressNumber; net 22 chrome/browser/net/dns_probe_service.cc using net::IPEndPoint; net 23 chrome/browser/net/dns_probe_service.cc using net::ParseIPLiteralToNumber; net 24 chrome/browser/net/dns_probe_service.cc using net::NetworkChangeNotifier; net 44 chrome/browser/net/dns_probe_service.cc return IPEndPoint(dns_ip_number, net::dns_protocol::kDefaultPort); net 18 chrome/browser/net/dns_probe_service.h namespace net { net 30 chrome/browser/net/dns_probe_service.h class DnsProbeService : public net::NetworkChangeNotifier::DNSObserver { net 43 chrome/browser/net/dns_probe_service.h void SetSystemClientForTesting(scoped_ptr<net::DnsClient> system_client); net 44 chrome/browser/net/dns_probe_service.h void SetPublicClientForTesting(scoped_ptr<net::DnsClient> public_client); net 23 chrome/browser/net/dns_probe_service_unittest.cc using net::MockDnsClientRule; net 11 chrome/browser/net/dns_probe_test_util.cc using net::DnsClient; net 12 chrome/browser/net/dns_probe_test_util.cc using net::DnsConfig; net 13 chrome/browser/net/dns_probe_test_util.cc using net::IPAddressNumber; net 14 chrome/browser/net/dns_probe_test_util.cc using net::IPEndPoint; net 15 chrome/browser/net/dns_probe_test_util.cc using net::MockDnsClientRule; net 16 chrome/browser/net/dns_probe_test_util.cc using net::MockDnsClientRuleList; net 17 chrome/browser/net/dns_probe_test_util.cc using net::ParseIPLiteralToNumber; net 26 chrome/browser/net/dns_probe_test_util.cc const uint16 kDnsPort = net::dns_protocol::kDefaultPort; net 29 chrome/browser/net/dns_probe_test_util.cc const uint16 kTypeA = net::dns_protocol::kTypeA; net 34 chrome/browser/net/dns_probe_test_util.cc return scoped_ptr<DnsClient>(new net::MockDnsClient(config, rules)); net 16 chrome/browser/net/dns_probe_test_util.h scoped_ptr<net::DnsClient> CreateMockDnsClientForProbes( net 17 chrome/browser/net/dns_probe_test_util.h net::MockDnsClientRule::Result result); net 68 chrome/browser/net/evicted_domain_cookie_counter.cc scoped_refptr<net::CookieMonster::Delegate> next_cookie_monster_delegate) net 76 chrome/browser/net/evicted_domain_cookie_counter.cc scoped_refptr<net::CookieMonster::Delegate> next_cookie_monster_delegate, net 98 chrome/browser/net/evicted_domain_cookie_counter.cc const net::CanonicalCookie& cookie, net 104 chrome/browser/net/evicted_domain_cookie_counter.cc if (cause == net::CookieMonster::Delegate::CHANGE_COOKIE_EVICTED) net 116 chrome/browser/net/evicted_domain_cookie_counter.cc EvictedDomainCookieCounter::GetKey(const net::CanonicalCookie& cookie) { net 171 chrome/browser/net/evicted_domain_cookie_counter.cc const net::CanonicalCookie& cookie, net 191 chrome/browser/net/evicted_domain_cookie_counter.cc const net::CanonicalCookie& cc, net 18 chrome/browser/net/evicted_domain_cookie_counter.h namespace net { net 43 chrome/browser/net/evicted_domain_cookie_counter.h class EvictedDomainCookieCounter : public net::CookieMonster::Delegate { net 77 chrome/browser/net/evicted_domain_cookie_counter.h scoped_refptr<net::CookieMonster::Delegate> next_cookie_monster_delegate); net 81 chrome/browser/net/evicted_domain_cookie_counter.h scoped_refptr<net::CookieMonster::Delegate> next_cookie_monster_delegate, net 90 chrome/browser/net/evicted_domain_cookie_counter.h virtual void OnCookieChanged(const net::CanonicalCookie& cookie, net 105 chrome/browser/net/evicted_domain_cookie_counter.h static EvictedCookieKey GetKey(const net::CanonicalCookie& cookie); net 119 chrome/browser/net/evicted_domain_cookie_counter.h const net::CanonicalCookie& cookie, net 125 chrome/browser/net/evicted_domain_cookie_counter.h const net::CanonicalCookie& cookie, net 129 chrome/browser/net/evicted_domain_cookie_counter.h scoped_refptr<net::CookieMonster::Delegate> next_cookie_monster_delegate_; net 72 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc void Add(net::CanonicalCookie* cookie); net 75 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc void Remove(net::CanonicalCookie* cookie); net 78 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc void Evict(net::CanonicalCookie* cookie); net 85 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc ScopedVector<net::CanonicalCookie> cookies_; net 141 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc net::CanonicalCookie* cookie = net::CanonicalCookie::Create( net 142 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc GURL(url), line, mock_time_, net::CookieOptions()); net 165 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc void EvictedDomainCookieCounterTest::Add(net::CanonicalCookie* cookie) { net 167 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc *cookie, false, net::CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT); net 170 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc void EvictedDomainCookieCounterTest::Remove(net::CanonicalCookie* cookie) { net 172 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc *cookie, true, net::CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT); net 175 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc void EvictedDomainCookieCounterTest::Evict(net::CanonicalCookie* cookie) { net 177 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc *cookie, true, net::CookieMonster::Delegate::CHANGE_COOKIE_EVICTED); net 186 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc class ChangedDelegateDummy : public net::CookieMonster::Delegate { net 190 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc virtual void OnCookieChanged(const net::CanonicalCookie& cookie, net 179 chrome/browser/net/firefox_proxy_settings.cc bool FirefoxProxySettings::ToProxyConfig(net::ProxyConfig* config) { net 182 chrome/browser/net/firefox_proxy_settings.cc *config = net::ProxyConfig::CreateDirect(); net 185 chrome/browser/net/firefox_proxy_settings.cc *config = net::ProxyConfig::CreateAutoDetect(); net 188 chrome/browser/net/firefox_proxy_settings.cc *config = net::ProxyConfig::CreateFromCustomPacURL( net 205 chrome/browser/net/firefox_proxy_settings.cc *config = net::ProxyConfig(); net 207 chrome/browser/net/firefox_proxy_settings.cc net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; net 211 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer( net 212 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer::SCHEME_HTTP, net 213 chrome/browser/net/firefox_proxy_settings.cc net::HostPortPair(http_proxy(), http_proxy_port()))); net 218 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer( net 219 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer::SCHEME_HTTP, net 220 chrome/browser/net/firefox_proxy_settings.cc net::HostPortPair(ftp_proxy(), ftp_proxy_port()))); net 225 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer( net 226 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer::SCHEME_HTTP, net 227 chrome/browser/net/firefox_proxy_settings.cc net::HostPortPair(ssl_proxy(), ssl_proxy_port()))); net 231 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer::Scheme proxy_scheme = V5 == socks_version() ? net 232 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer::SCHEME_SOCKS5 : net::ProxyServer::SCHEME_SOCKS4; net 235 chrome/browser/net/firefox_proxy_settings.cc net::ProxyServer( net 237 chrome/browser/net/firefox_proxy_settings.cc net::HostPortPair(socks_host(), socks_port()))); net 17 chrome/browser/net/firefox_proxy_settings.h namespace net { net 77 chrome/browser/net/firefox_proxy_settings.h bool ToProxyConfig(net::ProxyConfig* config); net 54 chrome/browser/net/firefox_proxy_settings_unittest.cc net::ProxyConfig config; net 58 chrome/browser/net/firefox_proxy_settings_unittest.cc net::ProxyConfig expected_config; net 95 chrome/browser/net/firefox_proxy_settings_unittest.cc net::ProxyConfig config; net 98 chrome/browser/net/firefox_proxy_settings_unittest.cc EXPECT_TRUE(config.Equals(net::ProxyConfig::CreateFromCustomPacURL( net 14 chrome/browser/net/ftp_browsertest.cc : ftp_server_(net::SpawnedTestServer::TYPE_FTP, net 15 chrome/browser/net/ftp_browsertest.cc net::SpawnedTestServer::kLocalhost, net 20 chrome/browser/net/ftp_browsertest.cc net::SpawnedTestServer ftp_server_; net 36 chrome/browser/net/http_pipelining_compatibility_client.cc public net::URLRequest::Delegate { net 42 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context); net 67 chrome/browser/net/http_pipelining_compatibility_client.cc virtual void OnReceivedRedirect(net::URLRequest* request, net 70 chrome/browser/net/http_pipelining_compatibility_client.cc virtual void OnSSLCertificateError(net::URLRequest* request, net 71 chrome/browser/net/http_pipelining_compatibility_client.cc const net::SSLInfo& ssl_info, net 73 chrome/browser/net/http_pipelining_compatibility_client.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 74 chrome/browser/net/http_pipelining_compatibility_client.cc virtual void OnReadCompleted(net::URLRequest* request, net 79 chrome/browser/net/http_pipelining_compatibility_client.cc scoped_ptr<net::URLRequest> url_request_; net 81 chrome/browser/net/http_pipelining_compatibility_client.cc scoped_refptr<net::IOBuffer> read_buffer_; net 90 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context) net 95 chrome/browser/net/http_pipelining_compatibility_client.cc net::DEFAULT_PRIORITY, net 100 chrome/browser/net/http_pipelining_compatibility_client.cc url_request_->SetLoadFlags(net::LOAD_BYPASS_CACHE | net 101 chrome/browser/net/http_pipelining_compatibility_client.cc net::LOAD_DISABLE_CACHE | net 102 chrome/browser/net/http_pipelining_compatibility_client.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 103 chrome/browser/net/http_pipelining_compatibility_client.cc net::LOAD_DO_NOT_SEND_COOKIES | net 104 chrome/browser/net/http_pipelining_compatibility_client.cc net::LOAD_DO_NOT_PROMPT_FOR_LOGIN | net 105 chrome/browser/net/http_pipelining_compatibility_client.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 113 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequest* request, net 122 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequest* request, net 123 chrome/browser/net/http_pipelining_compatibility_client.cc const net::SSLInfo& ssl_info, net 128 chrome/browser/net/http_pipelining_compatibility_client.cc void Request::OnResponseStarted(net::URLRequest* request) { net 134 chrome/browser/net/http_pipelining_compatibility_client.cc const net::HttpVersion required_version(1, 1); net 140 chrome/browser/net/http_pipelining_compatibility_client.cc read_buffer_ = new net::IOBuffer(info_.expected_response.length()); net 144 chrome/browser/net/http_pipelining_compatibility_client.cc void Request::OnReadCompleted(net::URLRequest* request, int bytes_read) { net 184 chrome/browser/net/http_pipelining_compatibility_client.cc const net::URLRequestStatus status = url_request_->status(); net 189 chrome/browser/net/http_pipelining_compatibility_client.cc if (status.status() == net::URLRequestStatus::FAILED) { net 210 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context) net 232 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context) net 253 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context, net 294 chrome/browser/net/http_pipelining_compatibility_client.cc const net::CompletionCallback& callback, net 295 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context) { net 296 chrome/browser/net/http_pipelining_compatibility_client.cc net::HttpNetworkSession* old_session = net 298 chrome/browser/net/http_pipelining_compatibility_client.cc net::HttpNetworkSession::Params params = old_session->params(); net 300 chrome/browser/net/http_pipelining_compatibility_client.cc scoped_refptr<net::HttpNetworkSession> session = net 301 chrome/browser/net/http_pipelining_compatibility_client.cc new net::HttpNetworkSession(params); net 303 chrome/browser/net/http_pipelining_compatibility_client.cc net::HttpNetworkLayer::CreateFactory(session.get())); net 305 chrome/browser/net/http_pipelining_compatibility_client.cc url_request_context_.reset(new net::URLRequestContext); net 457 chrome/browser/net/http_pipelining_compatibility_client.cc net::URLRequestContext* url_request_context = net 80 chrome/browser/net/http_pipelining_compatibility_client.h net::URLRequestContext* url_request_context, net 124 chrome/browser/net/http_pipelining_compatibility_client.h const net::CompletionCallback& callback, net 125 chrome/browser/net/http_pipelining_compatibility_client.h net::URLRequestContext* url_request_context); net 143 chrome/browser/net/http_pipelining_compatibility_client.h scoped_ptr<net::HttpTransactionFactory> http_transaction_factory_; net 144 chrome/browser/net/http_pipelining_compatibility_client.h scoped_ptr<net::URLRequestContext> url_request_context_; net 148 chrome/browser/net/http_pipelining_compatibility_client.h net::CompletionCallback finished_callback_; net 66 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc internal::PipelineTestRequest::Delegate*, net::URLRequestContext*, net 86 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc test_server_(net::SpawnedTestServer::TYPE_HTTP, net 87 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc net::SpawnedTestServer::kLocalhost, net 98 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc context_ = new net::TestURLRequestContextGetter( net 121 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc net::TestCompletionCallback callback; net 209 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc net::SpawnedTestServer test_server_; net 210 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc net::TestURLRequestContextGetter* context_; net 381 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc 1, -net::ERR_EMPTY_RESPONSE, 0, FIELD_NETWORK_ERROR); net 439 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc 1, -net::ERR_PIPELINE_EVICTION, 1, FIELD_NETWORK_ERROR); net 445 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc 1, -net::ERR_PIPELINE_EVICTION, 2, FIELD_NETWORK_ERROR); net 451 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc 1, -net::ERR_PIPELINE_EVICTION, 3, FIELD_NETWORK_ERROR); net 531 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc net::TestCompletionCallback callback; net 584 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc net::TestCompletionCallback callback; net 84 chrome/browser/net/http_server_properties_manager.cc http_server_properties_impl_.reset(new net::HttpServerPropertiesImpl()); net 124 chrome/browser/net/http_server_properties_manager.cc base::WeakPtr<net::HttpServerProperties> net 142 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server) const { net 148 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server, net 157 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server) { net 162 chrome/browser/net/http_server_properties_manager.cc net::PortAlternateProtocolPair net 164 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server) { net 170 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server, net 172 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocol alternate_protocol) { net 180 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server) { net 187 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server) { net 193 chrome/browser/net/http_server_properties_manager.cc const net::AlternateProtocolMap& net 199 chrome/browser/net/http_server_properties_manager.cc const net::SettingsMap& net 201 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& host_port_pair) { net 207 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& host_port_pair, net 208 chrome/browser/net/http_server_properties_manager.cc net::SpdySettingsIds id, net 209 chrome/browser/net/http_server_properties_manager.cc net::SpdySettingsFlags flags, net 220 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& host_port_pair) { net 232 chrome/browser/net/http_server_properties_manager.cc const net::SpdySettingsMap& net 239 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& host_port_pair, net 246 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& host_port_pair) const { net 250 chrome/browser/net/http_server_properties_manager.cc net::HttpPipelinedHostCapability net 252 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& origin) { net 258 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& origin, net 259 chrome/browser/net/http_server_properties_manager.cc net::HttpPipelinedHostCapability capability) { net 271 chrome/browser/net/http_server_properties_manager.cc net::PipelineCapabilityMap net 332 chrome/browser/net/http_server_properties_manager.cc scoped_ptr<net::SpdySettingsMap> spdy_settings_map( net 333 chrome/browser/net/http_server_properties_manager.cc new net::SpdySettingsMap(kMaxSpdySettingsHostsToPersist)); net 334 chrome/browser/net/http_server_properties_manager.cc scoped_ptr<net::PipelineCapabilityMap> pipeline_capability_map( net 335 chrome/browser/net/http_server_properties_manager.cc new net::PipelineCapabilityMap); net 336 chrome/browser/net/http_server_properties_manager.cc scoped_ptr<net::AlternateProtocolMap> alternate_protocol_map( net 337 chrome/browser/net/http_server_properties_manager.cc new net::AlternateProtocolMap(kMaxAlternateProtocolHostsToPersist)); net 343 chrome/browser/net/http_server_properties_manager.cc net::HostPortPair server = net::HostPortPair::FromString(server_str); net 369 chrome/browser/net/http_server_properties_manager.cc net::SettingsMap settings_map; net 387 chrome/browser/net/http_server_properties_manager.cc net::SettingsFlagsAndValue flags_and_value( net 388 chrome/browser/net/http_server_properties_manager.cc net::SETTINGS_FLAG_PERSISTED, value); net 389 chrome/browser/net/http_server_properties_manager.cc settings_map[static_cast<net::SpdySettingsIds>(id)] = flags_and_value; net 394 chrome/browser/net/http_server_properties_manager.cc int pipeline_capability = net::PIPELINE_UNKNOWN; net 397 chrome/browser/net/http_server_properties_manager.cc pipeline_capability != net::PIPELINE_UNKNOWN) { net 399 chrome/browser/net/http_server_properties_manager.cc static_cast<net::HttpPipelinedHostCapability>(pipeline_capability); net 426 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocol protocol = net 427 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocolFromString(protocol_str); net 428 chrome/browser/net/http_server_properties_manager.cc if (!net::IsAlternateProtocolValid(protocol)) { net 434 chrome/browser/net/http_server_properties_manager.cc net::PortAlternateProtocolPair port_alternate_protocol; net 457 chrome/browser/net/http_server_properties_manager.cc net::SpdySettingsMap* spdy_settings_map, net 458 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocolMap* alternate_protocol_map, net 459 chrome/browser/net/http_server_properties_manager.cc net::PipelineCapabilityMap* pipeline_capability_map, net 523 chrome/browser/net/http_server_properties_manager.cc net::SpdySettingsMap* spdy_settings_map = net 524 chrome/browser/net/http_server_properties_manager.cc new net::SpdySettingsMap(kMaxSpdySettingsHostsToPersist); net 525 chrome/browser/net/http_server_properties_manager.cc const net::SpdySettingsMap& main_map = net 528 chrome/browser/net/http_server_properties_manager.cc for (net::SpdySettingsMap::const_iterator it = main_map.begin(); net 534 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocolMap* alternate_protocol_map = net 535 chrome/browser/net/http_server_properties_manager.cc new net::AlternateProtocolMap(kMaxAlternateProtocolHostsToPersist); net 536 chrome/browser/net/http_server_properties_manager.cc const net::AlternateProtocolMap& map = net 539 chrome/browser/net/http_server_properties_manager.cc for (net::AlternateProtocolMap::const_iterator it = map.begin(); net 545 chrome/browser/net/http_server_properties_manager.cc net::PipelineCapabilityMap* pipeline_capability_map = net 546 chrome/browser/net/http_server_properties_manager.cc new net::PipelineCapabilityMap; net 571 chrome/browser/net/http_server_properties_manager.cc pipeline_capability(net::PIPELINE_UNKNOWN) { net 574 chrome/browser/net/http_server_properties_manager.cc const net::SettingsMap* settings_map, net 575 chrome/browser/net/http_server_properties_manager.cc const net::PortAlternateProtocolPair* alternate_protocol) net 579 chrome/browser/net/http_server_properties_manager.cc pipeline_capability(net::PIPELINE_UNKNOWN) { net 582 chrome/browser/net/http_server_properties_manager.cc const net::SettingsMap* settings_map; net 583 chrome/browser/net/http_server_properties_manager.cc const net::PortAlternateProtocolPair* alternate_protocol; net 584 chrome/browser/net/http_server_properties_manager.cc net::HttpPipelinedHostCapability pipeline_capability; net 589 chrome/browser/net/http_server_properties_manager.cc net::SpdySettingsMap* spdy_settings_map, net 590 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocolMap* alternate_protocol_map, net 591 chrome/browser/net/http_server_properties_manager.cc net::PipelineCapabilityMap* pipeline_capability_map, net 596 chrome/browser/net/http_server_properties_manager.cc typedef std::map<net::HostPortPair, ServerPref> ServerPrefMap; net 606 chrome/browser/net/http_server_properties_manager.cc net::HostPortPair server = net::HostPortPair::FromString(s); net 619 chrome/browser/net/http_server_properties_manager.cc for (net::SpdySettingsMap::iterator map_it = spdy_settings_map->begin(); net 621 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server = map_it->first; net 633 chrome/browser/net/http_server_properties_manager.cc for (net::AlternateProtocolMap::const_iterator map_it = net 636 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server = map_it->first; net 637 chrome/browser/net/http_server_properties_manager.cc const net::PortAlternateProtocolPair& port_alternate_protocol = net 639 chrome/browser/net/http_server_properties_manager.cc if (!net::IsAlternateProtocolValid(port_alternate_protocol.protocol)) { net 652 chrome/browser/net/http_server_properties_manager.cc for (net::PipelineCapabilityMap::const_iterator map_it = net 655 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server = map_it->first; net 656 chrome/browser/net/http_server_properties_manager.cc const net::HttpPipelinedHostCapability& pipeline_capability = net 675 chrome/browser/net/http_server_properties_manager.cc const net::HostPortPair& server = map_it->first; net 686 chrome/browser/net/http_server_properties_manager.cc for (net::SettingsMap::const_iterator it = net 689 chrome/browser/net/http_server_properties_manager.cc net::SpdySettingsIds id = it->first; net 701 chrome/browser/net/http_server_properties_manager.cc const net::PortAlternateProtocolPair* port_alternate_protocol = net 706 chrome/browser/net/http_server_properties_manager.cc net::AlternateProtocolToString(port_alternate_protocol->protocol); net 712 chrome/browser/net/http_server_properties_manager.cc if (server_pref.pipeline_capability != net::PIPELINE_UNKNOWN) { net 53 chrome/browser/net/http_server_properties_manager.h : public net::HttpServerProperties { net 85 chrome/browser/net/http_server_properties_manager.h virtual base::WeakPtr<net::HttpServerProperties> GetWeakPtr() OVERRIDE; net 92 chrome/browser/net/http_server_properties_manager.h virtual bool SupportsSpdy(const net::HostPortPair& server) const OVERRIDE; net 96 chrome/browser/net/http_server_properties_manager.h virtual void SetSupportsSpdy(const net::HostPortPair& server, net 100 chrome/browser/net/http_server_properties_manager.h virtual bool HasAlternateProtocol(const net::HostPortPair& server) OVERRIDE; net 104 chrome/browser/net/http_server_properties_manager.h virtual net::PortAlternateProtocolPair GetAlternateProtocol( net 105 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& server) OVERRIDE; net 109 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& server, net 111 chrome/browser/net/http_server_properties_manager.h net::AlternateProtocol alternate_protocol) OVERRIDE; net 115 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& server) OVERRIDE; net 118 chrome/browser/net/http_server_properties_manager.h virtual void ClearAlternateProtocol(const net::HostPortPair& server) OVERRIDE; net 121 chrome/browser/net/http_server_properties_manager.h virtual const net::AlternateProtocolMap& net 126 chrome/browser/net/http_server_properties_manager.h virtual const net::SettingsMap& GetSpdySettings( net 127 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& host_port_pair) OVERRIDE; net 131 chrome/browser/net/http_server_properties_manager.h virtual bool SetSpdySetting(const net::HostPortPair& host_port_pair, net 132 chrome/browser/net/http_server_properties_manager.h net::SpdySettingsIds id, net 133 chrome/browser/net/http_server_properties_manager.h net::SpdySettingsFlags flags, net 138 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& host_port_pair) OVERRIDE; net 144 chrome/browser/net/http_server_properties_manager.h virtual const net::SpdySettingsMap& spdy_settings_map() const OVERRIDE; net 146 chrome/browser/net/http_server_properties_manager.h virtual void SetServerNetworkStats(const net::HostPortPair& host_port_pair, net 150 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& host_port_pair) const OVERRIDE; net 152 chrome/browser/net/http_server_properties_manager.h virtual net::HttpPipelinedHostCapability GetPipelineCapability( net 153 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& origin) OVERRIDE; net 156 chrome/browser/net/http_server_properties_manager.h const net::HostPortPair& origin, net 157 chrome/browser/net/http_server_properties_manager.h net::HttpPipelinedHostCapability capability) OVERRIDE; net 161 chrome/browser/net/http_server_properties_manager.h virtual net::PipelineCapabilityMap GetPipelineCapabilityMap() const OVERRIDE; net 185 chrome/browser/net/http_server_properties_manager.h net::SpdySettingsMap* spdy_settings_map, net 186 chrome/browser/net/http_server_properties_manager.h net::AlternateProtocolMap* alternate_protocol_map, net 187 chrome/browser/net/http_server_properties_manager.h net::PipelineCapabilityMap* pipeline_capability_map, net 212 chrome/browser/net/http_server_properties_manager.h net::SpdySettingsMap* spdy_settings_map, net 213 chrome/browser/net/http_server_properties_manager.h net::AlternateProtocolMap* alternate_protocol_map, net 214 chrome/browser/net/http_server_properties_manager.h net::PipelineCapabilityMap* pipeline_capability_map, net 251 chrome/browser/net/http_server_properties_manager.h scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_impl_; net 66 chrome/browser/net/http_server_properties_manager_unittest.cc net::SpdySettingsMap* spdy_settings_map, net 67 chrome/browser/net/http_server_properties_manager_unittest.cc net::AlternateProtocolMap* alternate_protocol_map, net 68 chrome/browser/net/http_server_properties_manager_unittest.cc net::PipelineCapabilityMap* pipeline_capability_map, net 72 chrome/browser/net/http_server_properties_manager_unittest.cc net::SpdySettingsMap* spdy_settings_map, net 73 chrome/browser/net/http_server_properties_manager_unittest.cc net::AlternateProtocolMap* alternate_protocol_map, net 74 chrome/browser/net/http_server_properties_manager_unittest.cc net::PipelineCapabilityMap* pipeline_capability_map)); net 160 chrome/browser/net/http_server_properties_manager_unittest.cc server_pref_dict->SetInteger("pipeline_capability", net::PIPELINE_CAPABLE); net 182 chrome/browser/net/http_server_properties_manager_unittest.cc server_pref_dict1->SetInteger("pipeline_capability", net::PIPELINE_INCAPABLE); net 206 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("www.google.com:80"))); net 208 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("mail.google.com:80"))); net 210 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("foo.google.com:1337"))); net 214 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("www.google.com:80"))); net 216 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("mail.google.com:80"))); net 217 chrome/browser/net/http_server_properties_manager_unittest.cc net::PortAlternateProtocolPair port_alternate_protocol = net 219 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("www.google.com:80")); net 221 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::NPN_SPDY_3, port_alternate_protocol.protocol); net 224 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("mail.google.com:80")); net 226 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::NPN_SPDY_3_1, port_alternate_protocol.protocol); net 229 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_CAPABLE, net 231 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("www.google.com:80"))); net 232 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_INCAPABLE, net 234 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair::FromString("mail.google.com:80"))); net 244 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair spdy_server_mail("mail.google.com", 443); net 259 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair spdy_server_mail("mail.google.com", 443); net 260 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; net 261 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsFlags flags1 = net::SETTINGS_FLAG_PLEASE_PERSIST; net 269 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SettingsMap& settings_map1_ret = net 272 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); net 274 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsFlagsAndValue flags_and_value1_ret = it1_ret->second; net 275 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::SETTINGS_FLAG_PERSISTED, flags_and_value1_ret.first); net 285 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair spdy_server_mail("mail.google.com", 443); net 286 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; net 287 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsFlags flags1 = net::SETTINGS_FLAG_PLEASE_PERSIST; net 295 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SettingsMap& settings_map1_ret = net 298 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); net 300 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsFlagsAndValue flags_and_value1_ret = it1_ret->second; net 301 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::SETTINGS_FLAG_PERSISTED, flags_and_value1_ret.first); net 312 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SettingsMap& settings_map2_ret = net 323 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair spdy_server_mail("mail.google.com", 443); net 324 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; net 325 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsFlags flags1 = net::SETTINGS_FLAG_PLEASE_PERSIST; net 333 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SettingsMap& settings_map1_ret = net 336 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); net 338 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsFlagsAndValue flags_and_value1_ret = it1_ret->second; net 339 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::SETTINGS_FLAG_PERSISTED, flags_and_value1_ret.first); net 349 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsMap& spdy_settings_map2_ret = net 359 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair spdy_server_mail("mail.google.com", 80); net 363 chrome/browser/net/http_server_properties_manager_unittest.cc spdy_server_mail, 443, net::NPN_SPDY_3); net 371 chrome/browser/net/http_server_properties_manager_unittest.cc net::PortAlternateProtocolPair port_alternate_protocol = net 374 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::NPN_SPDY_3, port_alternate_protocol.protocol); net 380 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair known_pipeliner("pipeline.com", 8080); net 381 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair bad_pipeliner("wordpress.com", 80); net 382 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_UNKNOWN, net 384 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_UNKNOWN, net 390 chrome/browser/net/http_server_properties_manager_unittest.cc net::PIPELINE_CAPABLE); net 392 chrome/browser/net/http_server_properties_manager_unittest.cc net::PIPELINE_INCAPABLE); net 397 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_CAPABLE, net 399 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_INCAPABLE, net 407 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair spdy_server_mail("mail.google.com", 443); net 410 chrome/browser/net/http_server_properties_manager_unittest.cc spdy_server_mail, 443, net::NPN_SPDY_3); net 412 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; net 413 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SpdySettingsFlags flags1 = net::SETTINGS_FLAG_PLEASE_PERSIST; net 418 chrome/browser/net/http_server_properties_manager_unittest.cc net::HostPortPair known_pipeliner("pipeline.com", 8080); net 420 chrome/browser/net/http_server_properties_manager_unittest.cc net::PIPELINE_CAPABLE); net 430 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SettingsMap& settings_map1_ret = net 433 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); net 435 chrome/browser/net/http_server_properties_manager_unittest.cc net::SettingsFlagsAndValue flags_and_value1_ret = it1_ret->second; net 436 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::SETTINGS_FLAG_PERSISTED, flags_and_value1_ret.first); net 439 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_CAPABLE, net 454 chrome/browser/net/http_server_properties_manager_unittest.cc const net::SettingsMap& settings_map2_ret = net 458 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(net::PIPELINE_UNKNOWN, net 117 chrome/browser/net/load_timing_browsertest.cc class MockUrlRequestJobWithTiming : public net::URLRequestFileJob { net 119 chrome/browser/net/load_timing_browsertest.cc MockUrlRequestJobWithTiming(net::URLRequest* request, net 120 chrome/browser/net/load_timing_browsertest.cc net::NetworkDelegate* network_delegate, net 123 chrome/browser/net/load_timing_browsertest.cc : net::URLRequestFileJob( net 150 chrome/browser/net/load_timing_browsertest.cc net::LoadTimingInfo* load_timing_info) const OVERRIDE { net 205 chrome/browser/net/load_timing_browsertest.cc net::URLRequestFileJob::Start(); net 220 chrome/browser/net/load_timing_browsertest.cc class TestProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 235 chrome/browser/net/load_timing_browsertest.cc net::URLRequestFilter::GetInstance()->AddHostnameProtocolHandler( net 237 chrome/browser/net/load_timing_browsertest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>(this)); net 244 chrome/browser/net/load_timing_browsertest.cc net::URLRequestFilter::GetInstance()->RemoveHostnameHandler( net 249 chrome/browser/net/load_timing_browsertest.cc virtual net::URLRequestJob* MaybeCreateJob( net 250 chrome/browser/net/load_timing_browsertest.cc net::URLRequest* request, net 251 chrome/browser/net/load_timing_browsertest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 41 chrome/browser/net/net_error_tab_helper.cc return net_error == net::ERR_NAME_NOT_RESOLVED || net 42 chrome/browser/net/net_error_tab_helper.cc net_error == net::ERR_NAME_RESOLUTION_FAILED; net 92 chrome/browser/net/net_error_tab_helper_unittest.cc net_error = net::ERR_NAME_NOT_RESOLVED; net 94 chrome/browser/net/net_error_tab_helper_unittest.cc net_error = net::ERR_TIMED_OUT; net 122 chrome/browser/net/net_log_temp_file.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); net 124 chrome/browser/net/net_log_temp_file.cc net_log_logger_->set_log_level(net::NetLog::LOG_STRIP_PRIVATE_DATA); net 19 chrome/browser/net/net_log_temp_file.h namespace net { net 148 chrome/browser/net/net_log_temp_file.h scoped_ptr<net::NetLogLogger> net_log_logger_; net 145 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_EQ(net::NetLog::LOG_ALL_BUT_BYTES, net_log_->GetLogLevel()); net 161 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_EQ(net::NetLog::LOG_STRIP_PRIVATE_DATA, net_log_->GetLogLevel()); net 308 chrome/browser/net/net_log_temp_file_unittest.cc net_log_->AddGlobalEntry(net::NetLog::TYPE_CANCELLED); net 47 chrome/browser/net/net_pref_observer.cc net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_); net 124 chrome/browser/net/network_stats.cc NetworkStats::NetworkStats(net::ClientSocketFactory* socket_factory) net 139 chrome/browser/net/network_stats.cc bool NetworkStats::Start(net::HostResolver* host_resolver, net 140 chrome/browser/net/network_stats.cc const net::HostPortPair& server_host_port_pair, net 145 chrome/browser/net/network_stats.cc const net::CompletionCallback& finished_callback) { net 157 chrome/browser/net/network_stats.cc scoped_ptr<net::SingleRequestHostResolver> resolver( net 158 chrome/browser/net/network_stats.cc new net::SingleRequestHostResolver(host_resolver)); net 159 chrome/browser/net/network_stats.cc net::HostResolver::RequestInfo request(server_host_port_pair); net 162 chrome/browser/net/network_stats.cc net::DEFAULT_PRIORITY, net 166 chrome/browser/net/network_stats.cc net::BoundNetLog()); net 167 chrome/browser/net/network_stats.cc if (rv == net::ERR_IO_PENDING) { net 199 chrome/browser/net/network_stats.cc if (result != net::OK) { net 204 chrome/browser/net/network_stats.cc scoped_ptr<net::DatagramClientSocket> udp_socket = net 206 chrome/browser/net/network_stats.cc net::DatagramSocket::DEFAULT_BIND, net 207 chrome/browser/net/network_stats.cc net::RandIntCallback(), net 209 chrome/browser/net/network_stats.cc net::NetLog::Source()); net 214 chrome/browser/net/network_stats.cc const net::IPEndPoint& endpoint = addresses_.front(); net 234 chrome/browser/net/network_stats.cc if (ReadData() != net::ERR_IO_PENDING) { net 255 chrome/browser/net/network_stats.cc if (result < 0 && result != net::ERR_IO_PENDING) net 311 chrome/browser/net/network_stats.cc if (result < 0 && result != net::ERR_IO_PENDING) net 320 chrome/browser/net/network_stats.cc return net::ERR_IO_PENDING; net 325 chrome/browser/net/network_stats.cc read_buffer_ = new net::IOBuffer(kMaxMessageSize); net 336 chrome/browser/net/network_stats.cc if (rv == net::ERR_IO_PENDING) net 342 chrome/browser/net/network_stats.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 361 chrome/browser/net/network_stats.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 403 chrome/browser/net/network_stats.cc return TestPhaseComplete(SUCCESS, net::OK); net 458 chrome/browser/net/network_stats.cc return net::ERR_UNEXPECTED; net 460 chrome/browser/net/network_stats.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer(output)); net 461 chrome/browser/net/network_stats.cc write_buffer_ = new net::DrainableIOBuffer(buffer.get(), buffer->size()); net 468 chrome/browser/net/network_stats.cc if (bytes_written == net::ERR_IO_PENDING) net 473 chrome/browser/net/network_stats.cc return net::OK; net 477 chrome/browser/net/network_stats.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 532 chrome/browser/net/network_stats.cc TestPhaseComplete(READ_TIMED_OUT, net::ERR_FAILED); net 590 chrome/browser/net/network_stats.cc net::CompletionCallback callback = finished_callback_; net 802 chrome/browser/net/network_stats.cc ProxyDetector::ProxyDetector(net::ProxyService* proxy_service, net 803 chrome/browser/net/network_stats.cc const net::HostPortPair& server_address, net 827 chrome/browser/net/network_stats.cc net::BoundNetLog()); net 828 chrome/browser/net/network_stats.cc if (rv != net::ERR_IO_PENDING) net 835 chrome/browser/net/network_stats.cc (result == net::OK && proxy_info_.proxy_server().is_valid() && net 864 chrome/browser/net/network_stats.cc if (net::NetworkChangeNotifier::IsOffline()) { net 913 chrome/browser/net/network_stats.cc net::HostResolver* host_resolver = io_thread->globals()->host_resolver.get(); net 918 chrome/browser/net/network_stats.cc net::HostPortPair server_address(network_stats_server, histogram_port); net 920 chrome/browser/net/network_stats.cc net::ProxyService* proxy_service = net 932 chrome/browser/net/network_stats.cc void StartNetworkStatsTest(net::HostResolver* host_resolver, net 933 chrome/browser/net/network_stats.cc const net::HostPortPair& server_address, net 946 chrome/browser/net/network_stats.cc new NetworkStats(net::ClientSocketFactory::GetDefaultFactory()); net 953 chrome/browser/net/network_stats.cc net::CompletionCallback()); net 23 chrome/browser/net/network_stats.h namespace net { net 96 chrome/browser/net/network_stats.h explicit NetworkStats(net::ClientSocketFactory* socket_factory); net 106 chrome/browser/net/network_stats.h bool Start(net::HostResolver* host_resolver, net 107 chrome/browser/net/network_stats.h const net::HostPortPair& server, net 112 chrome/browser/net/network_stats.h const net::CompletionCallback& callback); net 256 chrome/browser/net/network_stats.h scoped_ptr<net::DatagramClientSocket> socket_; net 258 chrome/browser/net/network_stats.h net::ClientSocketFactory* socket_factory_; net 261 chrome/browser/net/network_stats.h scoped_refptr<net::IOBuffer> read_buffer_; net 264 chrome/browser/net/network_stats.h scoped_refptr<net::DrainableIOBuffer> write_buffer_; net 273 chrome/browser/net/network_stats.h scoped_ptr<net::SingleRequestHostResolver> resolver_; net 276 chrome/browser/net/network_stats.h net::AddressList addresses_; net 280 chrome/browser/net/network_stats.h net::CompletionCallback finished_callback_; net 339 chrome/browser/net/network_stats.h ProxyDetector(net::ProxyService* proxy_service, net 340 chrome/browser/net/network_stats.h const net::HostPortPair& server_address, net 356 chrome/browser/net/network_stats.h net::ProxyService* proxy_service_; net 360 chrome/browser/net/network_stats.h net::HostPortPair server_address_; net 366 chrome/browser/net/network_stats.h net::ProxyInfo proxy_info_; net 383 chrome/browser/net/network_stats.h void StartNetworkStatsTest(net::HostResolver* host_resolver, net 384 chrome/browser/net/network_stats.h const net::HostPortPair& server_address, net 26 chrome/browser/net/network_stats_unittest.cc net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); net 33 chrome/browser/net/network_stats_unittest.cc net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); net 52 chrome/browser/net/network_stats_unittest.cc net::IoMode io_mode_write) { net 63 chrome/browser/net/network_stats_unittest.cc mock_writes_.push_back(net::MockWrite( net 72 chrome/browser/net/network_stats_unittest.cc mock_writes_.push_back(net::MockWrite( net 84 chrome/browser/net/network_stats_unittest.cc net::MockRead(net::ASYNC, &inputs_[0][0], inputs_[0].size(), 1)); net 98 chrome/browser/net/network_stats_unittest.cc mock_reads_.push_back(net::MockRead( net 99 chrome/browser/net/network_stats_unittest.cc net::ASYNC, &inputs_[1 + i][0], inputs_[1 + i].size(), 3 + i)); net 108 chrome/browser/net/network_stats_unittest.cc net::IoMode io_mode) { net 109 chrome/browser/net/network_stats_unittest.cc net::DeterministicMockClientSocketFactory mock_socket_factory; net 111 chrome/browser/net/network_stats_unittest.cc net::DeterministicSocketData test_data( net 119 chrome/browser/net/network_stats_unittest.cc net::TestCompletionCallback cb; net 120 chrome/browser/net/network_stats_unittest.cc scoped_ptr<net::MockHostResolver> host_resolver( net 121 chrome/browser/net/network_stats_unittest.cc new net::MockHostResolver()); net 122 chrome/browser/net/network_stats_unittest.cc net::HostPortPair host_port_pair; net 142 chrome/browser/net/network_stats_unittest.cc net::IoMode io_mode) { net 170 chrome/browser/net/network_stats_unittest.cc net::MockWrite(io_mode, &outputs_[0][0], outputs_[0].size())); net 187 chrome/browser/net/network_stats_unittest.cc net::MockRead(io_mode, &inputs_[i][0], inputs_[i].size())); net 197 chrome/browser/net/network_stats_unittest.cc net::IoMode io_mode) { net 199 chrome/browser/net/network_stats_unittest.cc net::MockClientSocketFactory mock_socket_factory; net 202 chrome/browser/net/network_stats_unittest.cc net::DelayedSocketData test_data(1, net 220 chrome/browser/net/network_stats_unittest.cc net::TestCompletionCallback cb; net 221 chrome/browser/net/network_stats_unittest.cc scoped_ptr<net::MockHostResolver> host_resolver( net 222 chrome/browser/net/network_stats_unittest.cc new net::MockHostResolver()); net 223 chrome/browser/net/network_stats_unittest.cc net::HostPortPair host_port_pair; net 248 chrome/browser/net/network_stats_unittest.cc std::vector<net::MockRead> mock_reads_; net 249 chrome/browser/net/network_stats_unittest.cc std::vector<net::MockWrite> mock_writes_; net 253 chrome/browser/net/network_stats_unittest.cc TestStart(true, 0, 1, 100, net::ASYNC); net 257 chrome/browser/net/network_stats_unittest.cc TestStart(false, 0, 1, 500, net::SYNCHRONOUS); net 261 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 1, 100, net::ASYNC); net 265 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 1, 100, net::SYNCHRONOUS); net 269 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 1, 100, net::ASYNC); net 273 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 1, 100, net::SYNCHRONOUS); net 277 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 1, 500, net::ASYNC); net 281 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 1, 500, net::SYNCHRONOUS); net 285 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 1, 500, net::ASYNC); net 289 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 1, 500, net::SYNCHRONOUS); net 293 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 1, 1200, net::ASYNC); net 297 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 1, 1200, net::SYNCHRONOUS); net 301 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 1, 1200, net::ASYNC); net 305 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 1, 1200, net::SYNCHRONOUS); net 309 chrome/browser/net/network_stats_unittest.cc TestStart(false, 1, 4, 100, net::ASYNC); net 313 chrome/browser/net/network_stats_unittest.cc TestStart(true, 1, 4, 1200, net::SYNCHRONOUS); net 318 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::NON_PACED_PACKET_TEST, 100, 0, 1, net::ASYNC); net 323 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::NON_PACED_PACKET_TEST, 100, 0, 1, net::SYNCHRONOUS); net 328 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::NON_PACED_PACKET_TEST, 500, 3, 1, net::ASYNC); net 333 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::NON_PACED_PACKET_TEST, 1200, 1, 1, net::SYNCHRONOUS); net 338 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::NON_PACED_PACKET_TEST, 500, 2, 3, net::ASYNC); net 343 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::NON_PACED_PACKET_TEST, 1200, 1, 4, net::SYNCHRONOUS); net 348 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::PACED_PACKET_TEST, 100, 0, 1, net::ASYNC); net 353 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::PACED_PACKET_TEST, 100, 0, 1, net::SYNCHRONOUS); net 358 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::PACED_PACKET_TEST, 500, 3, 1, net::ASYNC); net 363 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::PACED_PACKET_TEST, 1200, 1, 1, net::SYNCHRONOUS); net 368 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::PACED_PACKET_TEST, 500, 2, 3, net::ASYNC); net 373 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::PACED_PACKET_TEST, 1200, 1, 4, net::SYNCHRONOUS); net 377 chrome/browser/net/network_stats_unittest.cc TestStartOneTest(true, NetworkStats::NAT_BIND_TEST, 100, 0, 1, net::ASYNC); net 382 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::NAT_BIND_TEST, 100, 3, 1, net::SYNCHRONOUS); net 386 chrome/browser/net/network_stats_unittest.cc TestStartOneTest(false, NetworkStats::NAT_BIND_TEST, 500, 0, 2, net::ASYNC); net 391 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::NAT_BIND_TEST, 1200, 3, 2, net::SYNCHRONOUS); net 396 chrome/browser/net/network_stats_unittest.cc true, NetworkStats::PACKET_SIZE_TEST, 1500, 0, 1, net::ASYNC); net 401 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::PACKET_SIZE_TEST, 1500, 0, 1, net::SYNCHRONOUS); net 406 chrome/browser/net/network_stats_unittest.cc false, NetworkStats::PACKET_SIZE_TEST, 1500, 0, 1, net::ASYNC); net 19 chrome/browser/net/nss_context.cc const base::Callback<void(net::NSSCertDatabase*)>& callback, net 20 chrome/browser/net/nss_context.cc net::NSSCertDatabase* cert_db) { net 30 chrome/browser/net/nss_context.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { net 35 chrome/browser/net/nss_context.cc net::NSSCertDatabase* cert_db = GetNSSCertDatabaseForResourceContext( net 47 chrome/browser/net/nss_context.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { net 16 chrome/browser/net/nss_context.h namespace net { net 44 chrome/browser/net/nss_context.h net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext( net 46 chrome/browser/net/nss_context.h const base::Callback<void(net::NSSCertDatabase*)>& callback) net 56 chrome/browser/net/nss_context.h const base::Callback<void(net::NSSCertDatabase*)>& callback); net 35 chrome/browser/net/nss_context_chromeos.cc net::NSSCertDatabase* GetNSSCertDatabase( net 36 chrome/browser/net/nss_context_chromeos.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { net 47 chrome/browser/net/nss_context_chromeos.cc typedef std::vector<base::Callback<void(net::NSSCertDatabase*)> > net 52 chrome/browser/net/nss_context_chromeos.cc nss_cert_database_.reset(new net::NSSCertDatabaseChromeOS( net 66 chrome/browser/net/nss_context_chromeos.cc scoped_ptr<net::NSSCertDatabaseChromeOS> nss_cert_database_; net 92 chrome/browser/net/nss_context_chromeos.cc net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext( net 94 chrome/browser/net/nss_context_chromeos.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { net 22 chrome/browser/net/nss_context_chromeos_browsertest.cc void NotCalledDbCallback(net::NSSCertDatabase* db) { ASSERT_TRUE(false); } net 72 chrome/browser/net/nss_context_chromeos_browsertest.cc net::NSSCertDatabase* db = GetNSSCertDatabaseForResourceContext( net 86 chrome/browser/net/nss_context_chromeos_browsertest.cc net::NSSCertDatabase* db) { net 101 chrome/browser/net/nss_context_chromeos_browsertest.cc net::NSSCertDatabase* db = GetNSSCertDatabaseForResourceContext( net 113 chrome/browser/net/nss_context_chromeos_browsertest.cc net::NSSCertDatabase* db_; net 24 chrome/browser/net/nss_context_linux.cc net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext( net 26 chrome/browser/net/nss_context_linux.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { net 28 chrome/browser/net/nss_context_linux.cc return net::NSSCertDatabase::GetInstance(); net 30 chrome/browser/net/preconnect.cc net::URLRequestContextGetter* getter) { net 46 chrome/browser/net/preconnect.cc net::URLRequestContextGetter* getter) { net 57 chrome/browser/net/preconnect.cc net::URLRequestContext* context = getter->GetURLRequestContext(); net 58 chrome/browser/net/preconnect.cc net::HttpTransactionFactory* factory = context->http_transaction_factory(); net 59 chrome/browser/net/preconnect.cc net::HttpNetworkSession* session = factory->GetSession(); net 64 chrome/browser/net/preconnect.cc net::HttpRequestInfo request_info; net 67 chrome/browser/net/preconnect.cc request_info.extra_headers.SetHeader(net::HttpRequestHeaders::kUserAgent, net 70 chrome/browser/net/preconnect.cc net::NetworkDelegate* delegate = context->network_delegate(); net 72 chrome/browser/net/preconnect.cc request_info.privacy_mode = net::PRIVACY_MODE_ENABLED; net 85 chrome/browser/net/preconnect.cc net::RequestPriority priority = net::HIGHEST; net 91 chrome/browser/net/preconnect.cc request_info.motivation = net::HttpRequestInfo::OMNIBOX_MOTIVATED; net 94 chrome/browser/net/preconnect.cc request_info.motivation = net::HttpRequestInfo::PRECONNECT_MOTIVATED; net 99 chrome/browser/net/preconnect.cc request_info.motivation = net::HttpRequestInfo::EARLY_LOAD_MOTIVATED; net 108 chrome/browser/net/preconnect.cc net::SSLConfig ssl_config; net 116 chrome/browser/net/preconnect.cc net::HttpStreamFactory* http_stream_factory = session->http_stream_factory(); net 15 chrome/browser/net/preconnect.h namespace net { net 28 chrome/browser/net/preconnect.h net::URLRequestContextGetter* getter); net 37 chrome/browser/net/preconnect.h net::URLRequestContextGetter* getter); net 95 chrome/browser/net/predictor.cc net::HostResolver* host_resolver, net 107 chrome/browser/net/predictor.cc net::HostResolver::RequestInfo resolve_info( net 108 chrome/browser/net/predictor.cc net::HostPortPair::FromURL(url_)); net 116 chrome/browser/net/predictor.cc net::DEFAULT_PRIORITY, net 119 chrome/browser/net/predictor.cc net::BoundNetLog()); net 124 chrome/browser/net/predictor.cc predictor_->OnLookupFinished(this, url_, result == net::OK); net 130 chrome/browser/net/predictor.cc net::SingleRequestHostResolver resolver_; net 131 chrome/browser/net/predictor.cc net::AddressList addresses_; net 312 chrome/browser/net/predictor.cc net::URLRequestContextGetter* getter) { net 818 chrome/browser/net/predictor.cc net::URLRequestContext* context = net 1241 chrome/browser/net/predictor.cc if (status == net::ERR_IO_PENDING) { net 1250 chrome/browser/net/predictor.cc LookupFinished(request, url, status == net::OK); net 1322 chrome/browser/net/predictor.cc net::TransportSecurityState::DomainState domain_state; net 1325 chrome/browser/net/predictor.cc net::SSLConfigService::IsSNIAvailable(ssl_config_service_), net 1469 chrome/browser/net/predictor.cc net::URLRequestContextGetter* getter) { net 47 chrome/browser/net/predictor.h namespace net { net 134 chrome/browser/net/predictor.h net::URLRequestContextGetter* getter); net 280 chrome/browser/net/predictor.h void SetHostResolver(net::HostResolver* host_resolver) { net 285 chrome/browser/net/predictor.h net::TransportSecurityState* transport_security_state) { net 515 chrome/browser/net/predictor.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 546 chrome/browser/net/predictor.h net::HostResolver* host_resolver_; net 549 chrome/browser/net/predictor.h net::TransportSecurityState* transport_security_state_; net 553 chrome/browser/net/predictor.h net::SSLConfigService* ssl_config_service_; net 608 chrome/browser/net/predictor.h net::URLRequestContextGetter* getter) OVERRIDE; net 25 chrome/browser/net/predictor_browsertest.cc class HostResolutionRequestRecorder : public net::HostResolverProc { net 33 chrome/browser/net/predictor_browsertest.cc net::AddressFamily address_family, net 34 chrome/browser/net/predictor_browsertest.cc net::HostResolverFlags host_resolver_flags, net 35 chrome/browser/net/predictor_browsertest.cc net::AddressList* addrlist, net 43 chrome/browser/net/predictor_browsertest.cc return net::ERR_NAME_NOT_RESOLVED; net 106 chrome/browser/net/predictor_browsertest.cc scoped_host_resolver_proc_.reset(new net::ScopedDefaultHostResolverProc( net 161 chrome/browser/net/predictor_browsertest.cc scoped_ptr<net::ScopedDefaultHostResolverProc> scoped_host_resolver_proc_; net 76 chrome/browser/net/predictor_unittest.cc host_resolver_(new net::MockCachingHostResolver()) { net 82 chrome/browser/net/predictor_unittest.cc net::EnsureWinsockInit(); net 91 chrome/browser/net/predictor_unittest.cc net::RuleBasedHostResolverProc* rules = host_resolver_->rules(); net 125 chrome/browser/net/predictor_unittest.cc scoped_ptr<net::MockCachingHostResolver> host_resolver_; net 137 chrome/browser/net/predictor_unittest.cc scoped_ptr<net::HostResolver> host_resolver(new net::HangingHostResolver()); net 721 chrome/browser/net/predictor_unittest.cc net::TransportSecurityState state; net 746 chrome/browser/net/predictor_unittest.cc net::TransportSecurityState state; net 11 chrome/browser/net/pref_proxy_config_tracker.h namespace net { net 31 chrome/browser/net/pref_proxy_config_tracker.h virtual scoped_ptr<net::ProxyConfigService> CreateTrackingProxyConfigService( net 32 chrome/browser/net/pref_proxy_config_tracker.h scoped_ptr<net::ProxyConfigService> base_service) = 0; net 24 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService* base_service) net 37 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService::Observer* observer) { net 43 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService::Observer* observer) { net 47 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService::ConfigAvailability net 48 chrome/browser/net/pref_proxy_config_tracker_impl.cc ChromeProxyConfigService::GetLatestProxyConfig(net::ProxyConfig* config) { net 52 chrome/browser/net/pref_proxy_config_tracker_impl.cc return net::ProxyConfigService::CONFIG_PENDING; net 55 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig system_config; net 57 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService::CONFIG_UNSET; net 75 chrome/browser/net/pref_proxy_config_tracker_impl.cc const net::ProxyConfig& config) { net 93 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig new_config; net 96 chrome/browser/net/pref_proxy_config_tracker_impl.cc FOR_EACH_OBSERVER(net::ProxyConfigService::Observer, observers_, net 102 chrome/browser/net/pref_proxy_config_tracker_impl.cc const net::ProxyConfig& config, net 110 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig actual_config; net 112 chrome/browser/net/pref_proxy_config_tracker_impl.cc FOR_EACH_OBSERVER(net::ProxyConfigService::Observer, observers_, net 143 chrome/browser/net/pref_proxy_config_tracker_impl.cc scoped_ptr<net::ProxyConfigService> net 145 chrome/browser/net/pref_proxy_config_tracker_impl.cc scoped_ptr<net::ProxyConfigService> base_service) { net 153 chrome/browser/net/pref_proxy_config_tracker_impl.cc return scoped_ptr<net::ProxyConfigService>(chrome_proxy_config_service_); net 173 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService::ConfigAvailability net 176 chrome/browser/net/pref_proxy_config_tracker_impl.cc const net::ProxyConfig& pref_config, net 177 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfigService::ConfigAvailability system_availability, net 178 chrome/browser/net/pref_proxy_config_tracker_impl.cc const net::ProxyConfig& system_config, net 181 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig* effective_config) { net 186 chrome/browser/net/pref_proxy_config_tracker_impl.cc return net::ProxyConfigService::CONFIG_VALID; net 190 chrome/browser/net/pref_proxy_config_tracker_impl.cc if (system_availability == net::ProxyConfigService::CONFIG_UNSET) { net 194 chrome/browser/net/pref_proxy_config_tracker_impl.cc *effective_config = net::ProxyConfig::CreateDirect(); net 195 chrome/browser/net/pref_proxy_config_tracker_impl.cc return net::ProxyConfigService::CONFIG_VALID; net 224 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig* config) { net 228 chrome/browser/net/pref_proxy_config_tracker_impl.cc *config = net::ProxyConfig(); net 257 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig* config) { net 266 chrome/browser/net/pref_proxy_config_tracker_impl.cc const net::ProxyConfig& config) { net 283 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig* config) { net 344 chrome/browser/net/pref_proxy_config_tracker_impl.cc net::ProxyConfig new_config; net 31 chrome/browser/net/pref_proxy_config_tracker_impl.h : public net::ProxyConfigService, net 32 chrome/browser/net/pref_proxy_config_tracker_impl.h public net::ProxyConfigService::Observer { net 37 chrome/browser/net/pref_proxy_config_tracker_impl.h explicit ChromeProxyConfigService(net::ProxyConfigService* base_service); net 42 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfigService::Observer* observer) OVERRIDE; net 44 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfigService::Observer* observer) OVERRIDE; net 46 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfig* config) OVERRIDE; net 52 chrome/browser/net/pref_proxy_config_tracker_impl.h const net::ProxyConfig& config); net 56 chrome/browser/net/pref_proxy_config_tracker_impl.h virtual void OnProxyConfigChanged(const net::ProxyConfig& config, net 62 chrome/browser/net/pref_proxy_config_tracker_impl.h scoped_ptr<net::ProxyConfigService> base_service_; net 63 chrome/browser/net/pref_proxy_config_tracker_impl.h ObserverList<net::ProxyConfigService::Observer, true> observers_; net 70 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfig pref_config_; net 91 chrome/browser/net/pref_proxy_config_tracker_impl.h virtual scoped_ptr<net::ProxyConfigService> CreateTrackingProxyConfigService( net 92 chrome/browser/net/pref_proxy_config_tracker_impl.h scoped_ptr<net::ProxyConfigService> base_service) OVERRIDE; net 110 chrome/browser/net/pref_proxy_config_tracker_impl.h static net::ProxyConfigService::ConfigAvailability GetEffectiveProxyConfig( net 112 chrome/browser/net/pref_proxy_config_tracker_impl.h const net::ProxyConfig& pref_config, net 113 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfigService::ConfigAvailability system_availability, net 114 chrome/browser/net/pref_proxy_config_tracker_impl.h const net::ProxyConfig& system_config, net 117 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfig* effective_config); net 122 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfig* config); net 133 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfig* config); net 140 chrome/browser/net/pref_proxy_config_tracker_impl.h ProxyPrefs::ConfigState GetProxyConfig(net::ProxyConfig* config); net 145 chrome/browser/net/pref_proxy_config_tracker_impl.h const net::ProxyConfig& config); net 158 chrome/browser/net/pref_proxy_config_tracker_impl.h net::ProxyConfig pref_config_; net 31 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc class TestProxyConfigService : public net::ProxyConfigService { net 33 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc TestProxyConfigService(const net::ProxyConfig& config, net 38 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc void SetProxyConfig(const net::ProxyConfig config, net 42 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc FOR_EACH_OBSERVER(net::ProxyConfigService::Observer, observers_, net 48 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::Observer* observer) OVERRIDE { net 53 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::Observer* observer) OVERRIDE { net 57 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc virtual net::ProxyConfigService::ConfigAvailability GetLatestProxyConfig( net 58 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig* config) OVERRIDE { net 63 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig config_; net 65 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc ObserverList<net::ProxyConfigService::Observer, true> observers_; net 69 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc class MockObserver : public net::ProxyConfigService::Observer { net 72 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc void(const net::ProxyConfig&, net 73 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::ConfigAvailability)); net 89 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::CONFIG_VALID); net 93 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc scoped_ptr<net::ProxyConfigService>(delegate_service_)); net 109 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc scoped_ptr<net::ProxyConfigService> proxy_config_service_; net 110 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig fixed_config_; net 130 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig actual_config; net 131 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, net 142 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig actual_config; net 143 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, net 146 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc EXPECT_EQ(net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, net 149 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyServer::FromURI("http://example.com:3128", net 150 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyServer::SCHEME_HTTP)); net 156 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, net 163 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig reference(config); net 169 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc const net::ProxyConfigService::ConfigAvailability CONFIG_VALID = net 170 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::CONFIG_VALID; net 175 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig config2; net 184 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig pref_config; net 196 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig config3; net 212 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig config4; net 224 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc const net::ProxyConfigService::ConfigAvailability CONFIG_VALID = net 225 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::CONFIG_VALID; net 227 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig actual_config; net 228 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc delegate_service_->SetProxyConfig(net::ProxyConfig::CreateDirect(), net 229 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfigService::CONFIG_UNSET); net 233 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig recommended_config = net::ProxyConfig::CreateAutoDetect(); net 234 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig user_config = net 235 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig::CreateFromCustomPacURL(GURL(kFixedPacUrl)); net 287 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig actual_config; net 288 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, net 320 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation proxy_rules; net 356 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyConfig config; net 357 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, net 379 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::Empty(), net 391 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::Empty(), net 404 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::Empty(), net 416 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::Single( net 430 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::PerScheme( net 448 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::PerScheme( net 464 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::Empty(), net 476 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc net::ProxyRulesExpectation::Empty(), net 80 chrome/browser/net/proxy_browsertest.cc : proxy_server_(net::SpawnedTestServer::TYPE_BASIC_AUTH_PROXY, net 81 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 96 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer proxy_server_; net 113 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer ws_server(net::SpawnedTestServer::TYPE_WS, net 114 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 115 chrome/browser/net/proxy_browsertest.cc net::GetWebSocketTestDataDirectory()); net 149 chrome/browser/net/proxy_browsertest.cc : http_server_(net::SpawnedTestServer::TYPE_HTTP, net 150 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 167 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer http_server_; net 201 chrome/browser/net/proxy_browsertest.cc : ftp_server_(net::SpawnedTestServer::TYPE_FTP, net 202 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 220 chrome/browser/net/proxy_browsertest.cc net::SpawnedTestServer ftp_server_; net 36 chrome/browser/net/proxy_service_factory.cc net::ProxyConfigService* ProxyServiceFactory::CreateProxyConfigService( net 42 chrome/browser/net/proxy_service_factory.cc scoped_ptr<net::ProxyConfigService> base_service; net 56 chrome/browser/net/proxy_service_factory.cc base_service.reset(net::ProxyService::CreateSystemProxyConfigService( net 89 chrome/browser/net/proxy_service_factory.cc net::ProxyService* ProxyServiceFactory::CreateProxyService( net 90 chrome/browser/net/proxy_service_factory.cc net::NetLog* net_log, net 91 chrome/browser/net/proxy_service_factory.cc net::URLRequestContext* context, net 92 chrome/browser/net/proxy_service_factory.cc net::NetworkDelegate* network_delegate, net 93 chrome/browser/net/proxy_service_factory.cc net::ProxyConfigService* proxy_config_service, net 132 chrome/browser/net/proxy_service_factory.cc net::ProxyService* proxy_service = NULL; net 137 chrome/browser/net/proxy_service_factory.cc net::DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher; net 142 chrome/browser/net/proxy_service_factory.cc net::DhcpProxyScriptFetcherFactory dhcp_factory; net 146 chrome/browser/net/proxy_service_factory.cc proxy_service = net::CreateProxyServiceUsingV8ProxyResolver( net 148 chrome/browser/net/proxy_service_factory.cc new net::ProxyScriptFetcherImpl(context), net 155 chrome/browser/net/proxy_service_factory.cc proxy_service = net::ProxyService::CreateUsingSystemProxyResolver( net 17 chrome/browser/net/proxy_service_factory.h namespace net { net 29 chrome/browser/net/proxy_service_factory.h static net::ProxyConfigService* CreateProxyConfigService( net 47 chrome/browser/net/proxy_service_factory.h static net::ProxyService* CreateProxyService( net 48 chrome/browser/net/proxy_service_factory.h net::NetLog* net_log, net 49 chrome/browser/net/proxy_service_factory.h net::URLRequestContext* context, net 50 chrome/browser/net/proxy_service_factory.h net::NetworkDelegate* network_delegate, net 51 chrome/browser/net/proxy_service_factory.h net::ProxyConfigService* proxy_config_service, net 17 chrome/browser/net/sdch_dictionary_fetcher.cc net::URLRequestContextGetter* context) net 30 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::Shutdown(); net 40 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::SdchErrorRecovery( net 41 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD); net 45 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::SdchErrorRecovery( net 46 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD); net 69 chrome/browser/net/sdch_dictionary_fetcher.cc current_fetch_.reset(net::URLFetcher::Create( net 70 chrome/browser/net/sdch_dictionary_fetcher.cc fetch_queue_.front(), net::URLFetcher::GET, this)); net 73 chrome/browser/net/sdch_dictionary_fetcher.cc current_fetch_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 74 chrome/browser/net/sdch_dictionary_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 79 chrome/browser/net/sdch_dictionary_fetcher.cc const net::URLFetcher* source) { net 81 chrome/browser/net/sdch_dictionary_fetcher.cc (source->GetStatus().status() == net::URLRequestStatus::SUCCESS)) { net 84 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::Global()->AddSdchDictionary(data, source->GetURL()); net 22 chrome/browser/net/sdch_dictionary_fetcher.h namespace net { net 28 chrome/browser/net/sdch_dictionary_fetcher.h : public net::URLFetcherDelegate, net 29 chrome/browser/net/sdch_dictionary_fetcher.h public net::SdchFetcher, net 32 chrome/browser/net/sdch_dictionary_fetcher.h explicit SdchDictionaryFetcher(net::URLRequestContextGetter* context); net 60 chrome/browser/net/sdch_dictionary_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 66 chrome/browser/net/sdch_dictionary_fetcher.h scoped_ptr<net::URLFetcher> current_fetch_; net 91 chrome/browser/net/sdch_dictionary_fetcher.h scoped_refptr<net::URLRequestContextGetter> context_; net 112 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 120 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::HttpNetworkSession* session) { net 128 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::HttpAuthCache* auth_cache = session->http_auth_cache(); net 136 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::HttpAuthCache* auth_cache) { net 159 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::AuthCredentials credentials(base::string16(), password); net 164 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::HttpAuth::AUTH_SCHEME_SPDYPROXY, net 250 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::AuthChallengeInfo* auth_info) { net 261 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::HostPortPair origin_host = net::HostPortPair::FromURL(*it); net 269 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::AuthChallengeInfo* auth_info) { net 344 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc const net::URLFetcher* source) { net 345 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::URLRequestStatus status = source->GetStatus(); net 346 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc if (status.status() == net::URLRequestStatus::FAILED && net 347 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc status.error() == net::ERR_INTERNET_DISCONNECTED) { net 643 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::URLFetcher* DataReductionProxySettings::GetURLFetcher() { net 647 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::URLFetcher* fetcher = net::URLFetcher::Create(GURL(url), net 648 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::URLFetcher::GET, net 650 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | net::LOAD_BYPASS_PROXY); net 663 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::URLFetcher* fetcher = GetURLFetcher(); net 20 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h namespace net { net 84 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h : public net::URLFetcherDelegate, net 85 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h public net::NetworkChangeNotifier::IPAddressObserver { net 98 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h static void InitDataReductionProxySession(net::HttpNetworkSession* session); net 139 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h bool IsAcceptableAuthChallenge(net::AuthChallengeInfo* auth_info); net 144 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h base::string16 GetTokenForAuthChallenge(net::AuthChallengeInfo* auth_info); net 171 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 176 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h virtual net::URLFetcher* GetURLFetcher(); net 246 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h static void InitDataReductionAuthentication(net::HttpAuthCache* auth_cache); net 270 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h scoped_ptr<net::URLFetcher> fetcher_; net 70 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc return protocol + net::HostPortPair::FromURL(url).ToString() + "; "; net 166 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc scoped_refptr<net::AuthChallengeInfo> auth_info(new net::AuthChallengeInfo); net 169 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc net::HostPortPair::FromString(ConvertJavaStringToUTF8(env, host)); net 178 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc scoped_refptr<net::AuthChallengeInfo> auth_info(new net::AuthChallengeInfo); net 181 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc net::HostPortPair::FromString(ConvertJavaStringToUTF8(env, host)); net 151 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc .WillRepeatedly(Return(new net::FakeURLFetcher( net 155 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc success ? net::HTTP_OK : net::HTTP_INTERNAL_SERVER_ERROR, net 156 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc success ? net::URLRequestStatus::SUCCESS : net 157 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc net::URLRequestStatus::FAILED))); net 285 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc net::HttpAuthCache cache; net 291 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc net::HttpAuthCache::Entry* entry = cache.LookupByPath(*it, net 294 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc EXPECT_EQ(net::HttpAuth::AUTH_SCHEME_SPDYPROXY, entry->scheme()); net 298 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc net::HttpAuthCache::Entry* entry = net 420 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc scoped_refptr<net::AuthChallengeInfo> auth_info(new net::AuthChallengeInfo); net 421 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc auth_info->challenger = net::HostPortPair::FromString(tests[i].host); net 444 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc scoped_refptr<net::AuthChallengeInfo> auth_info(new net::AuthChallengeInfo); net 446 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc net::HostPortPair::FromString(kDataReductionProxyOrigin); net 26 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.h MOCK_METHOD0(GetURLFetcher, net::URLFetcher*()); net 309 chrome/browser/net/spdyproxy/data_saving_metrics.cc bool IsBypassRequest(const net::URLRequest* request, int64* delay_seconds) { net 321 chrome/browser/net/spdyproxy/data_saving_metrics.cc const net::ProxyRetryInfoMap& retry_map = net 329 chrome/browser/net/spdyproxy/data_saving_metrics.cc std::string proxy = net::HostPortPair::FromURL(proxies[i]).ToString(); net 334 chrome/browser/net/spdyproxy/data_saving_metrics.cc net::ProxyRetryInfoMap::const_iterator found = retry_map.find(proxy); net 355 chrome/browser/net/spdyproxy/data_saving_metrics.cc const net::URLRequest* request) { net 10 chrome/browser/net/spdyproxy/data_saving_metrics.h namespace net { net 32 chrome/browser/net/spdyproxy/data_saving_metrics.h const net::URLRequest* request); net 22 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::AuthCredentials; net 23 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::BoundNetLog; net 24 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::CompletionCallback; net 25 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::HttpAuth; net 26 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::HttpAuthChallengeTokenizer; net 27 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::HttpAuthHandler; net 28 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::HttpAuthHandlerFactory; net 29 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::HttpRequestInfo; net 30 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc using net::HttpUtil; net 57 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc return net::ERR_UNSUPPORTED_AUTH_SCHEME; net 69 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc return net::ERR_UNSUPPORTED_AUTH_SCHEME; net 74 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc return net::ERR_INVALID_RESPONSE; net 76 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc return net::OK; net 120 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc return net::OK; net 18 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h class HttpAuthHandlerSpdyProxy : public net::HttpAuthHandler { net 20 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h class Factory : public net::HttpAuthHandlerFactory { net 28 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h net::HttpAuthChallengeTokenizer* challenge, net 29 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h net::HttpAuth::Target target, net 33 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h const net::BoundNetLog& net_log, net 45 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h virtual net::HttpAuth::AuthorizationResult HandleAnotherChallenge( net 46 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h net::HttpAuthChallengeTokenizer* challenge) OVERRIDE; net 56 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h virtual bool Init(net::HttpAuthChallengeTokenizer* challenge) OVERRIDE; net 58 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h virtual int GenerateAuthTokenImpl(const net::AuthCredentials* credentials, net 59 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h const net::HttpRequestInfo* request, net 60 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h const net::CompletionCallback& callback, net 63 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h bool ParseChallenge(net::HttpAuthChallengeTokenizer* challenge); net 30 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::ERR_INVALID_RESPONSE; net 31 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::ERR_UNSUPPORTED_AUTH_SCHEME; net 32 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::OK; net 33 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::AuthCredentials; net 34 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::BoundNetLog; net 35 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::CompletionCallback; net 36 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::Error; net 37 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::HttpAuth; net 38 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::HttpAuthChallengeTokenizer; net 39 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::HttpAuthHandler; net 40 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc using net::HttpRequestInfo; net 74 chrome/browser/net/spdyproxy/proxy_advisor.cc net::URLRequestContextGetter* context_getter) net 91 chrome/browser/net/spdyproxy/proxy_advisor.cc void ProxyAdvisor::OnResponseStarted(net::URLRequest* request) { net 92 chrome/browser/net/spdyproxy/proxy_advisor.cc const net::URLRequestStatus& status(request->status()); net 97 chrome/browser/net/spdyproxy/proxy_advisor.cc } else if (request->GetResponseCode() != net::HTTP_OK) { net 103 chrome/browser/net/spdyproxy/proxy_advisor.cc void ProxyAdvisor::OnReadCompleted(net::URLRequest* request, int bytes_read) { net 118 chrome/browser/net/spdyproxy/proxy_advisor.cc net::URLRequestContext* context = context_getter_->GetURLRequestContext(); net 121 chrome/browser/net/spdyproxy/proxy_advisor.cc scoped_ptr<net::URLRequest> request = context->CreateRequest( net 122 chrome/browser/net/spdyproxy/proxy_advisor.cc GURL(endpoint), net::DEFAULT_PRIORITY, this, NULL); net 126 chrome/browser/net/spdyproxy/proxy_advisor.cc request->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 127 chrome/browser/net/spdyproxy/proxy_advisor.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 128 chrome/browser/net/spdyproxy/proxy_advisor.cc net::LOAD_BYPASS_PROXY | net 129 chrome/browser/net/spdyproxy/proxy_advisor.cc net::LOAD_DISABLE_CACHE); net 130 chrome/browser/net/spdyproxy/proxy_advisor.cc net::URLRequest* raw_request = request.get(); net 148 chrome/browser/net/spdyproxy/proxy_advisor.cc void ProxyAdvisor::RequestComplete(net::URLRequest* request) { net 150 chrome/browser/net/spdyproxy/proxy_advisor.cc scoped_ptr<net::URLRequest> scoped_request_for_deletion(request); net 14 chrome/browser/net/spdyproxy/proxy_advisor.h namespace net { net 37 chrome/browser/net/spdyproxy/proxy_advisor.h class ProxyAdvisor : public net::URLRequest::Delegate { net 40 chrome/browser/net/spdyproxy/proxy_advisor.h net::URLRequestContextGetter* context_getter); net 44 chrome/browser/net/spdyproxy/proxy_advisor.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 45 chrome/browser/net/spdyproxy/proxy_advisor.h virtual void OnReadCompleted(net::URLRequest* request, net 72 chrome/browser/net/spdyproxy/proxy_advisor.h void RequestComplete(net::URLRequest* request); net 78 chrome/browser/net/spdyproxy/proxy_advisor.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 82 chrome/browser/net/spdyproxy/proxy_advisor.h std::set<net::URLRequest*> inflight_requests_; net 52 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert); net 56 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert); net 66 chrome/browser/net/sqlite_server_bound_cert_store.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs); net 88 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) net 92 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert() const { net 98 chrome/browser/net/sqlite_server_bound_cert_store.cc net::DefaultServerBoundCertStore::ServerBoundCert cert_; net 105 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert); net 172 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_ptr<ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> > net 173 chrome/browser/net/sqlite_server_bound_cert_store.cc certs(new ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>( net 175 chrome/browser/net/sqlite_server_bound_cert_store.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs_ptr = net 185 chrome/browser/net/sqlite_server_bound_cert_store.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs) { net 243 chrome/browser/net/sqlite_server_bound_cert_store.cc net::SSLClientCertType type = net 244 chrome/browser/net/sqlite_server_bound_cert_store.cc static_cast<net::SSLClientCertType>(smt.ColumnInt(3)); net 245 chrome/browser/net/sqlite_server_bound_cert_store.cc if (type != net::CLIENT_CERT_ECDSA_SIGN) net 250 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_ptr<net::DefaultServerBoundCertStore::ServerBoundCert> cert( net 251 chrome/browser/net/sqlite_server_bound_cert_store.cc new net::DefaultServerBoundCertStore::ServerBoundCert( net 349 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_refptr<net::X509Certificate> cert( net 350 chrome/browser/net/sqlite_server_bound_cert_store.cc net::X509Certificate::CreateFromBytes( net 435 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { net 440 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { net 446 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { net 517 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindInt(3, net::CLIENT_CERT_ECDSA_SIGN); net 590 chrome/browser/net/sqlite_server_bound_cert_store.cc const GURL url(net::cookie_util::CookieOriginToURL(*it, true)); net 622 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { net 627 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { net 29 chrome/browser/net/sqlite_server_bound_cert_store.h : public net::DefaultServerBoundCertStore::PersistentStore { net 39 chrome/browser/net/sqlite_server_bound_cert_store.h const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; net 41 chrome/browser/net/sqlite_server_bound_cert_store.h const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; net 26 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs) { net 39 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc net::DefaultServerBoundCertStore::ServerBoundCert> > certs) { net 46 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath key_path = net::GetTestCertsDirectory().AppendASCII( net 48 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath cert_path = net::GetTestCertsDirectory().AppendASCII( net 82 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; net 87 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc net::DefaultServerBoundCertStore::ServerBoundCert( net 97 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs_; net 103 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc net::DefaultServerBoundCertStore::ServerBoundCert( net 109 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; net 124 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc net::DefaultServerBoundCertStore::ServerBoundCert* goog_cert; net 125 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc net::DefaultServerBoundCertStore::ServerBoundCert* foo_cert; net 204 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; net 276 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; net 362 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; net 455 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; net 8 chrome/browser/net/ssl_config_service_manager.h namespace net { net 32 chrome/browser/net/ssl_config_service_manager.h virtual net::SSLConfigService* Get() = 0; net 54 chrome/browser/net/ssl_config_service_manager_pref.cc if (!net::ParseSSLCipherString(*it, &cipher_suite)) { net 69 chrome/browser/net/ssl_config_service_manager_pref.cc case net::SSL_PROTOCOL_VERSION_SSL3: net 71 chrome/browser/net/ssl_config_service_manager_pref.cc case net::SSL_PROTOCOL_VERSION_TLS1: net 73 chrome/browser/net/ssl_config_service_manager_pref.cc case net::SSL_PROTOCOL_VERSION_TLS1_1: net 75 chrome/browser/net/ssl_config_service_manager_pref.cc case net::SSL_PROTOCOL_VERSION_TLS1_2: net 88 chrome/browser/net/ssl_config_service_manager_pref.cc version = net::SSL_PROTOCOL_VERSION_SSL3; net 90 chrome/browser/net/ssl_config_service_manager_pref.cc version = net::SSL_PROTOCOL_VERSION_TLS1; net 92 chrome/browser/net/ssl_config_service_manager_pref.cc version = net::SSL_PROTOCOL_VERSION_TLS1_1; net 94 chrome/browser/net/ssl_config_service_manager_pref.cc version = net::SSL_PROTOCOL_VERSION_TLS1_2; net 107 chrome/browser/net/ssl_config_service_manager_pref.cc class SSLConfigServicePref : public net::SSLConfigService { net 112 chrome/browser/net/ssl_config_service_manager_pref.cc virtual void GetSSLConfig(net::SSLConfig* config) OVERRIDE; net 122 chrome/browser/net/ssl_config_service_manager_pref.cc void SetNewSSLConfig(const net::SSLConfig& new_config); net 125 chrome/browser/net/ssl_config_service_manager_pref.cc net::SSLConfig cached_config_; net 130 chrome/browser/net/ssl_config_service_manager_pref.cc void SSLConfigServicePref::GetSSLConfig(net::SSLConfig* config) { net 135 chrome/browser/net/ssl_config_service_manager_pref.cc const net::SSLConfig& new_config) { net 136 chrome/browser/net/ssl_config_service_manager_pref.cc net::SSLConfig orig_config = cached_config_; net 154 chrome/browser/net/ssl_config_service_manager_pref.cc virtual net::SSLConfigService* Get() OVERRIDE; net 164 chrome/browser/net/ssl_config_service_manager_pref.cc void GetSSLConfigFromPrefs(net::SSLConfig* config); net 226 chrome/browser/net/ssl_config_service_manager_pref.cc net::SSLConfig default_config; net 245 chrome/browser/net/ssl_config_service_manager_pref.cc net::SSLConfigService* SSLConfigServiceManagerPref::Get() { net 257 chrome/browser/net/ssl_config_service_manager_pref.cc net::SSLConfig new_config; net 272 chrome/browser/net/ssl_config_service_manager_pref.cc net::SSLConfig* config) { net 278 chrome/browser/net/ssl_config_service_manager_pref.cc config->version_min = net::kDefaultSSLVersionMin; net 279 chrome/browser/net/ssl_config_service_manager_pref.cc config->version_max = net::kDefaultSSLVersionMax; net 27 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc using net::SSLConfig; net 28 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc using net::SSLConfigService; net 170 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc EXPECT_EQ(net::SSL_PROTOCOL_VERSION_SSL3, ssl_config.version_min); net 171 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc EXPECT_EQ(net::kDefaultSSLVersionMax, ssl_config.version_max); net 212 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc EXPECT_EQ(net::SSL_PROTOCOL_VERSION_TLS1, ssl_config.version_min); net 213 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc EXPECT_EQ(net::SSL_PROTOCOL_VERSION_SSL3, ssl_config.version_max); net 34 chrome/browser/net/url_request_mock_util.cc net::URLRequestFilter::GetInstance()->ClearHandlers(); net 47 chrome/browser/net/url_request_mock_util.cc net::URLRequestFilter::GetInstance()->ClearHandlers(); net 20 chrome/browser/net/websocket_browsertest.cc : ws_server_(net::SpawnedTestServer::TYPE_WS, net 21 chrome/browser/net/websocket_browsertest.cc net::SpawnedTestServer::kLocalhost, net 22 chrome/browser/net/websocket_browsertest.cc net::GetWebSocketTestDataDirectory()), net 23 chrome/browser/net/websocket_browsertest.cc wss_server_(net::SpawnedTestServer::TYPE_WSS, net 25 chrome/browser/net/websocket_browsertest.cc net::GetWebSocketTestDataDirectory()) { net 29 chrome/browser/net/websocket_browsertest.cc net::SpawnedTestServer ws_server_; net 30 chrome/browser/net/websocket_browsertest.cc net::SpawnedTestServer wss_server_; net 33 chrome/browser/net/websocket_browsertest.cc typedef net::SpawnedTestServer::SSLOptions SSLOptions; net 31 chrome/browser/network_time/network_time_tracker.cc const net::NetworkTimeNotifier::ObserverCallback& observer_callback) { net 37 chrome/browser/network_time/network_time_tracker.cc const net::NetworkTimeNotifier::ObserverCallback& observer_callback) { net 73 chrome/browser/network_time/network_time_tracker.cc const net::NetworkTimeNotifier::ObserverCallback& observer_callback, net 150 chrome/browser/network_time/network_time_tracker.cc net::NetworkTimeNotifier::ObserverCallback net 73 chrome/browser/network_time/network_time_tracker.h net::NetworkTimeNotifier::ObserverCallback BuildObserverCallback(); net 54 chrome/browser/network_time/network_time_tracker_unittest.cc new net::NetworkTimeNotifier( net 93 chrome/browser/network_time/network_time_tracker_unittest.cc base::Bind(&net::NetworkTimeNotifier::UpdateNetworkTime, net 142 chrome/browser/network_time/network_time_tracker_unittest.cc scoped_ptr<net::NetworkTimeNotifier> network_time_notifier_; net 343 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(title))); net 344 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(body))); net 355 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(line_name))); net 356 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(line))); net 359 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(title))); net 360 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(body))); net 383 chrome/browser/notifications/desktop_notification_service.cc net::EscapeQueryParamValue(data, false)); net 443 chrome/browser/password_manager/password_manager_browsertest.cc net::TestURLFetcherFactory factory; net 108 chrome/browser/pepper_broker_infobar_delegate.cc net::FormatUrl(url_.GetOrigin(), net 543 chrome/browser/performance_monitor/performance_monitor.cc void PerformanceMonitor::BytesReadOnIOThread(const net::URLRequest& request, net 30 chrome/browser/performance_monitor/performance_monitor.h namespace net { net 86 chrome/browser/performance_monitor/performance_monitor.h void BytesReadOnIOThread(const net::URLRequest& request, const int bytes); net 48 chrome/browser/plugins/plugin_installer.cc scoped_ptr<net::URLRequest> request( net 50 chrome/browser/plugins/plugin_installer.cc url, net::DEFAULT_PRIORITY, NULL, NULL)); net 146 chrome/browser/policy/chrome_browser_policy_connector.cc scoped_refptr<net::URLRequestContextGetter> request_context) { net 14 chrome/browser/policy/chrome_browser_policy_connector.h namespace net { net 34 chrome/browser/policy/chrome_browser_policy_connector.h scoped_refptr<net::URLRequestContextGetter> request_context) OVERRIDE; net 174 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc TestRequestInterceptor::ErrorJob(net::ERR_NETWORK_CHANGED)); net 186 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc TestRequestInterceptor::ErrorJob(net::ERR_NETWORK_CHANGED)); net 66 chrome/browser/policy/cloud/device_management_service_browsertest.cc net::URLRequestJob* ResponseJob( net 67 chrome/browser/policy/cloud/device_management_service_browsertest.cc net::URLRequest* request, net 68 chrome/browser/policy/cloud/device_management_service_browsertest.cc net::NetworkDelegate* network_delegate) { net 69 chrome/browser/policy/cloud/device_management_service_browsertest.cc const net::UploadDataStream* upload = request->get_upload(); net 74 chrome/browser/policy/cloud/device_management_service_browsertest.cc const net::UploadBytesElementReader* bytes_reader = net 79 chrome/browser/policy/cloud/device_management_service_browsertest.cc return new net::URLRequestTestJob( net 82 chrome/browser/policy/cloud/device_management_service_browsertest.cc net::URLRequestTestJob::test_headers(), net 33 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequestJob* ErrorJobCallback(int error, net 34 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequest* request, net 35 chrome/browser/policy/cloud/test_request_interceptor.cc net::NetworkDelegate* network_delegate) { net 36 chrome/browser/policy/cloud/test_request_interceptor.cc return new net::URLRequestErrorJob(request, network_delegate, error); net 40 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequestJob* BadRequestJobCallback( net 41 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequest* request, net 42 chrome/browser/policy/cloud/test_request_interceptor.cc net::NetworkDelegate* network_delegate) { net 48 chrome/browser/policy/cloud/test_request_interceptor.cc return new net::URLRequestTestJob( net 52 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequestJob* FileJobCallback(const base::FilePath& file_path, net 53 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequest* request, net 54 chrome/browser/policy/cloud/test_request_interceptor.cc net::NetworkDelegate* network_delegate) { net 65 chrome/browser/policy/cloud/test_request_interceptor.cc bool ValidRequest(net::URLRequest* request, net 77 chrome/browser/policy/cloud/test_request_interceptor.cc const net::UploadDataStream* stream = request->get_upload(); net 80 chrome/browser/policy/cloud/test_request_interceptor.cc const ScopedVector<net::UploadElementReader>& readers = net 84 chrome/browser/policy/cloud/test_request_interceptor.cc const net::UploadBytesElementReader* reader = readers[0]->AsBytesReader(); net 98 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequestJob* RegisterJobCallback( net 101 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequest* request, net 102 chrome/browser/policy/cloud/test_request_interceptor.cc net::NetworkDelegate* network_delegate) { net 142 chrome/browser/policy/cloud/test_request_interceptor.cc return new net::URLRequestTestJob( net 149 chrome/browser/policy/cloud/test_request_interceptor.cc : public net::URLRequestJobFactory::ProtocolHandler { net 156 chrome/browser/policy/cloud/test_request_interceptor.cc virtual net::URLRequestJob* MaybeCreateJob( net 157 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequest* request, net 158 chrome/browser/policy/cloud/test_request_interceptor.cc net::NetworkDelegate* network_delegate) const OVERRIDE; net 180 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequestJob* TestRequestInterceptor::Delegate::MaybeCreateJob( net 181 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequest* request, net 182 chrome/browser/policy/cloud/test_request_interceptor.cc net::NetworkDelegate* network_delegate) const { net 188 chrome/browser/policy/cloud/test_request_interceptor.cc net::ERR_CONNECTION_REFUSED, request, network_delegate); net 218 chrome/browser/policy/cloud/test_request_interceptor.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> handler(delegate_); net 220 chrome/browser/policy/cloud/test_request_interceptor.cc base::Bind(&net::URLRequestFilter::AddHostnameProtocolHandler, net 221 chrome/browser/policy/cloud/test_request_interceptor.cc base::Unretained(net::URLRequestFilter::GetInstance()), net 230 chrome/browser/policy/cloud/test_request_interceptor.cc base::Bind(&net::URLRequestFilter::RemoveHostnameHandler, net 231 chrome/browser/policy/cloud/test_request_interceptor.cc base::Unretained(net::URLRequestFilter::GetInstance()), net 20 chrome/browser/policy/cloud/test_request_interceptor.h namespace net { net 36 chrome/browser/policy/cloud/test_request_interceptor.h net::URLRequestJob*(net::URLRequest*, net::NetworkDelegate*)> JobCallback; net 32 chrome/browser/policy/cloud/user_policy_signin_service.cc scoped_refptr<net::URLRequestContextGetter> system_request_context, net 20 chrome/browser/policy/cloud/user_policy_signin_service.h namespace net { net 41 chrome/browser/policy/cloud/user_policy_signin_service.h scoped_refptr<net::URLRequestContextGetter> system_request_context, net 46 chrome/browser/policy/cloud/user_policy_signin_service_android.cc scoped_refptr<net::URLRequestContextGetter> system_request_context, net 113 chrome/browser/policy/cloud/user_policy_signin_service_android.cc net::NetworkChangeNotifier::ConnectionType connection_type = net 114 chrome/browser/policy/cloud/user_policy_signin_service_android.cc net::NetworkChangeNotifier::GetConnectionType(); net 116 chrome/browser/policy/cloud/user_policy_signin_service_android.cc if (connection_type == net::NetworkChangeNotifier::CONNECTION_ETHERNET || net 117 chrome/browser/policy/cloud/user_policy_signin_service_android.cc connection_type == net::NetworkChangeNotifier::CONNECTION_WIFI) { net 20 chrome/browser/policy/cloud/user_policy_signin_service_android.h namespace net { net 38 chrome/browser/policy/cloud/user_policy_signin_service_android.h scoped_refptr<net::URLRequestContextGetter> system_request_context, net 33 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> system_request_context) net 53 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> profile_request_context, net 201 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> profile_request_context) { net 237 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> context = net 255 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> net 261 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> net 263 chrome/browser/policy/cloud/user_policy_signin_service_base.cc scoped_refptr<net::URLRequestContextGetter> profile_request_context) { net 26 chrome/browser/policy/cloud/user_policy_signin_service_base.h namespace net { net 71 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> system_request_context); net 82 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> profile_request_context, net 105 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> request_context); net 108 chrome/browser/policy/cloud/user_policy_signin_service_base.h net::URLRequestContextGetter* system_request_context() { net 135 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> profile_request_context); net 162 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> CreateUserRequestContext( net 163 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> profile_request_context); net 164 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> CreateSystemRequestContext(); net 175 chrome/browser/policy/cloud/user_policy_signin_service_base.h scoped_refptr<net::URLRequestContextGetter> system_request_context_; net 20 chrome/browser/policy/cloud/user_policy_signin_service_ios.h namespace net { net 45 chrome/browser/policy/cloud/user_policy_signin_service_ios.h scoped_refptr<net::URLRequestContextGetter> system_request_context, net 63 chrome/browser/policy/cloud/user_policy_signin_service_ios.h scoped_refptr<net::URLRequestContextGetter> profile_request_context, net 152 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc system_request_context_getter_ = new net::TestURLRequestContextGetter( net 246 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc net::TestURLFetcher* fetcher = url_factory_.GetFetcherByID(0); net 247 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 255 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc net::TestURLFetcher* fetcher = url_factory_.GetFetcherByID(0); net 256 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 357 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc net::TestURLFetcherFactory url_factory_; net 374 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc scoped_refptr<net::URLRequestContextGetter> system_request_context_getter_; net 595 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc net::TestURLFetcher* fetcher = url_factory_.GetFetcherByID(0); net 596 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, -1)); net 216 chrome/browser/policy/policy_browsertest.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 230 chrome/browser/policy/policy_browsertest.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 239 chrome/browser/policy/policy_browsertest.cc net::URLRequestJob* FailedJobFactory( net 240 chrome/browser/policy/policy_browsertest.cc net::URLRequest* request, net 241 chrome/browser/policy/policy_browsertest.cc net::NetworkDelegate* network_delegate, net 244 chrome/browser/policy/policy_browsertest.cc request, network_delegate, net::ERR_CONNECTION_RESET); net 269 chrome/browser/policy/policy_browsertest.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 276 chrome/browser/policy/policy_browsertest.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 1197 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(net::HttpStreamFactory::spdy_enabled()); net 1203 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(net::HttpStreamFactory::spdy_enabled()); net 1210 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(net::HttpStreamFactory::spdy_enabled()); net 2928 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(net::GetValueForKeyInQuery(url, "restrict", &value)); net 60 chrome/browser/policy/test/local_policy_test_server.cc : net::LocalTestServer(net::BaseTestServer::TYPE_HTTP, net 61 chrome/browser/policy/test/local_policy_test_server.cc net::BaseTestServer::kLocalhost, net 68 chrome/browser/policy/test/local_policy_test_server.cc : net::LocalTestServer(net::BaseTestServer::TYPE_HTTP, net 69 chrome/browser/policy/test/local_policy_test_server.cc net::BaseTestServer::kLocalhost, net 74 chrome/browser/policy/test/local_policy_test_server.cc : net::LocalTestServer(net::BaseTestServer::TYPE_HTTP, net 75 chrome/browser/policy/test/local_policy_test_server.cc net::BaseTestServer::kLocalhost, net 170 chrome/browser/policy/test/local_policy_test_server.cc if (!net::LocalTestServer::SetPythonPath()) net 238 chrome/browser/policy/test/local_policy_test_server.cc if (!net::LocalTestServer::GenerateAdditionalArguments(arguments)) net 25 chrome/browser/policy/test/local_policy_test_server.h class LocalPolicyTestServer : public net::LocalTestServer { net 502 chrome/browser/policy/url_blacklist_manager_unittest.cc net::TestURLRequestContext context; net 503 chrome/browser/policy/url_blacklist_manager_unittest.cc net::URLRequest request( net 504 chrome/browser/policy/url_blacklist_manager_unittest.cc GURL("http://google.com"), net::DEFAULT_PRIORITY, NULL, &context); net 510 chrome/browser/policy/url_blacklist_manager_unittest.cc request.SetLoadFlags(net::LOAD_MAIN_FRAME); net 523 chrome/browser/policy/url_blacklist_manager_unittest.cc net::URLRequest sync_request(sync_url, net::DEFAULT_PRIORITY, NULL, &context); net 524 chrome/browser/policy/url_blacklist_manager_unittest.cc sync_request.SetLoadFlags(net::LOAD_MAIN_FRAME); net 43 chrome/browser/predictors/logged_in_predictor_table.cc net::registry_controlled_domains::GetDomainAndRegistry( net 45 chrome/browser/predictors/logged_in_predictor_table.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)); net 87 chrome/browser/prefs/pref_metrics_service.cc net::registry_controlled_domains::GetDomainAndRegistry(homepage_url, net 88 chrome/browser/prefs/pref_metrics_service.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES)); net 128 chrome/browser/prerender/prerender_browsertest.cc return kClientRedirectBase + net::EscapeQueryParamValue(dest_url, false); net 133 chrome/browser/prerender/prerender_browsertest.cc return kServerRedirectBase + net::EscapeQueryParamValue(dest_url, false); net 753 chrome/browser/prerender/prerender_browsertest.cc class HangingURLRequestJob : public net::URLRequestJob { net 755 chrome/browser/prerender/prerender_browsertest.cc HangingURLRequestJob(net::URLRequest* request, net 756 chrome/browser/prerender/prerender_browsertest.cc net::NetworkDelegate* network_delegate) net 757 chrome/browser/prerender/prerender_browsertest.cc : net::URLRequestJob(request, network_delegate) { net 767 chrome/browser/prerender/prerender_browsertest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 777 chrome/browser/prerender/prerender_browsertest.cc virtual net::URLRequestJob* MaybeCreateJob( net 778 chrome/browser/prerender/prerender_browsertest.cc net::URLRequest* request, net 779 chrome/browser/prerender/prerender_browsertest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 804 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> never_respond_handler( net 806 chrome/browser/prerender/prerender_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlProtocolHandler( net 813 chrome/browser/prerender/prerender_browsertest.cc MockHTTPJob(net::URLRequest* request, net 814 chrome/browser/prerender/prerender_browsertest.cc net::NetworkDelegate* delegate, net 868 chrome/browser/prerender/prerender_browsertest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 878 chrome/browser/prerender/prerender_browsertest.cc virtual net::URLRequestJob* MaybeCreateJob( net 879 chrome/browser/prerender/prerender_browsertest.cc net::URLRequest* request, net 880 chrome/browser/prerender/prerender_browsertest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 906 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> protocol_handler( net 908 chrome/browser/prerender/prerender_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlProtocolHandler( net 916 chrome/browser/prerender/prerender_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlProtocolHandler( net 1254 chrome/browser/prerender/prerender_browsertest.cc new net::SpawnedTestServer( net 1255 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 1256 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::kLocalhost, net 1488 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 1492 chrome/browser/prerender/prerender_browsertest.cc CHECK(net::SpawnedTestServer::GetFilePathWithReplacements( net 1497 chrome/browser/prerender/prerender_browsertest.cc const net::SpawnedTestServer* src_server = test_server(); net 1615 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<net::SpawnedTestServer> https_src_server_; net 2060 chrome/browser/prerender/prerender_browsertest.cc net::EscapeQueryParamValue(dest_url.spec(), false) + net 2085 chrome/browser/prerender/prerender_browsertest.cc net::EscapeQueryParamValue(dest_url.spec(), false) + net 2125 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2126 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net::SpawnedTestServer::kLocalhost, net 2142 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 2146 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 2196 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 2200 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 2782 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 2784 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 2785 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2786 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 2799 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 2801 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 2802 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2803 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 2807 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 2811 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 2823 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 2825 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 2826 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2827 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 2832 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 2836 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 2873 chrome/browser/prerender/prerender_browsertest.cc class TestClientCertStore : public net::ClientCertStore { net 2879 chrome/browser/prerender/prerender_browsertest.cc virtual void GetClientCerts(const net::SSLCertRequestInfo& cert_request_info, net 2880 chrome/browser/prerender/prerender_browsertest.cc net::CertificateList* selected_certs, net 2882 chrome/browser/prerender/prerender_browsertest.cc *selected_certs = net::CertificateList( net 2883 chrome/browser/prerender/prerender_browsertest.cc 1, scoped_refptr<net::X509Certificate>( net 2884 chrome/browser/prerender/prerender_browsertest.cc new net::X509Certificate("test", "test", base::Time(), base::Time()))); net 2889 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<net::ClientCertStore> CreateCertStore() { net 2890 chrome/browser/prerender/prerender_browsertest.cc return scoped_ptr<net::ClientCertStore>(new TestClientCertStore); net 2901 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 2903 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2904 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 2919 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 2921 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2922 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 2926 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 2930 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 2946 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::SSLOptions ssl_options; net 2948 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer https_server( net 2949 chrome/browser/prerender/prerender_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, ssl_options, net 2954 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 2958 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3005 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3009 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3024 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3028 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3586 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3590 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3601 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3605 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3619 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3623 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3634 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3638 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 3652 chrome/browser/prerender/prerender_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 3656 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 57 chrome/browser/prerender/prerender_local_predictor.cc using net::URLFetcher; net 682 chrome/browser/prerender/prerender_local_predictor.cc net::EscapeQueryParamValue(request_string, false)); net 683 chrome/browser/prerender/prerender_local_predictor.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 689 chrome/browser/prerender/prerender_local_predictor.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 690 chrome/browser/prerender/prerender_local_predictor.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 691 chrome/browser/prerender/prerender_local_predictor.cc net::LOAD_DO_NOT_SEND_COOKIES); net 705 chrome/browser/prerender/prerender_local_predictor.cc void PrerenderLocalPredictor::MaybeCancelURLFetcher(net::URLFetcher* fetcher) { net 861 chrome/browser/prerender/prerender_local_predictor.cc const net::URLFetcher* source) { net 864 chrome/browser/prerender/prerender_local_predictor.cc net::URLFetcher* fetcher = const_cast<net::URLFetcher*>(source); net 45 chrome/browser/prerender/prerender_local_predictor.h public net::URLFetcherDelegate { net 162 chrome/browser/prerender/prerender_local_predictor.h void virtual OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 192 chrome/browser/prerender/prerender_local_predictor.h void MaybeCancelURLFetcher(net::URLFetcher* fetcher); net 203 chrome/browser/prerender/prerender_local_predictor.h typedef std::map<net::URLFetcher*, CandidatePrerenderInfo*> net 135 chrome/browser/prerender/prerender_manager.cc const net::CookieMonster::HasCookiesForETLDP1Callback& callback, net 142 chrome/browser/prerender/prerender_manager.cc const net::CookieMonster::HasCookiesForETLDP1Callback& callback, net 154 chrome/browser/prerender/prerender_manager.cc net::URLRequestContextGetter* rq_context, net 156 chrome/browser/prerender/prerender_manager.cc const net::CookieMonster::HasCookiesForETLDP1Callback& callback) { net 158 chrome/browser/prerender/prerender_manager.cc net::CookieStore* cookie_store = net 1691 chrome/browser/prerender/prerender_manager.cc net::URLRequestContextGetter* rq_context = profile_->GetRequestContext(); net 1749 chrome/browser/prerender/prerender_manager.cc const net::CookieList* cookie_list) { net 1759 chrome/browser/prerender/prerender_manager.cc !net::registry_controlled_domains::SameDomainOrHost( net 1761 chrome/browser/prerender/prerender_manager.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES)); net 60 chrome/browser/prerender/prerender_manager.h namespace net { net 349 chrome/browser/prerender/prerender_manager.h const net::CookieList* cookie_list); net 18 chrome/browser/prerender/prerender_pending_swap_throttle.cc net::URLRequest* request, net 13 chrome/browser/prerender/prerender_pending_swap_throttle.h namespace net { net 30 chrome/browser/prerender/prerender_pending_swap_throttle.h PrerenderPendingSwapThrottle(net::URLRequest* request, net 47 chrome/browser/prerender/prerender_pending_swap_throttle.h net::URLRequest* request_; net 31 chrome/browser/prerender/prerender_resource_throttle.cc PrerenderResourceThrottle::PrerenderResourceThrottle(net::URLRequest* request) net 14 chrome/browser/prerender/prerender_resource_throttle.h namespace net { net 31 chrome/browser/prerender/prerender_resource_throttle.h explicit PrerenderResourceThrottle(net::URLRequest* request); net 71 chrome/browser/prerender/prerender_resource_throttle.h net::URLRequest* request_; net 95 chrome/browser/prerender/prerender_tracker_unittest.cc class DeferredRedirectDelegate : public net::URLRequest::Delegate, net 120 chrome/browser/prerender/prerender_tracker_unittest.cc virtual void OnReceivedRedirect(net::URLRequest* request, net 130 chrome/browser/prerender/prerender_tracker_unittest.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE { } net 131 chrome/browser/prerender/prerender_tracker_unittest.cc virtual void OnReadCompleted(net::URLRequest* request, net 223 chrome/browser/prerender/prerender_tracker_unittest.cc net::TestURLRequestContext url_request_context; net 225 chrome/browser/prerender/prerender_tracker_unittest.cc net::URLRequest request( net 227 chrome/browser/prerender/prerender_tracker_unittest.cc net::DEFAULT_PRIORITY, net 262 chrome/browser/prerender/prerender_tracker_unittest.cc net::TestURLRequestContext url_request_context; net 264 chrome/browser/prerender/prerender_tracker_unittest.cc net::URLRequest request( net 266 chrome/browser/prerender/prerender_tracker_unittest.cc net::DEFAULT_PRIORITY, net 299 chrome/browser/prerender/prerender_tracker_unittest.cc net::TestURLRequestContext url_request_context; net 301 chrome/browser/prerender/prerender_tracker_unittest.cc net::URLRequest request( net 303 chrome/browser/prerender/prerender_tracker_unittest.cc net::DEFAULT_PRIORITY, net 170 chrome/browser/prerender/prerender_util.cc const net::HttpResponseHeaders* response_headers) { net 236 chrome/browser/prerender/prerender_util.cc void URLRequestResponseStarted(net::URLRequest* request) { net 12 chrome/browser/prerender/prerender_util.h namespace net { net 56 chrome/browser/prerender/prerender_util.h const net::HttpResponseHeaders* response_headers); net 60 chrome/browser/prerender/prerender_util.h void URLRequestResponseStarted(net::URLRequest* request); net 87 chrome/browser/prerender/prerender_util_unittest.cc scoped_refptr<net::HttpResponseHeaders> headers( net 88 chrome/browser/prerender/prerender_util_unittest.cc new net::HttpResponseHeaders(temp)); net 43 chrome/browser/printing/cloud_print/cloud_print_url.cc gaia_url = net::AppendQueryParameter(gaia_url, "service", "cloudprint"); net 44 chrome/browser/printing/cloud_print/cloud_print_url.cc gaia_url = net::AppendQueryParameter(gaia_url, "sarp", "1"); net 45 chrome/browser/printing/cloud_print/cloud_print_url.cc gaia_url = net::AppendQueryParameter(gaia_url, "continue", net 71 chrome/browser/printing/cloud_print/cloud_print_url.cc url = net::AppendQueryParameter(url, "service", "cloudprint"); net 72 chrome/browser/printing/cloud_print/cloud_print_url.cc url = net::AppendQueryParameter(url, "sarp", "1"); net 73 chrome/browser/printing/cloud_print/cloud_print_url.cc url = net::AppendQueryParameter( net 736 chrome/browser/process_singleton_linux.cc if (hostname != net::GetHostName() && !IsChromeProcess(pid)) { net 887 chrome/browser/process_singleton_linux.cc net::GetHostName().c_str(), net 970 chrome/browser/process_singleton_linux.cc if (!hostname.empty() && hostname != net::GetHostName()) { net 284 chrome/browser/process_singleton_linux_unittest.cc net::GetHostName().c_str(), net 148 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc void ServicePendingBrancodedConfigFetch(net::TestURLFetcher* fetcher, net 162 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_refptr<net::HttpResponseHeaders> response_headers( net 163 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc new net::HttpResponseHeaders("")); net 234 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc net::TestURLFetcher* fetcher = test_url_fetcher_factory_.GetFetcherByID(0); net 257 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc net::TestURLFetcherFactory test_url_fetcher_factory_; net 145 chrome/browser/profile_resetter/brandcode_config_fetcher.cc config_fetcher_.reset(net::URLFetcher::Create(0 /* ID used for testing */, net 147 chrome/browser/profile_resetter/brandcode_config_fetcher.cc net::URLFetcher::POST, net 153 chrome/browser/profile_resetter/brandcode_config_fetcher.cc config_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 154 chrome/browser/profile_resetter/brandcode_config_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 155 chrome/browser/profile_resetter/brandcode_config_fetcher.cc net::LOAD_DISABLE_CACHE); net 170 chrome/browser/profile_resetter/brandcode_config_fetcher.cc void BrandcodeConfigFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 18 chrome/browser/profile_resetter/brandcode_config_fetcher.h class BrandcodeConfigFetcher : public net::URLFetcherDelegate { net 38 chrome/browser/profile_resetter/brandcode_config_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 50 chrome/browser/profile_resetter/brandcode_config_fetcher.h scoped_ptr<net::URLFetcher> config_fetcher_; net 298 chrome/browser/profile_resetter/jtl_interpreter.cc namespace domains = net::registry_controlled_domains; net 35 chrome/browser/profile_resetter/profile_resetter_browsertest.cc void GetCookieOnIOThread(net::URLRequestContextGetter* context_getter, net 37 chrome/browser/profile_resetter/profile_resetter_browsertest.cc void SetCookieOnIOThread(net::URLRequestContextGetter* context_getter, net 91 chrome/browser/profile_resetter/profile_resetter_browsertest.cc net::URLRequestContextGetter* context_getter, net 94 chrome/browser/profile_resetter/profile_resetter_browsertest.cc net::CookieStore* cookie_store = context_getter-> net 97 chrome/browser/profile_resetter/profile_resetter_browsertest.cc GURL(host), net::CookieOptions(), net 103 chrome/browser/profile_resetter/profile_resetter_browsertest.cc net::URLRequestContextGetter* context_getter, net 107 chrome/browser/profile_resetter/profile_resetter_browsertest.cc net::CookieStore* cookie_store = context_getter-> net 110 chrome/browser/profile_resetter/profile_resetter_browsertest.cc GURL(host), definition, net::CookieOptions(), net 174 chrome/browser/profile_resetter/profile_resetter_unittest.cc struct URLFetcherRequestListener : net::URLFetcherDelegate { net 178 chrome/browser/profile_resetter/profile_resetter_unittest.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 181 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLFetcherDelegate* real_delegate; net 192 chrome/browser/profile_resetter/profile_resetter_unittest.cc const net::URLFetcher* source) { net 193 chrome/browser/profile_resetter/profile_resetter_unittest.cc const net::TestURLFetcher* test_fetcher = net 194 chrome/browser/profile_resetter/profile_resetter_unittest.cc static_cast<const net::TestURLFetcher*>(source); net 207 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::FakeURLFetcherFactory& factory() { return factory_; } net 210 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateFakeURLFetcher( net 212 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLFetcherDelegate* fetcher_delegate, net 214 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::HttpStatusCode response_code, net 215 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLRequestStatus::Status status); net 223 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::FakeURLFetcherFactory factory_; net 250 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<net::FakeURLFetcher> ConfigParserTest::CreateFakeURLFetcher( net 252 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLFetcherDelegate* fetcher_delegate, net 254 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::HttpStatusCode response_code, net 255 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLRequestStatus::Status status) { net 257 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<net::FakeURLFetcher> fetcher( net 258 chrome/browser/profile_resetter/profile_resetter_unittest.cc new net::FakeURLFetcher( net 260 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_refptr<net::HttpResponseHeaders> download_headers = net 261 chrome/browser/profile_resetter/profile_resetter_unittest.cc new net::HttpResponseHeaders(""); net 814 chrome/browser/profile_resetter/profile_resetter_unittest.cc factory().SetFakeResponse(url, "", net::HTTP_INTERNAL_SERVER_ERROR, net 815 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLRequestStatus::FAILED); net 829 chrome/browser/profile_resetter/profile_resetter_unittest.cc factory().SetFakeResponse(url, xml_config, net::HTTP_OK, net 830 chrome/browser/profile_resetter/profile_resetter_unittest.cc net::URLRequestStatus::SUCCESS); net 279 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* OffTheRecordProfileImpl::GetRequestContext() { net 283 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* OffTheRecordProfileImpl::CreateRequestContext( net 290 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* net 298 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* net 304 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* net 311 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* net 380 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* net 385 chrome/browser/profiles/off_the_record_profile_impl.cc net::URLRequestContextGetter* net 402 chrome/browser/profiles/off_the_record_profile_impl.cc net::SSLConfigService* OffTheRecordProfileImpl::GetSSLConfigService() { net 50 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* net 52 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* CreateRequestContext( net 55 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 60 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; net 93 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 94 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 96 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 97 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 99 chrome/browser/profiles/off_the_record_profile_impl.h virtual net::URLRequestContextGetter* net 93 chrome/browser/profiles/off_the_record_profile_impl_unittest.cc new net::MockHostResolver()); net 200 chrome/browser/profiles/off_the_record_profile_io_data.cc scoped_ptr<net::HttpServerProperties>( net 201 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::HttpServerPropertiesImpl())); net 205 chrome/browser/profiles/off_the_record_profile_io_data.cc net::ServerBoundCertService* server_bound_cert_service = net 206 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::ServerBoundCertService( net 207 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::DefaultServerBoundCertStore(NULL), net 220 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpCache::BackendFactory* main_backend = net 221 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpCache::DefaultBackend::InMemory(0); net 222 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpNetworkSession::Params network_session_params; net 224 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpCache* cache = new net::HttpCache( net 231 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::FtpNetworkLayer(main_context->host_resolver())); net 234 chrome/browser/profiles/off_the_record_profile_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> main_job_factory( net 235 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::URLRequestJobFactoryImpl()); net 269 chrome/browser/profiles/off_the_record_profile_io_data.cc net::CookieMonster* extensions_cookie_store = net 278 chrome/browser/profiles/off_the_record_profile_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> extensions_job_factory( net 279 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::URLRequestJobFactoryImpl()); net 314 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpCache::BackendFactory* app_backend = net 315 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpCache::DefaultBackend::InMemory(0); net 316 chrome/browser/profiles/off_the_record_profile_io_data.cc net::HttpNetworkSession* main_network_session = net 318 chrome/browser/profiles/off_the_record_profile_io_data.cc scoped_ptr<net::HttpTransactionFactory> app_http_cache( net 319 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::HttpCache(main_network_session, app_backend)); net 323 chrome/browser/profiles/off_the_record_profile_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> job_factory( net 324 chrome/browser/profiles/off_the_record_profile_io_data.cc new net::URLRequestJobFactoryImpl()); net 326 chrome/browser/profiles/off_the_record_profile_io_data.cc scoped_ptr<net::URLRequestJobFactory> top_job_factory; net 22 chrome/browser/profiles/off_the_record_profile_io_data.h namespace net { net 140 chrome/browser/profiles/off_the_record_profile_io_data.h mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; net 141 chrome/browser/profiles/off_the_record_profile_io_data.h mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; net 143 chrome/browser/profiles/off_the_record_profile_io_data.h mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; net 144 chrome/browser/profiles/off_the_record_profile_io_data.h mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; net 62 chrome/browser/profiles/profile.h namespace net { net 235 chrome/browser/profiles/profile.h virtual net::URLRequestContextGetter* GetRequestContext() = 0; net 239 chrome/browser/profiles/profile.h virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; net 242 chrome/browser/profiles/profile.h virtual net::SSLConfigService* GetSSLConfigService() = 0; net 266 chrome/browser/profiles/profile.h virtual net::URLRequestContextGetter* CreateRequestContext( net 276 chrome/browser/profiles/profile.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 277 chrome/browser/profiles/profile_downloader.cc user_entry_fetcher_.reset(net::URLFetcher::Create( net 278 chrome/browser/profiles/profile_downloader.cc GURL(kUserEntryURL), net::URLFetcher::GET, this)); net 281 chrome/browser/profiles/profile_downloader.cc user_entry_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 282 chrome/browser/profiles/profile_downloader.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 310 chrome/browser/profiles/profile_downloader.cc void ProfileDownloader::OnURLFetchComplete(const net::URLFetcher* source) { net 315 chrome/browser/profiles/profile_downloader.cc source->GetStatus().status() != net::URLRequestStatus::SUCCESS; net 359 chrome/browser/profiles/profile_downloader.cc profile_image_fetcher_.reset(net::URLFetcher::Create( net 360 chrome/browser/profiles/profile_downloader.cc GURL(image_url), net::URLFetcher::GET, this)); net 363 chrome/browser/profiles/profile_downloader.cc profile_image_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 364 chrome/browser/profiles/profile_downloader.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 23 chrome/browser/profiles/profile_downloader.h namespace net { net 29 chrome/browser/profiles/profile_downloader.h class ProfileDownloader : public net::URLFetcherDelegate, net 84 chrome/browser/profiles/profile_downloader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 126 chrome/browser/profiles/profile_downloader.h scoped_ptr<net::URLFetcher> user_entry_fetcher_; net 127 chrome/browser/profiles/profile_downloader.h scoped_ptr<net::URLFetcher> profile_image_fetcher_; net 892 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* ProfileImpl::CreateRequestContext( net 902 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* ProfileImpl::GetRequestContext() { net 906 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* ProfileImpl::GetRequestContextForRenderProcess( net 914 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* ProfileImpl::GetMediaRequestContext() { net 919 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* net 929 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* net 1002 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* ProfileImpl::GetRequestContextForExtensions() { net 1006 chrome/browser/profiles/profile_impl.cc net::URLRequestContextGetter* net 1019 chrome/browser/profiles/profile_impl.cc net::SSLConfigService* ProfileImpl::GetSSLConfigService() { net 68 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 69 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 71 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 72 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 74 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* net 123 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* net 125 chrome/browser/profiles/profile_impl.h virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; net 129 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* CreateRequestContext( net 132 chrome/browser/profiles/profile_impl.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 57 chrome/browser/profiles/profile_impl_io_data.cc net::BackendType ChooseCacheBackendType() { net 59 chrome/browser/profiles/profile_impl_io_data.cc return net::CACHE_BACKEND_SIMPLE; net 66 chrome/browser/profiles/profile_impl_io_data.cc return net::CACHE_BACKEND_BLOCKFILE; net 68 chrome/browser/profiles/profile_impl_io_data.cc return net::CACHE_BACKEND_SIMPLE; net 74 chrome/browser/profiles/profile_impl_io_data.cc return net::CACHE_BACKEND_SIMPLE; net 76 chrome/browser/profiles/profile_impl_io_data.cc return net::CACHE_BACKEND_BLOCKFILE; net 321 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::HttpServerProperties>( net 399 chrome/browser/profiles/profile_impl_io_data.cc scoped_refptr<net::CookieStore> cookie_store = NULL; net 400 chrome/browser/profiles/profile_impl_io_data.cc net::ServerBoundCertService* server_bound_cert_service = NULL; net 410 chrome/browser/profiles/profile_impl_io_data.cc server_bound_cert_service = new net::ServerBoundCertService( net 411 chrome/browser/profiles/profile_impl_io_data.cc new net::DefaultServerBoundCertStore(NULL), net 442 chrome/browser/profiles/profile_impl_io_data.cc server_bound_cert_service = new net::ServerBoundCertService( net 443 chrome/browser/profiles/profile_impl_io_data.cc new net::DefaultServerBoundCertStore(server_bound_cert_db.get()), net 450 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache::DefaultBackend* main_backend = net 451 chrome/browser/profiles/profile_impl_io_data.cc new net::HttpCache::DefaultBackend( net 452 chrome/browser/profiles/profile_impl_io_data.cc net::DISK_CACHE, net 458 chrome/browser/profiles/profile_impl_io_data.cc net::HttpNetworkSession::Params network_session_params; net 460 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache* main_cache = new net::HttpCache( net 472 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache::RECORD : net::HttpCache::PLAYBACK); net 480 chrome/browser/profiles/profile_impl_io_data.cc new net::FtpNetworkLayer(io_thread_globals->host_resolver.get())); net 483 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> main_job_factory( net 484 chrome/browser/profiles/profile_impl_io_data.cc new net::URLRequestJobFactoryImpl()); net 534 chrome/browser/profiles/profile_impl_io_data.cc net::CookieStore* extensions_cookie_store = net 542 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> extensions_job_factory( net 543 chrome/browser/profiles/profile_impl_io_data.cc new net::URLRequestJobFactoryImpl()); net 576 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache::BackendFactory* app_backend = NULL; net 578 chrome/browser/profiles/profile_impl_io_data.cc app_backend = net::HttpCache::DefaultBackend::InMemory(0); net 580 chrome/browser/profiles/profile_impl_io_data.cc app_backend = new net::HttpCache::DefaultBackend( net 581 chrome/browser/profiles/profile_impl_io_data.cc net::DISK_CACHE, net 588 chrome/browser/profiles/profile_impl_io_data.cc net::HttpNetworkSession* main_network_session = net 590 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache* app_http_cache = net 591 chrome/browser/profiles/profile_impl_io_data.cc new net::HttpCache(main_network_session, app_backend); net 593 chrome/browser/profiles/profile_impl_io_data.cc scoped_refptr<net::CookieStore> cookie_store = NULL; net 604 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache::RECORD : net::HttpCache::PLAYBACK); net 626 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::HttpTransactionFactory>(app_http_cache)); net 628 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> job_factory( net 629 chrome/browser/profiles/profile_impl_io_data.cc new net::URLRequestJobFactoryImpl()); net 631 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::URLRequestJobFactory> top_job_factory( net 669 chrome/browser/profiles/profile_impl_io_data.cc net::HttpCache::BackendFactory* media_backend = net 670 chrome/browser/profiles/profile_impl_io_data.cc new net::HttpCache::DefaultBackend( net 671 chrome/browser/profiles/profile_impl_io_data.cc net::MEDIA_CACHE, net 677 chrome/browser/profiles/profile_impl_io_data.cc net::HttpNetworkSession* main_network_session = net 679 chrome/browser/profiles/profile_impl_io_data.cc scoped_ptr<net::HttpTransactionFactory> media_http_cache( net 680 chrome/browser/profiles/profile_impl_io_data.cc new net::HttpCache(main_network_session, media_backend)); net 29 chrome/browser/profiles/profile_impl_io_data.h namespace net { net 202 chrome/browser/profiles/profile_impl_io_data.h mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; net 203 chrome/browser/profiles/profile_impl_io_data.h mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; net 214 chrome/browser/profiles/profile_impl_io_data.h mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; net 215 chrome/browser/profiles/profile_impl_io_data.h mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; net 183 chrome/browser/profiles/profile_io_data.cc : public net::URLRequestJobFactory::ProtocolHandler { net 188 chrome/browser/profiles/profile_io_data.cc virtual net::URLRequestJob* MaybeCreateJob( net 189 chrome/browser/profiles/profile_io_data.cc net::URLRequest* request, net 190 chrome/browser/profiles/profile_io_data.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 193 chrome/browser/profiles/profile_io_data.cc return new net::URLRequestFileJob( net 476 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::HttpTransactionFactory> http_factory) { net 487 chrome/browser/profiles/profile_io_data.cc net::CookieStore* cookie_store) { net 493 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::HttpTransactionFactory> http_factory) { net 499 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::URLRequestJobFactory> job_factory) { net 634 chrome/browser/profiles/profile_io_data.cc return net::URLRequest::IsHandledProtocol(scheme); net 649 chrome/browser/profiles/profile_io_data.cc net::URLRequestJobFactoryImpl* job_factory, net 784 chrome/browser/profiles/profile_io_data.cc base::WeakPtr<net::HttpServerProperties> net 790 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::HttpServerProperties> http_server_properties) const { net 803 chrome/browser/profiles/profile_io_data.cc net::HostResolver* ProfileIOData::ResourceContext::GetHostResolver() { net 809 chrome/browser/profiles/profile_io_data.cc net::URLRequestContext* ProfileIOData::ResourceContext::GetRequestContext() { net 815 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::ClientCertStore> net 820 chrome/browser/profiles/profile_io_data.cc return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreChromeOS( net 825 chrome/browser/profiles/profile_io_data.cc return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreNSS( net 829 chrome/browser/profiles/profile_io_data.cc return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreWin()); net 831 chrome/browser/profiles/profile_io_data.cc return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreMac()); net 836 chrome/browser/profiles/profile_io_data.cc return scoped_ptr<net::ClientCertStore>(); net 846 chrome/browser/profiles/profile_io_data.cc const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) { net 849 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::KeygenHandler> keygen_handler( net 850 chrome/browser/profiles/profile_io_data.cc new net::KeygenHandler(key_size_in_bits, challenge_string, url)); net 854 chrome/browser/profiles/profile_io_data.cc net::HostPortPair::FromURL(url))); net 869 chrome/browser/profiles/profile_io_data.cc new net::KeygenHandler(key_size_in_bits, challenge_string, url))); net 965 chrome/browser/profiles/profile_io_data.cc transport_security_state_.reset(new net::TransportSecurityState()); net 967 chrome/browser/profiles/profile_io_data.cc new net::TransportSecurityPersister( net 987 chrome/browser/profiles/profile_io_data.cc scoped_refptr<net::CertVerifyProc> verify_proc; net 995 chrome/browser/profiles/profile_io_data.cc verify_proc = net::CertVerifyProc::CreateDefault(); net 1002 chrome/browser/profiles/profile_io_data.cc new net::MultiThreadedCertVerifier(verify_proc.get())); net 1023 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::URLRequestJobFactory> ProfileIOData::SetUpJobFactoryDefaults( net 1024 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, net 1028 chrome/browser/profiles/profile_io_data.cc net::NetworkDelegate* network_delegate, net 1029 chrome/browser/profiles/profile_io_data.cc net::FtpTransactionFactory* ftp_transaction_factory) const { net 1034 chrome/browser/profiles/profile_io_data.cc new net::FileProtocolHandler( net 1051 chrome/browser/profiles/profile_io_data.cc content::kDataScheme, new net::DataProtocolHandler()); net 1068 chrome/browser/profiles/profile_io_data.cc new net::FtpProtocolHandler(ftp_transaction_factory)); net 1076 chrome/browser/profiles/profile_io_data.cc scoped_ptr<net::URLRequestJobFactory> top_job_factory = net 1077 chrome/browser/profiles/profile_io_data.cc job_factory.PassAs<net::URLRequestJobFactory>(); net 1082 chrome/browser/profiles/profile_io_data.cc top_job_factory.reset(new net::ProtocolInterceptJobFactory( net 1089 chrome/browser/profiles/profile_io_data.cc return protocol_handler_interceptor.PassAs<net::URLRequestJobFactory>(); net 1133 chrome/browser/profiles/profile_io_data.cc net::ServerBoundCertService* server_bound_cert_service) const { net 1143 chrome/browser/profiles/profile_io_data.cc net::HttpNetworkSession::Params* params) const { net 43 chrome/browser/profiles/profile_io_data.h namespace net { net 87 chrome/browser/profiles/profile_io_data.h net::URLRequestJobFactoryImpl* job_factory, net 182 chrome/browser/profiles/profile_io_data.h net::TransportSecurityState* transport_security_state() const { net 220 chrome/browser/profiles/profile_io_data.h const base::Callback<scoped_ptr<net::ClientCertStore>()>& factory) { net 232 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::HttpTransactionFactory> http_factory); net 237 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::HttpTransactionFactory> http_factory_; net 246 chrome/browser/profiles/profile_io_data.h void SetCookieStore(net::CookieStore* cookie_store); net 248 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::HttpTransactionFactory> http_factory); net 249 chrome/browser/profiles/profile_io_data.h void SetJobFactory(scoped_ptr<net::URLRequestJobFactory> job_factory); net 254 chrome/browser/profiles/profile_io_data.h scoped_refptr<net::CookieStore> cookie_store_; net 255 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::HttpTransactionFactory> http_factory_; net 256 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::URLRequestJobFactory> job_factory_; net 269 chrome/browser/profiles/profile_io_data.h scoped_refptr<net::SSLConfigService> ssl_config_service; net 270 chrome/browser/profiles/profile_io_data.h scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; net 283 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::ProxyConfigService> proxy_config_service; net 306 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( net 307 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, net 311 chrome/browser/profiles/profile_io_data.h net::NetworkDelegate* network_delegate, net 312 chrome/browser/profiles/profile_io_data.h net::FtpTransactionFactory* ftp_transaction_factory) const; net 322 chrome/browser/profiles/profile_io_data.h net::ServerBoundCertService* server_bound_cert_service) const; net 328 chrome/browser/profiles/profile_io_data.h net::FraudulentCertificateReporter* fraudulent_certificate_reporter() const { net 332 chrome/browser/profiles/profile_io_data.h net::ProxyService* proxy_service() const { net 336 chrome/browser/profiles/profile_io_data.h base::WeakPtr<net::HttpServerProperties> http_server_properties() const; net 339 chrome/browser/profiles/profile_io_data.h scoped_ptr<net::HttpServerProperties> http_server_properties) const; net 358 chrome/browser/profiles/profile_io_data.h net::HttpNetworkSession::Params* params) const; net 371 chrome/browser/profiles/profile_io_data.h virtual net::HostResolver* GetHostResolver() OVERRIDE; net 372 chrome/browser/profiles/profile_io_data.h virtual net::URLRequestContext* GetRequestContext() OVERRIDE; net 373 chrome/browser/profiles/profile_io_data.h virtual scoped_ptr<net::ClientCertStore> CreateClientCertStore() OVERRIDE; net 378 chrome/browser/profiles/profile_io_data.h const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) net 393 chrome/browser/profiles/profile_io_data.h net::HostResolver* host_resolver_; net 394 chrome/browser/profiles/profile_io_data.h net::URLRequestContext* request_context_; net 472 chrome/browser/profiles/profile_io_data.h mutable base::Callback<scoped_ptr<net::ClientCertStore>()> net 518 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_; net 520 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<net::FraudulentCertificateReporter> net 522 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<net::ProxyService> proxy_service_; net 523 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; net 524 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<net::HttpServerProperties> net 531 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<net::TransportSecurityPersister> net 54 chrome/browser/referrer_policy_browsertest.cc test_server_.reset(new net::SpawnedTestServer( net 55 chrome/browser/referrer_policy_browsertest.cc net::SpawnedTestServer::TYPE_HTTP, net 56 chrome/browser/referrer_policy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 59 chrome/browser/referrer_policy_browsertest.cc ssl_test_server_.reset(new net::SpawnedTestServer( net 60 chrome/browser/referrer_policy_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 61 chrome/browser/referrer_policy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 164 chrome/browser/referrer_policy_browsertest.cc net::SpawnedTestServer* start_server = start_protocol == START_ON_HTTPS net 219 chrome/browser/referrer_policy_browsertest.cc scoped_ptr<net::SpawnedTestServer> test_server_; net 220 chrome/browser/referrer_policy_browsertest.cc scoped_ptr<net::SpawnedTestServer> ssl_test_server_; net 84 chrome/browser/renderer_host/chrome_render_message_filter.cc net::URLRequestContextGetter* request_context) net 154 chrome/browser/renderer_host/chrome_render_message_filter.cc net::HostResolver* ChromeRenderMessageFilter::GetHostResolver() { net 28 chrome/browser/renderer_host/chrome_render_message_filter.h namespace net { net 39 chrome/browser/renderer_host/chrome_render_message_filter.h net::URLRequestContextGetter* request_context); net 63 chrome/browser/renderer_host/chrome_render_message_filter.h net::HostResolver* GetHostResolver(); net 163 chrome/browser/renderer_host/chrome_render_message_filter.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 227 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 238 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc const net::HttpRequestHeaders& headers = request->extra_request_headers(); net 292 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 305 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc if (request->load_flags() & net::LOAD_IGNORE_LIMITS) { net 306 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc DCHECK_EQ(request->priority(), net::MAXIMUM_PRIORITY); net 308 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc request->SetPriority(net::IDLE); net 364 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::HttpRequestHeaders headers; net 402 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 441 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::AuthChallengeInfo* auth_info, net::URLRequest* request) { net 472 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 517 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 597 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 630 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::HttpResponseHeaders* response_headers = request->response_headers(); net 647 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::HttpResponseHeaders* response_headers = request->response_headers(); net 657 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* request, net 684 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc net::URLRequest* url_request) { net 48 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::URLRequest* request, net 56 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::URLRequest* request, net 65 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; net 86 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::URLRequest* request, net 92 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::URLRequest* request, net 95 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h virtual void RequestComplete(net::URLRequest* url_request) OVERRIDE; net 104 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::URLRequest* request, net 113 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h net::URLRequest* request, net 43 chrome/browser/renderer_host/offline_resource_throttle.cc if (!net::NetworkChangeNotifier::IsOffline()) { net 62 chrome/browser/renderer_host/offline_resource_throttle.cc net::URLRequest* request, net 121 chrome/browser/renderer_host/offline_resource_throttle.cc return !net::IsLocalhost(url.host()) && (url.SchemeIs(content::kFtpScheme) || net 129 chrome/browser/renderer_host/offline_resource_throttle.cc return IsRemote(url) && net::NetworkChangeNotifier::IsOffline(); net 135 chrome/browser/renderer_host/offline_resource_throttle.cc if (rv == net::OK) { net 20 chrome/browser/renderer_host/offline_resource_throttle.h namespace net { net 28 chrome/browser/renderer_host/offline_resource_throttle.h OfflineResourceThrottle(net::URLRequest* request, net 50 chrome/browser/renderer_host/offline_resource_throttle.h net::URLRequest* request_; net 53 chrome/browser/renderer_host/offline_resource_throttle.h net::CancelableCompletionCallback appcache_completion_callback_; net 28 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc const net::URLRequest* request, net 102 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc if (request_->load_flags() & net::LOAD_PREFETCH) { net 20 chrome/browser/renderer_host/safe_browsing_resource_throttle.h namespace net { net 51 chrome/browser/renderer_host/safe_browsing_resource_throttle.h SafeBrowsingResourceThrottle(const net::URLRequest* request, net 128 chrome/browser/renderer_host/safe_browsing_resource_throttle.h const net::URLRequest* request_; net 18 chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.cc net::URLRequest* request, net 16 chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h namespace net { net 36 chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h net::URLRequest* request, net 45 chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h net::URLRequest* request, net 343 chrome/browser/rlz/rlz.cc net::URLRequestContextGetter* context_getter = net 557 chrome/browser/rlz/rlz.cc net::HttpUtil::AppendHeaderIfMissing("X-Rlz-String", net 25 chrome/browser/rlz/rlz.h namespace net { net 37 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc std::vector<scoped_refptr<net::X509Certificate> >* certs) { net 40 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc net::X509Certificate::CreateFromBytes( net 57 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc std::vector<scoped_refptr<net::X509Certificate> > certs; net 74 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc std::vector<scoped_refptr<net::X509Certificate> > certs; net 98 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLRequestContextGetter* request_context_getter) net 118 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLRequestContextGetter* request_context_getter) { net 146 chrome/browser/safe_browsing/client_side_detection_service.cc for (std::map<const net::URLFetcher*, ClientReportInfo*>::iterator it = net 156 chrome/browser/safe_browsing/client_side_detection_service.cc for (std::map<const net::URLFetcher*, ClientMalwareReportInfo*>::iterator it net 192 chrome/browser/safe_browsing/client_side_detection_service.cc net::IPAddressNumber ip_number; net 193 chrome/browser/safe_browsing/client_side_detection_service.cc if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { net 202 chrome/browser/safe_browsing/client_side_detection_service.cc if (net::IPNumberMatchesPrefix(ip_number, it->first, it->second)) { net 210 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLFetcher* source) { net 286 chrome/browser/safe_browsing/client_side_detection_service.cc model_fetcher_.reset(net::URLFetcher::Create( net 288 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLFetcher::GET, this)); net 339 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 342 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLFetcher::POST, this); net 350 chrome/browser/safe_browsing/client_side_detection_service.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 380 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 383 chrome/browser/safe_browsing/client_side_detection_service.cc net::URLFetcher::POST, this); net 391 chrome/browser/safe_browsing/client_side_detection_service.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 407 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLFetcher* source, net 409 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLRequestStatus& status, net 411 chrome/browser/safe_browsing/client_side_detection_service.cc const net::ResponseCookies& cookies, net 414 chrome/browser/safe_browsing/client_side_detection_service.cc if (status.is_success() && net::HTTP_OK == response_code && net 421 chrome/browser/safe_browsing/client_side_detection_service.cc if (!status.is_success() || net::HTTP_OK != response_code) { net 448 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLFetcher* source, net 450 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLRequestStatus& status, net 452 chrome/browser/safe_browsing/client_side_detection_service.cc const net::ResponseCookies& cookies, net 457 chrome/browser/safe_browsing/client_side_detection_service.cc if (status.is_success() && net::HTTP_OK == response_code && net 475 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLFetcher* source, net 477 chrome/browser/safe_browsing/client_side_detection_service.cc const net::URLRequestStatus& status, net 479 chrome/browser/safe_browsing/client_side_detection_service.cc const net::ResponseCookies& cookies, net 492 chrome/browser/safe_browsing/client_side_detection_service.cc if (status.is_success() && net::HTTP_OK == response_code && net 610 chrome/browser/safe_browsing/client_side_detection_service.cc net::IPAddressNumber ip_number; net 612 chrome/browser/safe_browsing/client_side_detection_service.cc if (net::ParseCIDRBlock(kPrivateNetworks[i], &ip_number, &prefix_length)) { net 629 chrome/browser/safe_browsing/client_side_detection_service.cc if (size < 0 || size > static_cast<int>(net::kIPv6AddressSize) * 8) { net 641 chrome/browser/safe_browsing/client_side_detection_service.cc std::string mask(net::kIPv6AddressSize, '\x00'); net 676 chrome/browser/safe_browsing/client_side_detection_service.cc url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); net 47 chrome/browser/safe_browsing/client_side_detection_service.h namespace net { net 60 chrome/browser/safe_browsing/client_side_detection_service.h class ClientSideDetectionService : public net::URLFetcherDelegate, net 75 chrome/browser/safe_browsing/client_side_detection_service.h net::URLRequestContextGetter* request_context_getter); net 91 chrome/browser/safe_browsing/client_side_detection_service.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 143 chrome/browser/safe_browsing/client_side_detection_service.h net::URLRequestContextGetter* request_context_getter); net 194 chrome/browser/safe_browsing/client_side_detection_service.h typedef std::pair<net::IPAddressNumber, size_t> AddressRange; net 224 chrome/browser/safe_browsing/client_side_detection_service.h void HandleModelResponse(const net::URLFetcher* source, net 226 chrome/browser/safe_browsing/client_side_detection_service.h const net::URLRequestStatus& status, net 228 chrome/browser/safe_browsing/client_side_detection_service.h const net::ResponseCookies& cookies, net 233 chrome/browser/safe_browsing/client_side_detection_service.h void HandlePhishingVerdict(const net::URLFetcher* source, net 235 chrome/browser/safe_browsing/client_side_detection_service.h const net::URLRequestStatus& status, net 237 chrome/browser/safe_browsing/client_side_detection_service.h const net::ResponseCookies& cookies, net 242 chrome/browser/safe_browsing/client_side_detection_service.h void HandleMalwareVerdict(const net::URLFetcher* source, net 244 chrome/browser/safe_browsing/client_side_detection_service.h const net::URLRequestStatus& status, net 246 chrome/browser/safe_browsing/client_side_detection_service.h const net::ResponseCookies& cookies, net 293 chrome/browser/safe_browsing/client_side_detection_service.h scoped_ptr<net::URLFetcher> model_fetcher_; net 298 chrome/browser/safe_browsing/client_side_detection_service.h std::map<const net::URLFetcher*, ClientReportInfo*> net 303 chrome/browser/safe_browsing/client_side_detection_service.h std::map<const net::URLFetcher*, ClientMalwareReportInfo*> net 328 chrome/browser/safe_browsing/client_side_detection_service.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 69 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc factory_.reset(new net::FakeURLFetcherFactory(NULL)); net 110 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::HttpStatusCode response_code, net 111 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::Status status) { net 117 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::HttpStatusCode response_code, net 118 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::Status status) { net 126 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::HttpStatusCode response_code, net 127 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::Status status) { net 227 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc scoped_ptr<net::FakeURLFetcherFactory> factory_; net 263 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("blamodel", net::HTTP_INTERNAL_SERVER_ERROR, net 264 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::FAILED); net 273 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(std::string(), net::HTTP_OK, net 274 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 284 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 293 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("Invalid model file", net::HTTP_OK, net 294 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 305 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializePartialAsString(), net::HTTP_OK, net 306 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 318 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializePartialAsString(), net::HTTP_OK, net 319 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 330 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, net 331 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 341 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, net 342 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 354 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, net 355 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 365 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, net 366 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 376 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("bogus model", net::HTTP_OK, net 377 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 390 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("bogus model", net::HTTP_OK, net 391 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 401 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportPhishingResponse("invalid proto response", net::HTTP_OK, net 402 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 408 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportPhishingResponse(response.SerializeAsString(), net::HTTP_OK, net 409 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 416 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 417 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::FAILED); net 441 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("bogus model", net::HTTP_OK, net 442 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 449 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportMalwareResponse("invalid proto response", net::HTTP_OK, net 450 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 456 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportMalwareResponse(response.SerializeAsString(), net::HTTP_OK, net 457 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 463 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportMalwareResponse(response.SerializeAsString(), net::HTTP_OK, net 464 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 471 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 472 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::FAILED); net 477 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportMalwareResponse(response.SerializeAsString(), net::HTTP_OK, net 478 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 500 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("bogus model", net::HTTP_OK, net 501 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 516 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("bogus model", net::HTTP_OK, net 517 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 524 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse("bogus model", net::HTTP_OK, net 525 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 656 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, net 657 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 689 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetClientReportPhishingResponse(response.SerializeAsString(), net::HTTP_OK, net 690 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc net::URLRequestStatus::SUCCESS); net 34 chrome/browser/safe_browsing/database_manager.h namespace net { net 42 chrome/browser/safe_browsing/download_feedback.cc DownloadFeedbackImpl(net::URLRequestContextGetter* request_context_getter, net 70 chrome/browser/safe_browsing/download_feedback.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 86 chrome/browser/safe_browsing/download_feedback.cc net::URLRequestContextGetter* request_context_getter, net 172 chrome/browser/safe_browsing/download_feedback.cc if (net_error != net::OK) net 178 chrome/browser/safe_browsing/download_feedback.cc if (net_error != net::OK) net 214 chrome/browser/safe_browsing/download_feedback.cc net::URLRequestContextGetter* request_context_getter, net 31 chrome/browser/safe_browsing/download_feedback.h net::URLRequestContextGetter* request_context_getter, net 70 chrome/browser/safe_browsing/download_feedback.h net::URLRequestContextGetter* request_context_getter, net 77 chrome/browser/safe_browsing/download_feedback_service.cc net::URLRequestContextGetter* request_context_getter, net 25 chrome/browser/safe_browsing/download_feedback_service.h namespace net { net 37 chrome/browser/safe_browsing/download_feedback_service.h DownloadFeedbackService(net::URLRequestContextGetter* request_context_getter, net 83 chrome/browser/safe_browsing/download_feedback_service.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 29 chrome/browser/safe_browsing/download_feedback_service_unittest.cc FakeDownloadFeedback(net::URLRequestContextGetter* request_context_getter, net 67 chrome/browser/safe_browsing/download_feedback_service_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 83 chrome/browser/safe_browsing/download_feedback_service_unittest.cc net::URLRequestContextGetter* request_context_getter, net 137 chrome/browser/safe_browsing/download_feedback_service_unittest.cc new net::TestURLRequestContextGetter(io_task_runner_)) { net 171 chrome/browser/safe_browsing/download_feedback_service_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 27 chrome/browser/safe_browsing/download_feedback_unittest.cc FakeUploader(net::URLRequestContextGetter* url_request_context_getter, net 40 chrome/browser/safe_browsing/download_feedback_unittest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 52 chrome/browser/safe_browsing/download_feedback_unittest.cc net::URLRequestContextGetter* url_request_context_getter, net 75 chrome/browser/safe_browsing/download_feedback_unittest.cc net::URLRequestContextGetter* url_request_context_getter, net 87 chrome/browser/safe_browsing/download_feedback_unittest.cc net::URLRequestContextGetter* url_request_context_getter, net 112 chrome/browser/safe_browsing/download_feedback_unittest.cc new net::TestURLRequestContextGetter(io_task_runner_)), net 149 chrome/browser/safe_browsing/download_feedback_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 199 chrome/browser/safe_browsing/download_feedback_unittest.cc TwoPhaseUploader::STATE_SUCCESS, net::OK, 0, ""); net 277 chrome/browser/safe_browsing/download_protection_service.cc public net::URLFetcherDelegate, net 389 chrome/browser/safe_browsing/download_protection_service.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 407 chrome/browser/safe_browsing/download_protection_service.cc net::HTTP_OK == source->GetResponseCode()) { net 723 chrome/browser/safe_browsing/download_protection_service.cc fetcher_.reset(net::URLFetcher::Create(0 /* ID used for testing */, net 725 chrome/browser/safe_browsing/download_protection_service.cc net::URLFetcher::POST, net 727 chrome/browser/safe_browsing/download_protection_service.cc fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 783 chrome/browser/safe_browsing/download_protection_service.cc scoped_refptr<net::X509Certificate> cert = net 784 chrome/browser/safe_browsing/download_protection_service.cc net::X509Certificate::CreateFromBytes( net 792 chrome/browser/safe_browsing/download_protection_service.cc scoped_refptr<net::X509Certificate> issuer = net 793 chrome/browser/safe_browsing/download_protection_service.cc net::X509Certificate::CreateFromBytes( net 837 chrome/browser/safe_browsing/download_protection_service.cc scoped_ptr<net::URLFetcher> fetcher_; net 852 chrome/browser/safe_browsing/download_protection_service.cc net::URLRequestContextGetter* request_context_getter) net 981 chrome/browser/safe_browsing/download_protection_service.cc const net::X509Certificate& certificate, net 982 chrome/browser/safe_browsing/download_protection_service.cc const net::X509Certificate& issuer, net 992 chrome/browser/safe_browsing/download_protection_service.cc const net::CertPrincipal& subject = certificate.subject(); net 1040 chrome/browser/safe_browsing/download_protection_service.cc url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); net 30 chrome/browser/safe_browsing/download_protection_service.h namespace net { net 59 chrome/browser/safe_browsing/download_protection_service.h net::URLRequestContextGetter* request_context_getter); net 171 chrome/browser/safe_browsing/download_protection_service.h const net::X509Certificate& certificate, net 172 chrome/browser/safe_browsing/download_protection_service.h const net::X509Certificate& issuer, net 183 chrome/browser/safe_browsing/download_protection_service.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 116 chrome/browser/safe_browsing/download_protection_service_unittest.cc class TestURLFetcherWatcher : public net::TestURLFetcherDelegateForTests { net 118 chrome/browser/safe_browsing/download_protection_service_unittest.cc explicit TestURLFetcherWatcher(net::TestURLFetcherFactory* factory) net 140 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcherFactory* factory_; net 265 chrome/browser/safe_browsing/download_protection_service_unittest.cc const net::X509Certificate& certificate, net 266 chrome/browser/safe_browsing/download_protection_service_unittest.cc const net::X509Certificate& issuer, net 274 chrome/browser/safe_browsing/download_protection_service_unittest.cc scoped_refptr<net::X509Certificate> ReadTestCertificate( net 281 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::CertificateList certs = net 282 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::X509Certificate::CreateCertificateListFromBytes( net 285 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::X509Certificate::FORMAT_PEM_CERT_SEQUENCE); net 335 chrome/browser/safe_browsing/download_protection_service_unittest.cc void SendURLFetchComplete(net::TestURLFetcher* fetcher) { net 407 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::FakeURLFetcherFactory factory(NULL); net 411 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 498 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::FakeURLFetcherFactory factory(NULL); net 502 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net::URLRequestStatus::FAILED); net 543 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::FakeURLFetcherFactory factory(NULL); net 548 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 592 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 610 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 630 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 655 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 677 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 694 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::FakeURLFetcherFactory factory(NULL); net 698 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 745 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::FakeURLFetcherFactory factory(NULL); net 750 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 820 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 881 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::FakeURLFetcherFactory factory(NULL); net 886 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 928 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcherFactory factory; net 970 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 975 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1017 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcherFactory factory; net 1057 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1062 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1093 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcherFactory factory; net 1147 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1151 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1222 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1226 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 1341 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcherFactory factory; net 1385 chrome/browser/safe_browsing/download_protection_service_unittest.cc net::TestURLFetcherFactory factory; net 1434 chrome/browser/safe_browsing/download_protection_service_unittest.cc scoped_refptr<net::X509Certificate> issuer_cert( net 1441 chrome/browser/safe_browsing/download_protection_service_unittest.cc scoped_refptr<net::X509Certificate> cert(ReadTestCertificate("test_cn.pem")); net 16 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc : net::LocalTestServer(net::SpawnedTestServer::TYPE_HTTP, net 17 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc net::SpawnedTestServer::kLocalhost, net 43 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc if (!net::LocalTestServer::SetPythonPath()) net 15 chrome/browser/safe_browsing/local_safebrowsing_test_server.h class LocalSafeBrowsingTestServer : public net::LocalTestServer { net 15 chrome/browser/safe_browsing/local_two_phase_testserver.cc : net::LocalTestServer(net::SpawnedTestServer::TYPE_HTTP, net 16 chrome/browser/safe_browsing/local_two_phase_testserver.cc net::SpawnedTestServer::kLocalhost, net 15 chrome/browser/safe_browsing/local_two_phase_testserver.h class LocalTwoPhaseTestServer : public net::LocalTestServer { net 27 chrome/browser/safe_browsing/malware_details.h namespace net { net 94 chrome/browser/safe_browsing/malware_details.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 37 chrome/browser/safe_browsing/malware_details_cache.cc net::URLRequestContextGetter* request_context_getter, net 81 chrome/browser/safe_browsing/malware_details_cache.cc current_fetch_.reset(net::URLFetcher::Create( net 82 chrome/browser/safe_browsing/malware_details_cache.cc GURL(resources_it_->first), net::URLFetcher::GET, this)); net 85 chrome/browser/safe_browsing/malware_details_cache.cc current_fetch_->SetLoadFlags(net::LOAD_ONLY_FROM_CACHE | net 86 chrome/browser/safe_browsing/malware_details_cache.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 101 chrome/browser/safe_browsing/malware_details_cache.cc const net::URLFetcher* source) { net 105 chrome/browser/safe_browsing/malware_details_cache.cc if (source->GetStatus().status() != net::URLRequestStatus::SUCCESS && net 106 chrome/browser/safe_browsing/malware_details_cache.cc source->GetStatus().error() == net::ERR_CACHE_MISS) { net 113 chrome/browser/safe_browsing/malware_details_cache.cc if (source->GetStatus().status() != net::URLRequestStatus::SUCCESS) { net 140 chrome/browser/safe_browsing/malware_details_cache.cc const net::URLFetcher* source) { net 143 chrome/browser/safe_browsing/malware_details_cache.cc net::HttpResponseHeaders* headers = source->GetResponseHeaders(); net 22 chrome/browser/safe_browsing/malware_details_cache.h namespace net { net 37 chrome/browser/safe_browsing/malware_details_cache.h public net::URLFetcherDelegate { net 46 chrome/browser/safe_browsing/malware_details_cache.h net::URLRequestContextGetter* request_context_getter, net 57 chrome/browser/safe_browsing/malware_details_cache.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 82 chrome/browser/safe_browsing/malware_details_cache.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 85 chrome/browser/safe_browsing/malware_details_cache.h scoped_ptr<net::URLFetcher> current_fetch_; net 97 chrome/browser/safe_browsing/malware_details_cache.h const net::URLFetcher* source); net 65 chrome/browser/safe_browsing/malware_details_unittest.cc net::HttpResponseInfo responseinfo; net 66 chrome/browser/safe_browsing/malware_details_unittest.cc std::string raw_headers = net::HttpUtil::AssembleRawHeaders( net 68 chrome/browser/safe_browsing/malware_details_unittest.cc responseinfo.socket_address = net::HostPortPair("1.2.3.4", 80); net 69 chrome/browser/safe_browsing/malware_details_unittest.cc responseinfo.headers = new net::HttpResponseHeaders(raw_headers); net 74 chrome/browser/safe_browsing/malware_details_unittest.cc scoped_refptr<net::WrappedIOBuffer> buf(new net::WrappedIOBuffer( net 78 chrome/browser/safe_browsing/malware_details_unittest.cc net::TestCompletionCallback cb; net 88 chrome/browser/safe_browsing/malware_details_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(len)); net 91 chrome/browser/safe_browsing/malware_details_unittest.cc net::TestCompletionCallback cb; net 98 chrome/browser/safe_browsing/malware_details_unittest.cc net::TestCompletionCallback cb; net 102 chrome/browser/safe_browsing/malware_details_unittest.cc if (rv != net::OK) { net 104 chrome/browser/safe_browsing/malware_details_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 112 chrome/browser/safe_browsing/malware_details_unittest.cc void FillCache(net::URLRequestContextGetter* context_getter) { net 113 chrome/browser/safe_browsing/malware_details_unittest.cc net::TestCompletionCallback cb; net 118 chrome/browser/safe_browsing/malware_details_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 132 chrome/browser/safe_browsing/malware_details_unittest.cc net::URLRequestContextGetter* request_context_getter) net 26 chrome/browser/safe_browsing/ping_manager.cc net::URLRequestContextGetter* request_context_getter, net 33 chrome/browser/safe_browsing/ping_manager.cc net::URLRequestContextGetter* request_context_getter, net 53 chrome/browser/safe_browsing/ping_manager.cc const net::URLFetcher* source) { net 71 chrome/browser/safe_browsing/ping_manager.cc net::URLFetcher* report = net::URLFetcher::Create( net 73 chrome/browser/safe_browsing/ping_manager.cc post_data.empty() ? net::URLFetcher::GET : net::URLFetcher::POST, net 75 chrome/browser/safe_browsing/ping_manager.cc report->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 87 chrome/browser/safe_browsing/ping_manager.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 88 chrome/browser/safe_browsing/ping_manager.cc report_url, net::URLFetcher::POST, this); net 89 chrome/browser/safe_browsing/ping_manager.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 131 chrome/browser/safe_browsing/ping_manager.cc net::EscapeQueryParamValue(malicious_url.spec(), true).c_str(), net 132 chrome/browser/safe_browsing/ping_manager.cc net::EscapeQueryParamValue(page_url.spec(), true).c_str(), net 133 chrome/browser/safe_browsing/ping_manager.cc net::EscapeQueryParamValue(referrer_url.spec(), true).c_str(), net 146 chrome/browser/safe_browsing/ping_manager.cc net::EscapeQueryParamValue(api_key, true).c_str()); net 21 chrome/browser/safe_browsing/ping_manager.h namespace net { net 26 chrome/browser/safe_browsing/ping_manager.h class SafeBrowsingPingManager : public net::URLFetcherDelegate { net 32 chrome/browser/safe_browsing/ping_manager.h net::URLRequestContextGetter* request_context_getter, net 36 chrome/browser/safe_browsing/ping_manager.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 58 chrome/browser/safe_browsing/ping_manager.h typedef std::set<const net::URLFetcher*> Reports; net 63 chrome/browser/safe_browsing/ping_manager.h net::URLRequestContextGetter* request_context_getter, net 81 chrome/browser/safe_browsing/ping_manager.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 30 chrome/browser/safe_browsing/ping_manager_unittest.cc net::EscapeQueryParamValue(key, true).c_str()); net 76 chrome/browser/safe_browsing/protocol_manager.cc net::URLRequestContextGetter* request_context_getter, net 93 chrome/browser/safe_browsing/protocol_manager.cc net::URLRequestContextGetter* request_context_getter, net 103 chrome/browser/safe_browsing/protocol_manager.cc net::URLRequestContextGetter* request_context_getter, net 179 chrome/browser/safe_browsing/protocol_manager.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 180 chrome/browser/safe_browsing/protocol_manager.cc url_fetcher_id_++, gethash_url, net::URLFetcher::POST, this); net 187 chrome/browser/safe_browsing/protocol_manager.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 210 chrome/browser/safe_browsing/protocol_manager.cc const net::URLFetcher* source) { net 212 chrome/browser/safe_browsing/protocol_manager.cc scoped_ptr<const net::URLFetcher> fetcher; net 247 chrome/browser/safe_browsing/protocol_manager.cc if (source->GetStatus().status() == net::URLRequestStatus::FAILED) { net 278 chrome/browser/safe_browsing/protocol_manager.cc net::URLRequestStatus status = source->GetStatus(); net 320 chrome/browser/safe_browsing/protocol_manager.cc if (status.status() == net::URLRequestStatus::FAILED) { net 336 chrome/browser/safe_browsing/protocol_manager.cc case net::ERR_INTERNET_DISCONNECTED: net 337 chrome/browser/safe_browsing/protocol_manager.cc case net::ERR_NETWORK_CHANGED: net 553 chrome/browser/safe_browsing/protocol_manager.cc request_.reset(net::URLFetcher::Create( net 554 chrome/browser/safe_browsing/protocol_manager.cc url_fetcher_id_++, backup_update_url, net::URLFetcher::POST, this)); net 555 chrome/browser/safe_browsing/protocol_manager.cc request_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 580 chrome/browser/safe_browsing/protocol_manager.cc request_.reset(net::URLFetcher::Create( net 581 chrome/browser/safe_browsing/protocol_manager.cc url_fetcher_id_++, chunk_url, net::URLFetcher::GET, this)); net 582 chrome/browser/safe_browsing/protocol_manager.cc request_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 627 chrome/browser/safe_browsing/protocol_manager.cc request_.reset(net::URLFetcher::Create( net 628 chrome/browser/safe_browsing/protocol_manager.cc url_fetcher_id_++, update_url, net::URLFetcher::POST, this)); net 629 chrome/browser/safe_browsing/protocol_manager.cc request_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 34 chrome/browser/safe_browsing/protocol_manager.h namespace net { net 44 chrome/browser/safe_browsing/protocol_manager.h struct hash<const net::URLFetcher*> { net 45 chrome/browser/safe_browsing/protocol_manager.h size_t operator()(const net::URLFetcher* fetcher) const { net 55 chrome/browser/safe_browsing/protocol_manager.h class SafeBrowsingProtocolManager : public net::URLFetcherDelegate, net 78 chrome/browser/safe_browsing/protocol_manager.h net::URLRequestContextGetter* request_context_getter, net 86 chrome/browser/safe_browsing/protocol_manager.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 163 chrome/browser/safe_browsing/protocol_manager.h net::URLRequestContextGetter* request_context_getter, net 279 chrome/browser/safe_browsing/protocol_manager.h typedef base::hash_map<const net::URLFetcher*, FullHashDetails> HashRequests; net 291 chrome/browser/safe_browsing/protocol_manager.h scoped_ptr<net::URLFetcher> request_; net 359 chrome/browser/safe_browsing/protocol_manager.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 390 chrome/browser/safe_browsing/protocol_manager.h net::URLRequestContextGetter* request_context_getter, net 49 chrome/browser/safe_browsing/protocol_manager_helper.cc net::EscapeQueryParamValue(api_key, true).c_str()); net 42 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::EscapeQueryParamValue(key, true).c_str()); net 61 chrome/browser/safe_browsing/protocol_manager_unittest.cc const net::TestURLFetcher* url_fetcher, net 64 chrome/browser/safe_browsing/protocol_manager_unittest.cc EXPECT_EQ(net::LOAD_DISABLE_CACHE, url_fetcher->GetLoadFlags()); net 72 chrome/browser/safe_browsing/protocol_manager_unittest.cc void ValidateUpdateFetcherRequest(const net::TestURLFetcher* url_fetcher) { net 76 chrome/browser/safe_browsing/protocol_manager_unittest.cc void ValidateRedirectFetcherRequest(const net::TestURLFetcher* url_fetcher, net 79 chrome/browser/safe_browsing/protocol_manager_unittest.cc EXPECT_EQ(net::LOAD_DISABLE_CACHE, url_fetcher->GetLoadFlags()); net 339 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 368 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 370 chrome/browser/safe_browsing/protocol_manager_unittest.cc EXPECT_EQ(net::LOAD_DISABLE_CACHE, url_fetcher->GetLoadFlags()); net 379 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 391 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 409 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 413 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 419 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 425 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 439 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 457 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 461 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 467 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 472 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 486 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 504 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 508 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 514 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 520 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 534 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 552 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 556 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 562 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 585 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 603 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 607 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 608 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::ERR_CONNECTION_RESET)); net 612 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 618 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 633 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 651 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 655 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 656 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::ERR_CONNECTION_RESET)); net 660 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 666 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 680 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 698 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 703 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::URLRequestStatus(net::URLRequestStatus::FAILED, net 704 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::ERR_INTERNET_DISCONNECTED)); net 708 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 714 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 729 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 747 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 752 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::URLRequestStatus(net::URLRequestStatus::FAILED, net 753 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::ERR_INTERNET_DISCONNECTED)); net 757 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 763 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 776 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 794 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 802 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* backup_url_fetcher = net 808 chrome/browser/safe_browsing/protocol_manager_unittest.cc backup_url_fetcher->set_status(net::URLRequestStatus()); net 821 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 839 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 843 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 857 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 875 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 877 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 885 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* chunk_url_fetcher = net 889 chrome/browser/safe_browsing/protocol_manager_unittest.cc chunk_url_fetcher->set_status(net::URLRequestStatus()); net 903 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 921 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 923 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 931 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* chunk_url_fetcher = net 935 chrome/browser/safe_browsing/protocol_manager_unittest.cc chunk_url_fetcher->set_status(net::URLRequestStatus()); net 949 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 969 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 971 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 979 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* chunk_url_fetcher = net 983 chrome/browser/safe_browsing/protocol_manager_unittest.cc chunk_url_fetcher->set_status(net::URLRequestStatus()); net 1004 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcherFactory url_fetcher_factory; net 1024 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); net 1026 chrome/browser/safe_browsing/protocol_manager_unittest.cc url_fetcher->set_status(net::URLRequestStatus()); net 1035 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* first_chunk_url_fetcher = net 1039 chrome/browser/safe_browsing/protocol_manager_unittest.cc first_chunk_url_fetcher->set_status(net::URLRequestStatus()); net 1053 chrome/browser/safe_browsing/protocol_manager_unittest.cc net::TestURLFetcher* second_chunk_url_fetcher = net 1057 chrome/browser/safe_browsing/protocol_manager_unittest.cc second_chunk_url_fetcher->set_status(net::URLRequestStatus()); net 419 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc net::EscapeQueryParamValue(bad_url_spec, true).c_str()); net 844 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc net::SpawnedTestServer https_server( net 845 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc net::SpawnedTestServer::TYPE_HTTPS, net::SpawnedTestServer::kLocalhost, net 792 chrome/browser/safe_browsing/safe_browsing_database.cc net::IPAddressNumber ip_number; net 793 chrome/browser/safe_browsing/safe_browsing_database.cc if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { net 797 chrome/browser/safe_browsing/safe_browsing_database.cc if (ip_number.size() == net::kIPv4AddressSize) { net 798 chrome/browser/safe_browsing/safe_browsing_database.cc ip_number = net::ConvertIPv4NumberToIPv6Number(ip_number); net 800 chrome/browser/safe_browsing/safe_browsing_database.cc if (ip_number.size() != net::kIPv6AddressSize) { net 812 chrome/browser/safe_browsing/safe_browsing_database.cc std::string subnet(net::kIPv6AddressSize, '\0'); net 813 chrome/browser/safe_browsing/safe_browsing_database.cc for (size_t i = 0; i < net::kIPv6AddressSize; ++i) { net 1669 chrome/browser/safe_browsing/safe_browsing_database.cc std::string mask(net::kIPv6AddressSize, '\0'); net 33 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc net::IPAddressNumber ip_number; net 34 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_TRUE(net::ParseIPLiteralToNumber(ip_prefix, &ip_number)); net 35 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_EQ(net::kIPv6AddressSize, ip_number.size()); net 37 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc net::IPAddressToPackedString(ip_number)); net 85 chrome/browser/safe_browsing/safe_browsing_service.cc : public net::URLRequestContextGetter { net 91 chrome/browser/safe_browsing/safe_browsing_service.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 114 chrome/browser/safe_browsing/safe_browsing_service.cc net::URLRequestContext* net 265 chrome/browser/safe_browsing/safe_browsing_service.cc net::URLRequestContextGetter* SafeBrowsingService::url_request_context() { net 304 chrome/browser/safe_browsing/safe_browsing_service.cc net::URLRequestContextGetter* system_url_request_context_getter) { net 308 chrome/browser/safe_browsing/safe_browsing_service.cc scoped_refptr<net::CookieStore> cookie_store( net 316 chrome/browser/safe_browsing/safe_browsing_service.cc url_request_context_.reset(new net::URLRequestContext); net 371 chrome/browser/safe_browsing/safe_browsing_service.cc net::URLRequestContextGetter* url_request_context_getter) { net 39 chrome/browser/safe_browsing/safe_browsing_service.h namespace net { net 102 chrome/browser/safe_browsing/safe_browsing_service.h net::URLRequestContextGetter* url_request_context(); net 132 chrome/browser/safe_browsing/safe_browsing_service.h net::URLRequestContextGetter* system_url_request_context_getter); net 139 chrome/browser/safe_browsing/safe_browsing_service.h net::URLRequestContextGetter* url_request_context_getter); net 179 chrome/browser/safe_browsing/safe_browsing_service.h scoped_refptr<net::URLRequestContextGetter> net 183 chrome/browser/safe_browsing/safe_browsing_service.h scoped_ptr<net::URLRequestContext> url_request_context_; net 236 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc net::URLRequestContextGetter* request_context_getter, net 299 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc net::URLRequestContextGetter* request_context_getter, net 209 chrome/browser/safe_browsing/safe_browsing_test.cc const net::SpawnedTestServer& test_server() const { net 270 chrome/browser/safe_browsing/safe_browsing_test.cc scoped_ptr<net::SpawnedTestServer> test_server_; net 294 chrome/browser/safe_browsing/safe_browsing_test.cc public net::URLFetcherDelegate { net 297 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestContextGetter* request_context) net 299 chrome/browser/safe_browsing/safe_browsing_test.cc response_status_(net::URLRequestStatus::FAILED), net 375 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestStatus::Status FetchDBToVerify( net 376 chrome/browser/safe_browsing/safe_browsing_test.cc const net::SpawnedTestServer& test_server, net 386 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestStatus::Status FetchUrlsToVerify( net 387 chrome/browser/safe_browsing/safe_browsing_test.cc const net::SpawnedTestServer& test_server, net 398 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestStatus::Status VerifyTestComplete( net 399 chrome/browser/safe_browsing/safe_browsing_test.cc const net::SpawnedTestServer& test_server, net 407 chrome/browser/safe_browsing/safe_browsing_test.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 429 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestStatus::Status FetchUrl(const GURL& url) { net 430 chrome/browser/safe_browsing/safe_browsing_test.cc url_fetcher_.reset(net::URLFetcher::Create( net 431 chrome/browser/safe_browsing/safe_browsing_test.cc url, net::URLFetcher::GET, this)); net 432 chrome/browser/safe_browsing/safe_browsing_test.cc url_fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 441 chrome/browser/safe_browsing/safe_browsing_test.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 443 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestStatus::Status response_status_; net 444 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestContextGetter* request_context_; net 453 chrome/browser/safe_browsing/safe_browsing_test.cc net::URLRequestContextGetter* request_context = net 493 chrome/browser/safe_browsing/safe_browsing_test.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, net 522 chrome/browser/safe_browsing/safe_browsing_test.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, net 529 chrome/browser/safe_browsing/safe_browsing_test.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, net 259 chrome/browser/safe_browsing/safe_browsing_util.cc unescaped_str = net::UnescapeURLComponent(old_unescaped_str, net 260 chrome/browser/safe_browsing/safe_browsing_util.cc net::UnescapeRule::CONTROL_CHARS | net::UnescapeRule::SPACES | net 261 chrome/browser/safe_browsing/safe_browsing_util.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 516 chrome/browser/safe_browsing/safe_browsing_util.cc const std::string current_esc = net::EscapeQueryParamValue(url_to_report, net 26 chrome/browser/safe_browsing/two_phase_uploader.cc class TwoPhaseUploaderImpl : public net::URLFetcherDelegate, net 29 chrome/browser/safe_browsing/two_phase_uploader.cc TwoPhaseUploaderImpl(net::URLRequestContextGetter* url_request_context_getter, net 42 chrome/browser/safe_browsing/two_phase_uploader.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 43 chrome/browser/safe_browsing/two_phase_uploader.cc virtual void OnURLFetchUploadProgress(const net::URLFetcher* source, net 53 chrome/browser/safe_browsing/two_phase_uploader.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 62 chrome/browser/safe_browsing/two_phase_uploader.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 68 chrome/browser/safe_browsing/two_phase_uploader.cc net::URLRequestContextGetter* url_request_context_getter, net 96 chrome/browser/safe_browsing/two_phase_uploader.cc void TwoPhaseUploaderImpl::OnURLFetchComplete(const net::URLFetcher* source) { net 98 chrome/browser/safe_browsing/two_phase_uploader.cc net::URLRequestStatus status = source->GetStatus(); net 120 chrome/browser/safe_browsing/two_phase_uploader.cc Finish(net::OK, response_code, response); net 127 chrome/browser/safe_browsing/two_phase_uploader.cc Finish(net::OK, response_code, std::string()); net 142 chrome/browser/safe_browsing/two_phase_uploader.cc Finish(net::OK, response_code, response); net 150 chrome/browser/safe_browsing/two_phase_uploader.cc const net::URLFetcher* source, net 163 chrome/browser/safe_browsing/two_phase_uploader.cc url_fetcher_.reset(net::URLFetcher::Create(base_url_, net::URLFetcher::POST, net 175 chrome/browser/safe_browsing/two_phase_uploader.cc url_fetcher_.reset(net::URLFetcher::Create(upload_url_, net::URLFetcher::PUT, net 197 chrome/browser/safe_browsing/two_phase_uploader.cc net::URLRequestContextGetter* url_request_context_getter, net 21 chrome/browser/safe_browsing/two_phase_uploader.h namespace net { net 65 chrome/browser/safe_browsing/two_phase_uploader.h net::URLRequestContextGetter* url_request_context_getter, net 93 chrome/browser/safe_browsing/two_phase_uploader.h net::URLRequestContextGetter* url_request_context_getter, net 63 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 70 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 90 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::OK, delegate.net_error_); net 116 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::OK, delegate.net_error_); net 138 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::OK, delegate.net_error_); net 164 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::ERR_EMPTY_RESPONSE, delegate.net_error_); net 165 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::URLFetcher::RESPONSE_CODE_INVALID, delegate.response_code_); net 186 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::ERR_EMPTY_RESPONSE, delegate.net_error_); net 187 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc EXPECT_EQ(net::URLFetcher::RESPONSE_CODE_INVALID, delegate.response_code_); net 239 chrome/browser/safe_browsing/ui_manager.cc entry.domain = net::registry_controlled_domains::GetDomainAndRegistry( net 241 chrome/browser/safe_browsing/ui_manager.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 268 chrome/browser/safe_browsing/ui_manager.cc net::registry_controlled_domains::GetDomainAndRegistry( net 270 chrome/browser/safe_browsing/ui_manager.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 41 chrome/browser/search/iframe_source.cc const net::URLRequest* request) const { net 24 chrome/browser/search/iframe_source.h const net::URLRequest* request) const OVERRIDE; net 94 chrome/browser/search/iframe_source_unittest.cc net::URLRequest* MockRequest( net 99 chrome/browser/search/iframe_source_unittest.cc net::URLRequest* request = net 100 chrome/browser/search/iframe_source_unittest.cc new net::URLRequest(GURL(url), net 101 chrome/browser/search/iframe_source_unittest.cc net::DEFAULT_PRIORITY, net 150 chrome/browser/search/iframe_source_unittest.cc net::TestURLRequestContext test_url_request_context_; net 159 chrome/browser/search/iframe_source_unittest.cc scoped_ptr<net::URLRequest> request; net 25 chrome/browser/search/instant_io_context.cc InstantIOContext* GetDataForRequest(const net::URLRequest* request) { net 79 chrome/browser/search/instant_io_context.cc bool InstantIOContext::ShouldServiceRequest(const net::URLRequest* request) { net 19 chrome/browser/search/instant_io_context.h namespace net { net 53 chrome/browser/search/instant_io_context.h static bool ShouldServiceRequest(const net::URLRequest* request); net 420 chrome/browser/search/instant_service.cc if (net::StripWWWFromHost(details->first) == net 421 chrome/browser/search/instant_service.cc net::StripWWWFromHost(details->second)) net 39 chrome/browser/search/instant_service.h namespace net { net 169 chrome/browser/search/local_ntp_source.cc const net::URLRequest* request) const { net 32 chrome/browser/search/local_ntp_source.h const net::URLRequest* request) const OVERRIDE; net 99 chrome/browser/search/suggestions/suggestions_service.cc pending_request_.reset(net::URLFetcher::Create( net 100 chrome/browser/search/suggestions/suggestions_service.cc 0, suggestions_url_, net::URLFetcher::GET, this)); net 101 chrome/browser/search/suggestions/suggestions_service.cc pending_request_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 104 chrome/browser/search/suggestions/suggestions_service.cc net::HttpRequestHeaders headers; net 114 chrome/browser/search/suggestions/suggestions_service.cc void SuggestionsService::OnURLFetchComplete(const net::URLFetcher* source) { net 119 chrome/browser/search/suggestions/suggestions_service.cc scoped_ptr<const net::URLFetcher> request(pending_request_.release()); net 120 chrome/browser/search/suggestions/suggestions_service.cc const net::URLRequestStatus& request_status = request->GetStatus(); net 121 chrome/browser/search/suggestions/suggestions_service.cc if (request_status.status() != net::URLRequestStatus::SUCCESS) { net 126 chrome/browser/search/suggestions/suggestions_service.cc << net::ErrorToString(request_status.error()); net 136 chrome/browser/search/suggestions/suggestions_service.cc if (response_code != net::HTTP_OK) { net 30 chrome/browser/search/suggestions/suggestions_service.h class SuggestionsService : public KeyedService, public net::URLFetcherDelegate { net 52 chrome/browser/search/suggestions/suggestions_service.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 59 chrome/browser/search/suggestions/suggestions_service.h scoped_ptr<net::URLFetcher> pending_request_; net 36 chrome/browser/search/suggestions/suggestions_service_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 37 chrome/browser/search/suggestions/suggestions_service_unittest.cc const GURL& url, net::URLFetcherDelegate* delegate, net 38 chrome/browser/search/suggestions/suggestions_service_unittest.cc const std::string& response_data, net::HttpStatusCode response_code, net 39 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::URLRequestStatus::Status status) { net 40 chrome/browser/search/suggestions/suggestions_service_unittest.cc scoped_ptr<net::FakeURLFetcher> fetcher(new net::FakeURLFetcher( net 43 chrome/browser/search/suggestions/suggestions_service_unittest.cc if (response_code == net::HTTP_OK) { net 44 chrome/browser/search/suggestions/suggestions_service_unittest.cc scoped_refptr<net::HttpResponseHeaders> download_headers( net 45 chrome/browser/search/suggestions/suggestions_service_unittest.cc new net::HttpResponseHeaders("")); net 108 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::FakeURLFetcherFactory factory_; net 141 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::HTTP_OK, net 142 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::URLRequestStatus::SUCCESS); net 170 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::HTTP_OK, net 171 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::URLRequestStatus::FAILED); net 194 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::HTTP_BAD_REQUEST, net 195 chrome/browser/search/suggestions/suggestions_service_unittest.cc net::URLRequestStatus::SUCCESS); net 80 chrome/browser/search/suggestions/suggestions_source.cc const net::URLRequest* request) const { net 104 chrome/browser/search/suggestions/suggestions_source.cc line.append(net::EscapeForHTML(suggestion.url())); net 106 chrome/browser/search/suggestions/suggestions_source.cc line.append(net::EscapeForHTML(suggestion.title())); net 40 chrome/browser/search/suggestions/suggestions_source.h const net::URLRequest* request) const OVERRIDE; net 134 chrome/browser/search_engines/template_url.cc net::EscapeQueryParamValue(encoded_terms, true) : net 135 chrome/browser/search_engines/template_url.cc net::EscapePath(encoded_terms)); net 143 chrome/browser/search_engines/template_url.cc net::EscapeQueryParamValue(encoded_original_query, true)); net 306 chrome/browser/search_engines/template_url.cc net::AddMultipartValueForUpload(param->first, param->second, boundary, net 309 chrome/browser/search_engines/template_url.cc net::AddMultipartFinalDelimiterForUpload(boundary, post_data); net 428 chrome/browser/search_engines/template_url.cc std::string unescaped = net::UnescapeURLComponent( net 430 chrome/browser/search_engines/template_url.cc net::UnescapeRule::REPLACE_PLUS_WITH_SPACE | net 431 chrome/browser/search_engines/template_url.cc net::UnescapeRule::URL_SPECIAL_CHARS); net 510 chrome/browser/search_engines/template_url.cc *search_terms = net::UnescapeAndDecodeUTF8URLComponent( net 512 chrome/browser/search_engines/template_url.cc net::UnescapeRule::SPACES | net 513 chrome/browser/search_engines/template_url.cc net::UnescapeRule::URL_SPECIAL_CHARS | net 514 chrome/browser/search_engines/template_url.cc net::UnescapeRule::REPLACE_PLUS_WITH_SPACE, net 614 chrome/browser/search_engines/template_url.cc net::EscapeQueryParamValue(google_apis::GetAPIKey(), false)); net 875 chrome/browser/search_engines/template_url.cc net::EscapeQueryParamValue(search_terms_args.current_page_url, net 27 chrome/browser/search_engines/template_url_fetcher.cc class TemplateURLFetcher::RequestDelegate : public net::URLFetcherDelegate { net 41 chrome/browser/search_engines/template_url_fetcher.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 56 chrome/browser/search_engines/template_url_fetcher.cc scoped_ptr<net::URLFetcher> url_fetcher_; net 78 chrome/browser/search_engines/template_url_fetcher.cc : url_fetcher_(net::URLFetcher::Create( net 79 chrome/browser/search_engines/template_url_fetcher.cc osdd_url, net::URLFetcher::GET, this)), net 120 chrome/browser/search_engines/template_url_fetcher.cc const net::URLFetcher* source) { net 82 chrome/browser/search_engines/template_url_fetcher_unittest.cc net::test_server::EmbeddedTestServer test_server_; net 1194 chrome/browser/search_engines/template_url_prepopulate_data.cc net::registry_controlled_domains::SameDomainOrHost( net 1196 chrome/browser/search_engines/template_url_prepopulate_data.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 330 chrome/browser/search_engines/template_url_service.cc base::string16 keyword(net::StripWWWFromHost(url)); net 362 chrome/browser/search_engines/template_url_service.cc result = net::StripWWW(result); net 171 chrome/browser/search_engines/template_url_service_android.cc gurl = net::AppendQueryParameter(gurl, "inm", "vs"); net 1121 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 google_keyword(net::StripWWWFromHost(google_url)); net 1139 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 google_keyword(net::StripWWWFromHost(GURL( net 1212 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 google_keyword(net::StripWWWFromHost(GURL( net 31 chrome/browser/services/gcm/gcm_client_mock.cc const scoped_refptr<net::URLRequestContextGetter>& net 39 chrome/browser/services/gcm/gcm_client_mock.h const scoped_refptr<net::URLRequestContextGetter>& net 167 chrome/browser/services/gcm/gcm_profile_service.cc const scoped_refptr<net::URLRequestContextGetter>& net 204 chrome/browser/services/gcm/gcm_profile_service.cc const scoped_refptr<net::URLRequestContextGetter>& net 466 chrome/browser/services/gcm/gcm_profile_service.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter = net 64 chrome/browser/sessions/better_session_restore_browsertest.cc net::URLRequestJob* URLRequestFaker( net 65 chrome/browser/sessions/better_session_restore_browsertest.cc net::URLRequest* request, net 66 chrome/browser/sessions/better_session_restore_browsertest.cc net::NetworkDelegate* network_delegate, net 68 chrome/browser/sessions/better_session_restore_browsertest.cc return new net::URLRequestTestJob( net 69 chrome/browser/sessions/better_session_restore_browsertest.cc request, network_delegate, net::URLRequestTestJob::test_headers(), net 75 chrome/browser/sessions/better_session_restore_browsertest.cc net::URLRequestJob* URLRequestFakerForPostRequests( net 76 chrome/browser/sessions/better_session_restore_browsertest.cc net::URLRequest* request, net 77 chrome/browser/sessions/better_session_restore_browsertest.cc net::NetworkDelegate* network_delegate, net 80 chrome/browser/sessions/better_session_restore_browsertest.cc const net::UploadDataStream* upload_data = request->get_upload(); net 83 chrome/browser/sessions/better_session_restore_browsertest.cc const ScopedVector<net::UploadElementReader>& readers = net 86 chrome/browser/sessions/better_session_restore_browsertest.cc const net::UploadBytesElementReader* bytes_reader = net 94 chrome/browser/sessions/better_session_restore_browsertest.cc return new net::URLRequestTestJob( net 95 chrome/browser/sessions/better_session_restore_browsertest.cc request, network_delegate, net::URLRequestTestJob::test_headers(), net 152 chrome/browser/sessions/better_session_restore_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlHandler( net 156 chrome/browser/sessions/better_session_restore_browsertest.cc net::URLRequestFilter::GetInstance()->AddUrlHandler( net 58 chrome/browser/sessions/session_data_deleter.cc void DeleteSessionOnlyOriginCookies(const net::CookieList& cookies); net 107 chrome/browser/sessions/session_data_deleter.cc net::CookieMonster* cookie_monster = net 128 chrome/browser/sessions/session_data_deleter.cc const net::CookieList& cookies) { net 133 chrome/browser/sessions/session_data_deleter.cc net::CookieMonster* cookie_monster = net 135 chrome/browser/sessions/session_data_deleter.cc for (net::CookieList::const_iterator it = cookies.begin(); net 139 chrome/browser/sessions/session_data_deleter.cc net::cookie_util::CookieOriginToURL(it->Domain(), net 94 chrome/browser/sessions/session_restore.cc public net::NetworkChangeNotifier::ConnectionTypeObserver, net 136 chrome/browser/sessions/session_restore.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 239 chrome/browser/sessions/session_restore.cc if (!net::NetworkChangeNotifier::IsOffline()) { net 243 chrome/browser/sessions/session_restore.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 263 chrome/browser/sessions/session_restore.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 398 chrome/browser/sessions/session_restore.cc net::NetworkChangeNotifier::ConnectionType type) { net 399 chrome/browser/sessions/session_restore.cc if (type != net::NetworkChangeNotifier::CONNECTION_NONE) { net 83 chrome/browser/signin/account_reconcilor_unittest.cc net::HttpStatusCode code, net 84 chrome/browser/signin/account_reconcilor_unittest.cc net::URLRequestStatus::Status status) { net 106 chrome/browser/signin/account_reconcilor_unittest.cc net::FakeURLFetcherFactory url_fetcher_factory_; net 224 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 245 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_NOT_FOUND, net::URLRequestStatus::SUCCESS); net 266 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 288 chrome/browser/signin/account_reconcilor_unittest.cc "", net::HTTP_NOT_FOUND, net::URLRequestStatus::SUCCESS); net 328 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 330 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 367 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 369 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 402 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 404 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 438 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 440 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 466 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 468 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 493 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 495 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 524 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 526 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 549 chrome/browser/signin/account_reconcilor_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 551 chrome/browser/signin/account_reconcilor_unittest.cc "{\"id\":\"foo\"}", net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 104 chrome/browser/signin/android_profile_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 136 chrome/browser/signin/android_profile_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 79 chrome/browser/signin/android_profile_oauth2_token_service.h net::URLRequestContextGetter* getter, net 89 chrome/browser/signin/android_profile_oauth2_token_service.h net::URLRequestContextGetter* getter, net 129 chrome/browser/signin/chrome_signin_client.cc net::URLRequestContextGetter* ChromeSigninClient::GetURLRequestContext() { net 176 chrome/browser/signin/chrome_signin_client.cc const net::CanonicalCookie* cookie = net 52 chrome/browser/signin/chrome_signin_client.h virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; net 147 chrome/browser/signin/fake_profile_oauth2_token_service.cc net::URLRequestContextGetter* net 166 chrome/browser/signin/fake_profile_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 191 chrome/browser/signin/fake_profile_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 114 chrome/browser/signin/fake_profile_oauth2_token_service.h net::URLRequestContextGetter* getter, net 121 chrome/browser/signin/fake_profile_oauth2_token_service.h net::URLRequestContextGetter* getter, net 129 chrome/browser/signin/fake_profile_oauth2_token_service.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 40 chrome/browser/signin/signin_browsertest.cc https_server_.reset(new net::SpawnedTestServer( net 41 chrome/browser/signin/signin_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 42 chrome/browser/signin/signin_browsertest.cc net::SpawnedTestServer::kLocalhost, net 60 chrome/browser/signin/signin_browsertest.cc factory_.reset(new net::URLFetcherImplFactory()); net 61 chrome/browser/signin/signin_browsertest.cc fake_factory_.reset(new net::FakeURLFetcherFactory(factory_.get())); net 64 chrome/browser/signin/signin_browsertest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 66 chrome/browser/signin/signin_browsertest.cc GURL(kNonSigninURL), std::string(), net::HTTP_OK, net 67 chrome/browser/signin/signin_browsertest.cc net::URLRequestStatus::SUCCESS); net 80 chrome/browser/signin/signin_browsertest.cc net::URLFetcher::CancelAll(); net 87 chrome/browser/signin/signin_browsertest.cc scoped_ptr<net::FakeURLFetcherFactory> fake_factory_; net 90 chrome/browser/signin/signin_browsertest.cc scoped_ptr<net::URLFetcherImplFactory> factory_; net 92 chrome/browser/signin/signin_browsertest.cc scoped_ptr<net::SpawnedTestServer> https_server_; net 63 chrome/browser/signin/signin_header_helper.cc net::URLRequest* request, net 103 chrome/browser/signin/signin_header_helper.cc net::URLRequest* request, net 8 chrome/browser/signin/signin_header_helper.h namespace net { net 25 chrome/browser/signin/signin_header_helper.h net::URLRequest* request, net 35 chrome/browser/signin/signin_header_helper.h net::URLRequest* request, net 178 chrome/browser/signin/signin_manager_unittest.cc net::TestURLFetcherFactory factory_; net 44 chrome/browser/signin/signin_promo.cc using net::GetValueForKeyInQuery; net 101 chrome/browser/signin/signin_promo.cc if (net::NetworkChangeNotifier::IsOffline()) net 202 chrome/browser/signin/signin_promo.cc net::EscapeQueryParamValue(continue_url.spec(), false); net 239 chrome/browser/signin/signin_promo.cc net::EscapeQueryParamValue(continue_url_str, false).c_str()); net 246 chrome/browser/signin/signin_promo.cc return net::AppendQueryParameter( net 259 chrome/browser/signin/signin_promo.cc url = net::AppendQueryParameter(url, "email", account_id); net 260 chrome/browser/signin/signin_promo.cc url = net::AppendQueryParameter(url, "validateEmail", "1"); net 261 chrome/browser/signin/signin_promo.cc return net::AppendQueryParameter(url, "readOnlyEmail", "1"); net 70 chrome/browser/speech/extension_api/tts_engine_extension_api.cc bool is_offline = (net::NetworkChangeNotifier::GetConnectionType() == net 71 chrome/browser/speech/extension_api/tts_engine_extension_api.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 169 chrome/browser/speech/extension_api/tts_extension_apitest.cc class FakeNetworkOnlineStateForTest : public net::NetworkChangeNotifier { net 176 chrome/browser/speech/extension_api/tts_extension_apitest.cc net::NetworkChangeNotifier::CONNECTION_ETHERNET : net 177 chrome/browser/speech/extension_api/tts_extension_apitest.cc net::NetworkChangeNotifier::CONNECTION_NONE; net 422 chrome/browser/speech/extension_api/tts_extension_apitest.cc net::NetworkChangeNotifier::DisableForTest disable_for_test; net 433 chrome/browser/speech/extension_api/tts_extension_apitest.cc net::NetworkChangeNotifier::DisableForTest disable_for_test; net 157 chrome/browser/spellchecker/feedback_sender.cc FeedbackSender::FeedbackSender(net::URLRequestContextGetter* request_context, net 343 chrome/browser/spellchecker/feedback_sender.cc void FeedbackSender::OnURLFetchComplete(const net::URLFetcher* source) { net 344 chrome/browser/spellchecker/feedback_sender.cc for (ScopedVector<net::URLFetcher>::iterator sender_it = senders_.begin(); net 409 chrome/browser/spellchecker/feedback_sender.cc net::URLFetcher* sender = net::URLFetcher::Create( net 410 chrome/browser/spellchecker/feedback_sender.cc kUrlFetcherId, feedback_service_url_, net::URLFetcher::POST, this); net 411 chrome/browser/spellchecker/feedback_sender.cc sender->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 412 chrome/browser/spellchecker/feedback_sender.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 30 chrome/browser/spellchecker/feedback_sender.h namespace net { net 53 chrome/browser/spellchecker/feedback_sender.h public net::URLFetcherDelegate { net 57 chrome/browser/spellchecker/feedback_sender.h FeedbackSender(net::URLRequestContextGetter* request_context, net 117 chrome/browser/spellchecker/feedback_sender.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 133 chrome/browser/spellchecker/feedback_sender.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 170 chrome/browser/spellchecker/feedback_sender.h ScopedVector<net::URLFetcher> senders_; net 112 chrome/browser/spellchecker/feedback_sender_unittest.cc const net::TestURLFetcher* fetcher = net 119 chrome/browser/spellchecker/feedback_sender_unittest.cc const net::TestURLFetcher* fetcher = net 136 chrome/browser/spellchecker/feedback_sender_unittest.cc const net::TestURLFetcher* fetcher = net 149 chrome/browser/spellchecker/feedback_sender_unittest.cc net::TestURLFetcherFactory fetchers_; net 111 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 95 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc net::URLRequestContextGetter* request_context_getter, net 134 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc net::URLRequestContextGetter* request_context_getter) { net 176 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc const net::URLFetcher* source) { net 179 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc scoped_ptr<net::URLFetcher> fetcher_destructor(fetcher_.release()); net 234 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc fetcher_.reset(net::URLFetcher::Create(url, net::URLFetcher::GET, this)); net 237 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES); net 21 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h namespace net { net 29 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h public net::URLFetcherDelegate, net 50 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h net::URLRequestContextGetter* request_context_getter, net 59 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h net::URLRequestContextGetter* request_context_getter); net 109 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 147 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h net::URLRequestContextGetter* request_context_getter_; net 150 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h scoped_ptr<net::URLFetcher> fetcher_; net 95 chrome/browser/spellchecker/spelling_service_client.cc net::URLFetcher* fetcher = CreateURLFetcher(url); net 99 chrome/browser/spellchecker/spelling_service_client.cc net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES); net 245 chrome/browser/spellchecker/spelling_service_client.cc const net::URLFetcher* source) { net 247 chrome/browser/spellchecker/spelling_service_client.cc scoped_ptr<const net::URLFetcher> fetcher(source); net 264 chrome/browser/spellchecker/spelling_service_client.cc net::URLFetcher* SpellingServiceClient::CreateURLFetcher(const GURL& url) { net 265 chrome/browser/spellchecker/spelling_service_client.cc return net::URLFetcher::Create(url, net::URLFetcher::POST, this); net 26 chrome/browser/spellchecker/spelling_service_client.h namespace net { net 60 chrome/browser/spellchecker/spelling_service_client.h class SpellingServiceClient : public net::URLFetcherDelegate { net 113 chrome/browser/spellchecker/spelling_service_client.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 118 chrome/browser/spellchecker/spelling_service_client.h virtual net::URLFetcher* CreateURLFetcher(const GURL& url); net 121 chrome/browser/spellchecker/spelling_service_client.h std::map<const net::URLFetcher*, TextCheckCallbackData*> spellcheck_fetchers_; net 31 chrome/browser/spellchecker/spelling_service_client_unittest.cc class TestSpellingURLFetcher : public net::TestURLFetcher { net 35 chrome/browser/spellchecker/spelling_service_client_unittest.cc net::URLFetcherDelegate* d, net 41 chrome/browser/spellchecker/spelling_service_client_unittest.cc : net::TestURLFetcher(0, url, d), net 79 chrome/browser/spellchecker/spelling_service_client_unittest.cc net::TestURLFetcher::SetUploadData(upload_content_type, upload_content); net 85 chrome/browser/spellchecker/spelling_service_client_unittest.cc EXPECT_EQ(net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES, net 171 chrome/browser/spellchecker/spelling_service_client_unittest.cc virtual net::URLFetcher* CreateURLFetcher(const GURL& url) OVERRIDE { net 21 chrome/browser/ssl/ssl_add_cert_handler.cc SSLAddCertHandler::SSLAddCertHandler(net::URLRequest* request, net 22 chrome/browser/ssl/ssl_add_cert_handler.cc net::X509Certificate* cert, net 41 chrome/browser/ssl/ssl_add_cert_handler.cc int cert_error = net::CertDatabase::GetInstance()->CheckUserCert(cert_.get()); net 42 chrome/browser/ssl/ssl_add_cert_handler.cc if (cert_error != net::OK) { net 43 chrome/browser/ssl/ssl_add_cert_handler.cc LOG_IF(ERROR, cert_error == net::ERR_NO_PRIVATE_KEY_FOR_CERT) net 71 chrome/browser/ssl/ssl_add_cert_handler.cc int cert_error = net::OK; net 73 chrome/browser/ssl/ssl_add_cert_handler.cc cert_error = net::CertDatabase::GetInstance()->AddUserCert(cert_.get()); net 103 chrome/browser/ssl/ssl_add_cert_handler.cc if (cert_error == net::OK) { net 11 chrome/browser/ssl/ssl_add_cert_handler.h namespace net { net 22 chrome/browser/ssl/ssl_add_cert_handler.h SSLAddCertHandler(net::URLRequest* request, net::X509Certificate* cert, net 25 chrome/browser/ssl/ssl_add_cert_handler.h net::X509Certificate* cert() { return cert_.get(); } net 49 chrome/browser/ssl/ssl_add_cert_handler.h scoped_refptr<net::X509Certificate> cert_; net 13 chrome/browser/ssl/ssl_add_certificate.cc net::URLRequest* request, net 14 chrome/browser/ssl/ssl_add_certificate.cc net::CertificateMimeType cert_type, net 22 chrome/browser/ssl/ssl_add_certificate.cc if (cert_type != net::CERTIFICATE_MIME_TYPE_X509_USER_CERT) net 25 chrome/browser/ssl/ssl_add_certificate.cc scoped_refptr<net::X509Certificate> cert; net 27 chrome/browser/ssl/ssl_add_certificate.cc cert = net::X509Certificate::CreateFromBytes( net 11 chrome/browser/ssl/ssl_add_certificate.h namespace net { net 20 chrome/browser/ssl/ssl_add_certificate.h net::URLRequest* request, net 21 chrome/browser/ssl/ssl_add_certificate.h net::CertificateMimeType cert_type, net 28 chrome/browser/ssl/ssl_add_certificate_android.cc net::URLRequest* /* request */, net 29 chrome/browser/ssl/ssl_add_certificate_android.cc net::CertificateMimeType cert_type, net 38 chrome/browser/ssl/ssl_add_certificate_android.cc net::android::StoreCertificate(cert_type, cert_data, cert_size); net 192 chrome/browser/ssl/ssl_blocking_page.cc const net::SSLInfo& ssl_info, net 213 chrome/browser/ssl/ssl_blocking_page.cc if (net::IsHostnameNonUnique(request_url_.HostNoBrackets())) net 375 chrome/browser/ssl/ssl_blocking_page.cc for (std::vector<net::HashValue>::const_iterator it = net 41 chrome/browser/ssl/ssl_blocking_page.h const net::SSLInfo& ssl_info, net 85 chrome/browser/ssl/ssl_blocking_page.h const net::SSLInfo ssl_info_; net 139 chrome/browser/ssl/ssl_browser_tests.cc void Check(const NavigationEntry& entry, net::CertStatus error) { net 142 chrome/browser/ssl/ssl_browser_tests.cc net::CertStatus extra_cert_errors = net 143 chrome/browser/ssl/ssl_browser_tests.cc error ^ (entry.GetSSL().cert_status & net::CERT_STATUS_ALL_ERRORS); net 147 chrome/browser/ssl/ssl_browser_tests.cc EXPECT_EQ(0U, entry.GetSSL().cert_status & net::CERT_STATUS_ALL_ERRORS); net 154 chrome/browser/ssl/ssl_browser_tests.cc net::CertStatus error, net 170 chrome/browser/ssl/ssl_browser_tests.cc : https_server_(net::SpawnedTestServer::TYPE_HTTPS, net 173 chrome/browser/ssl/ssl_browser_tests.cc https_server_expired_(net::SpawnedTestServer::TYPE_HTTPS, net 176 chrome/browser/ssl/ssl_browser_tests.cc https_server_mismatched_(net::SpawnedTestServer::TYPE_HTTPS, net 179 chrome/browser/ssl/ssl_browser_tests.cc wss_server_expired_(net::SpawnedTestServer::TYPE_WSS, net 181 chrome/browser/ssl/ssl_browser_tests.cc net::GetWebSocketTestDataDirectory()) {} net 207 chrome/browser/ssl/ssl_browser_tests.cc net::CertStatus error, net 215 chrome/browser/ssl/ssl_browser_tests.cc ASSERT_NE(net::CERT_STATUS_UNABLE_TO_CHECK_REVOCATION, error); net 270 chrome/browser/ssl/ssl_browser_tests.cc const net::HostPortPair& host_port_pair, net 272 chrome/browser/ssl/ssl_browser_tests.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 275 chrome/browser/ssl/ssl_browser_tests.cc return net::SpawnedTestServer::GetFilePathWithReplacements( net 279 chrome/browser/ssl/ssl_browser_tests.cc static bool GetTopFramePath(const net::SpawnedTestServer& http_server, net 280 chrome/browser/ssl/ssl_browser_tests.cc const net::SpawnedTestServer& good_https_server, net 281 chrome/browser/ssl/ssl_browser_tests.cc const net::SpawnedTestServer& bad_https_server, net 292 chrome/browser/ssl/ssl_browser_tests.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text_frame_left; net 300 chrome/browser/ssl/ssl_browser_tests.cc if (!net::SpawnedTestServer::GetFilePathWithReplacements( net 307 chrome/browser/ssl/ssl_browser_tests.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text_top_frame; net 310 chrome/browser/ssl/ssl_browser_tests.cc return net::SpawnedTestServer::GetFilePathWithReplacements( net 317 chrome/browser/ssl/ssl_browser_tests.cc const net::SpawnedTestServer& expired_https_server, net 322 chrome/browser/ssl/ssl_browser_tests.cc std::vector<net::SpawnedTestServer::StringPair> net 327 chrome/browser/ssl/ssl_browser_tests.cc if (!net::SpawnedTestServer::GetFilePathWithReplacements( net 334 chrome/browser/ssl/ssl_browser_tests.cc std::vector<net::SpawnedTestServer::StringPair> net 338 chrome/browser/ssl/ssl_browser_tests.cc return net::SpawnedTestServer::GetFilePathWithReplacements( net 344 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer https_server_; net 345 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer https_server_expired_; net 346 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer https_server_mismatched_; net 347 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer wss_server_expired_; net 350 chrome/browser/ssl/ssl_browser_tests.cc typedef net::SpawnedTestServer::SSLOptions SSLOptions; net 422 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 427 chrome/browser/ssl/ssl_browser_tests.cc net::CERT_STATUS_DATE_INVALID, net 458 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 463 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 505 chrome/browser/ssl/ssl_browser_tests.cc net::CERT_STATUS_COMMON_NAME_INVALID, net 539 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 576 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 619 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 709 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 734 chrome/browser/ssl/ssl_browser_tests.cc net::NSSCertDatabase* cert_db = net::NSSCertDatabase::GetInstance(); net 735 chrome/browser/ssl/ssl_browser_tests.cc scoped_refptr<net::CryptoModule> crypt_module = cert_db->GetPublicModule(); net 737 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath cert_path = net::GetTestCertsDirectory().Append( net 740 chrome/browser/ssl/ssl_browser_tests.cc EXPECT_EQ(net::OK, net 745 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer::SSLOptions options( net 746 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer::SSLOptions::CERT_OK); net 748 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath ca_path = net::GetTestCertsDirectory().Append( net 751 chrome/browser/ssl/ssl_browser_tests.cc net::SpawnedTestServer wss_server(net::SpawnedTestServer::TYPE_WSS, net 753 chrome/browser/ssl/ssl_browser_tests.cc net::GetWebSocketTestDataDirectory()); net 1167 chrome/browser/ssl/ssl_browser_tests.cc net::CERT_STATUS_COMMON_NAME_INVALID, net 1171 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_COMMON_NAME_INVALID, AuthState::NONE); net 1186 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_COMMON_NAME_INVALID, AuthState::NONE); net 1206 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 1211 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 1218 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 1278 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 1297 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 1302 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 1335 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 1340 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 1501 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 1519 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 1615 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 1618 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::NONE); net 1733 chrome/browser/ssl/ssl_browser_tests.cc tab, net::CERT_STATUS_DATE_INVALID, AuthState::SHOWING_INTERSTITIAL); net 19 chrome/browser/ssl/ssl_client_auth_observer.cc typedef std::pair<net::SSLCertRequestInfo*, net::X509Certificate*> CertDetails; net 22 chrome/browser/ssl/ssl_client_auth_observer.cc const net::HttpNetworkSession* network_session, net 23 chrome/browser/ssl/ssl_client_auth_observer.cc net::SSLCertRequestInfo* cert_request_info, net 24 chrome/browser/ssl/ssl_client_auth_observer.cc const base::Callback<void(net::X509Certificate*)>& callback) net 34 chrome/browser/ssl/ssl_client_auth_observer.cc net::X509Certificate* certificate) { net 47 chrome/browser/ssl/ssl_client_auth_observer.cc content::Source<net::HttpNetworkSession>(network_session_), net 79 chrome/browser/ssl/ssl_client_auth_observer.cc content::Source<net::HttpNetworkSession>(network_session_)); net 13 chrome/browser/ssl/ssl_client_auth_observer.h namespace net { net 22 chrome/browser/ssl/ssl_client_auth_observer.h const net::HttpNetworkSession* network_session, net 23 chrome/browser/ssl/ssl_client_auth_observer.h net::SSLCertRequestInfo* cert_request_info, net 24 chrome/browser/ssl/ssl_client_auth_observer.h const base::Callback<void(net::X509Certificate*)>& callback); net 33 chrome/browser/ssl/ssl_client_auth_observer.h void CertificateSelected(net::X509Certificate* cert); net 45 chrome/browser/ssl/ssl_client_auth_observer.h net::SSLCertRequestInfo* cert_request_info() const { net 55 chrome/browser/ssl/ssl_client_auth_observer.h const net::HttpNetworkSession* network_session_; net 56 chrome/browser/ssl/ssl_client_auth_observer.h scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; net 57 chrome/browser/ssl/ssl_client_auth_observer.h base::Callback<void(net::X509Certificate*)> callback_; net 12 chrome/browser/ssl/ssl_client_auth_requestor_mock.cc net::URLRequest* request, net 13 chrome/browser/ssl/ssl_client_auth_requestor_mock.cc net::SSLCertRequestInfo* cert_request_info) net 11 chrome/browser/ssl/ssl_client_auth_requestor_mock.h namespace net { net 22 chrome/browser/ssl/ssl_client_auth_requestor_mock.h net::URLRequest* request, net 23 chrome/browser/ssl/ssl_client_auth_requestor_mock.h net::SSLCertRequestInfo* cert_request_info); net 25 chrome/browser/ssl/ssl_client_auth_requestor_mock.h MOCK_METHOD1(CertificateSelected, void(net::X509Certificate* cert)); net 27 chrome/browser/ssl/ssl_client_auth_requestor_mock.h net::SSLCertRequestInfo* cert_request_info_; net 28 chrome/browser/ssl/ssl_client_auth_requestor_mock.h net::HttpNetworkSession* http_network_session_; net 14 chrome/browser/ssl/ssl_client_certificate_selector.h namespace net { net 22 chrome/browser/ssl/ssl_client_certificate_selector.h typedef base::Callback<void(net::X509Certificate*)> SelectCertificateCallback; net 31 chrome/browser/ssl/ssl_client_certificate_selector.h const net::HttpNetworkSession* network_session, net 32 chrome/browser/ssl/ssl_client_certificate_selector.h net::SSLCertRequestInfo* cert_request_info, net 37 chrome/browser/ssl/ssl_client_certificate_selector_test.cc base::FilePath certs_dir = net::GetTestCertsDirectory(); net 39 chrome/browser/ssl/ssl_client_certificate_selector_test.cc mit_davidben_cert_ = net::ImportCertFromFile(certs_dir, "mit.davidben.der"); net 42 chrome/browser/ssl/ssl_client_certificate_selector_test.cc foaf_me_chromium_test_cert_ = net::ImportCertFromFile( net 46 chrome/browser/ssl/ssl_client_certificate_selector_test.cc cert_request_info_ = new net::SSLCertRequestInfo; net 47 chrome/browser/ssl/ssl_client_certificate_selector_test.cc cert_request_info_->host_and_port = net::HostPortPair("foo", 123); net 96 chrome/browser/ssl/ssl_client_certificate_selector_test.cc scoped_ptr<net::URLRequest> net 98 chrome/browser/ssl/ssl_client_certificate_selector_test.cc net::URLRequestContextGetter* context_getter) { net 99 chrome/browser/ssl/ssl_client_certificate_selector_test.cc scoped_ptr<net::URLRequest> request = net 101 chrome/browser/ssl/ssl_client_certificate_selector_test.cc GURL("https://example"), net::DEFAULT_PRIORITY, NULL, NULL); net 14 chrome/browser/ssl/ssl_client_certificate_selector_test.h namespace net { net 32 chrome/browser/ssl/ssl_client_certificate_selector_test.h scoped_ptr<net::URLRequest> MakeURLRequest( net 33 chrome/browser/ssl/ssl_client_certificate_selector_test.h net::URLRequestContextGetter* context_getter); net 37 chrome/browser/ssl/ssl_client_certificate_selector_test.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 38 chrome/browser/ssl/ssl_client_certificate_selector_test.h net::URLRequest* url_request_; net 40 chrome/browser/ssl/ssl_client_certificate_selector_test.h scoped_refptr<net::X509Certificate> mit_davidben_cert_; net 41 chrome/browser/ssl/ssl_client_certificate_selector_test.h scoped_refptr<net::X509Certificate> foaf_me_chromium_test_cert_; net 42 chrome/browser/ssl/ssl_client_certificate_selector_test.h scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; net 33 chrome/browser/ssl/ssl_error_info.cc net::X509Certificate* cert, net 60 chrome/browser/ssl/ssl_error_info.cc net::EscapeForHTML( net 70 chrome/browser/ssl/ssl_error_info.cc net::EscapeForHTML(UTF8ToUTF16(cert->subject().common_name)), net 247 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_COMMON_NAME_INVALID: net 249 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_DATE_INVALID: net 251 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_AUTHORITY_INVALID: net 253 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_CONTAINS_ERRORS: net 255 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_NO_REVOCATION_MECHANISM: net 257 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_UNABLE_TO_CHECK_REVOCATION: net 259 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_REVOKED: net 261 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_INVALID: net 263 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_WEAK_SIGNATURE_ALGORITHM: net 265 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_WEAK_KEY: net 267 chrome/browser/ssl/ssl_error_info.cc case net::ERR_CERT_NAME_CONSTRAINT_VIOLATION: net 269 chrome/browser/ssl/ssl_error_info.cc case net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY: net 271 chrome/browser/ssl/ssl_error_info.cc case net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN: net 281 chrome/browser/ssl/ssl_error_info.cc net::CertStatus cert_status, net 284 chrome/browser/ssl/ssl_error_info.cc const net::CertStatus kErrorFlags[] = { net 285 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_COMMON_NAME_INVALID, net 286 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_DATE_INVALID, net 287 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_AUTHORITY_INVALID, net 288 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_NO_REVOCATION_MECHANISM, net 289 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_UNABLE_TO_CHECK_REVOCATION, net 290 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_REVOKED, net 291 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_INVALID, net 292 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_WEAK_SIGNATURE_ALGORITHM, net 293 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_WEAK_KEY, net 294 chrome/browser/ssl/ssl_error_info.cc net::CERT_STATUS_NAME_CONSTRAINT_VIOLATION, net 311 chrome/browser/ssl/ssl_error_info.cc scoped_refptr<net::X509Certificate> cert = NULL; net 48 chrome/browser/ssl/ssl_error_info.h net::X509Certificate* cert, net 56 chrome/browser/ssl/ssl_error_info.h net::CertStatus cert_status, net 52 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert); net 56 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert); net 68 chrome/browser/ssl/ssl_tab_helper.cc scoped_refptr<net::X509Certificate> cert_; // The cert we added, if any. net 77 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert) { net 88 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert) net 139 chrome/browser/ssl/ssl_tab_helper.cc void ShowInfoBar(const base::string16& message, net::X509Certificate* cert); net 168 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert) { net 208 chrome/browser/ssl/ssl_tab_helper.cc const net::HttpNetworkSession* network_session, net 209 chrome/browser/ssl/ssl_tab_helper.cc net::SSLCertRequestInfo* cert_request_info, net 210 chrome/browser/ssl/ssl_tab_helper.cc const base::Callback<void(net::X509Certificate*)>& callback) { net 223 chrome/browser/ssl/ssl_tab_helper.cc net::ErrorToString(error_code))), net 234 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert = handler->cert(); net 251 chrome/browser/ssl/ssl_tab_helper.cc net::ErrorToString(error_code))), net 18 chrome/browser/ssl/ssl_tab_helper.h namespace net { net 61 chrome/browser/ssl/ssl_tab_helper.h const net::HttpNetworkSession* network_session, net 62 chrome/browser/ssl/ssl_tab_helper.h net::SSLCertRequestInfo* cert_request_info, net 63 chrome/browser/ssl/ssl_tab_helper.h const base::Callback<void(net::X509Certificate*)>& callback); net 128 chrome/browser/sync/glue/typed_url_model_associator.cc if (net::IsLocalhost(url.host())) net 129 chrome/browser/sync/profile_sync_service.cc const net::BackoffEntry::Policy kRequestAccessTokenBackoffPolicy = { net 525 chrome/browser/sync/profile_sync_service.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter( net 1011 chrome/browser/sync/profile_sync_service.h net::BackoffEntry request_access_token_backoff_; net 276 chrome/browser/sync/profile_sync_service_session_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 104 chrome/browser/sync/test/integration/sync_auth_test.cc net::HttpStatusCode response_code, net 105 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::Status status) { net 136 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_OK, net 137 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 149 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_INTERNAL_SERVER_ERROR, net 150 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 164 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_FORBIDDEN, net 165 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 178 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_INTERNAL_SERVER_ERROR, net 179 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::FAILED); net 192 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_OK, net 193 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 207 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_BAD_REQUEST, net 208 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 222 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_BAD_REQUEST, net 223 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 236 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_INTERNAL_SERVER_ERROR, net 237 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::CANCELED); net 251 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_BAD_REQUEST, net 252 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 267 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_INTERNAL_SERVER_ERROR, net 268 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 281 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_OK, net 282 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 293 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_INTERNAL_SERVER_ERROR, net 294 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 302 chrome/browser/sync/test/integration/sync_auth_test.cc net::HTTP_OK, net 303 chrome/browser/sync/test/integration/sync_auth_test.cc net::URLRequestStatus::SUCCESS); net 89 chrome/browser/sync/test/integration/sync_test.cc class SyncServerStatusChecker : public net::URLFetcherDelegate { net 93 chrome/browser/sync/test/integration/sync_test.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 97 chrome/browser/sync/test/integration/sync_test.cc (source->GetStatus().status() == net::URLRequestStatus::SUCCESS && net 129 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestContextGetter* url_request_context_getter, net 130 chrome/browser/sync/test/integration/sync_test.cc const net::ProxyConfig& proxy_config) { net 131 chrome/browser/sync/test/integration/sync_test.cc net::ProxyService* proxy_service = net 134 chrome/browser/sync/test/integration/sync_test.cc new net::ProxyConfigServiceFixed(proxy_config)); net 446 chrome/browser/sync/test/integration/sync_test.cc net::RuleBasedHostResolverProc* resolver = net 447 chrome/browser/sync/test/integration/sync_test.cc new net::RuleBasedHostResolverProc(host_resolver()); net 456 chrome/browser/sync/test/integration/sync_test.cc new net::ScopedDefaultHostResolverProc(resolver)); net 484 chrome/browser/sync/test/integration/sync_test.cc factory_.reset(new net::URLFetcherImplFactory()); net 485 chrome/browser/sync/test/integration/sync_test.cc fake_factory_.reset(new net::FakeURLFetcherFactory(factory_.get())); net 489 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 490 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 494 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 495 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 499 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 500 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 504 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 505 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 514 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 515 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 521 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 522 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 526 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 527 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 531 chrome/browser/sync/test/integration/sync_test.cc net::HTTP_OK, net 532 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::SUCCESS); net 536 chrome/browser/sync/test/integration/sync_test.cc net::HttpStatusCode response_code, net 537 chrome/browser/sync/test/integration/sync_test.cc net::URLRequestStatus::Status status) { net 552 chrome/browser/sync/test/integration/sync_test.cc net::URLFetcher::CancelAll(); net 640 chrome/browser/sync/test/integration/sync_test.cc net::HostPortPair xmpp_host_port_pair(sync_server_.host_port_pair()); net 642 chrome/browser/sync/test/integration/sync_test.cc xmpp_port_.reset(new net::ScopedPortException(xmpp_port)); net 717 chrome/browser/sync/test/integration/sync_test.cc scoped_ptr<net::URLFetcher> fetcher(net::URLFetcher::Create( net 718 chrome/browser/sync/test/integration/sync_test.cc sync_url_status, net::URLFetcher::GET, &delegate)); net 719 chrome/browser/sync/test/integration/sync_test.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 720 chrome/browser/sync/test/integration/sync_test.cc net::LOAD_DO_NOT_SEND_COOKIES | net 721 chrome/browser/sync/test/integration/sync_test.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 730 chrome/browser/sync/test/integration/sync_test.cc net::ProxyConfig::CreateDirect()); net 735 chrome/browser/sync/test/integration/sync_test.cc net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); net 742 chrome/browser/sync/test/integration/sync_test.cc net::ProxyConfig config; net 746 chrome/browser/sync/test/integration/sync_test.cc net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); net 981 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::SetProxyConfig(net::URLRequestContextGetter* context_getter, net 982 chrome/browser/sync/test/integration/sync_test.cc const net::ProxyConfig& proxy_config) { net 33 chrome/browser/sync/test/integration/sync_test.h namespace net { net 208 chrome/browser/sync/test/integration/sync_test.h net::HttpStatusCode response_code, net 209 chrome/browser/sync/test/integration/sync_test.h net::URLRequestStatus::Status status); net 333 chrome/browser/sync/test/integration/sync_test.h void SetProxyConfig(net::URLRequestContextGetter* context, net 334 chrome/browser/sync/test/integration/sync_test.h const net::ProxyConfig& proxy_config); net 354 chrome/browser/sync/test/integration/sync_test.h scoped_ptr<net::ScopedPortException> xmpp_port_; net 402 chrome/browser/sync/test/integration/sync_test.h scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; net 408 chrome/browser/sync/test/integration/sync_test.h scoped_ptr<net::FakeURLFetcherFactory> fake_factory_; net 411 chrome/browser/sync/test/integration/sync_test.h scoped_ptr<net::URLFetcherImplFactory> factory_; net 180 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc !net::GetWellKnownMimeTypeFromExtension(extension.substr(1), &mime_type)) net 144 chrome/browser/sync_file_system/drive_backend/sync_engine.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 163 chrome/browser/sync_file_system/drive_backend/sync_engine.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 165 chrome/browser/sync_file_system/drive_backend/sync_engine.cc net::NetworkChangeNotifier::ConnectionType type = net 166 chrome/browser/sync_file_system/drive_backend/sync_engine.cc net::NetworkChangeNotifier::GetConnectionType(); net 168 chrome/browser/sync_file_system/drive_backend/sync_engine.cc type != net::NetworkChangeNotifier::CONNECTION_NONE; net 440 chrome/browser/sync_file_system/drive_backend/sync_engine.cc net::NetworkChangeNotifier::ConnectionType type) { net 442 chrome/browser/sync_file_system/drive_backend/sync_engine.cc type != net::NetworkChangeNotifier::CONNECTION_NONE; net 50 chrome/browser/sync_file_system/drive_backend/sync_engine.h public net::NetworkChangeNotifier::NetworkChangeObserver { net 144 chrome/browser/sync_file_system/drive_backend/sync_engine.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 137 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc !net::GetWellKnownMimeTypeFromExtension(extension.substr(1), &mime_type)) net 182 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 208 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 215 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 665 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc net::NetworkChangeNotifier::ConnectionType type) { net 667 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc if (type != net::NetworkChangeNotifier::CONNECTION_NONE) { net 33 chrome/browser/sync_file_system/drive_backend_v1/api_util.h public net::NetworkChangeNotifier::ConnectionTypeObserver, net 106 chrome/browser/sync_file_system/drive_backend_v1/api_util.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 464 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc net::URLRequestContext* url_request_context, net 680 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc net::URLRequestContext* url_request_context, net 42 chrome/browser/sync_file_system/local/canned_syncable_file_system.h namespace net { net 143 chrome/browser/sync_file_system/local/canned_syncable_file_system.h int64 Write(net::URLRequestContext* url_request_context, net 204 chrome/browser/sync_file_system/local/canned_syncable_file_system.h void DoWrite(net::URLRequestContext* url_request_context, net 223 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc scoped_ptr<net::URLRequest> blob_request, net 63 chrome/browser/sync_file_system/local/syncable_file_system_operation.h scoped_ptr<net::URLRequest> blob_request, net 117 chrome/browser/task_manager/browser_process_resource_provider.cc return net::ProxyResolverV8::GetTotalHeapSize(); net 121 chrome/browser/task_manager/browser_process_resource_provider.cc return net::ProxyResolverV8::GetUsedHeapSize(); net 1292 chrome/browser/task_manager/task_manager.cc void TaskManagerModel::NotifyBytesRead(const net::URLRequest& request, net 45 chrome/browser/task_manager/task_manager.h namespace net { net 320 chrome/browser/task_manager/task_manager.h void NotifyBytesRead(const net::URLRequest& request, int bytes_read); net 52 chrome/browser/translate/translate_browsertest.cc : https_server_(net::SpawnedTestServer::TYPE_HTTPS, net 121 chrome/browser/translate/translate_browsertest.cc net::SpawnedTestServer https_server_; net 124 chrome/browser/translate/translate_browsertest.cc typedef net::SpawnedTestServer::SSLOptions SSLOptions; net 136 chrome/browser/translate/translate_browsertest.cc net::TestURLFetcherFactory factory; net 182 chrome/browser/translate/translate_browsertest.cc net::TestURLFetcher* fetcher = net 185 chrome/browser/translate/translate_browsertest.cc net::URLRequestStatus status; net 186 chrome/browser/translate/translate_browsertest.cc status.set_status(net::URLRequestStatus::SUCCESS); net 189 chrome/browser/translate/translate_browsertest.cc fetcher->set_response_code(net::HTTP_OK); net 134 chrome/browser/translate/translate_manager.cc load_details->http_status_code == net::HTTP_INTERNAL_SERVER_ERROR) { net 454 chrome/browser/translate/translate_manager.cc report_error_url = net::AppendQueryParameter( net 459 chrome/browser/translate/translate_manager.cc report_error_url = net::AppendQueryParameter( net 295 chrome/browser/translate/translate_manager_render_view_host_unittest.cc net::TestURLFetcher* fetcher = net 298 chrome/browser/translate/translate_manager_render_view_host_unittest.cc net::URLRequestStatus status; net 299 chrome/browser/translate/translate_manager_render_view_host_unittest.cc status.set_status(success ? net::URLRequestStatus::SUCCESS net 300 chrome/browser/translate/translate_manager_render_view_host_unittest.cc : net::URLRequestStatus::FAILED); net 312 chrome/browser/translate/translate_manager_render_view_host_unittest.cc net::URLRequestStatus status; net 313 chrome/browser/translate/translate_manager_render_view_host_unittest.cc status.set_status(success ? net::URLRequestStatus::SUCCESS net 314 chrome/browser/translate/translate_manager_render_view_host_unittest.cc : net::URLRequestStatus::FAILED); net 344 chrome/browser/translate/translate_manager_render_view_host_unittest.cc net::TestURLFetcher* fetcher = net 362 chrome/browser/translate/translate_manager_render_view_host_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 19 chrome/browser/ui/android/certificate_viewer_android.cc net::X509Certificate* cert) { net 19 chrome/browser/ui/android/login_prompt_android.cc using net::URLRequest; net 20 chrome/browser/ui/android/login_prompt_android.cc using net::AuthChallengeInfo; net 81 chrome/browser/ui/android/login_prompt_android.cc LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, net 82 chrome/browser/ui/android/login_prompt_android.cc net::URLRequest* request) { net 33 chrome/browser/ui/android/ssl_client_certificate_request.cc typedef net::OpenSSLClientKeyStore::ScopedEVP_PKEY ScopedEVP_PKEY; net 38 chrome/browser/ui/android/ssl_client_certificate_request.cc const scoped_refptr<net::X509Certificate>& client_cert, net 41 chrome/browser/ui/android/ssl_client_certificate_request.cc net::OpenSSLClientKeyStore::GetInstance()->RecordClientCertPrivateKey( net 46 chrome/browser/ui/android/ssl_client_certificate_request.cc const net::SSLCertRequestInfo* cert_request_info, net 57 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(callback, scoped_refptr<net::X509Certificate>())); net 65 chrome/browser/ui/android/ssl_client_certificate_request.cc case net::CLIENT_CERT_RSA_SIGN: net 68 chrome/browser/ui/android/ssl_client_certificate_request.cc case net::CLIENT_CERT_DSS_SIGN: net 71 chrome/browser/ui/android/ssl_client_certificate_request.cc case net::CLIENT_CERT_ECDSA_SIGN: net 158 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(*callback, scoped_refptr<net::X509Certificate>()); net 179 chrome/browser/ui/android/ssl_client_certificate_request.cc scoped_refptr<net::X509Certificate> client_cert( net 180 chrome/browser/ui/android/ssl_client_certificate_request.cc net::X509Certificate::CreateFromDERCertChain(encoded_chain)); net 188 chrome/browser/ui/android/ssl_client_certificate_request.cc net::android::GetOpenSSLPrivateKeyWrapper(private_key_ref)); net 209 chrome/browser/ui/android/ssl_client_certificate_request.cc net::CertDatabase::GetInstance()->OnAndroidKeyStoreChanged(); net 231 chrome/browser/ui/android/ssl_client_certificate_request.cc const net::HttpNetworkSession* network_session, net 232 chrome/browser/ui/android/ssl_client_certificate_request.cc net::SSLCertRequestInfo* cert_request_info, net 40 chrome/browser/ui/android/website_settings_popup_android.cc scoped_refptr<net::X509Certificate> cert; net 45 chrome/browser/ui/android/website_settings_popup_android.cc net::X509Certificate::OSCertHandles cert_handles = net 53 chrome/browser/ui/android/website_settings_popup_android.cc for (net::X509Certificate::OSCertHandles::const_iterator it = net 58 chrome/browser/ui/android/website_settings_popup_android.cc net::X509Certificate::GetDEREncoded(*it, &cert_bytes); net 139 chrome/browser/ui/app_list/app_list_controller_delegate.cc net::AppendQueryParameter(url, net 109 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc params.override_url = net::AppendQueryParameter( net 21 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc net::URLRequestContextGetter* context_getter) net 33 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc fetcher_.reset(net::URLFetcher::Create( net 35 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc net::URLFetcher::GET, net 38 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 39 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc net::LOAD_DISABLE_CACHE); net 64 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc const net::URLFetcher* source) { net 67 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc scoped_ptr<net::URLFetcher> fetcher(fetcher_.Pass()); net 23 chrome/browser/ui/app_list/search/common/json_response_fetcher.h namespace net { net 34 chrome/browser/ui/app_list/search/common/json_response_fetcher.h class JSONResponseFetcher : public net::URLFetcherDelegate { net 41 chrome/browser/ui/app_list/search/common/json_response_fetcher.h net::URLRequestContextGetter* context_getter); net 54 chrome/browser/ui/app_list/search/common/json_response_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 57 chrome/browser/ui/app_list/search/common/json_response_fetcher.h net::URLRequestContextGetter* context_getter_; net 59 chrome/browser/ui/app_list/search/common/json_response_fetcher.h scoped_ptr<net::URLFetcher> fetcher_; net 22 chrome/browser/ui/app_list/search/common/url_icon_source.cc net::URLRequestContextGetter* context_getter, net 44 chrome/browser/ui/app_list/search/common/url_icon_source.cc net::URLFetcher::Create(icon_url_, net::URLFetcher::GET, this)); net 46 chrome/browser/ui/app_list/search/common/url_icon_source.cc icon_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); net 62 chrome/browser/ui/app_list/search/common/url_icon_source.cc const net::URLFetcher* source) { net 65 chrome/browser/ui/app_list/search/common/url_icon_source.cc scoped_ptr<net::URLFetcher> fetcher(icon_fetcher_.Pass()); net 18 chrome/browser/ui/app_list/search/common/url_icon_source.h namespace net { net 28 chrome/browser/ui/app_list/search/common/url_icon_source.h public net::URLFetcherDelegate, net 36 chrome/browser/ui/app_list/search/common/url_icon_source.h net::URLRequestContextGetter* context_getter, net 51 chrome/browser/ui/app_list/search/common/url_icon_source.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 59 chrome/browser/ui/app_list/search/common/url_icon_source.h net::URLRequestContextGetter* context_getter_; net 65 chrome/browser/ui/app_list/search/common/url_icon_source.h scoped_ptr<net::URLFetcher> icon_fetcher_; net 131 chrome/browser/ui/app_list/search/people/people_provider.cc people_search_url = net::AppendQueryParameter(people_search_url, net 134 chrome/browser/ui/app_list/search/people/people_provider.cc people_search_url = net::AppendQueryParameter(people_search_url, net 24 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc using net::test_server::BasicHttpResponse; net 25 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc using net::test_server::HttpRequest; net 26 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc using net::test_server::HttpResponse; net 27 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc using net::test_server::EmbeddedTestServer; net 228 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc response->set_code(net::HTTP_OK); net 44 chrome/browser/ui/app_list/search/search_webstore_result.cc const GURL store_url = net::AppendQueryParameter( net 24 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc using net::test_server::BasicHttpResponse; net 25 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc using net::test_server::HttpRequest; net 26 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc using net::test_server::HttpResponse; net 27 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc using net::test_server::EmbeddedTestServer; net 141 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc response->set_code(net::HTTP_NOT_FOUND); net 143 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc response->set_code(net::HTTP_INTERNAL_SERVER_ERROR); net 145 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc response->set_code(net::HTTP_OK); net 105 chrome/browser/ui/app_list/search/webstore/webstore_result.cc const GURL store_url = net::AppendQueryParameter( net 37 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* FakeProfile::GetRequestContextForRenderProcess( net 42 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* FakeProfile::GetMediaRequestContext() { net 46 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* net 52 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* net 148 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* FakeProfile::GetRequestContext() { net 152 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* FakeProfile::GetRequestContextForExtensions() { net 156 chrome/browser/ui/app_list/test/fake_profile.cc net::SSLConfigService* FakeProfile::GetSSLConfigService() { net 172 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* FakeProfile::CreateRequestContext( net 178 chrome/browser/ui/app_list/test/fake_profile.cc net::URLRequestContextGetter* net 16 chrome/browser/ui/app_list/test/fake_profile.h namespace net { net 38 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 40 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 41 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 43 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* net 85 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 86 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* net 88 chrome/browser/ui/app_list/test/fake_profile.h virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; net 92 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* CreateRequestContext( net 95 chrome/browser/ui/app_list/test/fake_profile.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 279 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16 url_string = net::FormatUrl(origin_url, accept_lang); net 668 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc params.override_url = net::AppendQueryParameter( net 229 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc page += "?servicePath=" + net::EscapeUrlEncodedData(service_path, true); net 71 chrome/browser/ui/auto_login_prompter.cc void AutoLoginPrompter::ShowInfoBarIfPossible(net::URLRequest* request, net 20 chrome/browser/ui/auto_login_prompter.h namespace net { net 35 chrome/browser/ui/auto_login_prompter.h static void ShowInfoBarIfPossible(net::URLRequest* request, net 456 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc bool RunTestPage(const net::SpawnedTestServer& server) { net 1438 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer http_server( net 1439 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer::TYPE_HTTP, net 1440 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer::kLocalhost, net 1457 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc typedef net::BaseTestServer::SSLOptions SSLOptions; net 1465 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer http_server( net 1466 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer::TYPE_HTTP, net 1467 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer::kLocalhost, net 1475 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer https_server( net 1476 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 1485 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer https_server( net 1486 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 3952 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); net 313 chrome/browser/ui/bookmarks/bookmark_utils.cc return net::FormatUrl( net 315 chrome/browser/ui/bookmarks/bookmark_utils.cc net::kFormatUrlOmitAll & ~net::kFormatUrlOmitUsernamePassword, net 316 chrome/browser/ui/bookmarks/bookmark_utils.cc net::UnescapeRule::SPACES, NULL, NULL, NULL); net 1810 chrome/browser/ui/browser.cc GURL url = net::FilePathToFileURL(file_info.local_path); net 585 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer https_test_server(net::SpawnedTestServer::TYPE_HTTPS, net 586 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 636 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer https_test_server(net::SpawnedTestServer::TYPE_HTTPS, net 637 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 859 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer https_test_server(net::SpawnedTestServer::TYPE_HTTPS, net 860 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 946 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer https_test_server(net::SpawnedTestServer::TYPE_HTTPS, net 947 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 1059 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer test_server(net::SpawnedTestServer::TYPE_HTTPS, net 1060 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 1073 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer test_server(net::SpawnedTestServer::TYPE_FTP, net 1074 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 1924 chrome/browser/ui/browser_browsertest.cc host_resolver_proc_ = new net::RuleBasedHostResolverProc(NULL); net 1932 chrome/browser/ui/browser_browsertest.cc scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_proc_; net 1933 chrome/browser/ui/browser_browsertest.cc net::ScopedDefaultHostResolverProc scoped_host_resolver_proc_; net 2493 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer https_test_server(net::SpawnedTestServer::TYPE_HTTPS, net 2494 chrome/browser/ui/browser_browsertest.cc net::SpawnedTestServer::kLocalhost, net 901 chrome/browser/ui/browser_commands.cc std::string title = net::EscapeQueryParamValue( net 903 chrome/browser/ui/browser_commands.cc std::string page_url = net::EscapeQueryParamValue(wc->GetURL().spec(), false); net 50 chrome/browser/ui/certificate_dialogs.cc std::string GetBase64String(net::X509Certificate::OSCertHandle cert) { net 64 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandle cert); net 75 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandles cert_chain_list_; net 80 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandle cert) net 179 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandle cert) { net 23 chrome/browser/ui/certificate_dialogs.h net::X509Certificate::OSCertHandle cert); net 17 chrome/browser/ui/cocoa/certificate_viewer_mac.h namespace net { net 36 chrome/browser/ui/cocoa/certificate_viewer_mac.h - (id)initWithCertificate:(net::X509Certificate*)certificate; net 15 chrome/browser/ui/cocoa/content_settings/cookie_details.h namespace net { net 167 chrome/browser/ui/cocoa/content_settings/cookie_details.h - (id)initWithCookie:(const net::CanonicalCookie*)treeNode net 29 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h std::vector<scoped_refptr<net::X509Certificate> > certificates_; net 44 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h - (id)initWithNetworkSession:(const net::HttpNetworkSession*)networkSession net 45 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h certRequestInfo:(net::SSLCertRequestInfo*)certRequestInfo net 247 chrome/browser/ui/content_settings/content_setting_bubble_model.cc net::AppendFormattedHost( net 662 chrome/browser/ui/content_settings/content_setting_bubble_model.cc net::AppendFormattedHost( net 108 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc net::CookieOptions options; net 16 chrome/browser/ui/crypto_module_delegate_nss.cc const net::HostPortPair& server) net 101 chrome/browser/ui/crypto_module_delegate_nss.cc const net::HostPortPair& server) { net 30 chrome/browser/ui/crypto_module_delegate_nss.h const net::HostPortPair& server); net 60 chrome/browser/ui/crypto_module_delegate_nss.h net::HostPortPair server_; net 79 chrome/browser/ui/crypto_module_delegate_nss.h const net::HostPortPair& server); net 19 chrome/browser/ui/crypto_module_password_dialog_nss.cc bool ShouldShowDialog(const net::CryptoModule* module) { net 30 chrome/browser/ui/crypto_module_password_dialog_nss.cc SlotUnlocker(const net::CryptoModuleList& modules, net 32 chrome/browser/ui/crypto_module_password_dialog_nss.cc const net::HostPortPair& server, net 43 chrome/browser/ui/crypto_module_password_dialog_nss.cc net::CryptoModuleList modules_; net 45 chrome/browser/ui/crypto_module_password_dialog_nss.cc net::HostPortPair server_; net 51 chrome/browser/ui/crypto_module_password_dialog_nss.cc SlotUnlocker::SlotUnlocker(const net::CryptoModuleList& modules, net 53 chrome/browser/ui/crypto_module_password_dialog_nss.cc const net::HostPortPair& server, net 125 chrome/browser/ui/crypto_module_password_dialog_nss.cc void UnlockSlotsIfNecessary(const net::CryptoModuleList& modules, net 127 chrome/browser/ui/crypto_module_password_dialog_nss.cc const net::HostPortPair& server, net 140 chrome/browser/ui/crypto_module_password_dialog_nss.cc void UnlockCertSlotIfNecessary(net::X509Certificate* cert, net 142 chrome/browser/ui/crypto_module_password_dialog_nss.cc const net::HostPortPair& server, net 145 chrome/browser/ui/crypto_module_password_dialog_nss.cc net::CryptoModuleList modules; net 146 chrome/browser/ui/crypto_module_password_dialog_nss.cc modules.push_back(net::CryptoModule::CreateFromHandle( net 17 chrome/browser/ui/crypto_module_password_dialog_nss.h namespace net { net 28 chrome/browser/ui/crypto_module_password_dialog_nss.h void UnlockSlotsIfNecessary(const net::CryptoModuleList& modules, net 30 chrome/browser/ui/crypto_module_password_dialog_nss.h const net::HostPortPair& server, net 37 chrome/browser/ui/crypto_module_password_dialog_nss.h void UnlockCertSlotIfNecessary(net::X509Certificate* cert, net 39 chrome/browser/ui/crypto_module_password_dialog_nss.h const net::HostPortPair& server, net 83 chrome/browser/ui/elide_url.cc net::registry_controlled_domains::GetDomainAndRegistry( net 84 chrome/browser/ui/elide_url.cc url, net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)); net 118 chrome/browser/ui/elide_url.cc net::FormatUrl(url, languages, net::kFormatUrlOmitAll, net 119 chrome/browser/ui/elide_url.cc net::UnescapeRule::SPACES, &parsed, NULL, NULL); net 309 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(data_dir)); net 477 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(path)); net 20 chrome/browser/ui/find_bar/find_bar_host_interactive_uitest.cc using net::test_server::EmbeddedTestServer; net 481 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc return net::GetSuggestedFilename(url, net 63 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate* certificate); net 94 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeStore* store, net::X509Certificate::OSCertHandle cert); net 98 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandle cert); net 110 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandles cert_chain_list_; net 111 chrome/browser/ui/gtk/certificate_viewer_gtk.cc scoped_refptr<net::X509Certificate> certificate_; net 140 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate* certificate) net 144 chrome/browser/ui/gtk/certificate_viewer_gtk.cc const net::X509Certificate::OSCertHandles& certs = net 195 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandle cert = cert_chain_list_.front(); net 313 chrome/browser/ui/gtk/certificate_viewer_gtk.cc for (net::X509Certificate::OSCertHandles::const_reverse_iterator i = net 334 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeStore* store, net::X509Certificate::OSCertHandle cert) { net 533 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandle cert) { net 725 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate* cert) { net 53 chrome/browser/ui/gtk/download/download_item_drag.cc : url_(net::FilePathToFileURL(item->GetTargetFilePath())), net 471 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc const net::CanonicalCookie& cookie) { net 525 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc net::ParsedCookie pc(cookie_line); net 526 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc net::CanonicalCookie cookie(url, pc); net 19 chrome/browser/ui/gtk/gtk_chrome_cookie_view.h namespace net { net 145 chrome/browser/ui/gtk/gtk_chrome_cookie_view.h const net::CanonicalCookie& cookie); net 42 chrome/browser/ui/gtk/login_prompt_gtk.cc LoginHandlerGtk(net::AuthChallengeInfo* auth_info, net::URLRequest* request) net 190 chrome/browser/ui/gtk/login_prompt_gtk.cc LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, net 191 chrome/browser/ui/gtk/login_prompt_gtk.cc net::URLRequest* request) { net 51 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const net::HttpNetworkSession* network_session, net 52 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info, net 53 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const base::Callback<void(net::X509Certificate*)>& callback); net 64 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* GetSelectedCert(); net 67 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert, net 70 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert); net 100 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const net::HttpNetworkSession* network_session, net 101 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info, net 102 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const base::Callback<void(net::X509Certificate*)>& callback) net 225 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert = net 239 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* SSLClientCertificateSelector::GetSelectedCert() { net 250 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert, const std::string& nickname) { net 260 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert) { net 323 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); net 340 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); net 361 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); net 397 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const net::HttpNetworkSession* network_session, net 398 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info, net 399 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const base::Callback<void(net::X509Certificate*)>& callback) { net 677 chrome/browser/ui/gtk/task_manager_gtk.cc std::string net = GetModelText(row, IDS_TASK_MANAGER_NET_COLUMN); net 729 chrome/browser/ui/gtk/task_manager_gtk.cc kTaskManagerNetwork, net.c_str(), net 48 chrome/browser/ui/login/login_prompt.cc void ResetLoginHandlerForRequest(net::URLRequest* request) { net 62 chrome/browser/ui/login/login_prompt.cc const net::AuthChallengeInfo& auth_info) { net 79 chrome/browser/ui/login/login_prompt.cc LoginHandler::LoginHandler(net::AuthChallengeInfo* auth_info, net 80 chrome/browser/ui/login/login_prompt.cc net::URLRequest* request) net 356 chrome/browser/ui/login/login_prompt.cc request_->SetAuth(net::AuthCredentials(username, password)); net 384 chrome/browser/ui/login/login_prompt.cc net::AuthChallengeInfo* auth_info, net 403 chrome/browser/ui/login/login_prompt.cc net::HostPortPair::FromURL(request_url))) { net 419 chrome/browser/ui/login/login_prompt.cc net::AuthChallengeInfo* auth_info, net 470 chrome/browser/ui/login/login_prompt.cc LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, net 471 chrome/browser/ui/login/login_prompt.cc net::URLRequest* request) { net 23 chrome/browser/ui/login/login_prompt.h namespace net { net 36 chrome/browser/ui/login/login_prompt.h LoginHandler(net::AuthChallengeInfo* auth_info, net::URLRequest* request); net 40 chrome/browser/ui/login/login_prompt.h static LoginHandler* Create(net::AuthChallengeInfo* auth_info, net 41 chrome/browser/ui/login/login_prompt.h net::URLRequest* request); net 76 chrome/browser/ui/login/login_prompt.h const net::AuthChallengeInfo* auth_info() const { return auth_info_.get(); } net 128 chrome/browser/ui/login/login_prompt.h scoped_refptr<net::AuthChallengeInfo> auth_info_; net 132 chrome/browser/ui/login/login_prompt.h net::URLRequest* request_; net 135 chrome/browser/ui/login/login_prompt.h const net::HttpNetworkSession* http_network_session_; net 209 chrome/browser/ui/login/login_prompt.h LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, net 210 chrome/browser/ui/login/login_prompt.h net::URLRequest* request); net 215 chrome/browser/ui/login/login_prompt.h void ResetLoginHandlerForRequest(net::URLRequest* request); net 219 chrome/browser/ui/login/login_prompt.h const net::AuthChallengeInfo& auth_info); net 70 chrome/browser/ui/login/login_prompt_browsertest.cc const net::AuthChallengeInfo* challenge = handler->auth_info(); net 11 chrome/browser/ui/login/login_prompt_unittest.cc scoped_refptr<net::AuthChallengeInfo> auth_info = new net::AuthChallengeInfo; net 40 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc net::registry_controlled_domains::SameDomainOrHost( net 42 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES) || net 43 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc !net::registry_controlled_domains::SameDomainOrHost( net 45 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 65 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc fetcher_.reset(net::URLFetcher::Create(alternate_nav_match_.destination_url, net 66 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc net::URLFetcher::HEAD, this)); net 67 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); net 129 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc const net::URLFetcher* source) { net 131 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc const net::URLRequestStatus& status = source->GetStatus(); net 135 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc ((status.status() == net::URLRequestStatus::CANCELED) && net 20 chrome/browser/ui/omnibox/omnibox_navigation_observer.h namespace net { net 46 chrome/browser/ui/omnibox/omnibox_navigation_observer.h public net::URLFetcherDelegate { net 89 chrome/browser/ui/omnibox/omnibox_navigation_observer.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 99 chrome/browser/ui/omnibox/omnibox_navigation_observer.h scoped_ptr<net::URLFetcher> fetcher_; net 60 chrome/browser/ui/pdf/pdf_browsertest.cc net::test_server::EmbeddedTestServer* pdf_test_server() { net 216 chrome/browser/ui/pdf/pdf_browsertest.cc net::test_server::EmbeddedTestServer pdf_test_server_; net 111 chrome/browser/ui/search/instant_extended_interactive_uitest.cc class FakeNetworkChangeNotifier : public net::NetworkChangeNotifier { net 255 chrome/browser/ui/search/instant_extended_interactive_uitest.cc : factory_(new net::URLFetcherImplFactory()), net 256 chrome/browser/ui/search/instant_extended_interactive_uitest.cc fake_factory_(new net::FakeURLFetcherFactory(factory_.get())) { net 275 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::FakeURLFetcherFactory* fake_factory() { return fake_factory_.get(); } net 279 chrome/browser/ui/search/instant_extended_interactive_uitest.cc scoped_ptr<net::URLFetcherImplFactory> factory_; net 282 chrome/browser/ui/search/instant_extended_interactive_uitest.cc scoped_ptr<net::FakeURLFetcherFactory> fake_factory_; net 290 chrome/browser/ui/search/instant_extended_interactive_uitest.cc disable_for_test_.reset(new net::NetworkChangeNotifier::DisableForTest); net 301 chrome/browser/ui/search/instant_extended_interactive_uitest.cc void SetConnectionType(net::NetworkChangeNotifier::ConnectionType type) { net 306 chrome/browser/ui/search/instant_extended_interactive_uitest.cc scoped_ptr<net::NetworkChangeNotifier::DisableForTest> disable_for_test_; net 828 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::HTTP_OK, net 829 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::URLRequestStatus::SUCCESS); net 847 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::HTTP_OK, net 848 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::URLRequestStatus::SUCCESS); net 888 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::HTTP_OK, net 889 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::URLRequestStatus::SUCCESS); net 907 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::HTTP_OK, net 908 chrome/browser/ui/search/instant_extended_interactive_uitest.cc net::URLRequestStatus::SUCCESS); net 47 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc host_resolver_proc_ = new net::RuleBasedHostResolverProc(NULL); net 50 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc new net::ScopedDefaultHostResolverProc(host_resolver_proc_.get())); net 65 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc new net::NetworkChangeNotifier::DisableForTest()); net 89 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_proc_; net 90 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc scoped_ptr<net::ScopedDefaultHostResolverProc> scoped_host_resolver_proc_; net 91 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc scoped_ptr<net::NetworkChangeNotifier::DisableForTest> net 40 chrome/browser/ui/search/instant_test_utils.cc net::SpawnedTestServer::TYPE_HTTPS, net 41 chrome/browser/ui/search/instant_test_utils.cc net::BaseTestServer::SSLOptions(), net 65 chrome/browser/ui/search/instant_test_utils.h net::SpawnedTestServer& https_test_server() { return https_test_server_; } net 106 chrome/browser/ui/search/instant_test_utils.h net::SpawnedTestServer https_test_server_; net 323 chrome/browser/ui/search/search_tab_helper.cc error_code != net::ERR_ABORTED && net 325 chrome/browser/ui/search/search_tab_helper_unittest.cc cacheableNTPURL, net::ERR_ABORTED, base::string16(), NULL); net 506 chrome/browser/ui/startup/startup_browser_creator.cc net::SetExplicitlyAllowedPorts(allowed_ports); net 342 chrome/browser/ui/sync/one_click_signin_helper.cc net::GetValueForKeyInQuery(url, "service", &value); net 616 chrome/browser/ui/sync/one_click_signin_helper.cc const std::string session_index, const net::CookieList& cookie_list) { net 617 chrome/browser/ui/sync/one_click_signin_helper.cc net::CookieList::const_iterator it; net 886 chrome/browser/ui/sync/one_click_signin_helper.cc net::URLRequest* request, net 951 chrome/browser/ui/sync/one_click_signin_helper.cc void OneClickSigninHelper::ShowInfoBarIfPossible(net::URLRequest* request, net 1418 chrome/browser/ui/sync/one_click_signin_helper.cc if (net::GetValueForKeyInQuery(url, "ntp", &unused_value)) { net 36 chrome/browser/ui/sync/one_click_signin_helper.h namespace net { net 141 chrome/browser/ui/sync/one_click_signin_helper.h const net::CookieList& cookie_list); net 199 chrome/browser/ui/sync/one_click_signin_helper.h static Offer CanOfferOnIOThread(net::URLRequest* request, net 205 chrome/browser/ui/sync/one_click_signin_helper.h static void ShowInfoBarIfPossible(net::URLRequest* request, net 938 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc scoped_refptr<net::CookieMonster> cookie_monster = net 940 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc net::CookieOptions options; net 945 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc net::CookieMonster::SetCookiesCallback()); net 53 chrome/browser/ui/tab_contents/core_tab_helper.cc web_contents()->GetLoadState().state == net::LOAD_STATE_IDLE) { net 58 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_WAITING_FOR_STALLED_SOCKET_POOL: net 59 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_WAITING_FOR_AVAILABLE_SOCKET: net 61 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_WAITING_FOR_DELEGATE: net 69 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_WAITING_FOR_CACHE: net 71 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_WAITING_FOR_APPCACHE: net 73 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_ESTABLISHING_PROXY_TUNNEL: net 76 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_DOWNLOADING_PROXY_SCRIPT: net 78 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_RESOLVING_PROXY_FOR_URL: net 80 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_RESOLVING_HOST_IN_PROXY_SCRIPT: net 83 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_RESOLVING_HOST: net 85 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_CONNECTING: net 87 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_SSL_HANDSHAKE: net 89 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_SENDING_REQUEST: net 98 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_WAITING_FOR_RESPONSE: net 102 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_IDLE: net 103 chrome/browser/ui/tab_contents/core_tab_helper.cc case net::LOAD_STATE_READING_RESPONSE: net 253 chrome/browser/ui/tab_contents/core_tab_helper.cc "%s: %s\r\n", net::HttpRequestHeaders::kContentType, net 372 chrome/browser/ui/toolbar/back_forward_menu_model.cc if (!net::registry_controlled_domains::SameDomainOrHost(url, net 374 chrome/browser/ui/toolbar/back_forward_menu_model.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)) net 383 chrome/browser/ui/toolbar/back_forward_menu_model.cc if (!net::registry_controlled_domains::SameDomainOrHost(url, net 385 chrome/browser/ui/toolbar/back_forward_menu_model.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)) net 203 chrome/browser/ui/toolbar/origin_chip_info.cc base::string16 formatted = net::FormatUrl(url.GetOrigin(), languages, net 204 chrome/browser/ui/toolbar/origin_chip_info.cc net::kFormatUrlOmitAll, net::UnescapeRule::NORMAL, NULL, NULL, NULL); net 14 chrome/browser/ui/toolbar/toolbar_model.h namespace net { net 82 chrome/browser/ui/toolbar/toolbar_model_impl.cc if (net::IsCertStatusError(ssl.cert_status)) { net 83 chrome/browser/ui/toolbar/toolbar_model_impl.cc DCHECK(net::IsCertStatusMinorError(ssl.cert_status)); net 86 chrome/browser/ui/toolbar/toolbar_model_impl.cc if ((ssl.cert_status & net::CERT_STATUS_IS_EV) && net 122 chrome/browser/ui/toolbar/toolbar_model_impl.cc url, net::FormatUrl(url, languages, net::kFormatUrlOmitAll, net 123 chrome/browser/ui/toolbar/toolbar_model_impl.cc net::UnescapeRule::NORMAL, NULL, NULL, NULL)); net 139 chrome/browser/ui/toolbar/toolbar_model_impl.cc return net::UnescapeAndDecodeUTF8URLComponent( net 141 chrome/browser/ui/toolbar/toolbar_model_impl.cc net::UnescapeRule::NORMAL, NULL); net 269 chrome/browser/ui/toolbar/toolbar_model_impl.cc scoped_refptr<net::X509Certificate> cert; net 279 chrome/browser/ui/toolbar/toolbar_model_impl.cc const net::X509Certificate& cert) { net 24 chrome/browser/ui/toolbar/toolbar_model_impl.h namespace net { net 40 chrome/browser/ui/toolbar/toolbar_model_impl.h static base::string16 GetEVCertName(const net::X509Certificate& cert); net 382 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc net::AppendQueryParameter(url, net 25 chrome/browser/ui/views/certificate_viewer_win.cc net::X509Certificate* cert) { net 61 chrome/browser/ui/views/certificate_viewer_win.cc net::X509Certificate* cert) { net 74 chrome/browser/ui/views/certificate_viewer_win.cc net::X509Certificate* cert) { net 61 chrome/browser/ui/views/cookie_info_view.cc const net::CanonicalCookie& cookie) { net 83 chrome/browser/ui/views/cookie_info_view.cc net::ParsedCookie pc(cookie_line); net 84 chrome/browser/ui/views/cookie_info_view.cc net::CanonicalCookie cookie(url, pc); net 22 chrome/browser/ui/views/cookie_info_view.h namespace net { net 37 chrome/browser/ui/views/cookie_info_view.h const net::CanonicalCookie& cookie_node); net 41 chrome/browser/ui/views/login_prompt_views.cc LoginHandlerViews(net::AuthChallengeInfo* auth_info, net::URLRequest* request) net 178 chrome/browser/ui/views/login_prompt_views.cc LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, net 179 chrome/browser/ui/views/login_prompt_views.cc net::URLRequest* request) { net 28 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc net::ct::DigitallySigned::HashAlgorithm hash_algorithm) { net 30 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_NONE: net 32 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_MD5: net 34 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_SHA1: net 36 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_SHA224: net 38 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_SHA256: net 40 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_SHA384: net 42 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::HASH_ALGO_SHA512: net 49 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc net::ct::DigitallySigned::SignatureAlgorithm signature_algorithm) { net 51 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::SIG_ALGO_ANONYMOUS: net 53 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::SIG_ALGO_RSA: net 55 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::SIG_ALGO_DSA: net 57 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::DigitallySigned::SIG_ALGO_ECDSA: net 72 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc int StatusToResourceID(net::ct::SCTVerifyStatus status) { net 74 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SCT_STATUS_NONE: net 76 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SCT_STATUS_LOG_UNKNOWN: net 78 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SCT_STATUS_INVALID: net 80 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SCT_STATUS_OK: net 82 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SCT_STATUS_MAX: net 89 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc int SCTOriginToResourceID(const net::ct::SignedCertificateTimestamp& sct) { net 91 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SignedCertificateTimestamp::SCT_EMBEDDED: net 93 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SignedCertificateTimestamp::SCT_FROM_TLS_EXTENSION: net 95 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SignedCertificateTimestamp::SCT_FROM_OCSP_RESPONSE: net 97 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc case net::ct::SignedCertificateTimestamp::SCT_ORIGIN_MAX: net 121 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc const net::ct::SignedCertificateTimestamp& sct, net 122 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc net::ct::SCTVerifyStatus status) { net 18 chrome/browser/ui/views/signed_certificate_timestamp_info_view.h namespace net { net 28 chrome/browser/ui/views/signed_certificate_timestamp_info_view.h int StatusToResourceID(net::ct::SCTVerifyStatus status); net 29 chrome/browser/ui/views/signed_certificate_timestamp_info_view.h int SCTOriginToResourceID(const net::ct::SignedCertificateTimestamp& sct); net 43 chrome/browser/ui/views/signed_certificate_timestamp_info_view.h const net::ct::SignedCertificateTimestamp& sct, net 44 chrome/browser/ui/views/signed_certificate_timestamp_info_view.h net::ct::SCTVerifyStatus status); net 37 chrome/browser/ui/views/signed_certificate_timestamps_views.cc net::SignedCertificateTimestampAndStatusList* sct_list) { net 42 chrome/browser/ui/views/signed_certificate_timestamps_views.cc scoped_refptr<net::ct::SignedCertificateTimestamp> sct; net 46 chrome/browser/ui/views/signed_certificate_timestamps_views.cc net::SignedCertificateTimestampAndStatus(sct, it->status)); net 57 chrome/browser/ui/views/signed_certificate_timestamps_views.cc net::SignedCertificateTimestampAndStatusList sct_list; net 67 chrome/browser/ui/views/signed_certificate_timestamps_views.cc const net::SignedCertificateTimestampAndStatusList& sct_list); net 75 chrome/browser/ui/views/signed_certificate_timestamps_views.cc net::SignedCertificateTimestampAndStatusList sct_list_; net 81 chrome/browser/ui/views/signed_certificate_timestamps_views.cc const net::SignedCertificateTimestampAndStatusList& sct_list) net 105 chrome/browser/ui/views/signed_certificate_timestamps_views.cc const net::SignedCertificateTimestampAndStatusList& sct_list) net 35 chrome/browser/ui/views/signed_certificate_timestamps_views.h const net::SignedCertificateTimestampAndStatusList& sct_list); net 72 chrome/browser/ui/views/signed_certificate_timestamps_views.h net::SignedCertificateTimestampAndStatusList sct_list_; net 56 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info); net 70 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info) { net 72 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::X509Certificate* cert = cert_request_info->client_certs[i].get(); net 103 chrome/browser/ui/views/ssl_client_certificate_selector.cc const net::HttpNetworkSession* network_session, net 104 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info, net 165 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::X509Certificate* SSLClientCertificateSelector::GetSelectedCert() const { net 216 chrome/browser/ui/views/ssl_client_certificate_selector.cc scoped_refptr<net::X509Certificate> cert = GetSelectedCert(); net 266 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); net 298 chrome/browser/ui/views/ssl_client_certificate_selector.cc void SSLClientCertificateSelector::Unlocked(net::X509Certificate* cert) { net 308 chrome/browser/ui/views/ssl_client_certificate_selector.cc const net::HttpNetworkSession* network_session, net 309 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::SSLCertRequestInfo* cert_request_info, net 25 chrome/browser/ui/views/ssl_client_certificate_selector.h namespace net { net 45 chrome/browser/ui/views/ssl_client_certificate_selector.h const net::HttpNetworkSession* network_session, net 46 chrome/browser/ui/views/ssl_client_certificate_selector.h net::SSLCertRequestInfo* cert_request_info, net 52 chrome/browser/ui/views/ssl_client_certificate_selector.h net::X509Certificate* GetSelectedCert() const; net 80 chrome/browser/ui/views/ssl_client_certificate_selector.h void Unlocked(net::X509Certificate* cert); net 46 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::FilePath certs_dir = net::GetTestCertsDirectory(); net 48 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc mit_davidben_cert_ = net::ImportCertFromFile(certs_dir, "mit.davidben.der"); net 49 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc ASSERT_NE(static_cast<net::X509Certificate*>(NULL), mit_davidben_cert_); net 51 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc foaf_me_chromium_test_cert_ = net::ImportCertFromFile( net 53 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc ASSERT_NE(static_cast<net::X509Certificate*>(NULL), net 56 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_ = new net::SSLCertRequestInfo; net 57 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_->host_and_port = net::HostPortPair("foo", 123); net 113 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_ptr<net::URLRequest> MakeURLRequest( net 114 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc net::URLRequestContextGetter* context_getter) { net 116 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc GURL("https://example"), net::DEFAULT_PRIORITY, NULL, NULL); net 121 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 122 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc net::URLRequest* url_request_; net 124 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::X509Certificate> mit_davidben_cert_; net 125 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::X509Certificate> foaf_me_chromium_test_cert_; net 126 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; net 138 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_1_ = new net::SSLCertRequestInfo; net 139 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_1_->host_and_port = net::HostPortPair("bar", 123); net 143 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_2_ = new net::SSLCertRequestInfo; net 144 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_2_->host_and_port = net::HostPortPair("bar", 123); net 208 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc net::URLRequest* url_request_1_; net 209 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc net::URLRequest* url_request_2_; net 210 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::SSLCertRequestInfo> cert_request_info_1_; net 211 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::SSLCertRequestInfo> cert_request_info_2_; net 224 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_1_ = new net::SSLCertRequestInfo; net 225 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc cert_request_info_1_->host_and_port = net::HostPortPair("foo", 123); net 270 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_1_; net 271 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc net::URLRequest* url_request_1_; net 272 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc scoped_refptr<net::SSLCertRequestInfo> cert_request_info_1_; net 742 chrome/browser/ui/views/status_bubble_views.cc } else if (net::FormatUrl(url, languages).length() > url_text_.length()) { net 95 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc net::FileURLToFilePath(url, &full_path); net 99 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc net::GetMimeTypeFromFile(full_path, &mime_type); net 594 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc net::IsSupportedMimeType(mime_type) || net 78 chrome/browser/ui/website_settings/website_settings.cc net::ct::SCTVerifyStatus status) { net 98 chrome/browser/ui/website_settings/website_settings.cc if (CertificateTransparencyStatusMatch(scts, net::ct::SCT_STATUS_OK)) net 102 chrome/browser/ui/website_settings/website_settings.cc if (CertificateTransparencyStatusMatch(scts, net::ct::SCT_STATUS_INVALID)) net 118 chrome/browser/ui/website_settings/website_settings.cc if (CertificateTransparencyStatusMatch(scts, net::ct::SCT_STATUS_INVALID)) net 306 chrome/browser/ui/website_settings/website_settings.cc scoped_refptr<net::X509Certificate> cert; net 325 chrome/browser/ui/website_settings/website_settings.cc (!net::IsCertStatusError(ssl.cert_status) || net 326 chrome/browser/ui/website_settings/website_settings.cc net::IsCertStatusMinorError(ssl.cert_status))) { net 339 chrome/browser/ui/website_settings/website_settings.cc } else if (net::IsCertStatusMinorError(ssl.cert_status)) { net 353 chrome/browser/ui/website_settings/website_settings.cc if (ssl.cert_status & net::CERT_STATUS_UNABLE_TO_CHECK_REVOCATION) { net 356 chrome/browser/ui/website_settings/website_settings.cc } else if (ssl.cert_status & net::CERT_STATUS_NO_REVOCATION_MECHANISM) { net 362 chrome/browser/ui/website_settings/website_settings.cc } else if (ssl.cert_status & net::CERT_STATUS_IS_EV) { net 425 chrome/browser/ui/website_settings/website_settings.cc if (ssl.cert_status & net::CERT_STATUS_NON_UNIQUE_NAME) { net 485 chrome/browser/ui/website_settings/website_settings.cc net::SSLConnectionStatusToCipherSuite(ssl.connection_status); net 488 chrome/browser/ui/website_settings/website_settings.cc net::SSLConnectionStatusToVersion(ssl.connection_status); net 490 chrome/browser/ui/website_settings/website_settings.cc net::SSLVersionToString(&ssl_version_str, ssl_version); net 497 chrome/browser/ui/website_settings/website_settings.cc net::SSL_CONNECTION_VERSION_FALLBACK) != 0; net 500 chrome/browser/ui/website_settings/website_settings.cc net::SSL_CONNECTION_NO_RENEGOTIATION_EXTENSION) != 0; net 503 chrome/browser/ui/website_settings/website_settings.cc net::SSLCipherSuiteToStrings( net 624 chrome/browser/ui/website_settings/website_settings.cc net::registry_controlled_domains::GetDomainAndRegistry( net 626 chrome/browser/ui/website_settings/website_settings.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 47 chrome/browser/ui/website_settings/website_settings_unittest.cc ~(net::SSL_CONNECTION_VERSION_MASK << net::SSL_CONNECTION_VERSION_SHIFT); net 48 chrome/browser/ui/website_settings/website_settings_unittest.cc int bitmask = version << net::SSL_CONNECTION_VERSION_SHIFT; net 54 chrome/browser/ui/website_settings/website_settings_unittest.cc connection_status &= ~net::SSL_CONNECTION_CIPHERSUITE_MASK; net 61 chrome/browser/ui/website_settings/website_settings_unittest.cc MOCK_METHOD2(StoreCert, int(net::X509Certificate*, int)); net 62 chrome/browser/ui/website_settings/website_settings_unittest.cc MOCK_METHOD2(RetrieveCert, bool(int, scoped_refptr<net::X509Certificate>*)); net 93 chrome/browser/ui/website_settings/website_settings_unittest.cc cert_ = new net::X509Certificate("subject", net 152 chrome/browser/ui/website_settings/website_settings_unittest.cc scoped_refptr<net::X509Certificate> cert_; net 258 chrome/browser/ui/website_settings/website_settings_unittest.cc status = SetSSLVersion(status, net::SSL_CONNECTION_VERSION_TLS1); net 280 chrome/browser/ui/website_settings/website_settings_unittest.cc status = SetSSLVersion(status, net::SSL_CONNECTION_VERSION_TLS1); net 295 chrome/browser/ui/website_settings/website_settings_unittest.cc scoped_refptr<net::X509Certificate> ev_cert = net 296 chrome/browser/ui/website_settings/website_settings_unittest.cc net::X509Certificate::CreateFromBytes( net 305 chrome/browser/ui/website_settings/website_settings_unittest.cc ssl_.cert_status = net::CERT_STATUS_IS_EV; net 309 chrome/browser/ui/website_settings/website_settings_unittest.cc status = SetSSLVersion(status, net::SSL_CONNECTION_VERSION_TLS1); net 327 chrome/browser/ui/website_settings/website_settings_unittest.cc ssl_.cert_status = net::CERT_STATUS_UNABLE_TO_CHECK_REVOCATION; net 330 chrome/browser/ui/website_settings/website_settings_unittest.cc status = SetSSLVersion(status, net::SSL_CONNECTION_VERSION_TLS1); net 350 chrome/browser/ui/website_settings/website_settings_unittest.cc status = SetSSLVersion(status, net::SSL_CONNECTION_VERSION_TLS1); net 148 chrome/browser/ui/webui/about_ui.cc class ChromeOSOnlineTermsHandler : public net::URLFetcherDelegate { net 157 chrome/browser/ui/webui/about_ui.cc eula_fetcher_.reset(net::URLFetcher::Create(0 /* ID used for testing */, net 159 chrome/browser/ui/webui/about_ui.cc net::URLFetcher::GET, net 164 chrome/browser/ui/webui/about_ui.cc eula_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 165 chrome/browser/ui/webui/about_ui.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 166 chrome/browser/ui/webui/about_ui.cc net::LOAD_DISABLE_CACHE); net 193 chrome/browser/ui/webui/about_ui.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 216 chrome/browser/ui/webui/about_ui.cc scoped_ptr<net::URLFetcher> eula_fetcher_; net 279 chrome/browser/ui/webui/about_ui.cc if (net::FileURLToFilePath(GURL(customization->GetEULAPage(locale_)), net 345 chrome/browser/ui/webui/about_ui.cc output->append(net::EscapeForHTML(unescaped_title)); net 463 chrome/browser/ui/webui/about_ui.cc title = net::EscapeForHTML(title); net 33 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate* cert) { net 42 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate* cert) net 45 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate::OSCertHandles cert_chain; net 102 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate::OSCertHandle cert_hnd = cert_->os_cert_handle(); net 105 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate::OSCertHandles cert_chain; net 172 chrome/browser/ui/webui/certificate_viewer_webui.cc for (net::X509Certificate::OSCertHandles::const_iterator i = net 217 chrome/browser/ui/webui/certificate_viewer_webui.cc CertificateViewerDialog::CertificateViewerDialog(net::X509Certificate* cert) net 254 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate* cert) : cert_(cert), dialog_(dialog) { net 290 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate::OSCertHandle cert = cert_chain_[cert_index]; net 34 chrome/browser/ui/webui/certificate_viewer_webui.h net::X509Certificate* cert); net 61 chrome/browser/ui/webui/certificate_viewer_webui.h scoped_refptr<net::X509Certificate> cert_; net 81 chrome/browser/ui/webui/certificate_viewer_webui.h explicit CertificateViewerDialog(net::X509Certificate* cert); net 106 chrome/browser/ui/webui/certificate_viewer_webui.h net::X509Certificate* cert); net 131 chrome/browser/ui/webui/certificate_viewer_webui.h scoped_refptr<net::X509Certificate> cert_; net 137 chrome/browser/ui/webui/certificate_viewer_webui.h net::X509Certificate::OSCertHandles cert_chain_; net 19 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter) net 19 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.h namespace net { net 37 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter); net 95 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc frame_error_(net::OK), net 198 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc const net::Error frame_error = static_cast<net::Error>(-status); net 199 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc if (frame_error == net::ERR_ABORTED) { net 204 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc if (frame_error == net::OK) { net 63 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h net::Error frame_error() const { return frame_error_; } net 90 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h net::Error frame_error_; net 307 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc } else if (net::EscapeForHTML(name) != name) { net 334 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc if (net::EscapeForHTML(new_user_name) != new_user_name) { net 410 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data)) net 47 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc std::string username = net::UnescapeURLComponent( net 49 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc net::UnescapeRule::URL_SPECIAL_CHARS | net::UnescapeRule::SPACES); net 68 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc net::EscapePath(username); net 145 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc net::Error frame_error) { net 150 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (frame_error == net::ERR_PROXY_CONNECTION_FAILED || net 151 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc frame_error == net::ERR_TUNNEL_CONNECTION_FAILED)); net 602 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc FrameError() != net::OK && FrameError() != net::ERR_NETWORK_CHANGED; net 1795 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc net::Error SigninScreenHandler::FrameError() const { net 451 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h net::Error FrameError() const; net 175 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data)) net 63 chrome/browser/ui/webui/cookies_tree_model_util.cc std::string ClientCertTypeToString(net::SSLClientCertType type) { net 65 chrome/browser/ui/webui/cookies_tree_model_util.cc case net::CLIENT_CERT_RSA_SIGN: net 67 chrome/browser/ui/webui/cookies_tree_model_util.cc case net::CLIENT_CERT_DSS_SIGN: net 69 chrome/browser/ui/webui/cookies_tree_model_util.cc case net::CLIENT_CERT_ECDSA_SIGN: net 114 chrome/browser/ui/webui/cookies_tree_model_util.cc const net::CanonicalCookie& cookie = *node.GetDetailedInfo().cookie; net 248 chrome/browser/ui/webui/cookies_tree_model_util.cc const net::ServerBoundCertStore::ServerBoundCert& server_bound_cert = net 253 chrome/browser/ui/webui/cookies_tree_model_util.cc ClientCertTypeToString(net::CLIENT_CERT_ECDSA_SIGN)); net 52 chrome/browser/ui/webui/devtools_ui.cc class FetchRequest : public net::URLFetcherDelegate { net 54 chrome/browser/ui/webui/devtools_ui.cc FetchRequest(net::URLRequestContextGetter* request_context, net 63 chrome/browser/ui/webui/devtools_ui.cc fetcher_.reset(net::URLFetcher::Create(url, net::URLFetcher::GET, this)); net 71 chrome/browser/ui/webui/devtools_ui.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 82 chrome/browser/ui/webui/devtools_ui.cc scoped_ptr<net::URLFetcher> fetcher_; net 113 chrome/browser/ui/webui/devtools_ui.cc explicit DevToolsDataSource(net::URLRequestContextGetter* net 192 chrome/browser/ui/webui/devtools_ui.cc scoped_refptr<net::URLRequestContextGetter> request_context_; net 136 chrome/browser/ui/webui/downloads_dom_handler.cc net::FilePathToFileURL(download_path).spec()); net 120 chrome/browser/ui/webui/extensions/install_extension_handler.cc net::FilePathToFileURL(file_to_install_)); net 136 chrome/browser/ui/webui/favicon_source.cc bool FaviconSource::ShouldServiceRequest(const net::URLRequest* request) const { net 83 chrome/browser/ui/webui/favicon_source.h const net::URLRequest* request) const OVERRIDE; net 46 chrome/browser/ui/webui/fileicon_source.cc std::string path = net::UnescapeURLComponent( net 47 chrome/browser/ui/webui/fileicon_source.cc gurl.path().substr(1), (net::UnescapeRule::URL_SPECIAL_CHARS | net 48 chrome/browser/ui/webui/fileicon_source.cc net::UnescapeRule::SPACES)); net 320 chrome/browser/ui/webui/history_ui.cc base::string16 domain = net::IDNToUnicode(url.host(), accept_languages); net 1011 chrome/browser/ui/webui/history_ui.cc net::EscapeQueryParamValue(base::UTF16ToUTF8(text), true)); net 321 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc scoped_ptr<net::FakeURLFetcher> CreateFakeURLFetcher( net 323 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLFetcherDelegate* delegate, net 325 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HttpStatusCode response_code, net 326 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::Status status) { net 328 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc return scoped_ptr<net::FakeURLFetcher>(new net::FakeURLFetcher( net 332 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::FakeURLFetcherFactory::FakeURLFetcherCreator callback() { net 375 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 376 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 381 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 382 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 387 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 388 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 393 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 394 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 399 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 400 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 405 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 406 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 415 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 416 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 453 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::FakeURLFetcherFactory& fake_fetcher_factory() { net 465 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLFetcherImplFactory fetcher_impl_factory_; net 467 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::FakeURLFetcherFactory fake_fetcher_factory_; net 536 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 537 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 542 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::HTTP_OK, net 543 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc net::URLRequestStatus::SUCCESS); net 111 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HostCache* GetHostResolverCache(net::URLRequestContext* context) { net 115 chrome/browser/ui/webui/net_internals/net_internals_ui.cc std::string HashesToBase64String(const net::HashValueVector& hashes) { net 126 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HashValueVector* hashes) { net 134 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HashValue hash; net 152 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* GetRequestStateAsValue(const net::URLRequest* request, net 153 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::LogLevel log_level) { net 158 chrome/browser/ui/webui/net_internals/net_internals_ui.cc bool RequestCreatedBefore(const net::URLRequest* request1, net 159 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::URLRequest* request2) { net 164 chrome/browser/ui/webui/net_internals/net_internals_ui.cc disk_cache::Backend* GetDiskCacheBackend(net::URLRequestContext* context) { net 168 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpCache* http_cache = context->http_transaction_factory()->GetCache(); net 177 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* GetHttpNetworkSession( net 178 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::URLRequestContext* context) { net 378 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NSSCertDatabase* nssdb); net 461 chrome/browser/ui/webui/net_internals/net_internals_ui.cc public net::NetLog::ThreadSafeObserver, net 475 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::URLRequestContextGetter* main_context_getter); net 479 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void AddRequestContextGetter(net::URLRequestContextGetter* context_getter); net 527 chrome/browser/ui/webui/net_internals/net_internals_ui.cc virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 548 chrome/browser/ui/webui/net_internals/net_internals_ui.cc typedef std::list<scoped_refptr<net::URLRequestContextGetter> > net 567 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::URLRequestContext* GetMainContext() { net 579 chrome/browser/ui/webui/net_internals/net_internals_ui.cc scoped_refptr<net::URLRequestContextGetter> main_context_getter_; net 965 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::URLRequestContextGetter* main_context_getter) net 979 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::URLRequestContextGetter* context_getter) { net 1033 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::LOG_ALL_BUT_BYTES); net 1040 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::ProxyService* proxy_service = GetMainContext()->proxy_service(); net 1064 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::ProxyRetryInfoMap& bad_proxies_map = net 1069 chrome/browser/ui/webui/net_internals/net_internals_ui.cc for (net::ProxyRetryInfoMap::const_iterator it = bad_proxies_map.begin(); net 1072 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::ProxyRetryInfo& retry_info = it->second; net 1077 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::TickCountToString(retry_info.bad_until)); net 1097 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::URLRequestContext* context = GetMainContext(); net 1098 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HostCache* cache = GetHostResolverCache(context); net 1123 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HostCache::EntryMap::Iterator it(cache->entries()); net 1125 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::HostCache::Key& key = it.key(); net 1126 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::HostCache::Entry& entry = it.value(); net 1134 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::TickCountToString(it.expiration())); net 1136 chrome/browser/ui/webui/net_internals/net_internals_ui.cc if (entry.error != net::OK) { net 1159 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HostCache* cache = GetHostResolverCache(GetMainContext()); net 1171 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HostResolver* host_resolver = GetMainContext()->host_resolver(); net 1173 chrome/browser/ui/webui/net_internals/net_internals_ui.cc host_resolver->SetDefaultAddressFamily(net::ADDRESS_FAMILY_UNSPECIFIED); net 1206 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::TransportSecurityState* transport_security_state = net 1211 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::TransportSecurityState::DomainState state; net 1256 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::TransportSecurityState* transport_security_state = net 1262 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HashValueVector hashes; net 1282 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::TransportSecurityState* transport_security_state = net 1316 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1329 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1347 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1357 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1367 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1382 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpStreamFactory::spdy_enabled())); net 1385 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpStreamFactory::use_alternate_protocols())); net 1388 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpStreamFactory::force_spdy_over_ssl())); net 1391 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpStreamFactory::force_spdy_always())); net 1395 chrome/browser/ui/webui/net_internals/net_internals_ui.cc if (net::HttpStreamFactory::has_next_protos()) { net 1396 chrome/browser/ui/webui/net_internals/net_internals_ui.cc next_protos_string = JoinString(net::HttpStreamFactory::next_protos(), ','); net 1409 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::HttpServerProperties& http_server_properties = net 1412 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::AlternateProtocolMap& map = net 1415 chrome/browser/ui/webui/net_internals/net_internals_ui.cc for (net::AlternateProtocolMap::const_iterator it = map.begin(); net 1429 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1497 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NSSCertDatabase* nssdb) { net 1605 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HttpNetworkSession* http_network_session = net 1616 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::HttpServerProperties& http_server_properties = net 1620 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::PipelineCapabilityMap pipeline_capability_map = net 1624 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::PipelineCapabilityMap::const_iterator it; net 1631 chrome/browser/ui/webui/net_internals/net_internals_ui.cc case net::PIPELINE_CAPABLE: net 1635 chrome/browser/ui/webui/net_internals/net_internals_ui.cc case net::PIPELINE_PROBABLY_CAPABLE: net 1639 chrome/browser/ui/webui/net_internals/net_internals_ui.cc case net::PIPELINE_INCAPABLE: net 1643 chrome/browser/ui/webui/net_internals/net_internals_ui.cc case net::PIPELINE_UNKNOWN: net 1666 chrome/browser/ui/webui/net_internals/net_internals_ui.cc DCHECK_GE(log_level, net::NetLog::LOG_ALL); net 1667 chrome/browser/ui/webui/net_internals/net_internals_ui.cc DCHECK_LT(log_level, net::NetLog::LOG_NONE); net 1669 chrome/browser/ui/webui/net_internals/net_internals_ui.cc this, static_cast<net::NetLog::LogLevel>(log_level)); net 1675 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::NetLog::Entry& entry) { net 1757 chrome/browser/ui/webui/net_internals/net_internals_ui.cc std::set<net::URLRequestContext*> contexts; net 1766 chrome/browser/ui/webui/net_internals/net_internals_ui.cc std::vector<const net::URLRequest*> requests; net 1767 chrome/browser/ui/webui/net_internals/net_internals_ui.cc for (std::set<net::URLRequestContext*>::const_iterator context = net 1770 chrome/browser/ui/webui/net_internals/net_internals_ui.cc std::set<const net::URLRequest*>* context_requests = net 1772 chrome/browser/ui/webui/net_internals/net_internals_ui.cc for (std::set<const net::URLRequest*>::const_iterator request_it = net 1784 chrome/browser/ui/webui/net_internals/net_internals_ui.cc for (std::vector<const net::URLRequest*>::const_iterator request_it = net 1787 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const net::URLRequest* request = *request_it; net 1788 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::ParametersCallback callback = net 1793 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::EntryData entry_data(net::NetLog::TYPE_REQUEST_ALIVE, net 1795 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::PHASE_BEGIN, net 1798 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::NetLog::Entry entry(&entry_data, request->net_log().GetLogLevel()); net 1818 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* constants_dict = net::NetLogLogger::GetConstants(); net 51 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void AddCacheEntryOnIOThread(net::URLRequestContextGetter* context_getter, net 57 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::URLRequestContext* context = context_getter->GetURLRequestContext(); net 58 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HostCache* cache = context->host_resolver()->GetHostCache(); net 61 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HostCache::Key key(hostname, net::ADDRESS_FAMILY_UNSPECIFIED, 0); net 64 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::AddressList address_list; net 65 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc if (net_error == net::OK) { net 68 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc int rv = net::ParseAddressList(ip_literal, hostname, &address_list); net 69 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc ASSERT_EQ(net::OK, rv); net 75 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc cache->Set(net::HostCache::Key(hostname, net::ADDRESS_FAMILY_UNSPECIFIED, 0), net 76 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HostCache::Entry(net_error, address_list), net 84 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::URLRequestContextGetter* context_getter, net 87 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HttpPipelinedHostCapability capability) { net 89 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::URLRequestContext* context = context_getter->GetURLRequestContext(); net 90 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HttpNetworkSession* http_network_session = net 92 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::WeakPtr<net::HttpServerProperties> http_server_properties = net 94 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HostPortPair origin(hostname, port); net 101 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::URLRequestContextGetter* context_getter, bool enable) { net 103 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::URLRequestContext* context = context_getter->GetURLRequestContext(); net 104 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HttpNetworkSession* http_network_session = net 322 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HttpPipelinedHostCapability capability; net 327 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc capability = net::PIPELINE_CAPABLE; net 329 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc capability = net::PIPELINE_INCAPABLE; net 353 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc scoped_ptr<net::NetLogLogger> net_log_logger(new net::NetLogLogger( net 357 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::NetLog::TYPE_NETWORK_IP_ADDRESSES_CHANGED); net 358 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::BoundNetLog bound_net_log = net::BoundNetLog::Make( net 360 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::NetLog::SOURCE_URL_REQUEST); net 361 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc bound_net_log.BeginEvent(net::NetLog::TYPE_REQUEST_ALIVE); net 410 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 414 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc EXPECT_TRUE(net::SpawnedTestServer::GetFilePathWithReplacements( net 19 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc const net::UnescapeRule::Type kUnescapeRules = net 20 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc net::UnescapeRule::NORMAL | net::UnescapeRule::URL_SPECIAL_CHARS; net 100 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc GURL url(net::UnescapeURLComponent(escaped_url, kUnescapeRules)); net 75 chrome/browser/ui/webui/ntp/ntp_login_handler.cc net::EscapeForHTML(content) + base::ASCIIToUTF16("</span>"); net 56 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc out->push_back(net::EscapeForHTML(mvurl.url.spec()) + "\n"); net 67 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc out->push_back("<li>" + net::EscapeForHTML(jt->spec()) + "</li>\n"); net 115 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc const net::URLRequest* request) const { net 45 chrome/browser/ui/webui/ntp/thumbnail_list_source.h const net::URLRequest* request) const OVERRIDE; net 68 chrome/browser/ui/webui/ntp/thumbnail_source.cc const net::URLRequest* request) const { net 41 chrome/browser/ui/webui/ntp/thumbnail_source.h const net::URLRequest* request) const OVERRIDE; net 126 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc void UpdateNetworkConfigurationUpdater(net::NSSCertDatabase* database) { net 106 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::ERR_IMPORT_CA_CERT_NOT_CA: net 108 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::ERR_IMPORT_CERT_ALREADY_EXISTS: net 118 chrome/browser/ui/webui/options/certificate_manager_handler.cc explicit CertEquals(const net::X509Certificate* cert) : cert_(cert) {} net 119 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool operator()(const scoped_refptr<net::X509Certificate> cert) const { net 122 chrome/browser/ui/webui/options/certificate_manager_handler.cc const net::X509Certificate* cert_; net 127 chrome/browser/ui/webui/options/certificate_manager_handler.cc const net::CertificateList& web_trust_certs, net 128 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert) { net 136 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert) { net 154 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string CertToId(net::X509Certificate* cert); net 155 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* IdToCert(const std::string& id); net 156 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* CallbackArgsToCert(const base::ListValue* args); net 159 chrome/browser/ui/webui/options/certificate_manager_handler.cc typedef std::map<net::X509Certificate*, int32> CertMap; net 162 chrome/browser/ui/webui/options/certificate_manager_handler.cc IDMap<net::X509Certificate>id_map_; net 170 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string CertIdMap::CertToId(net::X509Certificate* cert) { net 180 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* CertIdMap::IdToCert(const std::string& id) { net 188 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* CertIdMap::CallbackArgsToCert( net 194 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = IdToCert(node_id); net 493 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::CertificateList web_trusted_certs; net 501 chrome/browser/ui/webui/options/certificate_manager_handler.cc PopulateTree("personalCertsTab", net::USER_CERT, web_trusted_certs); net 502 chrome/browser/ui/webui/options/certificate_manager_handler.cc PopulateTree("serverCertsTab", net::SERVER_CERT, web_trusted_certs); net 503 chrome/browser/ui/webui/options/certificate_manager_handler.cc PopulateTree("caCertsTab", net::CA_CERT, web_trusted_certs); net 504 chrome/browser/ui/webui/options/certificate_manager_handler.cc PopulateTree("otherCertsTab", net::OTHER_CERT, web_trusted_certs); net 542 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); net 557 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); net 563 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::NSSCertDatabase::TrustBits trust_bits = net 564 chrome/browser/ui/webui/options/certificate_manager_handler.cc certificate_manager_model_->cert_db()->GetCertTrust(cert, net::CA_CERT); net 566 chrome/browser/ui/webui/options/certificate_manager_handler.cc static_cast<bool>(trust_bits & net::NSSCertDatabase::TRUSTED_SSL)); net 568 chrome/browser/ui/webui/options/certificate_manager_handler.cc static_cast<bool>(trust_bits & net::NSSCertDatabase::TRUSTED_EMAIL)); net 570 chrome/browser/ui/webui/options/certificate_manager_handler.cc static_cast<bool>(trust_bits & net::NSSCertDatabase::TRUSTED_OBJ_SIGN)); net 577 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); net 593 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::CA_CERT, net 594 chrome/browser/ui/webui/options/certificate_manager_handler.cc trust_ssl * net::NSSCertDatabase::TRUSTED_SSL + net 595 chrome/browser/ui/webui/options/certificate_manager_handler.cc trust_email * net::NSSCertDatabase::TRUSTED_EMAIL + net 596 chrome/browser/ui/webui/options/certificate_manager_handler.cc trust_obj_sign * net::NSSCertDatabase::TRUSTED_OBJ_SIGN); net 611 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); net 660 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::HostPortPair(), // unused. net 765 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::CryptoModuleList modules; net 770 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::HostPortPair(), // unused. net 788 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::OK: net 790 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::ERR_PKCS12_IMPORT_BAD_PASSWORD: net 795 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::ERR_PKCS12_IMPORT_INVALID_MAC: net 798 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::ERR_PKCS12_IMPORT_INVALID_FILE: net 801 chrome/browser/ui/webui/options/certificate_manager_handler.cc case net::ERR_PKCS12_IMPORT_UNSUPPORTED: net 865 chrome/browser/ui/webui/options/certificate_manager_handler.cc selected_cert_list_ = net::X509Certificate::CreateCertificateListFromBytes( net 866 chrome/browser/ui/webui/options/certificate_manager_handler.cc data->data(), data->size(), net::X509Certificate::FORMAT_AUTO); net 875 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::NSSCertDatabase::ImportCertFailureList not_imported; net 879 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::NSSCertDatabase::TRUST_DEFAULT, net 924 chrome/browser/ui/webui/options/certificate_manager_handler.cc selected_cert_list_ = net::X509Certificate::CreateCertificateListFromBytes( net 925 chrome/browser/ui/webui/options/certificate_manager_handler.cc data->data(), data->size(), net::X509Certificate::FORMAT_AUTO); net 934 chrome/browser/ui/webui/options/certificate_manager_handler.cc scoped_refptr<net::X509Certificate> root_cert = net 963 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::NSSCertDatabase::ImportCertFailureList not_imported; net 966 chrome/browser/ui/webui/options/certificate_manager_handler.cc trust_ssl * net::NSSCertDatabase::TRUSTED_SSL + net 967 chrome/browser/ui/webui/options/certificate_manager_handler.cc trust_email * net::NSSCertDatabase::TRUSTED_EMAIL + net 968 chrome/browser/ui/webui/options/certificate_manager_handler.cc trust_obj_sign * net::NSSCertDatabase::TRUSTED_OBJ_SIGN, net 984 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); net 992 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); net 1046 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::CertType type, net 1047 chrome/browser/ui/webui/options/certificate_manager_handler.cc const net::CertificateList& web_trust_certs) { net 1074 chrome/browser/ui/webui/options/certificate_manager_handler.cc for (net::CertificateList::const_iterator org_cert_it = i->second.begin(); net 1077 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = org_cert_it->get(); net 1129 chrome/browser/ui/webui/options/certificate_manager_handler.cc const net::NSSCertDatabase::ImportCertFailureList& not_imported) const { net 1141 chrome/browser/ui/webui/options/certificate_manager_handler.cc const net::NSSCertDatabase::ImportCertFailure& failure = not_imported[i]; net 142 chrome/browser/ui/webui/options/certificate_manager_handler.h net::CertType type, net 143 chrome/browser/ui/webui/options/certificate_manager_handler.h const net::CertificateList& web_trust_certs); net 148 chrome/browser/ui/webui/options/certificate_manager_handler.h const net::CertificateList& web_trust_certs); net 158 chrome/browser/ui/webui/options/certificate_manager_handler.h const net::NSSCertDatabase::ImportCertFailureList& not_imported) const; net 176 chrome/browser/ui/webui/options/certificate_manager_handler.h net::CertificateList selected_cert_list_; net 178 chrome/browser/ui/webui/options/certificate_manager_handler.h scoped_refptr<net::CryptoModule> module_; net 230 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data)) net 33 chrome/browser/ui/webui/options/chromeos/user_image_source.cc *email = net::UnescapeURLComponent(url.path().substr(1), net 34 chrome/browser/ui/webui/options/chromeos/user_image_source.cc (net::UnescapeRule::URL_SPECIAL_CHARS | net 35 chrome/browser/ui/webui/options/chromeos/user_image_source.cc net::UnescapeRule::SPACES)); net 163 chrome/browser/ui/webui/options/password_manager_handler.cc entry->Append(new base::StringValue(net::FormatUrl(password_list[i]->origin, net 185 chrome/browser/ui/webui/options/password_manager_handler.cc net::FormatUrl(password_exception_list[i]->origin, languages_))); net 197 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc std::string host(net::GetHostOrSpecFromURL(*itr)); net 77 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc host_(net::GetHostOrSpecFromURL(origin)), net 45 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::URLRequestContextGetter* getter, net 75 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::URLRequestContextGetter* getter, net 214 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc if (!net::GetValueForKeyInQuery(current_url, "email", &default_email)) net 221 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::GetValueForKeyInQuery(current_url, "frameUrl", &frame_url); net 226 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::GetValueForKeyInQuery(current_url, "constrained", &is_constrained); net 232 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::GetValueForKeyInQuery(current_url, "readOnlyEmail", &read_only_email); net 247 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc main_frame_url = net::AppendOrReplaceQueryParameter( net 251 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::AppendOrReplaceQueryParameter(main_frame_url, "constrained", "0"), net 299 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc if (net::GetValueForKeyInQuery(current_url, "email", &default_email) && net 300 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc net::GetValueForKeyInQuery(current_url, "validateEmail", net 128 chrome/browser/ui/webui/theme_source.cc bool ThemeSource::ShouldServiceRequest(const net::URLRequest* request) const { net 38 chrome/browser/ui/webui/theme_source.h const net::URLRequest* request) const OVERRIDE; net 79 chrome/browser/ui/zoom/zoom_controller.cc host != net::GetHostOrSpecFromURL(entry->GetURL())) { net 164 chrome/browser/usb/usb_device_handle.cc scoped_refptr<net::IOBuffer> buffer; net 225 chrome/browser/usb/usb_device_handle.cc scoped_refptr<net::IOBuffer> buffer = transfer.buffer; net 239 chrome/browser/usb/usb_device_handle.cc scoped_refptr<net::IOBuffer> resized_buffer = new net::IOBuffer( net 400 chrome/browser/usb/usb_device_handle.cc net::IOBuffer* buffer, const size_t length, const unsigned int timeout, net 408 chrome/browser/usb/usb_device_handle.cc scoped_refptr<net::IOBuffer> resized_buffer(new net::IOBufferWithSize( net 440 chrome/browser/usb/usb_device_handle.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, net 467 chrome/browser/usb/usb_device_handle.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, net 493 chrome/browser/usb/usb_device_handle.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, net 552 chrome/browser/usb/usb_device_handle.cc net::IOBuffer* buffer, net 36 chrome/browser/usb/usb_device_handle.h namespace net { net 51 chrome/browser/usb/usb_device_handle.h typedef base::Callback<void(UsbTransferStatus, scoped_refptr<net::IOBuffer>, net 87 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, net 94 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, net 101 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, net 108 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, net 150 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, net 183 chrome/browser/web_resource/notification_promo.cc *url = net::AppendQueryParameter(*url, param, value); net 19 chrome/browser/web_resource/resource_request_allowed_notifier.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 26 chrome/browser/web_resource/resource_request_allowed_notifier.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 30 chrome/browser/web_resource/resource_request_allowed_notifier.cc waiting_for_network_ = net::NetworkChangeNotifier::IsOffline(); net 101 chrome/browser/web_resource/resource_request_allowed_notifier.cc net::NetworkChangeNotifier::ConnectionType type) { net 109 chrome/browser/web_resource/resource_request_allowed_notifier.cc type != net::NetworkChangeNotifier::CONNECTION_NONE) { net 114 chrome/browser/web_resource/resource_request_allowed_notifier.cc type == net::NetworkChangeNotifier::CONNECTION_NONE) { net 33 chrome/browser/web_resource/resource_request_allowed_notifier.h public net::NetworkChangeNotifier::ConnectionTypeObserver { net 88 chrome/browser/web_resource/resource_request_allowed_notifier.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 15 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc class TestNetworkChangeNotifier : public net::NetworkChangeNotifier { net 18 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc : net::NetworkChangeNotifier(), net 20 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_UNKNOWN) { net 26 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::ConnectionType type) { net 28 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::NotifyObserversOfConnectionTypeChange(); net 39 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::ConnectionType connection_type_to_return_; net 102 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::ConnectionType type) { net 131 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 159 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc SimulateNetworkConnectionChange(net::NetworkChangeNotifier::CONNECTION_NONE); net 167 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 175 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 183 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 186 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_3G); net 189 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_4G); net 192 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 202 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 205 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 208 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 218 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 221 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 226 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 235 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 238 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 250 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_ETHERNET); net 270 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 279 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 293 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 127 chrome/browser/web_resource/web_resource_service.cc url_fetcher_.reset(net::URLFetcher::Create( net 128 chrome/browser/web_resource/web_resource_service.cc web_resource_server, net::URLFetcher::GET, this)); net 131 chrome/browser/web_resource/web_resource_service.cc url_fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 132 chrome/browser/web_resource/web_resource_service.cc net::LOAD_DO_NOT_SEND_COOKIES | net 133 chrome/browser/web_resource/web_resource_service.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 134 chrome/browser/web_resource/web_resource_service.cc net::URLRequestContextGetter* url_request_context_getter = net 140 chrome/browser/web_resource/web_resource_service.cc void WebResourceService::OnURLFetchComplete(const net::URLFetcher* source) { net 142 chrome/browser/web_resource/web_resource_service.cc scoped_ptr<net::URLFetcher> clean_up_fetcher(url_fetcher_.release()); net 24 chrome/browser/web_resource/web_resource_service.h namespace net { net 31 chrome/browser/web_resource/web_resource_service.h : public net::URLFetcherDelegate, net 66 chrome/browser/web_resource/web_resource_service.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 85 chrome/browser/web_resource/web_resource_service.h scoped_ptr<net::URLFetcher> url_fetcher_; net 451 chrome/browser/webdata/autocomplete_syncable_service.cc return prefix + net::EscapePath(name) + "|" + net::EscapePath(value); net 170 chrome/common/cast_messages.h net::IPEndPoint /*remote_end_point*/); net 238 chrome/common/cloud_print/cloud_print_helpers.cc net::AddMultipartValueForUpload(kPrinterTagValue, msg, mime_boundary, net 244 chrome/common/cloud_print/cloud_print_helpers.cc net::AddMultipartValueForUpload(kPrinterTagValue, tags_hash_msg, net 192 chrome/common/content_settings_pattern.cc std::string canonicalized_host(net::CanonicalizeHost(host, &host_info)); net 195 chrome/common/content_settings_pattern.cc canonicalized_host = net::TrimEndingDot(canonicalized_host); net 465 chrome/common/content_settings_pattern.cc const std::string host(net::TrimEndingDot(local_url->host())); net 62 chrome/common/custom_handlers/protocol_handler.cc net::EscapeQueryParamValue(url.spec(), true)); net 61 chrome/common/extensions/api/networking_private/networking_private_crypto.cc net::PEMTokenizer pem_tok(pem_data, headers); net 20 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc using net::NetworkChangeNotifier; net 19 chrome/common/extensions/docs/examples/apps/hello-java/HelloLicenseServlet.java import java.net.*; net 7 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java import java.net.Socket; net 8 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java import java.net.UnknownHostException; net 12 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java import javax.net.SocketFactory; net 41 chrome/common/extensions/extension_constants.cc url = net::AppendQueryParameter(url, "q", query); net 42 chrome/common/extensions/extension_constants.cc url = net::AppendQueryParameter(url, "hl", hl); net 48 chrome/common/extensions/extension_constants.cc net::EscapeQueryParamValue(query, false)); net 211 chrome/common/extensions/extension_unittest.cc EXPECT_TRUE(net::SniffMimeType(data.c_str(), net 222 chrome/common/extensions/extension_unittest.cc EXPECT_TRUE(net::SniffMimeType(data.c_str(), net 20 chrome/common/extensions/manifest_handlers/externally_connectable.cc namespace rcd = net::registry_controlled_domains; net 23 chrome/common/local_discovery/local_discovery_messages.h : address_family(net::ADDRESS_FAMILY_UNSPECIFIED), net 28 chrome/common/local_discovery/local_discovery_messages.h net::AddressFamily address_family; net 44 chrome/common/local_discovery/local_discovery_messages.h IPC_ENUM_TRAITS_MAX_VALUE(net::AddressFamily, net::ADDRESS_FAMILY_LAST) net 102 chrome/common/local_discovery/local_discovery_messages.h net::AddressFamily /* address_family */) net 137 chrome/common/local_discovery/local_discovery_messages.h net::IPAddressNumber /* ip_address_ipv4 */, net 138 chrome/common/local_discovery/local_discovery_messages.h net::IPAddressNumber /* ip_address_ipv6 */) net 18 chrome/common/local_discovery/service_discovery_client.h namespace net { net 37 chrome/common/local_discovery/service_discovery_client.h net::HostPortPair address; net 41 chrome/common/local_discovery/service_discovery_client.h net::IPAddressNumber ip_address; net 103 chrome/common/local_discovery/service_discovery_client.h const net::IPAddressNumber& /*address_ipv4*/, net 104 chrome/common/local_discovery/service_discovery_client.h const net::IPAddressNumber& /*address_ipv6*/)> net 131 chrome/common/local_discovery/service_discovery_client.h net::AddressFamily address_family, net 75 chrome/common/localized_error.cc {net::ERR_TIMED_OUT, net 83 chrome/common/localized_error.cc {net::ERR_CONNECTION_TIMED_OUT, net 91 chrome/common/localized_error.cc {net::ERR_CONNECTION_CLOSED, net 98 chrome/common/localized_error.cc {net::ERR_CONNECTION_RESET, net 106 chrome/common/localized_error.cc {net::ERR_CONNECTION_REFUSED, net 114 chrome/common/localized_error.cc {net::ERR_CONNECTION_FAILED, net 121 chrome/common/localized_error.cc {net::ERR_NAME_NOT_RESOLVED, net 129 chrome/common/localized_error.cc {net::ERR_ADDRESS_UNREACHABLE, net 136 chrome/common/localized_error.cc {net::ERR_NETWORK_ACCESS_DENIED, net 143 chrome/common/localized_error.cc {net::ERR_PROXY_CONNECTION_FAILED, net 150 chrome/common/localized_error.cc {net::ERR_INTERNET_DISCONNECTED, net 157 chrome/common/localized_error.cc {net::ERR_FILE_NOT_FOUND, net 164 chrome/common/localized_error.cc {net::ERR_CACHE_MISS, net 171 chrome/common/localized_error.cc {net::ERR_CACHE_READ_FAILURE, net 178 chrome/common/localized_error.cc {net::ERR_NETWORK_IO_SUSPENDED, net 185 chrome/common/localized_error.cc {net::ERR_TOO_MANY_REDIRECTS, net 192 chrome/common/localized_error.cc {net::ERR_EMPTY_RESPONSE, net 199 chrome/common/localized_error.cc {net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, net 206 chrome/common/localized_error.cc {net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, net 213 chrome/common/localized_error.cc {net::ERR_RESPONSE_HEADERS_MULTIPLE_LOCATION, net 220 chrome/common/localized_error.cc {net::ERR_CONTENT_LENGTH_MISMATCH, net 227 chrome/common/localized_error.cc {net::ERR_INCOMPLETE_CHUNKED_ENCODING, net 234 chrome/common/localized_error.cc {net::ERR_SSL_PROTOCOL_ERROR, net 241 chrome/common/localized_error.cc {net::ERR_SSL_UNSAFE_NEGOTIATION, net 248 chrome/common/localized_error.cc {net::ERR_BAD_SSL_CLIENT_AUTH_CERT, net 255 chrome/common/localized_error.cc {net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, net 262 chrome/common/localized_error.cc {net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, net 269 chrome/common/localized_error.cc {net::ERR_TEMPORARILY_THROTTLED, net 276 chrome/common/localized_error.cc {net::ERR_BLOCKED_BY_CLIENT, net 283 chrome/common/localized_error.cc {net::ERR_NETWORK_CHANGED, net 290 chrome/common/localized_error.cc {net::ERR_BLOCKED_BY_ADMINISTRATOR, net 303 chrome/common/localized_error.cc net::ERR_CACHE_MISS, net 430 chrome/common/localized_error.cc if (error_domain == net::kErrorDomain) { net 433 chrome/common/localized_error.cc if (is_post && error_code == net::ERR_CACHE_MISS) net 479 chrome/common/localized_error.cc if ((error_code == net::ERR_INTERNET_DISCONNECTED && net 480 chrome/common/localized_error.cc error_domain == net::kErrorDomain) || net 530 chrome/common/localized_error.cc if (error_domain == net::kErrorDomain && net 531 chrome/common/localized_error.cc error_code == net::ERR_ACCESS_DENIED && net 540 chrome/common/localized_error.cc base::string16 failed_url_string(net::FormatUrl( net 541 chrome/common/localized_error.cc failed_url, accept_languages, net::kFormatUrlOmitNothing, net 542 chrome/common/localized_error.cc net::UnescapeRule::NORMAL, NULL, NULL, NULL)); net 558 chrome/common/localized_error.cc summary->SetString("hostName", net::IDNToUnicode(failed_url.host(), net 575 chrome/common/localized_error.cc if (error_domain == net::kErrorDomain) { net 577 chrome/common/localized_error.cc std::string ascii_error_string = net::ErrorToString(error_code); net 595 chrome/common/localized_error.cc if (error_domain == net::kErrorDomain && net 596 chrome/common/localized_error.cc error_code == net::ERR_INTERNET_DISCONNECTED) { net 781 chrome/common/localized_error.cc case net::ERR_TOO_MANY_REDIRECTS: net 784 chrome/common/localized_error.cc case net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY: net 173 chrome/common/net/url_fixer_upper.cc GURL file_url = net::FilePathToFileURL(base::FilePath(filename)); net 175 chrome/common/net/url_fixer_upper.cc return base::UTF16ToUTF8(net::FormatUrl(file_url, std::string(), net 176 chrome/common/net/url_fixer_upper.cc net::kFormatUrlOmitUsernamePassword, net::UnescapeRule::NORMAL, NULL, net 200 chrome/common/net/url_fixer_upper.cc net::registry_controlled_domains::GetRegistryLength( net 202 chrome/common/net/url_fixer_upper.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 203 chrome/common/net/url_fixer_upper.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 607 chrome/common/net/url_fixer_upper.cc std::wstring unescaped = base::UTF8ToWide(net::UnescapeURLComponent( net 609 chrome/common/net/url_fixer_upper.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS)); net 611 chrome/common/net/url_fixer_upper.cc std::string unescaped = net::UnescapeURLComponent( net 613 chrome/common/net/url_fixer_upper.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS); net 625 chrome/common/net/url_fixer_upper.cc GURL file_url = net::FilePathToFileURL(full_path); net 627 chrome/common/net/url_fixer_upper.cc return GURL(base::UTF16ToUTF8(net::FormatUrl(file_url, std::string(), net 628 chrome/common/net/url_fixer_upper.cc net::kFormatUrlOmitUsernamePassword, net::UnescapeRule::NORMAL, NULL, net 242 chrome/common/net/url_fixer_upper_unittest.cc net::FileURLToFilePath(GURL(url), &derived_path); net 378 chrome/common/net/url_fixer_upper_unittest.cc GURL golden(net::FilePathToFileURL(original)); net 26 chrome/common/net/url_util.cc net::FormatUrl(url, languages, net::kFormatUrlOmitNothing, net 27 chrome/common/net/url_util.cc net::UnescapeRule::NONE, NULL, NULL, NULL); net 24 chrome/common/net/x509_certificate_model.cc base::string16 output16 = net::IDNToUnicode(input, std::string()); net 19 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle); net 21 chrome/common/net/x509_certificate_model.h std::string GetNickname(net::X509Certificate::OSCertHandle cert_handle); net 23 chrome/common/net/x509_certificate_model.h std::string GetTokenName(net::X509Certificate::OSCertHandle cert_handle); net 25 chrome/common/net/x509_certificate_model.h std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle); net 27 chrome/common/net/x509_certificate_model.h net::CertType GetType(net::X509Certificate::OSCertHandle cert_handle); net 29 chrome/common/net/x509_certificate_model.h std::string GetEmailAddress(net::X509Certificate::OSCertHandle cert_handle); net 32 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 35 chrome/common/net/x509_certificate_model.h std::string GetKeyUsageString(net::X509Certificate::OSCertHandle cert_handle); net 38 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 42 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 46 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 50 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 54 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 58 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 62 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 65 chrome/common/net/x509_certificate_model.h bool GetTimes(net::X509Certificate::OSCertHandle cert_handle, net 68 chrome/common/net/x509_certificate_model.h std::string GetTitle(net::X509Certificate::OSCertHandle cert_handle); net 69 chrome/common/net/x509_certificate_model.h std::string GetIssuerName(net::X509Certificate::OSCertHandle cert_handle); net 70 chrome/common/net/x509_certificate_model.h std::string GetSubjectName(net::X509Certificate::OSCertHandle cert_handle); net 72 chrome/common/net/x509_certificate_model.h void GetEmailAddresses(net::X509Certificate::OSCertHandle cert_handle, net 75 chrome/common/net/x509_certificate_model.h void GetNicknameStringsFromCertList(const net::CertificateList& certs, net 82 chrome/common/net/x509_certificate_model.h std::string GetPkcs11Id(net::X509Certificate::OSCertHandle cert_handle); net 94 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle, net 99 chrome/common/net/x509_certificate_model.h std::string HashCertSHA256(net::X509Certificate::OSCertHandle cert_handle); net 100 chrome/common/net/x509_certificate_model.h std::string HashCertSHA1(net::X509Certificate::OSCertHandle cert_handle); net 107 chrome/common/net/x509_certificate_model.h void GetCertChainFromCert(net::X509Certificate::OSCertHandle cert_handle, net 108 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandles* cert_handles); net 109 chrome/common/net/x509_certificate_model.h void DestroyCertChain(net::X509Certificate::OSCertHandles* cert_handles); net 111 chrome/common/net/x509_certificate_model.h std::string GetDerString(net::X509Certificate::OSCertHandle cert_handle); net 112 chrome/common/net/x509_certificate_model.h std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain, net 116 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle); net 118 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle); net 120 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle); net 123 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle); net 126 chrome/common/net/x509_certificate_model.h net::X509Certificate::OSCertHandle cert_handle); net 96 chrome/common/net/x509_certificate_model_nss.cc using net::X509Certificate; net 135 chrome/common/net/x509_certificate_model_nss.cc net::CertType GetType(X509Certificate::OSCertHandle cert_handle) { net 268 chrome/common/net/x509_certificate_model_nss.cc std::string GetPkcs11Id(net::X509Certificate::OSCertHandle cert_handle) { net 15 chrome/common/net/x509_certificate_model_openssl.cc namespace x509_util = net::x509_util; net 44 chrome/common/net/x509_certificate_model_openssl.cc using net::X509Certificate; net 61 chrome/common/net/x509_certificate_model_openssl.cc std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle) { net 68 chrome/common/net/x509_certificate_model_openssl.cc net::CertType GetType(X509Certificate::OSCertHandle os_cert) { net 70 chrome/common/net/x509_certificate_model_openssl.cc return net::OTHER_CERT; net 157 chrome/common/net/x509_certificate_model_openssl.cc std::string GetTitle(net::X509Certificate::OSCertHandle cert_handle) { net 162 chrome/common/net/x509_certificate_model_openssl.cc std::string GetIssuerName(net::X509Certificate::OSCertHandle cert_handle) { net 166 chrome/common/net/x509_certificate_model_openssl.cc std::string GetSubjectName(net::X509Certificate::OSCertHandle cert_handle) { net 170 chrome/common/net/x509_certificate_model_openssl.cc void GetEmailAddresses(net::X509Certificate::OSCertHandle cert_handle, net 176 chrome/common/net/x509_certificate_model_openssl.cc const std::vector<scoped_refptr<net::X509Certificate> >& certs, net 183 chrome/common/net/x509_certificate_model_openssl.cc std::string GetPkcs11Id(net::X509Certificate::OSCertHandle cert_handle) { net 191 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandle cert_handle, net 196 chrome/common/net/x509_certificate_model_openssl.cc std::string HashCertSHA256(net::X509Certificate::OSCertHandle cert_handle) { net 205 chrome/common/net/x509_certificate_model_openssl.cc std::string HashCertSHA1(net::X509Certificate::OSCertHandle cert_handle) { net 214 chrome/common/net/x509_certificate_model_openssl.cc void GetCertChainFromCert(net::X509Certificate::OSCertHandle cert_handle, net 215 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandles* cert_handles) { net 217 chrome/common/net/x509_certificate_model_openssl.cc cert_handles->push_back(net::X509Certificate::DupOSCertHandle(cert_handle)); net 220 chrome/common/net/x509_certificate_model_openssl.cc void DestroyCertChain(net::X509Certificate::OSCertHandles* cert_handles) { net 221 chrome/common/net/x509_certificate_model_openssl.cc for (net::X509Certificate::OSCertHandles::iterator i = cert_handles->begin(); net 227 chrome/common/net/x509_certificate_model_openssl.cc std::string GetDerString(net::X509Certificate::OSCertHandle cert_handle) { net 232 chrome/common/net/x509_certificate_model_openssl.cc std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain, net 239 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandle cert_handle) { net 245 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandle cert_handle) { net 251 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandle cert_handle) { net 257 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandle cert_handle) { net 263 chrome/common/net/x509_certificate_model_openssl.cc net::X509Certificate::OSCertHandle cert_handle) { net 18 chrome/common/net/x509_certificate_model_unittest.cc scoped_refptr<net::X509Certificate> cert( net 19 chrome/common/net/x509_certificate_model_unittest.cc net::ImportCertFromFile(net::GetTestCertsDirectory(), net 25 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::OTHER_CERT, net 28 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::CA_CERT, net 33 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_TRUE(net::NSSCertDatabase::GetInstance()->SetCertTrust( net 34 chrome/common/net/x509_certificate_model_unittest.cc cert.get(), net::CA_CERT, net::NSSCertDatabase::DISTRUSTED_SSL)); net 36 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::CA_CERT, net 42 chrome/common/net/x509_certificate_model_unittest.cc scoped_refptr<net::X509Certificate> cert( net 43 chrome/common/net/x509_certificate_model_unittest.cc net::ImportCertFromFile(net::GetTestCertsDirectory(), net 49 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::OTHER_CERT, net 56 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::OTHER_CERT, net 59 chrome/common/net/x509_certificate_model_unittest.cc net::NSSCertDatabase* cert_db = net::NSSCertDatabase::GetInstance(); net 62 chrome/common/net/x509_certificate_model_unittest.cc cert.get(), net::SERVER_CERT, net::NSSCertDatabase::TRUSTED_SSL)); net 64 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::SERVER_CERT, net 69 chrome/common/net/x509_certificate_model_unittest.cc cert.get(), net::SERVER_CERT, net::NSSCertDatabase::DISTRUSTED_SSL)); net 71 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ(net::SERVER_CERT, net 79 chrome/common/net/x509_certificate_model_unittest.cc scoped_refptr<net::X509Certificate> cert( net 80 chrome/common/net/x509_certificate_model_unittest.cc net::ImportCertFromFile(net::GetTestCertsDirectory(), net 82 chrome/renderer/chrome_render_process_observer.cc if (error_code == net::ERR_ABORTED) { net 274 chrome/renderer/chrome_render_process_observer.cc net::NetModule::SetResourceProvider(chrome_common_net::NetResourceProvider); net 415 chrome/renderer/extensions/cast_streaming_native_handler.cc net::IPAddressNumber ip; net 416 chrome/renderer/extensions/cast_streaming_native_handler.cc if (!net::ParseIPLiteralToNumber(destination->address, &ip)) { net 421 chrome/renderer/extensions/cast_streaming_native_handler.cc transport->SetDestination(net::IPEndPoint(ip, destination->port)); net 80 chrome/renderer/extensions/extension_localization_peer.cc if (error_code != net::OK) { net 83 chrome/renderer/extensions/extension_localization_peer.cc original_peer_->OnCompletedRequest(net::ERR_ABORTED, false, net 146 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::ERR_ABORTED, false, false, "", base::TimeTicks(), -1)); net 149 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::ERR_FAILED, false, false, std::string(), base::TimeTicks(), -1); net 161 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)); net 164 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); net 181 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)).Times(2); net 184 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); net 192 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); net 218 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)); net 221 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); net 247 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)); net 250 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); net 160 chrome/renderer/loadtimes_extension_bindings.cc net::HttpResponseInfo::ConnectionInfoToString( net 91 chrome/renderer/media/cast_session.cc void CastSession::StartUDP(const net::IPEndPoint& remote_endpoint) { net 71 chrome/renderer/media/cast_session.h void StartUDP(const net::IPEndPoint& remote_endpoint); net 121 chrome/renderer/media/cast_session_delegate.cc void CastSessionDelegate::StartUDP(const net::IPEndPoint& remote_endpoint) { net 63 chrome/renderer/media/cast_session_delegate.h void StartUDP(const net::IPEndPoint& remote_endpoint); net 16 chrome/renderer/media/cast_transport_sender_ipc.cc const net::IPEndPoint& remote_end_point, net 22 chrome/renderer/media/cast_transport_sender_ipc.h const net::IPEndPoint& remote_end_point, net 17 chrome/renderer/media/cast_udp_transport.cc void CastUdpTransport::SetDestination(const net::IPEndPoint& remote_address) { net 24 chrome/renderer/media/cast_udp_transport.h void SetDestination(const net::IPEndPoint& remote_address); net 28 chrome/renderer/media/cast_udp_transport.h net::IPEndPoint remote_address_; net 63 chrome/renderer/net/net_error_helper_core.cc return error.domain.utf8() == net::kErrorDomain && net 64 chrome/renderer/net/net_error_helper_core.cc (error.reason == net::ERR_NAME_NOT_RESOLVED || net 65 chrome/renderer/net/net_error_helper_core.cc error.reason == net::ERR_NAME_RESOLUTION_FAILED); net 93 chrome/renderer/net/net_error_helper_core.cc } else if (domain == net::kErrorDomain && net 94 chrome/renderer/net/net_error_helper_core.cc (error.reason == net::ERR_CONNECTION_FAILED || net 95 chrome/renderer/net/net_error_helper_core.cc error.reason == net::ERR_CONNECTION_REFUSED || net 96 chrome/renderer/net/net_error_helper_core.cc error.reason == net::ERR_ADDRESS_UNREACHABLE || net 97 chrome/renderer/net/net_error_helper_core.cc error.reason == net::ERR_CONNECTION_TIMED_OUT)) { net 146 chrome/renderer/net/net_error_helper_core.cc base::string16 url_for_display(net::FormatUrl( net 147 chrome/renderer/net/net_error_helper_core.cc url, accept_languages, net::kFormatUrlOmitNothing, net 148 chrome/renderer/net/net_error_helper_core.cc net::UnescapeRule::NORMAL, NULL, NULL, NULL)); net 288 chrome/renderer/net/net_error_helper_core.cc return info.error.domain.utf8() == net::kErrorDomain && net 289 chrome/renderer/net/net_error_helper_core.cc info.error.reason != net::ERR_ABORTED && net 308 chrome/renderer/net/net_error_helper_core.cc net::GetAllErrorCodesForUma()); net 320 chrome/renderer/net/net_error_helper_core.cc net::GetAllErrorCodesForUma()); net 364 chrome/renderer/net/net_error_helper_core.cc net::GetAllErrorCodesForUma()); net 369 chrome/renderer/net/net_error_helper_core.cc net::GetAllErrorCodesForUma()); net 88 chrome/renderer/net/net_error_helper_core_unittest.cc WebURLError NetError(net::Error net_error) { net 91 chrome/renderer/net/net_error_helper_core_unittest.cc error.domain = blink::WebString::fromUTF8(net::kErrorDomain); net 110 chrome/renderer/net/net_error_helper_core_unittest.cc std::string NetErrorString(net::Error net_error) { net 172 chrome/renderer/net/net_error_helper_core_unittest.cc void DoErrorLoad(net::Error error) { net 331 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 334 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_CONNECTION_RESET), html); net 357 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 360 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_CONNECTION_RESET), html); net 382 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), net 388 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_CONNECTION_RESET), html); net 414 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 417 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), html); net 438 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 441 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), html); net 463 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 468 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), html); net 501 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 539 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 555 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 573 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 594 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 611 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 650 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 690 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 733 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 774 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 815 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 841 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 877 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 896 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 934 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 953 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 988 chrome/renderer/net/net_error_helper_core_unittest.cc blink::WebURLError error = NetError(net::ERR_NAME_NOT_RESOLVED); net 1030 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1052 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1081 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1105 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1129 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_FAILED), net 1143 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(last_error_html(), NetErrorString(net::ERR_CONNECTION_FAILED)); net 1173 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1225 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1274 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1312 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1346 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1369 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1383 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1405 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1430 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1478 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1496 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1520 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1539 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1566 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1581 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1614 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_NAME_NOT_RESOLVED), net 1629 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(NetErrorString(net::ERR_NAME_NOT_RESOLVED), last_error_html()); net 1658 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_FAILED), net 1672 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(last_error_html(), NetErrorString(net::ERR_CONNECTION_FAILED)); net 1695 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_FAILED), net 1709 chrome/renderer/net/net_error_helper_core_unittest.cc EXPECT_EQ(last_error_html(), NetErrorString(net::ERR_CONNECTION_FAILED)); net 1722 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1730 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1746 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1756 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1764 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1772 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1783 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1793 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1799 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1810 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1813 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1823 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1833 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1842 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1853 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1862 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1874 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 1891 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 1915 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 1936 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 1957 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 1965 chrome/renderer/net/net_error_helper_core_unittest.cc NetError(net::ERR_CONNECTION_RESET), false, &html); net 1977 chrome/renderer/net/net_error_helper_core_unittest.cc DoErrorLoad(net::ERR_CONNECTION_RESET); net 216 chrome/renderer/page_load_histograms.cc scoped_refptr<net::HttpResponseHeaders> response_headers( net 217 chrome/renderer/page_load_histograms.cc new net::HttpResponseHeaders(headers)); net 254 chrome/renderer/page_load_histograms.cc if (!net::GetValueForKeyInQuery(referrer, "gcjeid", &value)) net 117 chrome/renderer/pepper/pepper_flash_renderer_host.cc net::HttpUtil::ParseContentType(header_value, &lower_case_mime_type, net 320 chrome/renderer/pepper/pepper_flash_renderer_host.cc net::HttpUtil::HeadersIterator header_iter(data.headers.begin(), net 685 chrome/renderer/printing/print_web_view_helper.cc net::EscapeQueryParamValue(frame()->selectionAsMarkup().utf8(), false)); net 59 chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc std::string iframe1_html = "<iframe src=\"" + net::EscapeForHTML( net 62 chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc std::string html = "<html><head><iframe src=\"" + net::EscapeForHTML( net 104 chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc html += "<iframe src=\"" + net::EscapeForHTML(iframe_url.spec()) + net 120 chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc html += "<script src=\"" + net::EscapeForHTML(script_url.spec()) + net 155 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc scoped_ptr<net::test_server::EmbeddedTestServer> embedded_test_server_; net 156 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc net::test_server::EmbeddedTestServer* embedded_test_server() { net 159 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc embedded_test_server_.reset(new net::test_server::EmbeddedTestServer()); net 186 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc scoped_ptr<net::test_server::HttpResponse> net 187 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc HandleRequest(const net::test_server::HttpRequest& request) { net 188 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 189 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc new net::test_server::BasicHttpResponse()); net 190 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc http_response->set_code(net::HTTP_OK); net 193 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 262 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc net::SpawnedTestServer https_server( net 263 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 264 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc net::SpawnedTestServer::kLocalhost, net 194 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc embedded_test_server_.reset(new net::test_server::EmbeddedTestServer()); net 201 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleRequest( net 202 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc const net::test_server::HttpRequest& request) { net 206 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 211 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 213 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 214 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc new net::test_server::BasicHttpResponse()); net 215 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc http_response->set_code(net::HTTP_OK); net 218 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 262 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc scoped_ptr<net::test_server::EmbeddedTestServer> embedded_test_server_; net 386 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc net::registry_controlled_domains::GetDomainAndRegistry( net 388 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 423 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc domain->assign(net::registry_controlled_domains::GetDomainAndRegistry( net 424 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc url, net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)); net 134 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc embedded_test_server_.reset(new net::test_server::EmbeddedTestServer()); net 141 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleRequest( net 142 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc const net::test_server::HttpRequest& request) { net 146 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 153 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 155 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 156 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc new net::test_server::BasicHttpResponse()); net 157 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc http_response->set_code(net::HTTP_OK); net 160 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 182 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc scoped_ptr<net::test_server::EmbeddedTestServer> embedded_test_server_; net 271 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc net::SpawnedTestServer https_server( net 272 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 273 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc net::SpawnedTestServer::kLocalhost, net 316 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc net::SpawnedTestServer https_server( net 317 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 318 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc net::SpawnedTestServer::kLocalhost, net 43 chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc net::registry_controlled_domains::GetRegistryLength( net 45 chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 46 chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 32 chrome/renderer/security_filter_peer.cc case net::ERR_SSL_PROTOCOL_ERROR: net 33 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_COMMON_NAME_INVALID: net 34 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_DATE_INVALID: net 35 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_AUTHORITY_INVALID: net 36 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_CONTAINS_ERRORS: net 37 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_NO_REVOCATION_MECHANISM: net 38 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_UNABLE_TO_CHECK_REVOCATION: net 39 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_REVOKED: net 40 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_INVALID: net 41 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_WEAK_SIGNATURE_ALGORITHM: net 42 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_WEAK_KEY: net 43 chrome/renderer/security_filter_peer.cc case net::ERR_CERT_NAME_CONSTRAINT_VIOLATION: net 44 chrome/renderer/security_filter_peer.cc case net::ERR_INSECURE_RESPONSE: net 45 chrome/renderer/security_filter_peer.cc case net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN: net 128 chrome/renderer/security_filter_peer.cc net::HttpResponseHeaders* new_headers = net 129 chrome/renderer/security_filter_peer.cc new net::HttpResponseHeaders(raw_headers); net 168 chrome/renderer/security_filter_peer.cc if (error_code != net::OK || !DataReady()) { net 171 chrome/renderer/security_filter_peer.cc original_peer_->OnCompletedRequest(net::ERR_ABORTED, false, net 231 chrome/renderer/security_filter_peer.cc original_peer_->OnCompletedRequest(net::OK, net 161 chrome/service/cloud_print/cloud_print_auth.cc const net::URLFetcher* source, net 69 chrome/service/cloud_print/cloud_print_auth.h const net::URLFetcher* source, net 169 chrome/service/cloud_print/cloud_print_connector.cc const net::URLFetcher* source, net 181 chrome/service/cloud_print/cloud_print_connector.cc const net::URLFetcher* source, net 205 chrome/service/cloud_print/cloud_print_connector.cc const net::URLFetcher* source, net 286 chrome/service/cloud_print/cloud_print_connector.cc const net::URLFetcher* source, net 300 chrome/service/cloud_print/cloud_print_connector.cc const net::URLFetcher* source, net 313 chrome/service/cloud_print/cloud_print_connector.cc const net::URLFetcher* source, net 364 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kMessageTextValue, failure_msg, mime_boundary, net 366 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartFinalDelimiterForUpload(mime_boundary, &post_data); net 610 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kProxyIdValue, net 612 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterNameValue, net 614 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterDescValue, net 616 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterStatusValue, net 620 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterLocalSettingsValue, net 626 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kUseCDD, "true", mime_boundary, net 629 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterCapsValue, net 632 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterDefaultsValue, net 637 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartValueForUpload(kPrinterCapsHashValue, net 640 chrome/service/cloud_print/cloud_print_connector.cc net::AddMultipartFinalDelimiterForUpload(mime_boundary, &post_data); net 63 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 95 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 99 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 108 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 114 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 120 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 126 chrome/service/cloud_print/cloud_print_connector.h const net::URLFetcher* source, net 108 chrome/service/cloud_print/cloud_print_url_fetcher.cc const net::URLFetcher* source, net 110 chrome/service/cloud_print/cloud_print_url_fetcher.cc const net::URLRequestStatus& status, net 112 chrome/service/cloud_print/cloud_print_url_fetcher.cc const net::ResponseCookies& cookies, net 119 chrome/service/cloud_print/cloud_print_url_fetcher.cc const net::URLFetcher* source, net 127 chrome/service/cloud_print/cloud_print_url_fetcher.cc const net::URLFetcher* source, net 140 chrome/service/cloud_print/cloud_print_url_fetcher.cc bool CloudPrintURLFetcher::IsSameRequest(const net::URLFetcher* source) { net 150 chrome/service/cloud_print/cloud_print_url_fetcher.cc StartRequestHelper(type, url, net::URLFetcher::GET, delegate, max_retries, net 162 chrome/service/cloud_print/cloud_print_url_fetcher.cc StartRequestHelper(type, url, net::URLFetcher::POST, delegate, max_retries, net 167 chrome/service/cloud_print/cloud_print_url_fetcher.cc const net::URLFetcher* source) { net 186 chrome/service/cloud_print/cloud_print_url_fetcher.cc source->GetResponseCode() == net::HTTP_FORBIDDEN) { net 227 chrome/service/cloud_print/cloud_print_url_fetcher.cc if (source->GetResponseCode() == net::HTTP_UNSUPPORTED_MEDIA_TYPE) net 254 chrome/service/cloud_print/cloud_print_url_fetcher.cc net::URLFetcher::RequestType request_type, net 266 chrome/service/cloud_print/cloud_print_url_fetcher.cc request_.reset(net::URLFetcher::Create(0, url, request_type, this)); net 273 chrome/service/cloud_print/cloud_print_url_fetcher.cc request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 274 chrome/service/cloud_print/cloud_print_url_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 275 chrome/service/cloud_print/cloud_print_url_fetcher.cc if (request_type == net::URLFetcher::POST) { net 297 chrome/service/cloud_print/cloud_print_url_fetcher.cc net::URLRequestContextGetter* CloudPrintURLFetcher::GetRequestContextGetter() { net 22 chrome/service/cloud_print/cloud_print_url_fetcher.h namespace net { net 44 chrome/service/cloud_print/cloud_print_url_fetcher.h public net::URLFetcherDelegate { net 72 chrome/service/cloud_print/cloud_print_url_fetcher.h const net::URLFetcher* source, net 74 chrome/service/cloud_print/cloud_print_url_fetcher.h const net::URLRequestStatus& status, net 76 chrome/service/cloud_print/cloud_print_url_fetcher.h const net::ResponseCookies& cookies, net 86 chrome/service/cloud_print/cloud_print_url_fetcher.h virtual ResponseAction HandleRawData(const net::URLFetcher* source, net 93 chrome/service/cloud_print/cloud_print_url_fetcher.h virtual ResponseAction HandleJSONData(const net::URLFetcher* source, net 121 chrome/service/cloud_print/cloud_print_url_fetcher.h bool IsSameRequest(const net::URLFetcher* source); net 137 chrome/service/cloud_print/cloud_print_url_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 145 chrome/service/cloud_print/cloud_print_url_fetcher.h virtual net::URLRequestContextGetter* GetRequestContextGetter(); net 150 chrome/service/cloud_print/cloud_print_url_fetcher.h net::URLFetcher::RequestType request_type, net 159 chrome/service/cloud_print/cloud_print_url_fetcher.h scoped_ptr<net::URLFetcher> request_; net 162 chrome/service/cloud_print/cloud_print_url_fetcher.h net::URLFetcher::RequestType request_type_; net 31 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc : public net::TestURLRequestContextGetter { net 35 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::URLRequestThrottlerManager* throttler_manager) net 41 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { net 43 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc context_.reset(new net::TestURLRequestContext(true)); net 57 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::URLRequestThrottlerManager* throttler_manager_; net 58 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc scoped_ptr<net::TestURLRequestContext> context_; net 68 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc virtual net::URLRequestContextGetter* GetRequestContextGetter() OVERRIDE { net 73 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::URLRequestThrottlerManager* throttler_manager() { net 84 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::URLRequestThrottlerManager throttler_manager_; net 97 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 99 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLRequestStatus& status, net 101 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::ResponseCookies& cookies, net 150 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 152 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLRequestStatus& status, net 154 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::ResponseCookies& cookies, net 158 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 163 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 187 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 203 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 219 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc scoped_refptr<net::URLRequestThrottlerEntry> net 220 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc entry(new net::URLRequestThrottlerEntry( net 232 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 234 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLRequestStatus& status, net 236 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::ResponseCookies& cookies, net 246 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 248 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLRequestStatus& status, net 250 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::ResponseCookies& cookies, net 268 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 283 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 297 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 317 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const net::URLFetcher* source, net 334 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer test_server(net::SpawnedTestServer::TYPE_HTTP, net 335 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer::kLocalhost, net 345 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer test_server(net::SpawnedTestServer::TYPE_HTTP, net 346 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer::kLocalhost, net 356 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer test_server(net::SpawnedTestServer::TYPE_HTTP, net 357 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer::kLocalhost, net 368 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer test_server(net::SpawnedTestServer::TYPE_HTTP, net 369 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc net::SpawnedTestServer::kLocalhost, net 47 chrome/service/cloud_print/cloud_print_wipeout.cc const net::URLFetcher* source, net 35 chrome/service/cloud_print/cloud_print_wipeout.h const net::URLFetcher* source, net 98 chrome/service/cloud_print/job_status_updater.cc const net::URLFetcher* source, net 49 chrome/service/cloud_print/job_status_updater.h const net::URLFetcher* source, net 129 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 131 chrome/service/cloud_print/printer_job_handler.cc const net::URLRequestStatus& status, net 133 chrome/service/cloud_print/printer_job_handler.cc const net::ResponseCookies& cookies, net 138 chrome/service/cloud_print/printer_job_handler.cc response_code == net::HTTP_UNSUPPORTED_MEDIA_TYPE) { net 149 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 158 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 283 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 299 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 352 chrome/service/cloud_print/printer_job_handler.cc PrinterJobHandler::HandlePrintTicketResponse(const net::URLFetcher* source, net 382 chrome/service/cloud_print/printer_job_handler.cc PrinterJobHandler::HandlePrintDataResponse(const net::URLFetcher* source, net 415 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 428 chrome/service/cloud_print/printer_job_handler.cc const net::URLFetcher* source, net 697 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kUseCDD, "true", mime_boundary, net 700 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterCapsValue, net 703 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterDefaultsValue, net 706 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterCapsHashValue, net 721 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterRemoveTagValue, net 735 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterNameValue, net 739 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterDescValue, net 744 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterStatusValue, net 752 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartValueForUpload(kPrinterLocalSettingsValue, net 760 chrome/service/cloud_print/printer_job_handler.cc net::AddMultipartFinalDelimiterForUpload(mime_boundary, &post_data); net 119 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 121 chrome/service/cloud_print/printer_job_handler.h const net::URLRequestStatus& status, net 123 chrome/service/cloud_print/printer_job_handler.h const net::ResponseCookies& cookies, net 126 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 130 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 169 chrome/service/cloud_print/printer_job_handler.h (PrinterJobHandler::*JSONDataHandler)(const net::URLFetcher* source, net 175 chrome/service/cloud_print/printer_job_handler.h (PrinterJobHandler::*DataHandler)(const net::URLFetcher* source, net 183 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 189 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 195 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 200 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 205 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 211 chrome/service/cloud_print/printer_job_handler.h const net::URLFetcher* source, net 251 chrome/service/cloud_print/printer_job_handler_unittest.cc context_getter_(new net::TestURLRequestContextGetter( net 254 chrome/service/cloud_print/printer_job_handler_unittest.cc virtual net::URLRequestContextGetter* GetRequestContextGetter() OVERRIDE { net 260 chrome/service/cloud_print/printer_job_handler_unittest.cc scoped_refptr<net::URLRequestContextGetter> context_getter_; net 281 chrome/service/cloud_print/printer_job_handler_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 283 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLFetcherDelegate* d, net 285 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HttpStatusCode response_code, net 286 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::Status status) { net 287 chrome/service/cloud_print/printer_job_handler_unittest.cc scoped_ptr<net::FakeURLFetcher> fetcher( net 288 chrome/service/cloud_print/printer_job_handler_unittest.cc new net::FakeURLFetcher(url, d, response_data, response_code, status)); net 293 chrome/service/cloud_print/printer_job_handler_unittest.cc void(const GURL&, net::FakeURLFetcher*)); net 451 chrome/service/cloud_print/printer_job_handler_unittest.cc void AddMimeHeader(const GURL& url, net::FakeURLFetcher* fetcher); net 452 chrome/service/cloud_print/printer_job_handler_unittest.cc void AddTicketMimeHeader(const GURL& url, net::FakeURLFetcher* fetcher); net 468 chrome/service/cloud_print/printer_job_handler_unittest.cc net::FakeURLFetcherFactory factory_; net 507 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(0), net::HTTP_OK, net 508 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 510 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(0), net::HTTP_OK, net 511 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 513 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(0), net::HTTP_OK, net 514 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 547 chrome/service/cloud_print/printer_job_handler_unittest.cc net::FakeURLFetcher* fetcher) { net 548 chrome/service/cloud_print/printer_job_handler_unittest.cc scoped_refptr<net::HttpResponseHeaders> download_headers = net 549 chrome/service/cloud_print/printer_job_handler_unittest.cc new net::HttpResponseHeaders(kExampleJobDownloadResponseHeaders); net 554 chrome/service/cloud_print/printer_job_handler_unittest.cc net::FakeURLFetcher* fetcher) { net 555 chrome/service/cloud_print/printer_job_handler_unittest.cc scoped_refptr<net::HttpResponseHeaders> download_headers = net 556 chrome/service/cloud_print/printer_job_handler_unittest.cc new net::HttpResponseHeaders(kExampleTicketDownloadResponseHeaders); net 563 chrome/service/cloud_print/printer_job_handler_unittest.cc kExamplePrintTicket, net::HTTP_OK, net 564 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 566 chrome/service/cloud_print/printer_job_handler_unittest.cc kExamplePrintData, net::HTTP_OK, net 567 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 571 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_OK, net 572 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 575 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_OK, net 576 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 681 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 682 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 684 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(0), net::HTTP_OK, net 685 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 700 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(2), net::HTTP_OK, net 701 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 703 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(2), net::HTTP_OK, net 704 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 706 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(0), net::HTTP_OK, net 707 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 709 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 710 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::FAILED); net 736 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 737 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 739 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 740 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 742 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 743 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 745 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(0), net::HTTP_OK, net 746 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 768 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 769 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::FAILED); net 772 chrome/service/cloud_print/printer_job_handler_unittest.cc base::Bind(&net::FakeURLFetcherFactory::SetFakeResponse, net 776 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_OK, net 777 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS), net 789 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 790 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 792 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 793 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 795 chrome/service/cloud_print/printer_job_handler_unittest.cc JobListResponse(1), net::HTTP_OK, net 796 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::SUCCESS); net 798 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 800 chrome/service/cloud_print/printer_job_handler_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 801 chrome/service/cloud_print/printer_job_handler_unittest.cc net::URLRequestStatus::FAILED); net 110 chrome/service/net/service_url_request_context.cc net::ProxyConfigService* net_proxy_config_service) net 112 chrome/service/net/service_url_request_context.cc storage_.set_host_resolver(net::HostResolver::CreateDefaultResolver(NULL)); net 113 chrome/service/net/service_url_request_context.cc storage_.set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver( net 115 chrome/service/net/service_url_request_context.cc storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); net 116 chrome/service/net/service_url_request_context.cc storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); net 118 chrome/service/net/service_url_request_context.cc net::HttpAuthHandlerFactory::CreateDefault(host_resolver())); net 120 chrome/service/net/service_url_request_context.cc scoped_ptr<net::HttpServerProperties>( net 121 chrome/service/net/service_url_request_context.cc new net::HttpServerPropertiesImpl())); net 122 chrome/service/net/service_url_request_context.cc storage_.set_transport_security_state(new net::TransportSecurityState); net 123 chrome/service/net/service_url_request_context.cc storage_.set_throttler_manager(new net::URLRequestThrottlerManager); net 125 chrome/service/net/service_url_request_context.cc net::HttpNetworkSession::Params session_params; net 133 chrome/service/net/service_url_request_context.cc scoped_refptr<net::HttpNetworkSession> network_session( net 134 chrome/service/net/service_url_request_context.cc new net::HttpNetworkSession(session_params)); net 135 chrome/service/net/service_url_request_context.cc storage_.set_http_transaction_factory(new net::HttpCache( net 136 chrome/service/net/service_url_request_context.cc network_session.get(), net::HttpCache::DefaultBackend::InMemory(0))); net 138 chrome/service/net/service_url_request_context.cc storage_.set_cookie_store(new net::CookieMonster(NULL, NULL)); net 139 chrome/service/net/service_url_request_context.cc storage_.set_http_user_agent_settings(new net::StaticHttpUserAgentSettings( net 155 chrome/service/net/service_url_request_context.cc proxy_config_service_.reset(net::ProxyService::CreateSystemProxyConfigService( net 160 chrome/service/net/service_url_request_context.cc net::URLRequestContext* net 27 chrome/service/net/service_url_request_context.h namespace net { net 35 chrome/service/net/service_url_request_context.h class ServiceURLRequestContext : public net::URLRequestContext { net 40 chrome/service/net/service_url_request_context.h net::ProxyConfigService* net_proxy_config_service); net 45 chrome/service/net/service_url_request_context.h net::URLRequestContextStorage storage_; net 48 chrome/service/net/service_url_request_context.h class ServiceURLRequestContextGetter : public net::URLRequestContextGetter { net 50 chrome/service/net/service_url_request_context.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 68 chrome/service/net/service_url_request_context.h scoped_ptr<net::ProxyConfigService> proxy_config_service_; net 69 chrome/service/net/service_url_request_context.h scoped_ptr<net::URLRequestContext> url_request_context_; net 23 chrome/service/service_main.cc net::URLRequest::SetDefaultCookiePolicyToBlock(); net 79 chrome/service/service_process.cc net::URLFetcher::CancelAll(); net 156 chrome/service/service_process.cc network_change_notifier_.reset(net::NetworkChangeNotifier::Create()); net 183 chrome/service/service_process.cc net::URLFetcher::SetIgnoreCertificateRequests(true); net 27 chrome/service/service_process.h namespace net { net 125 chrome/service/service_process.h scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 13 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TestHttpServerClient.java import java.net.MalformedURLException; net 14 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TestHttpServerClient.java import java.net.URL; net 86 chrome/test/base/chrome_test_suite.cc net::android::RegisterJni(base::android::AttachCurrentThread()); net 38 chrome/test/base/in_process_browser_test_browsertest.cc error_code_(net::OK) { } net 49 chrome/test/base/in_process_browser_test_browsertest.cc error_code_ = static_cast<net::Error>(error_code); net 54 chrome/test/base/in_process_browser_test_browsertest.cc net::Error error_code() const { return error_code_; } net 59 chrome/test/base/in_process_browser_test_browsertest.cc net::Error error_code_; net 81 chrome/test/base/in_process_browser_test_browsertest.cc EXPECT_EQ(net::ERR_NOT_IMPLEMENTED, observer.error_code()); net 26 chrome/test/base/run_all_remoting_unittests.cc net::EnableSSLServerSockets(); net 208 chrome/test/base/testing_browser_process.cc net::URLRequestContextGetter* TestingBrowserProcess::system_request_context() { net 381 chrome/test/base/testing_browser_process.cc net::URLRequestContextGetter* context_getter) { net 78 chrome/test/base/testing_browser_process.h virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; net 130 chrome/test/base/testing_browser_process.h void SetSystemRequestContext(net::URLRequestContextGetter* context_getter); net 170 chrome/test/base/testing_browser_process.h net::URLRequestContextGetter* system_request_context_; net 88 chrome/test/base/testing_io_thread_state.cc new net::NetworkTimeNotifier( net 122 chrome/test/base/testing_profile.cc class TestExtensionURLRequestContext : public net::URLRequestContext { net 125 chrome/test/base/testing_profile.cc net::CookieMonster* cookie_monster = net 137 chrome/test/base/testing_profile.cc : public net::URLRequestContextGetter { net 139 chrome/test/base/testing_profile.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 153 chrome/test/base/testing_profile.cc scoped_ptr<net::URLRequestContext> context_; net 643 chrome/test/base/testing_profile.cc net::CookieMonster* TestingProfile::GetCookieMonster() { net 702 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* TestingProfile::GetRequestContext() { net 706 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* TestingProfile::CreateRequestContext( net 709 chrome/test/base/testing_profile.cc return new net::TestURLRequestContextGetter( net 713 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* TestingProfile::GetRequestContextForRenderProcess( net 720 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* TestingProfile::GetMediaRequestContext() { net 724 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* net 730 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* net 770 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* TestingProfile::GetRequestContextForExtensions() { net 776 chrome/test/base/testing_profile.cc net::SSLConfigService* TestingProfile::GetSSLConfigService() { net 782 chrome/test/base/testing_profile.cc net::URLRequestContextGetter* net 28 chrome/test/base/testing_profile.h namespace net { net 213 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 214 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* CreateRequestContext( net 217 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 263 chrome/test/base/testing_profile.h net::CookieMonster* GetCookieMonster(); net 270 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 271 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 273 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* net 275 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* net 300 chrome/test/base/testing_profile.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 305 chrome/test/base/testing_profile.h virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; net 380 chrome/test/base/testing_profile.h scoped_refptr<net::URLRequestContextGetter> extensions_request_context_; net 288 chrome/test/base/ui_test_utils.cc return net::FilePathToFileURL(GetTestFilePath(dir, file)); net 435 chrome/test/base/ui_test_utils.cc const scoped_refptr<net::URLRequestContextGetter>& context_getter, net 440 chrome/test/base/ui_test_utils.cc url, net::CookieOptions(), net 452 chrome/test/base/ui_test_utils.cc scoped_refptr<net::URLRequestContextGetter> context_getter = net 461 chrome/test/base/web_ui_browsertest.cc return net::FilePathToFileURL(test_path); net 27 chrome/test/chromedriver/net/adb_client_socket.cc typedef base::Callback<void(int, net::StreamSocket*)> SocketCallback; net 79 chrome/test/chromedriver/net/adb_client_socket.cc callback_.Run(net::OK, socket_.release()); net 134 chrome/test/chromedriver/net/adb_client_socket.cc net::StreamSocket* socket) { net 140 chrome/test/chromedriver/net/adb_client_socket.cc scoped_refptr<net::StringIOBuffer> request_buffer = net 141 chrome/test/chromedriver/net/adb_client_socket.cc new net::StringIOBuffer(request_); net 147 chrome/test/chromedriver/net/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 155 chrome/test/chromedriver/net/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer = net 156 chrome/test/chromedriver/net/adb_client_socket.cc new net::IOBuffer(kBufferSize); net 164 chrome/test/chromedriver/net/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 168 chrome/test/chromedriver/net/adb_client_socket.cc void OnResponseData(scoped_refptr<net::IOBuffer> response_buffer, net 174 chrome/test/chromedriver/net/adb_client_socket.cc CheckNetResultOrDie(net::ERR_CONNECTION_CLOSED); net 189 chrome/test/chromedriver/net/adb_client_socket.cc CheckNetResultOrDie(net::ERR_FAILED); net 206 chrome/test/chromedriver/net/adb_client_socket.cc socket_callback_.Run(net::OK, socket_.release()); net 217 chrome/test/chromedriver/net/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 232 chrome/test/chromedriver/net/adb_client_socket.cc scoped_ptr<net::StreamSocket> socket_; net 249 chrome/test/chromedriver/net/adb_client_socket.cc CheckNetResultOrDie(net::ERR_INVALID_ARGUMENT); net 265 chrome/test/chromedriver/net/adb_client_socket.cc CheckNetResultOrDie(net::ERR_MSG_TOO_BIG); net 275 chrome/test/chromedriver/net/adb_client_socket.cc SendNextQuery(net::OK); net 306 chrome/test/chromedriver/net/adb_client_socket.cc net::StreamSocket* socket, net 320 chrome/test/chromedriver/net/adb_client_socket.cc net::IPAddressNumber ip_number; net 321 chrome/test/chromedriver/net/adb_client_socket.cc net::ParseIPLiteralToNumber(kLocalhost, &ip_number); net 327 chrome/test/chromedriver/net/adb_client_socket.cc net::AddressList address_list = net 328 chrome/test/chromedriver/net/adb_client_socket.cc net::AddressList::CreateFromIPAddress(ip_number, tcp_port); net 329 chrome/test/chromedriver/net/adb_client_socket.cc net::TCPClientSocket* socket = new net::TCPClientSocket( net 330 chrome/test/chromedriver/net/adb_client_socket.cc address_list, NULL, net::NetLog::Source()); net 365 chrome/test/chromedriver/net/adb_client_socket.cc void AdbClientSocket::Connect(const net::CompletionCallback& callback) { net 366 chrome/test/chromedriver/net/adb_client_socket.cc net::IPAddressNumber ip_number; net 367 chrome/test/chromedriver/net/adb_client_socket.cc if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { net 368 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::ERR_FAILED); net 372 chrome/test/chromedriver/net/adb_client_socket.cc net::AddressList address_list = net 373 chrome/test/chromedriver/net/adb_client_socket.cc net::AddressList::CreateFromIPAddress(ip_number, port_); net 374 chrome/test/chromedriver/net/adb_client_socket.cc socket_.reset(new net::TCPClientSocket(address_list, NULL, net 375 chrome/test/chromedriver/net/adb_client_socket.cc net::NetLog::Source())); net 377 chrome/test/chromedriver/net/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 384 chrome/test/chromedriver/net/adb_client_socket.cc scoped_refptr<net::StringIOBuffer> request_buffer = net 385 chrome/test/chromedriver/net/adb_client_socket.cc new net::StringIOBuffer(EncodeMessage(command)); net 392 chrome/test/chromedriver/net/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 403 chrome/test/chromedriver/net/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer = net 404 chrome/test/chromedriver/net/adb_client_socket.cc new net::IOBuffer(kBufferSize); net 412 chrome/test/chromedriver/net/adb_client_socket.cc if (result != net::ERR_IO_PENDING) net 419 chrome/test/chromedriver/net/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer, net 422 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(result == 0 ? net::ERR_CONNECTION_CLOSED : result, net 429 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::ERR_FAILED, "Response is too short: " + data); net 435 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::ERR_FAILED, data); net 453 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::OK, data); net 460 chrome/test/chromedriver/net/adb_client_socket.cc scoped_refptr<net::IOBuffer> response_buffer, net 472 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::OK, new_response); net 487 chrome/test/chromedriver/net/adb_client_socket.cc else if (result != net::ERR_IO_PENDING) net 488 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::OK, new_response); net 16 chrome/test/chromedriver/net/adb_client_socket.h net::StreamSocket*)> SocketCallback; net 43 chrome/test/chromedriver/net/adb_client_socket.h void Connect(const net::CompletionCallback& callback); net 49 chrome/test/chromedriver/net/adb_client_socket.h scoped_ptr<net::StreamSocket> socket_; net 56 chrome/test/chromedriver/net/adb_client_socket.h scoped_refptr<net::IOBuffer> response_buffer, net 61 chrome/test/chromedriver/net/adb_client_socket.h scoped_refptr<net::IOBuffer> response_buffer, net 22 chrome/test/chromedriver/net/net_util.cc class SyncUrlFetcher : public net::URLFetcherDelegate { net 40 chrome/test/chromedriver/net/net_util.cc fetcher_.reset(net::URLFetcher::Create(url_, net::URLFetcher::GET, this)); net 45 chrome/test/chromedriver/net/net_util.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 58 chrome/test/chromedriver/net/net_util.cc scoped_ptr<net::URLFetcher> fetcher_; net 30 chrome/test/chromedriver/net/net_util_unittest.cc public net::HttpServer::Delegate { net 57 chrome/test/chromedriver/net/net_util_unittest.cc net::TCPListenSocketFactory factory("127.0.0.1", 0); net 58 chrome/test/chromedriver/net/net_util_unittest.cc server_ = new net::HttpServer(factory, this); net 59 chrome/test/chromedriver/net/net_util_unittest.cc net::IPEndPoint address; net 60 chrome/test/chromedriver/net/net_util_unittest.cc CHECK_EQ(net::OK, server_->GetLocalAddress(&address)); net 72 chrome/test/chromedriver/net/net_util_unittest.cc const net::HttpServerRequestInfo& info) OVERRIDE { net 84 chrome/test/chromedriver/net/net_util_unittest.cc base::Bind(&net::HttpServer::Close, server_, connection_id)); net 93 chrome/test/chromedriver/net/net_util_unittest.cc const net::HttpServerRequestInfo& info) OVERRIDE {} net 107 chrome/test/chromedriver/net/net_util_unittest.cc scoped_refptr<net::HttpServer> server_; net 158 chrome/test/chromedriver/net/port_server.cc net::IPAddressNumber address(parts, parts + arraysize(parts)); net 159 chrome/test/chromedriver/net/port_server.cc net::NetLog::Source source; net 160 chrome/test/chromedriver/net/port_server.cc net::TCPServerSocket sock(NULL, source); net 161 chrome/test/chromedriver/net/port_server.cc if (sock.Listen(net::IPEndPoint(address, try_port), 1) == net::OK) net 17 chrome/test/chromedriver/net/sync_websocket_impl.cc net::URLRequestContextGetter* context_getter) net 43 chrome/test/chromedriver/net/sync_websocket_impl.cc SyncWebSocketImpl::Core::Core(net::URLRequestContextGetter* context_getter) net 131 chrome/test/chromedriver/net/sync_websocket_impl.cc *success = (error == net::OK); net 26 chrome/test/chromedriver/net/sync_websocket_impl.h namespace net { net 34 chrome/test/chromedriver/net/sync_websocket_impl.h explicit SyncWebSocketImpl(net::URLRequestContextGetter* context_getter); net 51 chrome/test/chromedriver/net/sync_websocket_impl.h explicit Core(net::URLRequestContextGetter* context_getter); net 85 chrome/test/chromedriver/net/sync_websocket_impl.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 78 chrome/test/chromedriver/net/test_http_server.cc const net::HttpServerRequestInfo& info) { net 98 chrome/test/chromedriver/net/test_http_server.cc base::Bind(&net::HttpServer::Close, server_, connection_id)); net 118 chrome/test/chromedriver/net/test_http_server.cc base::Bind(&net::HttpServer::Close, server_, connection_id)); net 131 chrome/test/chromedriver/net/test_http_server.cc net::TCPListenSocketFactory factory("127.0.0.1", 0); net 132 chrome/test/chromedriver/net/test_http_server.cc server_ = new net::HttpServer(factory, this); net 134 chrome/test/chromedriver/net/test_http_server.cc net::IPEndPoint address; net 136 chrome/test/chromedriver/net/test_http_server.cc EXPECT_EQ(net::OK, error); net 137 chrome/test/chromedriver/net/test_http_server.cc if (error == net::OK) { net 26 chrome/test/chromedriver/net/test_http_server.h class TestHttpServer : public net::HttpServer::Delegate { net 65 chrome/test/chromedriver/net/test_http_server.h const net::HttpServerRequestInfo& info) OVERRIDE {} net 68 chrome/test/chromedriver/net/test_http_server.h const net::HttpServerRequestInfo& info) OVERRIDE; net 80 chrome/test/chromedriver/net/test_http_server.h scoped_refptr<net::HttpServer> server_; net 18 chrome/test/chromedriver/net/url_request_context_getter.cc net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { net 21 chrome/test/chromedriver/net/url_request_context_getter.cc net::URLRequestContextBuilder builder; net 26 chrome/test/chromedriver/net/url_request_context_getter.cc new net::ProxyConfigServiceFixed(net::ProxyConfig::CreateDirect())); net 18 chrome/test/chromedriver/net/url_request_context_getter.h namespace net { net 22 chrome/test/chromedriver/net/url_request_context_getter.h class URLRequestContextGetter : public net::URLRequestContextGetter { net 28 chrome/test/chromedriver/net/url_request_context_getter.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 38 chrome/test/chromedriver/net/url_request_context_getter.h scoped_ptr<net::URLRequestContext> url_request_context_; net 33 chrome/test/chromedriver/net/websocket.cc bool ResolveHost(const std::string& host, net::IPAddressNumber* address) { net 45 chrome/test/chromedriver/net/websocket.cc net::IPEndPoint end_point; net 63 chrome/test/chromedriver/net/websocket.cc write_buffer_(new net::DrainableIOBuffer(new net::IOBuffer(0), 0)), net 64 chrome/test/chromedriver/net/websocket.cc read_buffer_(new net::IOBufferWithSize(4096)) {} net 70 chrome/test/chromedriver/net/websocket.cc void WebSocket::Connect(const net::CompletionCallback& callback) { net 74 chrome/test/chromedriver/net/websocket.cc net::IPAddressNumber address; net 75 chrome/test/chromedriver/net/websocket.cc if (!net::ParseIPLiteralToNumber(url_.HostNoBrackets(), &address)) { net 77 chrome/test/chromedriver/net/websocket.cc callback.Run(net::ERR_ADDRESS_UNREACHABLE); net 83 chrome/test/chromedriver/net/websocket.cc net::AddressList addresses(net::IPEndPoint(address, port)); net 84 chrome/test/chromedriver/net/websocket.cc net::NetLog::Source source; net 85 chrome/test/chromedriver/net/websocket.cc socket_.reset(new net::TCPClientSocket(addresses, NULL, source)); net 91 chrome/test/chromedriver/net/websocket.cc if (code != net::ERR_IO_PENDING) net 100 chrome/test/chromedriver/net/websocket.cc net::WebSocketFrameHeader header(net::WebSocketFrameHeader::kOpCodeText); net 104 chrome/test/chromedriver/net/websocket.cc int header_size = net::GetWebSocketFrameHeaderSize(header); net 105 chrome/test/chromedriver/net/websocket.cc net::WebSocketMaskingKey masking_key = net::GenerateWebSocketMaskingKey(); net 108 chrome/test/chromedriver/net/websocket.cc CHECK_EQ(header_size, net::WriteWebSocketFrameHeader( net 112 chrome/test/chromedriver/net/websocket.cc net::MaskWebSocketFramePayload( net 119 chrome/test/chromedriver/net/websocket.cc if (code != net::OK) { net 151 chrome/test/chromedriver/net/websocket.cc Close(net::ERR_FAILED); net 167 chrome/test/chromedriver/net/websocket.cc write_buffer_ = new net::DrainableIOBuffer( net 168 chrome/test/chromedriver/net/websocket.cc new net::StringIOBuffer(pending_write_), net 176 chrome/test/chromedriver/net/websocket.cc if (code != net::ERR_IO_PENDING) net 185 chrome/test/chromedriver/net/websocket.cc if (code != net::ERR_IO_PENDING) net 191 chrome/test/chromedriver/net/websocket.cc Close(code ? code : net::ERR_FAILED); net 206 chrome/test/chromedriver/net/websocket.cc int headers_end = net::HttpUtil::LocateEndOfHeaders( net 215 chrome/test/chromedriver/net/websocket.cc scoped_refptr<net::HttpResponseHeaders> headers( net 216 chrome/test/chromedriver/net/websocket.cc new net::HttpResponseHeaders( net 217 chrome/test/chromedriver/net/websocket.cc net::HttpUtil::AssembleRawHeaders( net 223 chrome/test/chromedriver/net/websocket.cc Close(net::ERR_FAILED); net 230 chrome/test/chromedriver/net/websocket.cc InvokeConnectCallback(net::OK); net 236 chrome/test/chromedriver/net/websocket.cc ScopedVector<net::WebSocketFrameChunk> frame_chunks; net 239 chrome/test/chromedriver/net/websocket.cc scoped_refptr<net::IOBufferWithSize> buffer = frame_chunks[i]->data; net 250 chrome/test/chromedriver/net/websocket.cc net::CompletionCallback temp = connect_callback_; net 19 chrome/test/chromedriver/net/websocket.h namespace net { net 36 chrome/test/chromedriver/net/websocket.h void Connect(const net::CompletionCallback& callback); net 68 chrome/test/chromedriver/net/websocket.h scoped_ptr<net::TCPClientSocket> socket_; net 70 chrome/test/chromedriver/net/websocket.h net::CompletionCallback connect_callback_; net 74 chrome/test/chromedriver/net/websocket.h scoped_refptr<net::DrainableIOBuffer> write_buffer_; net 77 chrome/test/chromedriver/net/websocket.h scoped_refptr<net::IOBufferWithSize> read_buffer_; net 78 chrome/test/chromedriver/net/websocket.h net::WebSocketFrameParser parser_; net 109 chrome/test/chromedriver/net/websocket_unittest.cc if (error == net::OK) net 40 chrome/test/chromedriver/server/chromedriver_server.cc void(const net::HttpServerRequestInfo&, const HttpResponseSenderFunc&)> net 43 chrome/test/chromedriver/server/chromedriver_server.cc class HttpServer : public net::HttpServer::Delegate { net 52 chrome/test/chromedriver/server/chromedriver_server.cc server_ = new net::HttpServer( net 53 chrome/test/chromedriver/server/chromedriver_server.cc net::TCPListenSocketFactory("0.0.0.0", port), this); net 54 chrome/test/chromedriver/server/chromedriver_server.cc net::IPEndPoint address; net 55 chrome/test/chromedriver/server/chromedriver_server.cc return server_->GetLocalAddress(&address) == net::OK; net 60 chrome/test/chromedriver/server/chromedriver_server.cc const net::HttpServerRequestInfo& info) OVERRIDE { net 69 chrome/test/chromedriver/server/chromedriver_server.cc const net::HttpServerRequestInfo& info) OVERRIDE {} net 76 chrome/test/chromedriver/server/chromedriver_server.cc scoped_ptr<net::HttpServerResponseInfo> response) { net 86 chrome/test/chromedriver/server/chromedriver_server.cc scoped_refptr<net::HttpServer> server_; net 93 chrome/test/chromedriver/server/chromedriver_server.cc scoped_ptr<net::HttpServerResponseInfo> response) { net 100 chrome/test/chromedriver/server/chromedriver_server.cc const net::HttpServerRequestInfo& request, net 108 chrome/test/chromedriver/server/chromedriver_server.cc const net::HttpServerRequestInfo& request, net 542 chrome/test/chromedriver/server/http_handler.cc void HttpHandler::Handle(const net::HttpServerRequestInfo& request, net 551 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> response( net 552 chrome/test/chromedriver/server/http_handler.cc new net::HttpServerResponseInfo(net::HTTP_BAD_REQUEST)); net 590 chrome/test/chromedriver/server/http_handler.cc const net::HttpServerRequestInfo& request, net 598 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> response( net 599 chrome/test/chromedriver/server/http_handler.cc new net::HttpServerResponseInfo(net::HTTP_NOT_FOUND)); net 615 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> response( net 616 chrome/test/chromedriver/server/http_handler.cc new net::HttpServerResponseInfo(net::HTTP_BAD_REQUEST)); net 639 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> response = net 646 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> HttpHandler::PrepareResponseHelper( net 652 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> response( net 653 chrome/test/chromedriver/server/http_handler.cc new net::HttpServerResponseInfo(net::HTTP_NOT_IMPLEMENTED)); net 681 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<net::HttpServerResponseInfo> response( net 682 chrome/test/chromedriver/server/http_handler.cc new net::HttpServerResponseInfo(net::HTTP_OK)); net 31 chrome/test/chromedriver/server/http_handler.h namespace net { net 59 chrome/test/chromedriver/server/http_handler.h typedef base::Callback<void(scoped_ptr<net::HttpServerResponseInfo>)> net 72 chrome/test/chromedriver/server/http_handler.h void Handle(const net::HttpServerRequestInfo& request, net 88 chrome/test/chromedriver/server/http_handler.h void HandleCommand(const net::HttpServerRequestInfo& request, net 96 chrome/test/chromedriver/server/http_handler.h scoped_ptr<net::HttpServerResponseInfo> PrepareResponseHelper( net 32 chrome/test/chromedriver/server/http_handler_unittest.cc void OnResponse(net::HttpServerResponseInfo* response_to_set, net 33 chrome/test/chromedriver/server/http_handler_unittest.cc scoped_ptr<net::HttpServerResponseInfo> response) { net 41 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerRequestInfo request; net 45 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerResponseInfo response; net 47 chrome/test/chromedriver/server/http_handler_unittest.cc ASSERT_EQ(net::HTTP_BAD_REQUEST, response.status_code()); net 52 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerRequestInfo request; net 55 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerResponseInfo response; net 57 chrome/test/chromedriver/server/http_handler_unittest.cc ASSERT_EQ(net::HTTP_NOT_FOUND, response.status_code()); net 66 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerRequestInfo request; net 69 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerResponseInfo response; net 71 chrome/test/chromedriver/server/http_handler_unittest.cc ASSERT_EQ(net::HTTP_OK, response.status_code()); net 85 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerRequestInfo request; net 89 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerResponseInfo response; net 91 chrome/test/chromedriver/server/http_handler_unittest.cc ASSERT_EQ(net::HTTP_BAD_REQUEST, response.status_code()); net 99 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerRequestInfo request; net 102 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerResponseInfo response; net 104 chrome/test/chromedriver/server/http_handler_unittest.cc ASSERT_EQ(net::HTTP_NOT_IMPLEMENTED, response.status_code()); net 111 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerRequestInfo request; net 114 chrome/test/chromedriver/server/http_handler_unittest.cc net::HttpServerResponseInfo response; net 116 chrome/test/chromedriver/server/http_handler_unittest.cc ASSERT_EQ(net::HTTP_OK, response.status_code()); net 41 chrome/test/data/webui/certificate_viewer_ui_test-inl.h scoped_refptr<net::X509Certificate> google_cert( net 42 chrome/test/data/webui/certificate_viewer_ui_test-inl.h net::X509Certificate::CreateFromBytes( net 63 chrome/test/data/webui/certificate_viewer_ui_test-inl.h scoped_refptr<net::X509Certificate> google_cert( net 64 chrome/test/data/webui/certificate_viewer_ui_test-inl.h net::X509Certificate::CreateFromBytes( net 87 chrome/test/gpu/gpu_feature_browsertest.cc browser(), net::FilePathToFileURL(test_path), net 91 chrome/test/gpu/gpu_feature_browsertest.cc browser(), net::FilePathToFileURL(test_path)); net 501 chrome/test/gpu/gpu_feature_browsertest.cc ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_path)); net 283 chrome/test/nacl/nacl_browsertest_util.cc test_server_.reset(new net::SpawnedTestServer( net 284 chrome/test/nacl/nacl_browsertest_util.cc net::SpawnedTestServer::TYPE_HTTP, net 285 chrome/test/nacl/nacl_browsertest_util.cc net::SpawnedTestServer::kLocalhost, net 106 chrome/test/nacl/nacl_browsertest_util.h scoped_ptr<net::SpawnedTestServer> test_server_; net 19 chrome/test/nacl/pnacl_header_test.cc using net::test_server::BasicHttpResponse; net 20 chrome/test/nacl/pnacl_header_test.cc using net::test_server::EmbeddedTestServer; net 21 chrome/test/nacl/pnacl_header_test.cc using net::test_server::HttpRequest; net 22 chrome/test/nacl/pnacl_header_test.cc using net::test_server::HttpResponse; net 62 chrome/test/nacl/pnacl_header_test.cc http_response->set_code(net::HTTP_OK); net 95 chrome/test/nacl/pnacl_header_test.cc http_response->set_code(net::HTTP_NOT_FOUND); net 16 chrome/test/nacl/pnacl_header_test.h namespace net { net 38 chrome/test/nacl/pnacl_header_test.h scoped_ptr<net::test_server::HttpResponse> WatchForPexeFetch( net 39 chrome/test/nacl/pnacl_header_test.h const net::test_server::HttpRequest& request); net 28 chrome/test/perf/mach_ports_performancetest.cc : server_(net::SpawnedTestServer::TYPE_HTTP, net 29 chrome/test/perf/mach_ports_performancetest.cc net::SpawnedTestServer::kLocalhost, net 82 chrome/test/perf/mach_ports_performancetest.cc net::SpawnedTestServer server_; net 169 chrome/test/ppapi/ppapi_test.cc GURL test_url = net::FilePathToFileURL(test_path); net 194 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer http_server(net::SpawnedTestServer::TYPE_HTTP, net 195 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer::kLocalhost, net 204 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer http_server(net::SpawnedTestServer::TYPE_HTTP, net 205 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer::kLocalhost, net 207 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer ssl_server(net::SpawnedTestServer::TYPE_HTTPS, net 208 chrome/test/ppapi/ppapi_test.cc net::BaseTestServer::SSLOptions(), net 226 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer http_server(net::SpawnedTestServer::TYPE_HTTP, net 227 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer::kLocalhost, net 229 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer ws_server(net::SpawnedTestServer::TYPE_WS, net 230 chrome/test/ppapi/ppapi_test.cc net::SpawnedTestServer::kLocalhost, net 231 chrome/test/ppapi/ppapi_test.cc net::GetWebSocketTestDataDirectory()); net 295 chrome/test/ppapi/ppapi_test.cc const net::SpawnedTestServer& http_server, net 91 chrome/test/ppapi/ppapi_test.h GURL GetTestURL(const net::SpawnedTestServer& http_server, net 53 chrome/test/remoting/remote_desktop_browsertest.cc new net::RuleBasedHostResolverProc(host_resolver())); net 523 chrome/test/remoting/remote_desktop_browsertest.cc net::RuleBasedHostResolverProc* host_resolver) { net 525 chrome/test/remoting/remote_desktop_browsertest.cc scoped_refptr<net::RuleBasedHostResolverProc> resolver = net 526 chrome/test/remoting/remote_desktop_browsertest.cc new net::RuleBasedHostResolverProc(host_resolver); net 536 chrome/test/remoting/remote_desktop_browsertest.cc new net::ScopedDefaultHostResolverProc(resolver.get())); net 154 chrome/test/remoting/remote_desktop_browsertest.h net::RuleBasedHostResolverProc* host_resolver); net 299 chrome/test/remoting/remote_desktop_browsertest.h scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; net 541 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp net::IPAddressNumber ip( net 545 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (net::GetAddressFamily(ip) != net::ADDRESS_FAMILY_UNSPECIFIED) { net 546 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp value = net::IPAddressToString(ip); net 1055 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp net::CertType GetCertType(CERTCertificate *cert) { net 1063 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp return net::USER_CERT; net 1065 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp return net::CA_CERT; net 1068 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp return net::SERVER_CERT; net 1069 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp return net::OTHER_CERT; net 84 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h net::CertType GetCertType(CERTCertificate *cert); net 60 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc if (service.ip_address != net::IPAddressNumber()) { net 61 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc printf("\tIP Address: %s\n", net::IPAddressToString( net 106 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc scoped_ptr<net::MDnsClient> mdns_client = net::MDnsClient::CreateDefault(); net 107 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc scoped_ptr<net::MDnsSocketFactory> socket_factory = net 108 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc net::MDnsSocketFactory::CreateDefault(); net 65 chrome/utility/importer/bookmark_html_reader.cc if (!net::DataURL::Parse(favicon_data, &mime_type, &char_set, &data) || net 280 chrome/utility/importer/bookmark_html_reader.cc *folder_name = net::UnescapeForHTML(*folder_name); net 349 chrome/utility/importer/bookmark_html_reader.cc *title = net::UnescapeForHTML(*title); net 356 chrome/utility/importer/bookmark_html_reader.cc url16 = net::UnescapeForHTML(url16); net 369 chrome/utility/importer/bookmark_html_reader.cc *shortcut = net::UnescapeForHTML(*shortcut); net 385 chrome/utility/importer/bookmark_html_reader.cc *post_data = net::UnescapeForHTML(*post_data); net 419 chrome/utility/importer/bookmark_html_reader.cc *title = net::UnescapeForHTML(*title); net 429 chrome/utility/importer/bookmark_html_reader.cc url16 = net::UnescapeForHTML(url16); net 67 chrome/utility/local_discovery/local_domain_resolver_unittest.cc std::string IPAddressToStringWithEmpty(const net::IPAddressNumber& address) { net 69 chrome/utility/local_discovery/local_domain_resolver_unittest.cc return net::IPAddressToString(address); net 73 chrome/utility/local_discovery/local_domain_resolver_unittest.cc const net::IPAddressNumber& address_ipv4, net 74 chrome/utility/local_discovery/local_domain_resolver_unittest.cc const net::IPAddressNumber& address_ipv6) { net 96 chrome/utility/local_discovery/local_domain_resolver_unittest.cc net::MockMDnsSocketFactory socket_factory_; net 97 chrome/utility/local_discovery/local_domain_resolver_unittest.cc net::MDnsClientImpl mdns_client_; net 103 chrome/utility/local_discovery/local_domain_resolver_unittest.cc "myhello.local", net::ADDRESS_FAMILY_IPV4, net 118 chrome/utility/local_discovery/local_domain_resolver_unittest.cc "myhello.local", net::ADDRESS_FAMILY_IPV6, net 133 chrome/utility/local_discovery/local_domain_resolver_unittest.cc "myhello.local", net::ADDRESS_FAMILY_UNSPECIFIED, net 151 chrome/utility/local_discovery/local_domain_resolver_unittest.cc "myhello.local", net::ADDRESS_FAMILY_UNSPECIFIED, net 168 chrome/utility/local_discovery/local_domain_resolver_unittest.cc "myhello.local", net::ADDRESS_FAMILY_UNSPECIFIED, net 27 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsClient* mdns_client) : mdns_client_(mdns_client) { net 50 chrome/utility/local_discovery/service_discovery_client_impl.cc net::AddressFamily address_family, net 59 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsClient* mdns_client) net 67 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypePTR, service_type_, this); net 102 chrome/utility/local_discovery/service_discovery_client_impl.cc scoped_ptr<net::MDnsTransaction>* transaction) { net 105 chrome/utility/local_discovery/service_discovery_client_impl.cc transaction_flags |= net::MDnsTransaction::QUERY_NETWORK; net 108 chrome/utility/local_discovery/service_discovery_client_impl.cc transaction_flags |= net::MDnsTransaction::QUERY_CACHE; net 114 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypePTR, service_type_, transaction_flags, net 128 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsListener::UpdateType update, net 129 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::RecordParsed* record) { net 131 chrome/utility/local_discovery/service_discovery_client_impl.cc if (record->type() == net::dns_protocol::kTypePTR) { net 133 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::PtrRecordRdata* rdata = record->rdata<net::PtrRecordRdata>(); net 136 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsListener::RECORD_ADDED: net 139 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsListener::RECORD_CHANGED: net 142 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsListener::RECORD_REMOVED: net 147 chrome/utility/local_discovery/service_discovery_client_impl.cc DCHECK(record->type() == net::dns_protocol::kTypeSRV || net 148 chrome/utility/local_discovery/service_discovery_client_impl.cc record->type() == net::dns_protocol::kTypeTXT); net 151 chrome/utility/local_discovery/service_discovery_client_impl.cc if (record->type() == net::dns_protocol::kTypeSRV) { net 152 chrome/utility/local_discovery/service_discovery_client_impl.cc if (update == net::MDnsListener::RECORD_REMOVED) { net 154 chrome/utility/local_discovery/service_discovery_client_impl.cc } else if (update == net::MDnsListener::RECORD_ADDED) { net 161 chrome/utility/local_discovery/service_discovery_client_impl.cc if (record->type() != net::dns_protocol::kTypeSRV || net 162 chrome/utility/local_discovery/service_discovery_client_impl.cc update != net::MDnsListener::RECORD_ADDED) { net 173 chrome/utility/local_discovery/service_discovery_client_impl.cc scoped_ptr<net::MDnsTransaction>* transaction, net 174 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result result, net 175 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::RecordParsed* record) { net 177 chrome/utility/local_discovery/service_discovery_client_impl.cc if (result == net::MDnsTransaction::RESULT_RECORD) { net 178 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::PtrRecordRdata* rdata = record->rdata<net::PtrRecordRdata>(); net 181 chrome/utility/local_discovery/service_discovery_client_impl.cc } else if (result == net::MDnsTransaction::RESULT_DONE) { net 192 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsClient* mdns_client) net 196 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypeSRV, service_name, watcher); net 198 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypeTXT, service_name, watcher); net 217 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypeSRV, service_name_, net 218 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::SINGLE_RESULT | net 219 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::QUERY_CACHE | net::MDnsTransaction::QUERY_NETWORK, net 229 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result result, net 230 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::RecordParsed* record) { net 349 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsClient* mdns_client) net 371 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypeTXT, service_name_, net 372 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::SINGLE_RESULT | net::MDnsTransaction::QUERY_CACHE | net 373 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::QUERY_NETWORK, net 382 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypeA, net 384 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::SINGLE_RESULT | net::MDnsTransaction::QUERY_CACHE, net 392 chrome/utility/local_discovery/service_discovery_client_impl.cc net::dns_protocol::kTypeSRV, service_name_, net 393 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::SINGLE_RESULT | net::MDnsTransaction::QUERY_CACHE | net 394 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::QUERY_NETWORK, net 405 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result status, const net::RecordParsed* record) { net 407 chrome/utility/local_discovery/service_discovery_client_impl.cc if (status == net::MDnsTransaction::RESULT_RECORD) { net 418 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result status, const net::RecordParsed* record) { net 420 chrome/utility/local_discovery/service_discovery_client_impl.cc if (status == net::MDnsTransaction::RESULT_RECORD) { net 432 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result status, const net::RecordParsed* record) { net 435 chrome/utility/local_discovery/service_discovery_client_impl.cc if (status == net::MDnsTransaction::RESULT_RECORD) { net 439 chrome/utility/local_discovery/service_discovery_client_impl.cc service_staging_.ip_address = net::IPAddressNumber(); net 466 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result status) const { net 468 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsTransaction::RESULT_RECORD: net 470 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsTransaction::RESULT_NO_RESULTS: net 472 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsTransaction::RESULT_NSEC: net 474 chrome/utility/local_discovery/service_discovery_client_impl.cc case net::MDnsTransaction::RESULT_DONE: // Pass through. net 482 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::RecordParsed* record) const { net 483 chrome/utility/local_discovery/service_discovery_client_impl.cc DCHECK(record->type() == net::dns_protocol::kTypeTXT); net 484 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::TxtRecordRdata* txt_rdata = record->rdata<net::TxtRecordRdata>(); net 489 chrome/utility/local_discovery/service_discovery_client_impl.cc net::HostPortPair ServiceResolverImpl::RecordToAddress( net 490 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::RecordParsed* record) const { net 491 chrome/utility/local_discovery/service_discovery_client_impl.cc DCHECK(record->type() == net::dns_protocol::kTypeSRV); net 492 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::SrvRecordRdata* srv_rdata = record->rdata<net::SrvRecordRdata>(); net 494 chrome/utility/local_discovery/service_discovery_client_impl.cc return net::HostPortPair(srv_rdata->target(), srv_rdata->port()); net 497 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::IPAddressNumber& ServiceResolverImpl::RecordToIPAddress( net 498 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::RecordParsed* record) const { net 499 chrome/utility/local_discovery/service_discovery_client_impl.cc DCHECK(record->type() == net::dns_protocol::kTypeA); net 500 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::ARecordRdata* a_rdata = record->rdata<net::ARecordRdata>(); net 507 chrome/utility/local_discovery/service_discovery_client_impl.cc net::AddressFamily address_family, net 509 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsClient* mdns_client) net 519 chrome/utility/local_discovery/service_discovery_client_impl.cc if (address_family_ == net::ADDRESS_FAMILY_IPV4 || net 520 chrome/utility/local_discovery/service_discovery_client_impl.cc address_family_ == net::ADDRESS_FAMILY_UNSPECIFIED) { net 521 chrome/utility/local_discovery/service_discovery_client_impl.cc transaction_a_ = CreateTransaction(net::dns_protocol::kTypeA); net 525 chrome/utility/local_discovery/service_discovery_client_impl.cc if (address_family_ == net::ADDRESS_FAMILY_IPV6 || net 526 chrome/utility/local_discovery/service_discovery_client_impl.cc address_family_ == net::ADDRESS_FAMILY_UNSPECIFIED) { net 527 chrome/utility/local_discovery/service_discovery_client_impl.cc transaction_aaaa_ = CreateTransaction(net::dns_protocol::kTypeAAAA); net 532 chrome/utility/local_discovery/service_discovery_client_impl.cc scoped_ptr<net::MDnsTransaction> LocalDomainResolverImpl::CreateTransaction( net 535 chrome/utility/local_discovery/service_discovery_client_impl.cc type, domain_, net::MDnsTransaction::SINGLE_RESULT | net 536 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::QUERY_CACHE | net 537 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::QUERY_NETWORK, net 543 chrome/utility/local_discovery/service_discovery_client_impl.cc net::MDnsTransaction::Result result, const net::RecordParsed* record) { net 546 chrome/utility/local_discovery/service_discovery_client_impl.cc if (result == net::MDnsTransaction::RESULT_RECORD) { net 547 chrome/utility/local_discovery/service_discovery_client_impl.cc if (record->type() == net::dns_protocol::kTypeA) { net 548 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::ARecordRdata* rdata = record->rdata<net::ARecordRdata>(); net 551 chrome/utility/local_discovery/service_discovery_client_impl.cc DCHECK_EQ(net::dns_protocol::kTypeAAAA, record->type()); net 552 chrome/utility/local_discovery/service_discovery_client_impl.cc const net::AAAARecordRdata* rdata = record->rdata<net::AAAARecordRdata>(); net 558 chrome/utility/local_discovery/service_discovery_client_impl.cc address_family_ == net::ADDRESS_FAMILY_UNSPECIFIED) { net 568 chrome/utility/local_discovery/service_discovery_client_impl.cc || address_family_ != net::ADDRESS_FAMILY_UNSPECIFIED) { net 25 chrome/utility/local_discovery/service_discovery_client_impl.h explicit ServiceDiscoveryClientImpl(net::MDnsClient* mdns_client); net 39 chrome/utility/local_discovery/service_discovery_client_impl.h net::AddressFamily address_family, net 43 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client_; net 49 chrome/utility/local_discovery/service_discovery_client_impl.h public net::MDnsListener::Delegate, net 54 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client); net 68 chrome/utility/local_discovery/service_discovery_client_impl.h virtual void OnRecordUpdate(net::MDnsListener::UpdateType update, net 69 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record) OVERRIDE; net 76 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction>* transaction, net 77 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsTransaction::Result result, net 78 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record); net 84 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client); net 104 chrome/utility/local_discovery/service_discovery_client_impl.h void OnSRVRecord(net::MDnsTransaction::Result result, net 105 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record); net 109 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsListener> srv_listener_; net 110 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsListener> txt_listener_; net 111 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> srv_transaction_; net 114 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client_; net 131 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction>* transaction); net 144 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> transaction_network_; net 145 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> transaction_cache_; net 146 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsListener> listener_; net 152 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client_; net 163 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client); net 174 chrome/utility/local_discovery/service_discovery_client_impl.h void SrvRecordTransactionResponse(net::MDnsTransaction::Result status, net 175 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record); net 178 chrome/utility/local_discovery/service_discovery_client_impl.h void TxtRecordTransactionResponse(net::MDnsTransaction::Result status, net 179 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record); net 182 chrome/utility/local_discovery/service_discovery_client_impl.h void ARecordTransactionResponse(net::MDnsTransaction::Result status, net 183 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record); net 191 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record) const; net 194 chrome/utility/local_discovery/service_discovery_client_impl.h net::HostPortPair RecordToAddress( net 195 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record) const; net 198 chrome/utility/local_discovery/service_discovery_client_impl.h const net::IPAddressNumber& RecordToIPAddress( net 199 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record) const; net 203 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsTransaction::Result status) const; net 217 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> txt_transaction_; net 218 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> srv_transaction_; net 219 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> a_transaction_; net 223 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client_; net 231 chrome/utility/local_discovery/service_discovery_client_impl.h net::AddressFamily address_family, net 233 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client); net 242 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsTransaction::Result result, net 243 chrome/utility/local_discovery/service_discovery_client_impl.h const net::RecordParsed* record); net 245 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> CreateTransaction(uint16 type); net 252 chrome/utility/local_discovery/service_discovery_client_impl.h net::AddressFamily address_family_; net 255 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> transaction_a_; net 256 chrome/utility/local_discovery/service_discovery_client_impl.h scoped_ptr<net::MDnsTransaction> transaction_aaaa_; net 260 chrome/utility/local_discovery/service_discovery_client_impl.h net::MDnsClient* mdns_client_; net 262 chrome/utility/local_discovery/service_discovery_client_impl.h net::IPAddressNumber address_ipv4_; net 263 chrome/utility/local_discovery/service_discovery_client_impl.h net::IPAddressNumber address_ipv6_; net 228 chrome/utility/local_discovery/service_discovery_client_unittest.cc net::MockMDnsSocketFactory socket_factory_; net 229 chrome/utility/local_discovery/service_discovery_client_unittest.cc net::MDnsClientImpl mdns_client_; net 412 chrome/utility/local_discovery/service_discovery_client_unittest.cc address_expected_ = net::HostPortPair("myhello.local", 8888); net 441 chrome/utility/local_discovery/service_discovery_client_unittest.cc const net::IPAddressNumber&)); net 445 chrome/utility/local_discovery/service_discovery_client_unittest.cc net::IPAddressNumber ip_address_; net 446 chrome/utility/local_discovery/service_discovery_client_unittest.cc net::HostPortPair address_expected_; net 448 chrome/utility/local_discovery/service_discovery_client_unittest.cc net::IPAddressNumber ip_address_expected_; net 464 chrome/utility/local_discovery/service_discovery_client_unittest.cc net::IPAddressNumber())); net 20 chrome/utility/local_discovery/service_discovery_message_handler.cc void ClosePlatformSocket(net::SocketDescriptor socket); net 25 chrome/utility/local_discovery/service_discovery_message_handler.cc class ScopedSocketFactory : public net::PlatformSocketFactory { net 27 chrome/utility/local_discovery/service_discovery_message_handler.cc explicit ScopedSocketFactory(net::SocketDescriptor socket) : socket_(socket) { net 28 chrome/utility/local_discovery/service_discovery_message_handler.cc net::PlatformSocketFactory::SetInstance(this); net 32 chrome/utility/local_discovery/service_discovery_message_handler.cc net::PlatformSocketFactory::SetInstance(NULL); net 34 chrome/utility/local_discovery/service_discovery_message_handler.cc socket_ = net::kInvalidSocket; net 37 chrome/utility/local_discovery/service_discovery_message_handler.cc virtual net::SocketDescriptor CreateSocket(int family, int type, net 41 chrome/utility/local_discovery/service_discovery_message_handler.cc net::SocketDescriptor result = net::kInvalidSocket; net 47 chrome/utility/local_discovery/service_discovery_message_handler.cc net::SocketDescriptor socket_; net 52 chrome/utility/local_discovery/service_discovery_message_handler.cc SocketInfo(net::SocketDescriptor socket, net 53 chrome/utility/local_discovery/service_discovery_message_handler.cc net::AddressFamily address_family, net 59 chrome/utility/local_discovery/service_discovery_message_handler.cc net::SocketDescriptor socket; net 60 chrome/utility/local_discovery/service_discovery_message_handler.cc net::AddressFamily address_family; net 65 chrome/utility/local_discovery/service_discovery_message_handler.cc class PreCreatedMDnsSocketFactory : public net::MDnsSocketFactory { net 76 chrome/utility/local_discovery/service_discovery_message_handler.cc ScopedVector<net::DatagramServerSocket>* sockets) OVERRIDE { net 84 chrome/utility/local_discovery/service_discovery_message_handler.cc scoped_ptr<net::DatagramServerSocket> socket( net 85 chrome/utility/local_discovery/service_discovery_message_handler.cc net::CreateAndBindMDnsSocket(socket_info.address_family, net 98 chrome/utility/local_discovery/service_discovery_message_handler.cc ScopedVector<net::DatagramServerSocket> sockets_; net 108 chrome/utility/local_discovery/service_discovery_message_handler.cc void ClosePlatformSocket(net::SocketDescriptor socket) { net 113 chrome/utility/local_discovery/service_discovery_message_handler.cc net::InterfaceIndexFamilyList interfaces(net::GetMDnsInterfacesToBind()); net 115 chrome/utility/local_discovery/service_discovery_message_handler.cc DCHECK(interfaces[i].second == net::ADDRESS_FAMILY_IPV4 || net 116 chrome/utility/local_discovery/service_discovery_message_handler.cc interfaces[i].second == net::ADDRESS_FAMILY_IPV6); net 117 chrome/utility/local_discovery/service_discovery_message_handler.cc net::SocketDescriptor descriptor = net 118 chrome/utility/local_discovery/service_discovery_message_handler.cc net::CreatePlatformSocket( net 119 chrome/utility/local_discovery/service_discovery_message_handler.cc net::ConvertAddressFamily(interfaces[i].second), SOCK_DGRAM, net 128 chrome/utility/local_discovery/service_discovery_message_handler.cc void ClosePlatformSocket(net::SocketDescriptor socket) { net 184 chrome/utility/local_discovery/service_discovery_message_handler.cc mdns_client_ = net::MDnsClient::CreateDefault(); net 305 chrome/utility/local_discovery/service_discovery_message_handler.cc net::AddressFamily address_family) { net 386 chrome/utility/local_discovery/service_discovery_message_handler.cc net::AddressFamily address_family) { net 456 chrome/utility/local_discovery/service_discovery_message_handler.cc const net::IPAddressNumber& address_ipv4, net 457 chrome/utility/local_discovery/service_discovery_message_handler.cc const net::IPAddressNumber& address_ipv6) { net 460 chrome/utility/local_discovery/service_discovery_message_handler.cc net::IPAddressToString(address_ipv4)) net 462 chrome/utility/local_discovery/service_discovery_message_handler.cc net::IPAddressToString(address_ipv6)); net 17 chrome/utility/local_discovery/service_discovery_message_handler.h namespace net { net 68 chrome/utility/local_discovery/service_discovery_message_handler.h net::AddressFamily address_family); net 79 chrome/utility/local_discovery/service_discovery_message_handler.h net::AddressFamily address_family); net 98 chrome/utility/local_discovery/service_discovery_message_handler.h const net::IPAddressNumber& address_ipv4, net 99 chrome/utility/local_discovery/service_discovery_message_handler.h const net::IPAddressNumber& address_ipv6); net 107 chrome/utility/local_discovery/service_discovery_message_handler.h scoped_ptr<net::MDnsClient> mdns_client_; net 55 chromeos/cert_loader.cc cert_list_(new net::CertificateList), net 60 chromeos/cert_loader.cc net::CertDatabase::GetInstance()->RemoveObserver(this); net 63 chromeos/cert_loader.cc void CertLoader::StartWithNSSDB(net::NSSCertDatabase* database) { net 74 chromeos/cert_loader.cc net::CertDatabase::GetInstance()->AddObserver(this); net 108 chromeos/cert_loader.cc const net::X509Certificate* cert) const { net 128 chromeos/cert_loader.cc std::string CertLoader::GetPkcs11IdForCert(const net::X509Certificate& cert) { net 164 chromeos/cert_loader.cc scoped_ptr<net::CertificateList> cert_list) { net 186 chromeos/cert_loader.cc void CertLoader::OnCACertChanged(const net::X509Certificate* cert) { net 192 chromeos/cert_loader.cc void CertLoader::OnCertAdded(const net::X509Certificate* cert) { net 198 chromeos/cert_loader.cc void CertLoader::OnCertRemoved(const net::X509Certificate* cert) { net 20 chromeos/cert_loader.h namespace net { net 34 chromeos/cert_loader.h class CHROMEOS_EXPORT CertLoader : public net::CertDatabase::Observer { net 41 chromeos/cert_loader.h virtual void OnCertificatesLoaded(const net::CertificateList& cert_list, net 60 chromeos/cert_loader.h static std::string GetPkcs11IdForCert(const net::X509Certificate& cert); net 67 chromeos/cert_loader.h void StartWithNSSDB(net::NSSCertDatabase* database); net 78 chromeos/cert_loader.h bool IsCertificateHardwareBacked(const net::X509Certificate* cert) const; net 86 chromeos/cert_loader.h const net::CertificateList& cert_list() const { return *cert_list_; } net 101 chromeos/cert_loader.h void UpdateCertificates(scoped_ptr<net::CertificateList> cert_list); net 106 chromeos/cert_loader.h virtual void OnCACertChanged(const net::X509Certificate* cert) OVERRIDE; net 107 chromeos/cert_loader.h virtual void OnCertAdded(const net::X509Certificate* cert) OVERRIDE; net 108 chromeos/cert_loader.h virtual void OnCertRemoved(const net::X509Certificate* cert) OVERRIDE; net 119 chromeos/cert_loader.h net::NSSCertDatabase* database_; net 125 chromeos/cert_loader.h scoped_ptr<net::CertificateList> cert_list_; net 25 chromeos/cert_loader_unittest.cc bool IsCertInCertificateList(const net::X509Certificate* cert, net 26 chromeos/cert_loader_unittest.cc const net::CertificateList& cert_list) { net 27 chromeos/cert_loader_unittest.cc for (net::CertificateList::const_iterator it = cert_list.begin(); net 30 chromeos/cert_loader_unittest.cc if (net::X509Certificate::IsSameOSCert((*it)->os_cert_handle(), net 79 chromeos/cert_loader_unittest.cc virtual void OnCertificatesLoaded(const net::CertificateList& cert_list, net 97 chromeos/cert_loader_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS>* database) { net 108 chromeos/cert_loader_unittest.cc database->reset(new net::NSSCertDatabaseChromeOS( net 114 chromeos/cert_loader_unittest.cc int GetDbPrivateSlotId(net::NSSCertDatabase* db) { net 119 chromeos/cert_loader_unittest.cc net::NSSCertDatabase* database, net 120 chromeos/cert_loader_unittest.cc net::CertificateList* imported_certs) { net 125 chromeos/cert_loader_unittest.cc *imported_certs = net::CreateCertificateListFromFile( net 126 chromeos/cert_loader_unittest.cc net::GetTestCertsDirectory(), net 128 chromeos/cert_loader_unittest.cc net::X509Certificate::FORMAT_AUTO); net 131 chromeos/cert_loader_unittest.cc net::NSSCertDatabase::ImportCertFailureList failed; net 133 chromeos/cert_loader_unittest.cc net::NSSCertDatabase::TRUST_DEFAULT, net 139 chromeos/cert_loader_unittest.cc net::NSSCertDatabase* database, net 140 chromeos/cert_loader_unittest.cc net::CertificateList* imported_certs) { net 146 chromeos/cert_loader_unittest.cc net::GetTestCertsDirectory().Append(pkcs12_file); net 149 chromeos/cert_loader_unittest.cc net::CertificateList client_cert_list; net 150 chromeos/cert_loader_unittest.cc scoped_refptr<net::CryptoModule> module(net::CryptoModule::CreateFromHandle( net 153 chromeos/cert_loader_unittest.cc net::OK, net 165 chromeos/cert_loader_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> primary_db_; net 202 chromeos/cert_loader_unittest.cc net::CertificateList certs; net 219 chromeos/cert_loader_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> secondary_db; net 224 chromeos/cert_loader_unittest.cc net::CertificateList certs; net 235 chromeos/cert_loader_unittest.cc net::CertificateList certs; net 249 chromeos/cert_loader_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> secondary_db; net 254 chromeos/cert_loader_unittest.cc net::CertificateList certs; net 267 chromeos/cert_loader_unittest.cc net::CertificateList certs; net 289 chromeos/cert_loader_unittest.cc net::CertificateList certs; net 297 chromeos/cert_loader_unittest.cc ASSERT_EQ(net::NSSCertDatabase::TRUST_DEFAULT, net 298 chromeos/cert_loader_unittest.cc primary_db_->GetCertTrust(certs[0], net::CA_CERT)); net 300 chromeos/cert_loader_unittest.cc certs[0], net::CA_CERT, net::NSSCertDatabase::TRUSTED_SSL)); net 309 chromeos/cert_loader_unittest.cc primary_db_.reset(new net::NSSCertDatabaseChromeOS(crypto::ScopedPK11Slot(), net 16 chromeos/dbus/pipe_reader.cc io_buffer_(new net::IOBufferWithSize(4096)), net 43 chromeos/dbus/pipe_reader.cc data_stream_.reset(new net::FileStream( net 52 chromeos/dbus/pipe_reader.cc if (rv != net::ERR_IO_PENDING) { net 72 chromeos/dbus/pipe_reader.cc if (rv != net::ERR_IO_PENDING) { net 56 chromeos/dbus/pipe_reader.h scoped_ptr<net::FileStream> data_stream_; net 57 chromeos/dbus/pipe_reader.h scoped_refptr<net::IOBufferWithSize> io_buffer_; net 66 chromeos/network/client_cert_resolver.cc bool HasPrivateKey(const net::X509Certificate& cert) { net 77 chromeos/network/client_cert_resolver.cc CertAndIssuer(const scoped_refptr<net::X509Certificate>& certificate, net 82 chromeos/network/client_cert_resolver.cc scoped_refptr<net::X509Certificate> cert; net 138 chromeos/network/client_cert_resolver.cc void FindCertificateMatches(const net::CertificateList& certs, net 144 chromeos/network/client_cert_resolver.cc for (net::CertificateList::const_iterator it = certs.begin(); net 146 chromeos/network/client_cert_resolver.cc const net::X509Certificate& cert = **it; net 151 chromeos/network/client_cert_resolver.cc net::ScopedCERTCertificate issuer_handle( net 157 chromeos/network/client_cert_resolver.cc scoped_refptr<net::X509Certificate> issuer = net 158 chromeos/network/client_cert_resolver.cc net::X509Certificate::CreateFromHandle( net 160 chromeos/network/client_cert_resolver.cc net::X509Certificate::OSCertHandles() /* no intermediate certs */); net 166 chromeos/network/client_cert_resolver.cc if (!net::X509Certificate::GetPEMEncoded(issuer->os_cert_handle(), net 330 chromeos/network/client_cert_resolver.cc const net::CertificateList& cert_list, net 57 chromeos/network/client_cert_resolver.h virtual void OnCertificatesLoaded(const net::CertificateList& cert_list, net 62 chromeos/network/client_cert_resolver_unittest.cc test_nssdb_.reset(new net::NSSCertDatabaseChromeOS( net 104 chromeos/network/client_cert_resolver_unittest.cc net::CertificateList ca_cert_list = net 105 chromeos/network/client_cert_resolver_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 107 chromeos/network/client_cert_resolver_unittest.cc net::X509Certificate::FORMAT_AUTO); net 109 chromeos/network/client_cert_resolver_unittest.cc net::NSSCertDatabase::ImportCertFailureList failures; net 111 chromeos/network/client_cert_resolver_unittest.cc ca_cert_list, net::NSSCertDatabase::TRUST_DEFAULT, &failures)); net 112 chromeos/network/client_cert_resolver_unittest.cc ASSERT_TRUE(failures.empty()) << net::ErrorToString(failures[0].net_error); net 114 chromeos/network/client_cert_resolver_unittest.cc net::X509Certificate::GetPEMEncoded(ca_cert_list[0]->os_cert_handle(), net 121 chromeos/network/client_cert_resolver_unittest.cc net::GetTestCertsDirectory().Append("websocket_client_cert.p12"), net 124 chromeos/network/client_cert_resolver_unittest.cc net::CertificateList client_cert_list; net 125 chromeos/network/client_cert_resolver_unittest.cc scoped_refptr<net::CryptoModule> module( net 126 chromeos/network/client_cert_resolver_unittest.cc net::CryptoModule::CreateFromHandle(private_slot_.get())); net 128 chromeos/network/client_cert_resolver_unittest.cc net::OK, net 222 chromeos/network/client_cert_resolver_unittest.cc scoped_refptr<net::X509Certificate> test_ca_cert_; net 232 chromeos/network/client_cert_resolver_unittest.cc scoped_refptr<net::X509Certificate> cert( net 233 chromeos/network/client_cert_resolver_unittest.cc net::X509Certificate::CreateFromHandle( net 234 chromeos/network/client_cert_resolver_unittest.cc node->cert, net::X509Certificate::OSCertHandles())); net 246 chromeos/network/client_cert_resolver_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> test_nssdb_; net 35 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { net 47 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { net 57 chromeos/network/client_cert_util.cc explicit PrivateKeyFilter(net::CertDatabase* cert_db) : cert_db_(cert_db) {} net 58 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { net 59 chromeos/network/client_cert_util.cc return cert_db_->CheckUserCert(cert.get()) != net::OK; net 62 chromeos/network/client_cert_util.cc net::CertDatabase* cert_db_; net 71 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { net 75 chromeos/network/client_cert_util.cc net::ScopedCERTCertificate issuer_cert(CERT_FindCertIssuer( net 82 chromeos/network/client_cert_util.cc if (!net::X509Certificate::GetPEMEncoded(issuer_cert.get(), net 110 chromeos/network/client_cert_util.cc const net::CertPrincipal& principal) { net 142 chromeos/network/client_cert_util.cc scoped_refptr<net::X509Certificate> GetCertificateMatch( net 144 chromeos/network/client_cert_util.cc const net::CertificateList& all_certs) { net 145 chromeos/network/client_cert_util.cc typedef std::list<scoped_refptr<net::X509Certificate> > CertificateStlList; net 153 chromeos/network/client_cert_util.cc for (net::CertificateList::const_iterator iter = all_certs.begin(); net 181 chromeos/network/client_cert_util.cc PrivateKeyFilter private_filter(net::CertDatabase::GetInstance()); net 189 chromeos/network/client_cert_util.cc scoped_refptr<net::X509Certificate> latest(NULL); net 18 chromeos/network/client_cert_util.h namespace net { net 43 chromeos/network/client_cert_util.h const net::CertPrincipal& principal); net 47 chromeos/network/client_cert_util.h CHROMEOS_EXPORT scoped_refptr<net::X509Certificate> GetCertificateMatch( net 49 chromeos/network/client_cert_util.h const net::CertificateList& all_certs); net 34 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc net::URLRequestContext* url_request_context) net 39 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc new net::ProxyScriptFetcherImpl(url_request_context_)); net 49 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc const net::CompletionCallback& callback) { net 51 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc return net::ERR_PAC_NOT_IN_DHCP; net 59 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc return net::ERR_IO_PENDING; net 78 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc net::CompletionCallback callback, net 83 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc callback.Run(net::ERR_PAC_NOT_IN_DHCP); net 87 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc if (res != net::ERR_IO_PENDING) net 15 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h namespace net { net 26 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h : public net::DhcpProxyScriptFetcher { net 29 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h net::URLRequestContext* url_request_context); net 34 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h const net::CompletionCallback& callback) OVERRIDE; net 41 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h net::CompletionCallback callback, net 44 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h net::URLRequestContext* url_request_context_; // Weak ptr net 45 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h scoped_ptr<net::ProxyScriptFetcher> proxy_script_fetcher_; net 33 chromeos/network/network_cert_migrator.cc std::string GetNickname(const net::X509Certificate& cert) { net 56 chromeos/network/network_cert_migrator.cc MigrationTask(const net::CertificateList& certs, net 106 chromeos/network/network_cert_migrator.cc scoped_refptr<net::X509Certificate> cert = net 114 chromeos/network/network_cert_migrator.cc if (!net::X509Certificate::GetPEMEncoded(cert->os_cert_handle(), net 176 chromeos/network/network_cert_migrator.cc scoped_refptr<net::X509Certificate> FindCertificateWithNickname( net 178 chromeos/network/network_cert_migrator.cc for (net::CertificateList::iterator it = certs_.begin(); it != certs_.end(); net 232 chromeos/network/network_cert_migrator.cc net::CertificateList certs_; net 271 chromeos/network/network_cert_migrator.cc const net::CertificateList& cert_list, net 37 chromeos/network/network_cert_migrator.h virtual void OnCertificatesLoaded(const net::CertificateList& cert_list, net 50 chromeos/network/network_cert_migrator_unittest.cc test_nssdb_.reset(new net::NSSCertDatabaseChromeOS( net 79 chromeos/network/network_cert_migrator_unittest.cc scoped_refptr<net::X509Certificate> cert_wo_nickname = net 80 chromeos/network/network_cert_migrator_unittest.cc net::CreateCertificateListFromFile(net::GetTestCertsDirectory(), net 82 chromeos/network/network_cert_migrator_unittest.cc net::X509Certificate::FORMAT_AUTO) net 84 chromeos/network/network_cert_migrator_unittest.cc net::X509Certificate::GetPEMEncoded(cert_wo_nickname->os_cert_handle(), net 87 chromeos/network/network_cert_migrator_unittest.cc net::X509Certificate::GetDEREncoded(cert_wo_nickname->os_cert_handle(), net 91 chromeos/network/network_cert_migrator_unittest.cc test_ca_cert_ = net::X509Certificate::CreateFromBytesWithNickname( net 93 chromeos/network/network_cert_migrator_unittest.cc net::CertificateList cert_list; net 95 chromeos/network/network_cert_migrator_unittest.cc net::NSSCertDatabase::ImportCertFailureList failures; net 97 chromeos/network/network_cert_migrator_unittest.cc cert_list, net::NSSCertDatabase::TRUST_DEFAULT, &failures)); net 98 chromeos/network/network_cert_migrator_unittest.cc ASSERT_TRUE(failures.empty()) << net::ErrorToString(failures[0].net_error); net 176 chromeos/network/network_cert_migrator_unittest.cc scoped_refptr<net::X509Certificate> test_ca_cert_; net 188 chromeos/network/network_cert_migrator_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> test_nssdb_; net 26 chromeos/network/network_change_notifier_chromeos.cc : public net::internal::DnsConfigServicePosix { net 68 chromeos/network/network_change_notifier_chromeos.cc base::Bind(net::NetworkChangeNotifier::SetDnsConfig)); net 82 chromeos/network/network_change_notifier_chromeos.cc net::NetworkChangeNotifier::ConnectionType net 137 chromeos/network/network_change_notifier_chromeos.cc net::NetworkChangeNotifier::ConnectionType new_connection_type = net 197 chromeos/network/network_change_notifier_chromeos.cc net::NetworkChangeNotifier::ConnectionType net 226 chromeos/network/network_change_notifier_chromeos.cc net::NetworkChangeNotifier::NetworkChangeCalculatorParams net 21 chromeos/network/network_change_notifier_chromeos.h : public net::NetworkChangeNotifier, net 35 chromeos/network/network_change_notifier_chromeos.h virtual net::NetworkChangeNotifier::ConnectionType net 64 chromeos/network/network_change_notifier_chromeos.h static net::NetworkChangeNotifier::ConnectionType net 70 chromeos/network/network_change_notifier_chromeos.h static net::NetworkChangeNotifier::NetworkChangeCalculatorParams net 30 chromeos/network/network_change_notifier_chromeos_unittest.cc net::NetworkChangeNotifier::ConnectionType type; net 57 chromeos/network/network_change_notifier_chromeos_unittest.cc using net::NetworkChangeNotifier; net 17 chromeos/network/network_change_notifier_factory_chromeos.cc net::NetworkChangeNotifier* net 18 chromeos/network/network_change_notifier_factory_chromeos.h : public net::NetworkChangeNotifierFactory { net 23 chromeos/network/network_change_notifier_factory_chromeos.h virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE; net 203 chromeos/network/network_connection_handler.cc const net::CertificateList& cert_list, net 715 chromeos/network/network_connection_handler.cc scoped_refptr<net::X509Certificate> matching_cert = net 136 chromeos/network/network_connection_handler.h virtual void OnCertificatesLoaded(const net::CertificateList& cert_list, net 58 chromeos/network/network_connection_handler_unittest.cc test_nssdb_.reset(new net::NSSCertDatabaseChromeOS( net 168 chromeos/network/network_connection_handler_unittest.cc net::NSSCertDatabase* nssdb, net 169 chromeos/network/network_connection_handler_unittest.cc net::CertificateList* loaded_certs) { net 172 chromeos/network/network_connection_handler_unittest.cc net::GetTestCertsDirectory().Append(pkcs12_file); net 175 chromeos/network/network_connection_handler_unittest.cc scoped_refptr<net::CryptoModule> module( net 176 chromeos/network/network_connection_handler_unittest.cc net::CryptoModule::CreateFromHandle(nssdb->GetPrivateSlot().get())); net 178 chromeos/network/network_connection_handler_unittest.cc net::OK, net 188 chromeos/network/network_connection_handler_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> test_nssdb_; net 274 chromeos/network/network_connection_handler_unittest.cc net::CertificateList certs; net 289 chromeos/network/network_connection_handler_unittest.cc net::CertificateList certs; net 116 chromeos/network/network_event_log.cc std::string filestr = format_html ? net::EscapeForHTML(file) : file; net 164 chromeos/network/network_event_log.cc text += ": " + net::EscapeForHTML(description); net 23 chromeos/network/onc/mock_certificate_importer.h net::CertificateList*)); net 35 chromeos/network/onc/onc_certificate_importer.h net::CertificateList* onc_trusted_certificates) = 0; net 32 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase* target_nssdb) net 40 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList* onc_trusted_certificates) { net 59 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList* onc_trusted_certificates, net 86 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList* result, net 87 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase* target_nssdb) { net 88 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList all_certs; net 92 chromeos/network/onc/onc_certificate_importer_impl.cc for (net::CertificateList::iterator iter = all_certs.begin(); net 127 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase* target_nssdb) { net 128 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList cert_list; net 131 chromeos/network/onc/onc_certificate_importer_impl.cc for (net::CertificateList::iterator iter = cert_list.begin(); net 149 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList* onc_trusted_certificates, net 192 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList* onc_trusted_certificates, net 235 chromeos/network/onc/onc_certificate_importer_impl.cc scoped_refptr<net::X509Certificate> x509_cert = net 243 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase::TrustBits trust = (import_with_ssl_trust ? net 244 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase::TRUSTED_SSL : net 245 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase::TRUST_DEFAULT); net 248 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertType net_cert_type = net 249 chromeos/network/onc/onc_certificate_importer_impl.cc cert_type == ::onc::certificate::kServer ? net::SERVER_CERT net 250 chromeos/network/onc/onc_certificate_importer_impl.cc : net::CA_CERT; net 252 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase::TrustBits missing_trust_bits = net 271 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList cert_list; net 273 chromeos/network/onc/onc_certificate_importer_impl.cc net::NSSCertDatabase::ImportCertFailureList failures; net 283 chromeos/network/onc/onc_certificate_importer_impl.cc net::ErrorToString(failures[0].net_error), net 325 chromeos/network/onc/onc_certificate_importer_impl.cc scoped_refptr<net::CryptoModule> module( net 326 chromeos/network/onc/onc_certificate_importer_impl.cc net::CryptoModule::CreateFromHandle(private_slot.get())); net 327 chromeos/network/onc/onc_certificate_importer_impl.cc net::CertificateList imported_certs; net 331 chromeos/network/onc/onc_certificate_importer_impl.cc if (import_result != net::OK) { net 334 chromeos/network/onc/onc_certificate_importer_impl.cc net::ErrorToString(import_result))); net 348 chromeos/network/onc/onc_certificate_importer_impl.cc scoped_refptr<net::X509Certificate> cert_result = imported_certs[0]; net 24 chromeos/network/onc/onc_certificate_importer_impl.h namespace net { net 41 chromeos/network/onc/onc_certificate_importer_impl.h typedef std::map<std::string, scoped_refptr<net::X509Certificate> > net 44 chromeos/network/onc/onc_certificate_importer_impl.h explicit CertificateImporterImpl(net::NSSCertDatabase* target_nssdb_); net 50 chromeos/network/onc/onc_certificate_importer_impl.h net::CertificateList* onc_trusted_certificates) OVERRIDE; net 58 chromeos/network/onc/onc_certificate_importer_impl.h net::CertificateList* onc_trusted_certificates, net 65 chromeos/network/onc/onc_certificate_importer_impl.h net::CertificateList* result, net 66 chromeos/network/onc/onc_certificate_importer_impl.h net::NSSCertDatabase* target_nssdb); net 71 chromeos/network/onc/onc_certificate_importer_impl.h net::NSSCertDatabase* target_nssdb); net 78 chromeos/network/onc/onc_certificate_importer_impl.h net::CertificateList* onc_trusted_certificates, net 90 chromeos/network/onc/onc_certificate_importer_impl.h net::CertificateList* onc_trusted_certificates, net 97 chromeos/network/onc/onc_certificate_importer_impl.h net::NSSCertDatabase* target_nssdb_; net 39 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertType GetCertType(net::X509Certificate::OSCertHandle cert) { net 47 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc return net::USER_CERT; net 49 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc return net::CA_CERT; net 52 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc return net::SERVER_CERT; net 53 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc return net::OTHER_CERT; net 56 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertType GetCertType(net::X509Certificate::OSCertHandle cert) { net 58 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc return net::OTHER_CERT; net 78 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc test_nssdb_.reset(new net::NSSCertDatabaseChromeOS( net 115 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertType expected_type, net 132 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc if (expected_type == net::SERVER_CERT || expected_type == net::CA_CERT) { net 141 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc scoped_ptr<net::NSSCertDatabaseChromeOS> test_nssdb_; net 144 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList public_list_; net 146 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList private_list_; net 147 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList web_trust_certificates_; net 151 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList ListCertsInPublicSlot() { net 155 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList ListCertsInPrivateSlot() { net 159 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList ListCertsInSlot(PK11SlotInfo* slot) { net 160 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertificateList result; net 165 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc result.push_back(net::X509Certificate::CreateFromHandle( net 166 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc node->cert, net::X509Certificate::OSCertHandles())); net 171 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc std::sort(result.begin(), result.end(), net::X509Certificate::LessThan()); net 196 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc AddCertificateFromFile("certificate-client.onc", net::USER_CERT, &guid); net 234 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc AddCertificateFromFile("certificate-server.onc", net::SERVER_CERT, NULL); net 252 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc AddCertificateFromFile("certificate-web-authority.onc", net::CA_CERT, NULL); net 270 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc AddCertificateFromFile("certificate-authority.onc", net::CA_CERT, NULL); net 283 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc CertParam(net::CertType certificate_type, net 290 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertType cert_type; net 329 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc CertParam(net::USER_CERT, net 332 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc CertParam(net::SERVER_CERT, net 335 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc CertParam(net::CA_CERT, net 299 chromeos/network/onc/onc_utils.cc net::PEMTokenizer pem_tokenizer(pem_encoded, pem_headers); net 336 chromeos/network/onc/onc_utils.cc if (der.empty() || !net::X509Certificate::GetPEMEncodedFromDER(der, &pem)) { net 447 chromeos/network/onc/onc_utils.cc scoped_refptr<net::X509Certificate> DecodePEMCertificate( net 450 chromeos/network/onc/onc_utils.cc scoped_refptr<net::X509Certificate> cert = net 451 chromeos/network/onc/onc_utils.cc net::X509Certificate::CreateFromBytes(decoded.data(), decoded.size()); net 23 chromeos/network/onc/onc_utils.h namespace net { net 109 chromeos/network/onc/onc_utils.h CHROMEOS_EXPORT scoped_refptr<net::X509Certificate> DecodePEMCertificate( net 17 cloud_print/gcp20/prototype/cloud_print_request.cc using net::URLFetcher; net 32 cloud_print/gcp20/prototype/cloud_print_request.cc load_flags |= net::LOAD_DO_NOT_SEND_COOKIES; net 33 cloud_print/gcp20/prototype/cloud_print_request.cc load_flags |= net::LOAD_DO_NOT_SAVE_COOKIES; net 62 cloud_print/gcp20/prototype/cloud_print_request.cc scoped_refptr<net::URLRequestContextGetter> context_getter) { net 102 cloud_print/gcp20/prototype/cloud_print_request.cc if (http_code == net::HTTP_OK) { net 18 cloud_print/gcp20/prototype/cloud_print_request.h class CloudPrintRequest : public net::URLFetcherDelegate, net 55 cloud_print/gcp20/prototype/cloud_print_request.h scoped_refptr<net::URLRequestContextGetter> context_getter); net 62 cloud_print/gcp20/prototype/cloud_print_request.h net::URLFetcher::RequestType method, net 66 cloud_print/gcp20/prototype/cloud_print_request.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 71 cloud_print/gcp20/prototype/cloud_print_request.h scoped_ptr<net::URLFetcher> fetcher_; net 56 cloud_print/gcp20/prototype/cloud_print_requester.cc url = net::AppendQueryParameter(url, "printerid", device_id); net 62 cloud_print/gcp20/prototype/cloud_print_requester.cc url = net::AppendQueryParameter(url, "jobid", job_id); net 63 cloud_print/gcp20/prototype/cloud_print_requester.cc url = net::AppendQueryParameter(url, "status", status); net 69 cloud_print/gcp20/prototype/cloud_print_requester.cc url = net::AppendQueryParameter(url, "printerid", device_id); net 75 cloud_print/gcp20/prototype/cloud_print_requester.cc url = net::AppendQueryParameter(url, "printerid", device_id); net 134 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kProxyIdValue, proxy_id, mime_boundary, net 136 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterNameValue, device_name, mime_boundary, net 138 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload("use_cdd", "true", mime_boundary, net 140 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterNameValue, device_name, mime_boundary, net 142 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterCapsValue, cdd, mime_boundary, net 144 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterCapsHashValue, base::MD5String(cdd), net 146 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterUserValue, user, net 148 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterGcpVersion, kGcpVersion, net 150 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterLocalSettings, net 153 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterFirmware, net 156 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterManufacturer, net 159 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterModel, net 162 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterSetupUrl, net 165 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterSupportUrl, net 168 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterUpdateUrl, net 171 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartFinalDelimiterForUpload(mime_boundary, &data); net 245 cloud_print/gcp20/prototype/cloud_print_requester.cc net::EscapeUrlEncodedData(LocalSettingsToJson(settings), false).c_str()); net 269 cloud_print/gcp20/prototype/cloud_print_requester.cc if (server_http_code == net::HTTP_FORBIDDEN) { net 313 cloud_print/gcp20/prototype/cloud_print_requester.cc if (response_code == net::HTTP_FORBIDDEN) { net 202 cloud_print/gcp20/prototype/cloud_print_requester.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 20 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc net::URLRequestContext* net 23 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc net::URLRequestContextBuilder builder; net 26 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc new net::ProxyConfigServiceFixed(net::ProxyConfig())); net 14 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.h class CloudPrintURLRequestContextGetter : public net::URLRequestContextGetter { net 21 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 30 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.h scoped_ptr<net::URLRequestContext> context_; net 23 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h namespace net { net 118 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 39 cloud_print/gcp20/prototype/dns_packet_parser.h const net::dns_protocol::Header& header() const { return header_; } net 45 cloud_print/gcp20/prototype/dns_packet_parser.h bool ReadRecord(net::DnsResourceRecord* record) { net 68 cloud_print/gcp20/prototype/dns_packet_parser.h net::dns_protocol::Header header_; net 72 cloud_print/gcp20/prototype/dns_packet_parser.h net::DnsRecordParser record_parser_; net 16 cloud_print/gcp20/prototype/dns_response_builder.cc uint16 klass = net::dns_protocol::kClassIN; net 29 cloud_print/gcp20/prototype/dns_response_builder.cc header_.flags = net::dns_protocol::kFlagResponse | net 30 cloud_print/gcp20/prototype/dns_response_builder.cc net::dns_protocol::kFlagAA; net 45 cloud_print/gcp20/prototype/dns_response_builder.cc bool success = net::DNSDomainFromDot(service_name, &rdata); net 48 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_type, net::dns_protocol::kTypePTR, ttl, rdata, answer); net 59 cloud_print/gcp20/prototype/dns_response_builder.cc bool success = net::DNSDomainFromDot(service_domain_name, &domain_name); net 73 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_name, net::dns_protocol::kTypeSRV, ttl, net 79 cloud_print/gcp20/prototype/dns_response_builder.cc net::IPAddressNumber http_ipv4, net 88 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_domain_name, net::dns_protocol::kTypeA, ttl, net 94 cloud_print/gcp20/prototype/dns_response_builder.cc net::IPAddressNumber http_ipv6, net 103 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_domain_name, net::dns_protocol::kTypeAAAA, ttl, net 120 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_name, net::dns_protocol::kTypeTXT, ttl, rdata, answer); net 123 cloud_print/gcp20/prototype/dns_response_builder.cc scoped_refptr<net::IOBufferWithSize> DnsResponseBuilder::Build() { net 138 cloud_print/gcp20/prototype/dns_response_builder.cc scoped_refptr<net::IOBufferWithSize> message( net 139 cloud_print/gcp20/prototype/dns_response_builder.cc new net::IOBufferWithSize(static_cast<int>(size))); net 152 cloud_print/gcp20/prototype/dns_response_builder.cc success = net::DNSDomainFromDot(iter->name, &name_in_dns_format); net 15 cloud_print/gcp20/prototype/dns_response_builder.h namespace net { net 57 cloud_print/gcp20/prototype/dns_response_builder.h net::IPAddressNumber http_ipv4, net 62 cloud_print/gcp20/prototype/dns_response_builder.h net::IPAddressNumber http_ipv6, net 71 cloud_print/gcp20/prototype/dns_response_builder.h scoped_refptr<net::IOBufferWithSize> Build(); net 84 cloud_print/gcp20/prototype/dns_response_builder.h net::dns_protocol::Header header_; net 41 cloud_print/gcp20/prototype/dns_sd_server.cc : recv_buf_(new net::IOBufferWithSize(kDnsBufSize)), net 104 cloud_print/gcp20/prototype/dns_sd_server.cc scoped_refptr<net::IOBufferWithSize> buffer(builder.Build()); net 114 cloud_print/gcp20/prototype/dns_sd_server.cc net::IPAddressNumber local_ip_any; net 115 cloud_print/gcp20/prototype/dns_sd_server.cc bool success = net::ParseIPLiteralToNumber("0.0.0.0", &local_ip_any); net 118 cloud_print/gcp20/prototype/dns_sd_server.cc net::IPAddressNumber multicast_dns_ip_address; net 119 cloud_print/gcp20/prototype/dns_sd_server.cc success = net::ParseIPLiteralToNumber(kDefaultIpAddressMulticast, net 124 cloud_print/gcp20/prototype/dns_sd_server.cc socket_.reset(new net::UDPSocket(net::DatagramSocket::DEFAULT_BIND, net 125 cloud_print/gcp20/prototype/dns_sd_server.cc net::RandIntCallback(), NULL, net 126 cloud_print/gcp20/prototype/dns_sd_server.cc net::NetLog::Source())); net 128 cloud_print/gcp20/prototype/dns_sd_server.cc net::IPEndPoint local_address = net::IPEndPoint(local_ip_any, net 130 cloud_print/gcp20/prototype/dns_sd_server.cc multicast_address_ = net::IPEndPoint(multicast_dns_ip_address, net 150 cloud_print/gcp20/prototype/dns_sd_server.cc void DnsSdServer::ProcessMessage(int len, net::IOBufferWithSize* buf) { net 160 cloud_print/gcp20/prototype/dns_sd_server.cc if (parser.header().flags & net::dns_protocol::kFlagResponse) // Not a query. net 179 cloud_print/gcp20/prototype/dns_sd_server.cc scoped_refptr<net::IOBufferWithSize> buffer(builder.Build()); net 200 cloud_print/gcp20/prototype/dns_sd_server.cc case net::dns_protocol::kTypePTR: net 223 cloud_print/gcp20/prototype/dns_sd_server.cc case net::dns_protocol::kTypeSRV: net 232 cloud_print/gcp20/prototype/dns_sd_server.cc case net::dns_protocol::kTypeA: net 240 cloud_print/gcp20/prototype/dns_sd_server.cc case net::dns_protocol::kTypeAAAA: net 248 cloud_print/gcp20/prototype/dns_sd_server.cc case net::dns_protocol::kTypeTXT: net 273 cloud_print/gcp20/prototype/dns_sd_server.cc DCHECK(rv == net::ERR_IO_PENDING); net 297 cloud_print/gcp20/prototype/dns_sd_server.cc scoped_refptr<net::IOBufferWithSize> buffer(builder.Build()); net 18 cloud_print/gcp20/prototype/dns_sd_server.h namespace net { net 66 cloud_print/gcp20/prototype/dns_sd_server.h void ProcessMessage(int len, net::IOBufferWithSize* buf); net 82 cloud_print/gcp20/prototype/dns_sd_server.h scoped_ptr<net::UDPSocket> socket_; net 85 cloud_print/gcp20/prototype/dns_sd_server.h net::IPEndPoint multicast_address_; net 94 cloud_print/gcp20/prototype/dns_sd_server.h scoped_refptr<net::IOBufferWithSize> recv_buf_; net 97 cloud_print/gcp20/prototype/dns_sd_server.h net::IPEndPoint recv_address_; net 112 cloud_print/gcp20/prototype/printer.cc net::IPAddressNumber GetLocalIp(const std::string& interface_name, net 114 cloud_print/gcp20/prototype/printer.cc net::NetworkInterfaceList interfaces; net 115 cloud_print/gcp20/prototype/printer.cc bool success = net::GetNetworkList( net 116 cloud_print/gcp20/prototype/printer.cc &interfaces, net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES); net 119 cloud_print/gcp20/prototype/printer.cc size_t expected_address_size = return_ipv6_number ? net::kIPv6AddressSize net 120 cloud_print/gcp20/prototype/printer.cc : net::kIPv4AddressSize; net 122 cloud_print/gcp20/prototype/printer.cc for (net::NetworkInterfaceList::iterator iter = interfaces.begin(); net 130 cloud_print/gcp20/prototype/printer.cc return net::IPAddressNumber(); net 135 cloud_print/gcp20/prototype/printer.cc net::IPAddressNumber ip = GetLocalIp("", false); net 137 cloud_print/gcp20/prototype/printer.cc result += " at " + net::IPAddressToString(ip); net 836 cloud_print/gcp20/prototype/printer.cc net::IPAddressNumber ip = GetLocalIp("", false); net 841 cloud_print/gcp20/prototype/printer.cc VLOG(0) << "Local address: " << net::IPAddressToString(ip); net 847 cloud_print/gcp20/prototype/printer.cc net::IPAddressToString(ip)); net 108 cloud_print/gcp20/prototype/privet_http_server.cc net::TCPListenSocketFactory factory("0.0.0.0", port); net 109 cloud_print/gcp20/prototype/privet_http_server.cc server_ = new net::HttpServer(factory, this); net 110 cloud_print/gcp20/prototype/privet_http_server.cc net::IPEndPoint address; net 112 cloud_print/gcp20/prototype/privet_http_server.cc if (server_->GetLocalAddress(&address) != net::OK) { net 129 cloud_print/gcp20/prototype/privet_http_server.cc const net::HttpServerRequestInfo& info) { net 137 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpServerRequestInfo::HeadersMap::const_iterator iter = net 140 cloud_print/gcp20/prototype/privet_http_server.cc server_->Send(connection_id, net::HTTP_BAD_REQUEST, net 149 cloud_print/gcp20/prototype/privet_http_server.cc server_->Send(connection_id, net::HTTP_OK, net 157 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode status_code = ProcessHttpRequest(url, info, &response); net 164 cloud_print/gcp20/prototype/privet_http_server.cc const net::HttpServerRequestInfo& info) { net 175 cloud_print/gcp20/prototype/privet_http_server.cc server_->Send(connection_id, net::HTTP_BAD_REQUEST, "Invalid method", net 201 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode PrivetHttpServer::ProcessHttpRequest( net 203 cloud_print/gcp20/prototype/privet_http_server.cc const net::HttpServerRequestInfo& info, net 205 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode status_code = net::HTTP_OK; net 238 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode* status_code) const { net 268 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_OK; net 273 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode* status_code) const { net 275 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_NOT_FOUND; net 284 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode* status_code) const { net 286 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_NOT_FOUND; net 302 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_OK; net 322 cloud_print/gcp20/prototype/privet_http_server.cc const net::HttpServerRequestInfo& info, net 323 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode* status_code) const { net 325 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_NOT_FOUND; net 329 cloud_print/gcp20/prototype/privet_http_server.cc using net::GetValueForKeyInQuery; net 356 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_OK; net 390 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode* status_code) const { net 392 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_NOT_FOUND; net 397 cloud_print/gcp20/prototype/privet_http_server.cc net::GetValueForKeyInQuery(url, "job_id", &job_id); net 411 cloud_print/gcp20/prototype/privet_http_server.cc net::HttpStatusCode* status_code) const { net 413 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_NOT_FOUND; net 420 cloud_print/gcp20/prototype/privet_http_server.cc net::GetValueForKeyInQuery(url, "action", &action) && net 421 cloud_print/gcp20/prototype/privet_http_server.cc net::GetValueForKeyInQuery(url, "user", &user) && net 456 cloud_print/gcp20/prototype/privet_http_server.cc *status_code = net::HTTP_OK; net 20 cloud_print/gcp20/prototype/privet_http_server.h class PrivetHttpServer: public net::HttpServer::Delegate { net 146 cloud_print/gcp20/prototype/privet_http_server.h const net::HttpServerRequestInfo& info) OVERRIDE; net 149 cloud_print/gcp20/prototype/privet_http_server.h const net::HttpServerRequestInfo& info) OVERRIDE; net 166 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode ProcessHttpRequest( net 168 cloud_print/gcp20/prototype/privet_http_server.h const net::HttpServerRequestInfo& info, net 173 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode* status_code) const; net 176 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode* status_code) const; net 181 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode* status_code) const; net 185 cloud_print/gcp20/prototype/privet_http_server.h const net::HttpServerRequestInfo& info, net 186 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode* status_code) const; net 190 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode* status_code) const; net 194 cloud_print/gcp20/prototype/privet_http_server.h net::HttpStatusCode* status_code) const; net 207 cloud_print/gcp20/prototype/privet_http_server.h scoped_refptr<net::HttpServer> server_; net 17 cloud_print/gcp20/prototype/service_parameters.cc const net::IPAddressNumber& http_ipv4, net 18 cloud_print/gcp20/prototype/service_parameters.cc const net::IPAddressNumber& http_ipv6, net 22 cloud_print/gcp20/prototype/service_parameters.h const net::IPAddressNumber& http_ipv4, net 23 cloud_print/gcp20/prototype/service_parameters.h const net::IPAddressNumber& http_ipv6, net 30 cloud_print/gcp20/prototype/service_parameters.h net::IPAddressNumber http_ipv4_; net 31 cloud_print/gcp20/prototype/service_parameters.h net::IPAddressNumber http_ipv6_; net 39 cloud_print/service/service_state.cc class ServiceStateURLRequestDelegate : public net::URLRequest::Delegate { net 41 cloud_print/service/service_state.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE { net 50 cloud_print/service/service_state.cc virtual void OnReadCompleted(net::URLRequest* request, net 62 cloud_print/service/service_state.cc void Read(net::URLRequest* request) { net 65 cloud_print/service/service_state.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kBufSize)); net 165 cloud_print/service/service_state.cc net::URLRequestContextBuilder builder; net 166 cloud_print/service/service_state.cc scoped_ptr<net::URLRequestContext> context(builder.Build()); net 173 cloud_print/service/service_state.cc post_body += "&Email=" + net::EscapeUrlEncodedData(email, true); net 174 cloud_print/service/service_state.cc post_body += "&Passwd=" + net::EscapeUrlEncodedData(password, true); net 175 cloud_print/service/service_state.cc post_body += "&source=" + net::EscapeUrlEncodedData("CP-Service", true); net 176 cloud_print/service/service_state.cc post_body += "&service=" + net::EscapeUrlEncodedData(service, true); net 178 cloud_print/service/service_state.cc net::URLRequest request( net 179 cloud_print/service/service_state.cc url, net::DEFAULT_PRIORITY, &fetcher_delegate, context.get()); net 181 cloud_print/service/service_state.cc load_flags = load_flags | net::LOAD_DO_NOT_SEND_COOKIES; net 182 cloud_print/service/service_state.cc load_flags = load_flags | net::LOAD_DO_NOT_SAVE_COOKIES; net 185 cloud_print/service/service_state.cc scoped_ptr<net::UploadElementReader> reader( net 186 cloud_print/service/service_state.cc net::UploadOwnedBytesElementReader::CreateWithString(post_body)); net 188 cloud_print/service/service_state.cc net::UploadDataStream::CreateWithReader(reader.Pass(), 0))); net 100 cloud_print/service/win/chrome_launcher.cc url = net::AppendQueryParameter(url, "proxy", proxy_id); net 109 cloud_print/service/win/chrome_launcher.cc url = net::AppendQueryParameter(url, "service", "cloudprint"); net 110 cloud_print/service/win/chrome_launcher.cc url = net::AppendQueryParameter(url, "sarp", "1"); net 111 cloud_print/service/win/chrome_launcher.cc return net::AppendQueryParameter( net 55 components/auto_login_parser/auto_login_parser.cc std::string unescaped_value(net::UnescapeURLComponent( net 56 components/auto_login_parser/auto_login_parser.cc pair.second, net::UnescapeRule::URL_SPECIAL_CHARS)); net 74 components/auto_login_parser/auto_login_parser.cc bool ParserHeaderInResponse(net::URLRequest* request, net 10 components/auto_login_parser/auto_login_parser.h namespace net { net 44 components/auto_login_parser/auto_login_parser.h bool ParserHeaderInResponse(net::URLRequest* request, net 76 components/autofill/content/browser/content_autofill_driver.cc net::URLRequestContextGetter* ContentAutofillDriver::GetURLRequestContext() { net 47 components/autofill/content/browser/content_autofill_driver.h virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; net 204 components/autofill/content/browser/content_autofill_driver_unittest.cc net::URLRequestContextGetter* request_context = net 206 components/autofill/content/browser/content_autofill_driver_unittest.cc net::URLRequestContextGetter* expected_request_context = net 10 components/autofill/content/browser/wallet/mock_wallet_client.cc MockWalletClient::MockWalletClient(net::URLRequestContextGetter* context, net 24 components/autofill/content/browser/wallet/mock_wallet_client.h MockWalletClient(net::URLRequestContextGetter* context, net 254 components/autofill/content/browser/wallet/wallet_client.cc WalletClient::WalletClient(net::URLRequestContextGetter* context_getter, net 294 components/autofill/content/browser/wallet/wallet_client.cc std::string escaped_card_verification_number = net::EscapeUrlEncodedData( net 299 components/autofill/content/browser/wallet/wallet_client.cc net::EscapeUrlEncodedData(json_payload, true).c_str(), net 346 components/autofill/content/browser/wallet/wallet_client.cc net::EscapeUrlEncodedData(json_payload, true).c_str(), net 374 components/autofill/content/browser/wallet/wallet_client.cc primary_account_number = net::EscapeUrlEncodedData( net 376 components/autofill/content/browser/wallet/wallet_client.cc card_verification_number = net::EscapeUrlEncodedData( net 435 components/autofill/content/browser/wallet/wallet_client.cc net::EscapeUrlEncodedData(json_payload, true).c_str(), net 441 components/autofill/content/browser/wallet/wallet_client.cc net::EscapeUrlEncodedData(json_payload, true).c_str(), net 521 components/autofill/content/browser/wallet/wallet_client.cc request_.reset(net::URLFetcher::Create( net 522 components/autofill/content/browser/wallet/wallet_client.cc 0, url, net::URLFetcher::POST, this)); net 541 components/autofill/content/browser/wallet/wallet_client.cc const net::URLFetcher* source) { net 551 components/autofill/content/browser/wallet/wallet_client.cc scoped_ptr<net::URLFetcher> scoped_request(request_.Pass()); net 564 components/autofill/content/browser/wallet/wallet_client.cc case net::HTTP_BAD_REQUEST: { net 571 components/autofill/content/browser/wallet/wallet_client.cc case net::HTTP_OK: net 572 components/autofill/content/browser/wallet/wallet_client.cc case net::HTTP_INTERNAL_SERVER_ERROR: { net 579 components/autofill/content/browser/wallet/wallet_client.cc if (response_code == net::HTTP_INTERNAL_SERVER_ERROR) { net 694 components/autofill/content/browser/wallet/wallet_client.cc net::URLFetcher* request) { net 25 components/autofill/content/browser/wallet/wallet_client.h namespace net { net 63 components/autofill/content/browser/wallet/wallet_client.h class WalletClient : public net::URLFetcherDelegate { net 139 components/autofill/content/browser/wallet/wallet_client.h WalletClient(net::URLRequestContextGetter* context_getter, net 218 components/autofill/content/browser/wallet/wallet_client.h net::URLFetcher* request); net 223 components/autofill/content/browser/wallet/wallet_client.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 235 components/autofill/content/browser/wallet/wallet_client.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 249 components/autofill/content/browser/wallet/wallet_client.h scoped_ptr<net::URLFetcher> request_; net 707 components/autofill/content/browser/wallet/wallet_client_unittest.cc : request_context_(new net::TestURLRequestContextGetter( net 722 components/autofill/content/browser/wallet/wallet_client_unittest.cc void VerifyAndFinishRequest(net::HttpStatusCode response_code, net 725 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 730 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HttpRequestHeaders request_headers; net 734 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HttpRequestHeaders::kAuthorization, net 747 components/autofill/content/browser/wallet/wallet_client_unittest.cc void VerifyAndFinishFormEncodedRequest(net::HttpStatusCode response_code, net 751 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 754 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HttpRequestHeaders request_headers; net 758 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HttpRequestHeaders::kAuthorization, net 780 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::UnescapeURLComponent( net 781 components/autofill/content/browser/wallet/wallet_client_unittest.cc value, net::UnescapeRule::URL_SPECIAL_CHARS | net 782 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::UnescapeRule::REPLACE_PLUS_WITH_SPACE))); net 852 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_INTERNAL_SERVER_ERROR, net 860 components/autofill/content/browser/wallet/wallet_client_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 880 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::TestURLFetcherFactory factory_; net 988 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_INTERNAL_SERVER_ERROR, net 1001 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_UNAUTHORIZED, net 1014 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_BAD_REQUEST, net 1031 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1050 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1072 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HTTP_OK, net 1096 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1124 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1138 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1153 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1172 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1187 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1201 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1221 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1253 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1271 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1289 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1309 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1344 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HTTP_OK, net 1365 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1385 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1406 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1441 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HTTP_OK, net 1461 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1482 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1514 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1533 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1552 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1574 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1603 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishFormEncodedRequest(net::HTTP_OK, net 1627 components/autofill/content/browser/wallet/wallet_client_unittest.cc net::HTTP_OK, net 1663 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1684 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1705 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1719 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_OK, net 1739 components/autofill/content/browser/wallet/wallet_client_unittest.cc VerifyAndFinishRequest(net::HTTP_INTERNAL_SERVER_ERROR, net 155 components/autofill/content/browser/wallet/wallet_service_url.cc url = net::AppendQueryParameter(url, "nui", "1"); net 157 components/autofill/content/browser/wallet/wallet_service_url.cc url = net::AppendQueryParameter(url, "sarp", "1"); net 158 components/autofill/content/browser/wallet/wallet_service_url.cc url = net::AppendQueryParameter(url, net 40 components/autofill/content/browser/wallet/wallet_signin_helper.cc const net::CookieList& cookies) { net 63 components/autofill/content/browser/wallet/wallet_signin_helper.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 67 components/autofill/content/browser/wallet/wallet_signin_helper.cc net::URLRequestContext* url_request_context = net 69 components/autofill/content/browser/wallet/wallet_signin_helper.cc net::CookieStore* cookie_store = url_request_context ? net 71 components/autofill/content/browser/wallet/wallet_signin_helper.cc net::CookieMonster* cookie_monster = cookie_store ? net 80 components/autofill/content/browser/wallet/wallet_signin_helper.cc net::CookieOptions cookie_options; net 92 components/autofill/content/browser/wallet/wallet_signin_helper.cc net::URLRequestContextGetter* getter) net 106 components/autofill/content/browser/wallet/wallet_signin_helper.cc url_fetcher_.reset(net::URLFetcher::Create( net 107 components/autofill/content/browser/wallet/wallet_signin_helper.cc 0, url, net::URLFetcher::GET, this)); net 113 components/autofill/content/browser/wallet/wallet_signin_helper.cc scoped_refptr<net::URLRequestContextGetter> request_context(getter_); net 136 components/autofill/content/browser/wallet/wallet_signin_helper.cc const net::URLFetcher* fetcher) { net 138 components/autofill/content/browser/wallet/wallet_signin_helper.cc scoped_ptr<net::URLFetcher> url_fetcher(url_fetcher_.release()); net 15 components/autofill/content/browser/wallet/wallet_signin_helper.h namespace net { net 31 components/autofill/content/browser/wallet/wallet_signin_helper.h class WalletSigninHelper : public net::URLFetcherDelegate { net 37 components/autofill/content/browser/wallet/wallet_signin_helper.h net::URLRequestContextGetter* getter); net 61 components/autofill/content/browser/wallet/wallet_signin_helper.h virtual void OnURLFetchComplete(const net::URLFetcher* fetcher) OVERRIDE; net 70 components/autofill/content/browser/wallet/wallet_signin_helper.h net::URLRequestContextGetter* const getter_; net 73 components/autofill/content/browser/wallet/wallet_signin_helper.h scoped_ptr<net::URLFetcher> url_fetcher_; net 53 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc : request_context_(new net::TestURLRequestContextGetter( net 70 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc const net::ResponseCookies& cookies, net 72 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 77 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 86 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::HTTP_OK, net 87 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::ResponseCookies(), net 93 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::HTTP_OK, net 94 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::ResponseCookies(), net 100 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::HTTP_NOT_FOUND, net 101 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::ResponseCookies(), net 108 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 111 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::TestURLFetcherFactory factory_; net 134 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CookieMonster* cookie_monster = net 137 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CookieOptions httponly_options; net 139 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc scoped_ptr<net::CanonicalCookie> cookie( net 140 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CanonicalCookie::Create(GetPassiveAuthUrl(0).GetWithEmptyPath(), net 145 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CookieList cookie_list; net 156 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CookieMonster* cookie_monster = net 159 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CookieOptions httponly_options; net 161 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc scoped_ptr<net::CanonicalCookie> cookie( net 162 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CanonicalCookie::Create(GetPassiveAuthUrl(0).GetWithEmptyPath(), net 167 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc net::CookieList cookie_list; net 271 components/autofill/content/renderer/autofill_agent.cc !net::IsCertStatusError(ssl_status.cert_status); net 13 components/autofill/core/browser/android/java/src/org/chromium/components/browser/autofill/PersonalAutofillPopulator.java import android.net.Uri; net 174 components/autofill/core/browser/autofill_download.cc net::URLRequestContextGetter* request_context = net 181 components/autofill/core/browser/autofill_download.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 182 components/autofill/core/browser/autofill_download.cc fetcher_id_for_unittest_++, request_url, net::URLFetcher::POST, net 188 components/autofill/core/browser/autofill_download.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 189 components/autofill/core/browser/autofill_download.cc net::LOAD_DO_NOT_SEND_COOKIES); net 254 components/autofill/core/browser/autofill_download.cc const net::URLFetcher* source) { net 255 components/autofill/core/browser/autofill_download.cc std::map<net::URLFetcher *, FormRequestData>::iterator it = net 256 components/autofill/core/browser/autofill_download.cc url_fetchers_.find(const_cast<net::URLFetcher*>(source)); net 23 components/autofill/core/browser/autofill_download.h namespace net { net 34 components/autofill/core/browser/autofill_download.h class AutofillDownloadManager : public net::URLFetcherDelegate { net 121 components/autofill/core/browser/autofill_download.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 146 components/autofill/core/browser/autofill_download.h std::map<net::URLFetcher*, FormRequestData> url_fetchers_; net 43 components/autofill/core/browser/autofill_download_unittest.cc void FakeOnURLFetchComplete(net::TestURLFetcher* fetcher, net 47 components/autofill/core/browser/autofill_download_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 69 components/autofill/core/browser/autofill_download_unittest.cc request_context_(new net::TestURLRequestContextGetter( net 126 components/autofill/core/browser/autofill_download_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 133 components/autofill/core/browser/autofill_download_unittest.cc net::TestURLFetcherFactory factory; net 236 components/autofill/core/browser/autofill_download_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(1); net 344 components/autofill/core/browser/autofill_download_unittest.cc net::TestURLFetcherFactory factory; net 418 components/autofill/core/browser/autofill_download_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 16 components/autofill/core/browser/autofill_driver.h namespace net { net 44 components/autofill/core/browser/autofill_driver.h virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; net 25 components/autofill/core/browser/test_autofill_driver.cc net::URLRequestContextGetter* TestAutofillDriver::GetURLRequestContext() { net 61 components/autofill/core/browser/test_autofill_driver.cc net::URLRequestContextGetter* url_request_context) { net 29 components/autofill/core/browser/test_autofill_driver.h virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; net 52 components/autofill/core/browser/test_autofill_driver.h void SetURLRequestContext(net::URLRequestContextGetter* url_request_context); net 56 components/autofill/core/browser/test_autofill_driver.h net::URLRequestContextGetter* url_request_context_; net 94 components/dom_distiller/content/dom_distiller_viewer_source.cc title = net::EscapeForHTML(article_proto->title()); net 194 components/dom_distiller/content/dom_distiller_viewer_source.cc const net::URLRequest* request) const { net 200 components/dom_distiller/content/dom_distiller_viewer_source.cc const net::URLRequest* request, net 38 components/dom_distiller/content/dom_distiller_viewer_source.h virtual bool ShouldServiceRequest(const net::URLRequest* request) const net 40 components/dom_distiller/content/dom_distiller_viewer_source.h virtual void WillServiceRequest(const net::URLRequest* request, net 14 components/dom_distiller/core/distiller_url_fetcher.cc using net::URLFetcher; net 19 components/dom_distiller/core/distiller_url_fetcher.cc net::URLRequestContextGetter* context_getter) net 30 components/dom_distiller/core/distiller_url_fetcher.cc net::URLRequestContextGetter* context_getter) net 47 components/dom_distiller/core/distiller_url_fetcher.cc net::URLRequestContextGetter* context_getter, net 49 components/dom_distiller/core/distiller_url_fetcher.cc net::URLFetcher* fetcher = net 61 components/dom_distiller/core/distiller_url_fetcher.cc source->GetResponseCode() == net::HTTP_OK) { net 23 components/dom_distiller/core/distiller_url_fetcher.h net::URLRequestContextGetter* context_getter); net 28 components/dom_distiller/core/distiller_url_fetcher.h net::URLRequestContextGetter* context_getter_; net 33 components/dom_distiller/core/distiller_url_fetcher.h class DistillerURLFetcher : public net::URLFetcherDelegate { net 35 components/dom_distiller/core/distiller_url_fetcher.h explicit DistillerURLFetcher(net::URLRequestContextGetter* context_getter); net 46 components/dom_distiller/core/distiller_url_fetcher.h virtual net::URLFetcher* CreateURLFetcher( net 47 components/dom_distiller/core/distiller_url_fetcher.h net::URLRequestContextGetter* context_getter, net 52 components/dom_distiller/core/distiller_url_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 54 components/dom_distiller/core/distiller_url_fetcher.h scoped_ptr<net::URLFetcher> url_fetcher_; net 56 components/dom_distiller/core/distiller_url_fetcher.h net::URLRequestContextGetter* context_getter_; net 33 components/dom_distiller/core/distiller_url_fetcher_unittest.cc factory_.reset(new net::FakeURLFetcherFactory(NULL)); net 37 components/dom_distiller/core/distiller_url_fetcher_unittest.cc net::HTTP_OK, net 38 components/dom_distiller/core/distiller_url_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 42 components/dom_distiller/core/distiller_url_fetcher_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 43 components/dom_distiller/core/distiller_url_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 58 components/dom_distiller/core/distiller_url_fetcher_unittest.cc scoped_ptr<net::FakeURLFetcherFactory> factory_; net 27 components/dom_distiller/core/url_utils.cc return net::AppendOrReplaceQueryParameter(url, kEntryIdKey, entry_id); net 33 components/dom_distiller/core/url_utils.cc return net::AppendOrReplaceQueryParameter(url, kUrlKey, view_url.spec()); net 42 components/dom_distiller/core/url_utils.cc net::GetValueForKeyInQuery(dummy_url, key, &value); net 47 components/dom_distiller/core/url_utils_android.cc net::GetValueForKeyInQuery(url, kUrlKey, &original_url_str); net 164 components/dom_distiller/standalone/content_extractor.cc scoped_refptr<net::RuleBasedHostResolverProc> resolver = net 165 components/dom_distiller/standalone/content_extractor.cc new net::RuleBasedHostResolverProc(host_resolver()); net 168 components/dom_distiller/standalone/content_extractor.cc new net::ScopedDefaultHostResolverProc(resolver.get())); net 185 components/dom_distiller/standalone/content_extractor.cc scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; net 114 components/dom_distiller/webui/dom_distiller_handler.cc entry->SetString("title", net::EscapeForHTML(title)); net 21 components/domain_reliability/beacon.cc if (chrome_error != net::OK) { net 24 components/domain_reliability/beacon.cc net::ErrorToString(chrome_error)); net 29 components/domain_reliability/context_unittest.cc beacon.chrome_error = net::OK; net 23 components/domain_reliability/monitor.cc class TrivialURLRequestContextGetter : public net::URLRequestContextGetter { net 26 components/domain_reliability/monitor.cc net::URLRequestContext* context, net 32 components/domain_reliability/monitor.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 44 components/domain_reliability/monitor.cc net::URLRequestContext* context_; net 53 components/domain_reliability/monitor.cc net::URLRequestContext* url_request_context) net 55 components/domain_reliability/monitor.cc url_request_context_getter_(scoped_refptr<net::URLRequestContextGetter>( net 69 components/domain_reliability/monitor.cc net::URLRequestContext* url_request_context, net 72 components/domain_reliability/monitor.cc url_request_context_getter_(scoped_refptr<net::URLRequestContextGetter>( net 91 components/domain_reliability/monitor.cc void DomainReliabilityMonitor::OnBeforeRedirect(net::URLRequest* request) { net 98 components/domain_reliability/monitor.cc void DomainReliabilityMonitor::OnCompleted(net::URLRequest* request, net 123 components/domain_reliability/monitor.cc const net::URLRequest& request) net 131 components/domain_reliability/monitor.cc if (status.status() != net::URLRequestStatus::CANCELED) net 140 components/domain_reliability/monitor.cc request.status.status() == net::URLRequestStatus::CANCELED) { net 24 components/domain_reliability/monitor.h namespace net { net 40 components/domain_reliability/monitor.h net::URLRequestContext* url_request_context); net 42 components/domain_reliability/monitor.h net::URLRequestContext* url_request_context, net 48 components/domain_reliability/monitor.h void OnBeforeRedirect(net::URLRequest* request); net 49 components/domain_reliability/monitor.h void OnCompleted(net::URLRequest* request, bool started); net 61 components/domain_reliability/monitor.h RequestInfo(const net::URLRequest& request); net 65 components/domain_reliability/monitor.h net::URLRequestStatus status; net 67 components/domain_reliability/monitor.h net::HostPortPair socket_address; net 68 components/domain_reliability/monitor.h net::LoadTimingInfo load_timing_info; net 75 components/domain_reliability/monitor.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 33 components/domain_reliability/monitor_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 71 components/domain_reliability/monitor_unittest.cc request.status = net::URLRequestStatus(); net 89 components/domain_reliability/monitor_unittest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 14 components/domain_reliability/test_util.h namespace net { net 19 components/domain_reliability/uploader.cc : public DomainReliabilityUploader, net::URLFetcherDelegate { net 22 components/domain_reliability/uploader.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter) net 39 components/domain_reliability/uploader.cc net::URLFetcher* fetcher = net 40 components/domain_reliability/uploader.cc net::URLFetcher::Create(0, upload_url, net::URLFetcher::POST, this); net 42 components/domain_reliability/uploader.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 43 components/domain_reliability/uploader.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 53 components/domain_reliability/uploader.cc const net::URLFetcher* fetcher) OVERRIDE { net 70 components/domain_reliability/uploader.cc typedef std::map<const net::URLFetcher*, UploadCallback> UploadCallbackMap; net 72 components/domain_reliability/uploader.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 84 components/domain_reliability/uploader.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter) { net 15 components/domain_reliability/uploader.h namespace net { net 30 components/domain_reliability/uploader.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter); net 27 components/domain_reliability/uploader_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 45 components/domain_reliability/uploader_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 46 components/domain_reliability/uploader_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 54 components/domain_reliability/uploader_unittest.cc net::TestURLFetcher* fetcher; net 61 components/domain_reliability/uploader_unittest.cc net::TestURLFetcher* fetcher; net 73 components/domain_reliability/uploader_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 84 components/domain_reliability/uploader_unittest.cc net::TestURLFetcher* fetcher; net 96 components/domain_reliability/uploader_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 48 components/domain_reliability/util.cc { net::OK, "ok" }, net 49 components/domain_reliability/util.cc { net::ERR_TIMED_OUT, "tcp.connection.timed_out" }, net 50 components/domain_reliability/util.cc { net::ERR_CONNECTION_CLOSED, "tcp.connection.closed" }, net 51 components/domain_reliability/util.cc { net::ERR_CONNECTION_RESET, "tcp.connection.reset" }, net 52 components/domain_reliability/util.cc { net::ERR_CONNECTION_REFUSED, "tcp.connection.refused" }, net 53 components/domain_reliability/util.cc { net::ERR_CONNECTION_ABORTED, "tcp.connection.aborted" }, net 54 components/domain_reliability/util.cc { net::ERR_CONNECTION_FAILED, "tcp.connection.failed" }, net 55 components/domain_reliability/util.cc { net::ERR_NAME_NOT_RESOLVED, "dns" }, net 56 components/domain_reliability/util.cc { net::ERR_SSL_PROTOCOL_ERROR, "ssl.protocol.error" }, net 57 components/domain_reliability/util.cc { net::ERR_ADDRESS_INVALID, "tcp.connection.address_invalid" }, net 58 components/domain_reliability/util.cc { net::ERR_ADDRESS_UNREACHABLE, "tcp.connection.address_unreachable" }, net 59 components/domain_reliability/util.cc { net::ERR_CONNECTION_TIMED_OUT, "tcp.connection.timed_out" }, net 60 components/domain_reliability/util.cc { net::ERR_NAME_RESOLUTION_FAILED, "dns" }, net 61 components/domain_reliability/util.cc { net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, net 63 components/domain_reliability/util.cc { net::ERR_CERT_COMMON_NAME_INVALID, "ssl.cert.name_invalid" }, net 64 components/domain_reliability/util.cc { net::ERR_CERT_DATE_INVALID, "ssl.cert.date_invalid" }, net 65 components/domain_reliability/util.cc { net::ERR_CERT_AUTHORITY_INVALID, "ssl.cert.authority_invalid" }, net 66 components/domain_reliability/util.cc { net::ERR_CERT_REVOKED, "ssl.cert.revoked" }, net 67 components/domain_reliability/util.cc { net::ERR_CERT_INVALID, "ssl.cert.invalid" }, net 68 components/domain_reliability/util.cc { net::ERR_EMPTY_RESPONSE, "http.empty_response" }, net 69 components/domain_reliability/util.cc { net::ERR_SPDY_PING_FAILED, "spdy.ping_failed" }, net 70 components/domain_reliability/util.cc { net::ERR_SPDY_PROTOCOL_ERROR, "spdy.protocol" }, net 71 components/domain_reliability/util.cc { net::ERR_QUIC_PROTOCOL_ERROR, "quic.protocol" }, net 72 components/domain_reliability/util.cc { net::ERR_DNS_MALFORMED_RESPONSE, "dns.protocol" }, net 73 components/domain_reliability/util.cc { net::ERR_DNS_SERVER_FAILED, "dns.server" }, net 74 components/domain_reliability/util.cc { net::ERR_DNS_TIMED_OUT, "dns.timed_out" }, net 84 components/domain_reliability/util.cc if (net_error == net::OK) { net 24 components/nacl/browser/nacl_host_message_filter.cc net::URLRequestContextGetter* request_context) net 69 components/nacl/browser/nacl_host_message_filter.cc net::HostResolver* NaClHostMessageFilter::GetHostResolver() { net 20 components/nacl/browser/nacl_host_message_filter.h namespace net { net 34 components/nacl/browser/nacl_host_message_filter.h net::URLRequestContextGetter* request_context); net 43 components/nacl/browser/nacl_host_message_filter.h net::HostResolver* GetHostResolver(); net 78 components/nacl/browser/nacl_host_message_filter.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 295 components/nacl/browser/nacl_process_host.cc process_->SetName(net::FormatUrl(manifest_url_, std::string())); net 748 components/nacl/browser/nacl_process_host.cc net::SocketDescriptor NaClProcessHost::GetDebugStubSocketHandle() { net 750 components/nacl/browser/nacl_process_host.cc net::SocketDescriptor s = net::kInvalidSocket; net 756 components/nacl/browser/nacl_process_host.cc s = net::TCPListenSocket::CreateAndBind("127.0.0.1", port); net 757 components/nacl/browser/nacl_process_host.cc if (s == net::kInvalidSocket) { net 758 components/nacl/browser/nacl_process_host.cc s = net::TCPListenSocket::CreateAndBindAnyPort("127.0.0.1", &port); net 760 components/nacl/browser/nacl_process_host.cc if (s != net::kInvalidSocket) { net 767 components/nacl/browser/nacl_process_host.cc if (s == net::kInvalidSocket) { net 769 components/nacl/browser/nacl_process_host.cc return net::kInvalidSocket; net 777 components/nacl/browser/nacl_process_host.cc return net::kInvalidSocket; net 838 components/nacl/browser/nacl_process_host.cc net::SocketDescriptor server_bound_socket = GetDebugStubSocketHandle(); net 839 components/nacl/browser/nacl_process_host.cc if (server_bound_socket != net::kInvalidSocket) { net 113 components/nacl/browser/nacl_process_host.h net::SocketDescriptor GetDebugStubSocketHandle(); net 96 components/nacl/browser/pnacl_host.cc if (net_error != net::OK) { net 118 components/nacl/browser/pnacl_host.cc if (rv != net::ERR_IO_PENDING) net 138 components/nacl/browser/pnacl_host.cc if (rv != net::ERR_IO_PENDING) net 260 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer) { net 271 components/nacl/browser/pnacl_host.cc pt->got_cache_hit = (net_error == net::OK); net 369 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> PnaclHost::CopyFileToBuffer( net 372 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer; net 379 components/nacl/browser/pnacl_host.cc buffer = new net::DrainableIOBuffer( net 380 components/nacl/browser/pnacl_host.cc new net::IOBuffer(static_cast<int>(info.size)), info.size); net 446 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer) { net 512 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer) { net 603 components/nacl/browser/pnacl_host.cc if (rv != net::ERR_IO_PENDING) net 19 components/nacl/browser/pnacl_host.h namespace net { net 123 components/nacl/browser/pnacl_host.h scoped_refptr<net::DrainableIOBuffer> nexe_read_buffer; net 145 components/nacl/browser/pnacl_host.h scoped_refptr<net::DrainableIOBuffer> buffer); net 151 components/nacl/browser/pnacl_host.h static scoped_refptr<net::DrainableIOBuffer> CopyFileToBuffer( net 154 components/nacl/browser/pnacl_host.h scoped_refptr<net::DrainableIOBuffer>); net 160 components/nacl/browser/pnacl_host.h scoped_refptr<net::DrainableIOBuffer> buffer); net 420 components/nacl/browser/pnacl_host_unittest.cc net::TestCompletionCallback cb; net 427 components/nacl/browser/pnacl_host_unittest.cc EXPECT_EQ(0, cb.GetResult(net::ERR_IO_PENDING)); net 51 components/nacl/browser/pnacl_translation_cache.cc net::DrainableIOBuffer* write_nexe, net 106 components/nacl/browser/pnacl_translation_cache.cc scoped_refptr<net::DrainableIOBuffer> io_buf_; net 126 components/nacl/browser/pnacl_translation_cache.cc net::DrainableIOBuffer* write_nexe, net 153 components/nacl/browser/pnacl_translation_cache.cc net::ERR_ABORTED, net 154 components/nacl/browser/pnacl_translation_cache.cc scoped_refptr<net::DrainableIOBuffer>())); net 159 components/nacl/browser/pnacl_translation_cache.cc base::Bind(write_callback_, net::ERR_ABORTED)); net 177 components/nacl/browser/pnacl_translation_cache.cc if (rv != net::ERR_IO_PENDING) net 186 components/nacl/browser/pnacl_translation_cache.cc if (rv != net::ERR_IO_PENDING) net 199 components/nacl/browser/pnacl_translation_cache.cc if (rv != net::ERR_IO_PENDING) net 210 components/nacl/browser/pnacl_translation_cache.cc if (rv != net::ERR_IO_PENDING) net 217 components/nacl/browser/pnacl_translation_cache.cc LOG(ERROR) << "Failed to close entry: " << net::ErrorToString(rv); net 254 components/nacl/browser/pnacl_translation_cache.cc if (rv == net::OK) { net 258 components/nacl/browser/pnacl_translation_cache.cc io_buf_ = new net::DrainableIOBuffer( net 259 components/nacl/browser/pnacl_translation_cache.cc new net::IOBuffer(bytes_to_transfer), bytes_to_transfer); net 265 components/nacl/browser/pnacl_translation_cache.cc if (rv != net::ERR_FAILED) { net 267 components/nacl/browser/pnacl_translation_cache.cc LOG(ERROR) << "OpenEntry failed: " << net::ErrorToString(rv); net 281 components/nacl/browser/pnacl_translation_cache.cc if (rv == net::OK) { net 285 components/nacl/browser/pnacl_translation_cache.cc LOG(ERROR) << "Failed to Create Entry: " << net::ErrorToString(rv); net 295 components/nacl/browser/pnacl_translation_cache.cc << net::ErrorToString(rv); net 333 components/nacl/browser/pnacl_translation_cache.cc int PnaclTranslationCache::Init(net::CacheType cache_type, net 339 components/nacl/browser/pnacl_translation_cache.cc net::CACHE_BACKEND_DEFAULT, net 347 components/nacl/browser/pnacl_translation_cache.cc if (rv == net::ERR_IO_PENDING) { net 355 components/nacl/browser/pnacl_translation_cache.cc LOG(ERROR) << "Backend init failed:" << net::ErrorToString(rv); net 368 components/nacl/browser/pnacl_translation_cache.cc net::DrainableIOBuffer* nexe_data, net 387 components/nacl/browser/pnacl_translation_cache.cc return Init(net::PNACL_CACHE, cache_directory, 0 /* auto size */, callback); net 392 components/nacl/browser/pnacl_translation_cache.cc return Init(net::MEMORY_CACHE, base::FilePath(), kMaxMemCacheSize, callback); net 28 components/nacl/browser/pnacl_translation_cache.h namespace net { net 34 components/nacl/browser/pnacl_translation_cache.h typedef base::Callback<void(int, scoped_refptr<net::DrainableIOBuffer>)> net 61 components/nacl/browser/pnacl_translation_cache.h net::DrainableIOBuffer* nexe_data, net 89 components/nacl/browser/pnacl_translation_cache.h int Init(net::CacheType, net 51 components/nacl/browser/pnacl_translation_cache_unittest.cc net::TestCompletionCallback init_cb; net 56 components/nacl/browser/pnacl_translation_cache_unittest.cc int rv = cache_->Init(in_mem ? net::MEMORY_CACHE : net::PNACL_CACHE, net 61 components/nacl/browser/pnacl_translation_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 62 components/nacl/browser/pnacl_translation_cache_unittest.cc ASSERT_EQ(net::OK, init_cb.GetResult(rv)); net 68 components/nacl/browser/pnacl_translation_cache_unittest.cc net::TestCompletionCallback store_cb; net 69 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_refptr<net::DrainableIOBuffer> nexe_buf( net 70 components/nacl/browser/pnacl_translation_cache_unittest.cc new net::DrainableIOBuffer(new net::StringIOBuffer(nexe), nexe.size())); net 75 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(net::OK, store_cb.GetResult(net::ERR_IO_PENDING)); net 89 components/nacl/browser/pnacl_translation_cache_unittest.cc net::DrainableIOBuffer* GetResult(int* result) { net 98 components/nacl/browser/pnacl_translation_cache_unittest.cc void SetResult(int rv, scoped_refptr<net::DrainableIOBuffer> buf) { net 105 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_refptr<net::DrainableIOBuffer> buf_; net 113 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_refptr<net::DrainableIOBuffer> buf(load_cb.GetResult(&rv)); net 114 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(net::OK, rv); net 225 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_refptr<net::DrainableIOBuffer> large_buffer(new net::DrainableIOBuffer( net 226 components/nacl/browser/pnacl_translation_cache_unittest.cc new net::StringIOBuffer(std::string(kMaxMemCacheSize + 1, 'a')), net 228 components/nacl/browser/pnacl_translation_cache_unittest.cc net::TestCompletionCallback store_cb; net 230 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(net::ERR_FAILED, store_cb.GetResult(net::ERR_IO_PENDING)); net 282 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_refptr<net::DrainableIOBuffer> buf(load_cb.GetResult(&rv)); net 283 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(net::ERR_FAILED, rv); net 65 components/navigation_interception/intercept_navigation_delegate.cc net::URLRequest* request) { net 20 components/navigation_interception/intercept_navigation_delegate.h namespace net { net 57 components/navigation_interception/intercept_navigation_delegate.h net::URLRequest* request); net 64 components/navigation_interception/intercept_navigation_resource_throttle.cc net::URLRequest* request, net 92 components/navigation_interception/intercept_navigation_resource_throttle.cc net::HttpResponseHeaders* headers = request_->response_headers(); net 95 components/navigation_interception/intercept_navigation_resource_throttle.cc return net::URLRequest::ComputeMethodForRedirect( net 20 components/navigation_interception/intercept_navigation_resource_throttle.h namespace net { net 38 components/navigation_interception/intercept_navigation_resource_throttle.h net::URLRequest* request, net 54 components/navigation_interception/intercept_navigation_resource_throttle.h net::URLRequest* request_; net 124 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc net::DEFAULT_PRIORITY, net 147 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc net::HttpResponseInfo& response_info = net 148 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc const_cast<net::HttpResponseInfo&>(request_.response_info()); net 149 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc response_info.headers = new net::HttpResponseHeaders( net 175 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc net::TestURLRequestContext test_url_request_context_; net 177 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc net::URLRequest request_; net 61 components/password_manager/content/browser/content_password_manager_driver.cc return net::IsCertStatusError(entry->GetSSL().cert_status); net 70 components/password_manager/core/browser/password_syncable_service.cc return net::EscapePath(origin_url) + "|" + net 71 components/password_manager/core/browser/password_syncable_service.cc net::EscapePath(username_element) + "|" + net 72 components/password_manager/core/browser/password_syncable_service.cc net::EscapePath(username_value) + "|" + net 73 components/password_manager/core/browser/password_syncable_service.cc net::EscapePath(password_element) + "|" + net 74 components/password_manager/core/browser/password_syncable_service.cc net::EscapePath(signon_realm); net 56 components/password_manager/core/browser/psl_matching_helper.cc return net::registry_controlled_domains::GetDomainAndRegistry( net 58 components/password_manager/core/browser/psl_matching_helper.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 87 components/policy/core/browser/browser_policy_connector.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 22 components/policy/core/browser/browser_policy_connector.h namespace net { net 46 components/policy/core/browser/browser_policy_connector.h scoped_refptr<net::URLRequestContextGetter> request_context) = 0; net 110 components/policy/core/browser/browser_policy_connector.h scoped_refptr<net::URLRequestContextGetter> request_context, net 34 components/policy/core/browser/browser_policy_connector_ios.h scoped_refptr<net::URLRequestContextGetter> request_context) OVERRIDE; net 140 components/policy/core/browser/url_blacklist_manager.cc if (!net::FileURLToFilePath(GURL(filter), &file_path)) net 362 components/policy/core/browser/url_blacklist_manager.cc const net::URLRequest& request) const { net 366 components/policy/core/browser/url_blacklist_manager.cc int filter_flags = net::LOAD_MAIN_FRAME | net::LOAD_SUB_FRAME; net 30 components/policy/core/browser/url_blacklist_manager.h namespace net { net 163 components/policy/core/browser/url_blacklist_manager.h bool IsRequestBlocked(const net::URLRequest& request) const; net 17 components/policy/core/common/cloud/cloud_external_data_manager.h namespace net { net 59 components/policy/core/common/cloud/cloud_external_data_manager.h scoped_refptr<net::URLRequestContextGetter> request_context) = 0; net 57 components/policy/core/common/cloud/cloud_policy_client.cc scoped_refptr<net::URLRequestContextGetter> request_context) net 310 components/policy/core/common/cloud/cloud_policy_client.cc scoped_refptr<net::URLRequestContextGetter> net 22 components/policy/core/common/cloud/cloud_policy_client.h namespace net { net 100 components/policy/core/common/cloud/cloud_policy_client.h scoped_refptr<net::URLRequestContextGetter> request_context); net 219 components/policy/core/common/cloud/cloud_policy_client.h scoped_refptr<net::URLRequestContextGetter> GetRequestContext(); net 301 components/policy/core/common/cloud/cloud_policy_client.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 111 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc net::URLRequestContextGetter* context, net 129 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc net::URLRequestContextGetter* context, net 21 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h namespace net { net 100 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h net::URLRequestContextGetter* context_; net 120 components/policy/core/common/cloud/cloud_policy_client_unittest.cc request_context_ = new net::TestURLRequestContextGetter( net 208 components/policy/core/common/cloud/cloud_policy_client_unittest.cc net::URLRequestContextGetter* request_context_; net 106 components/policy/core/common/cloud/cloud_policy_manager.cc const scoped_refptr<net::URLRequestContextGetter>& request_context) { net 27 components/policy/core/common/cloud/cloud_policy_manager.h namespace net { net 80 components/policy/core/common/cloud/cloud_policy_manager.h const scoped_refptr<net::URLRequestContextGetter>& request_context); net 86 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 95 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 29 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h public net::NetworkChangeNotifier::IPAddressObserver { net 36 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc network_change_notifier_(net::NetworkChangeNotifier::CreateMock()) {} net 64 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); net 142 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 217 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 26 components/policy/core/common/cloud/component_cloud_policy_service.h namespace net { net 82 components/policy/core/common/cloud/component_cloud_policy_service.h scoped_refptr<net::URLRequestContextGetter> request_context, net 130 components/policy/core/common/cloud/component_cloud_policy_service.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 18 components/policy/core/common/cloud/component_cloud_policy_service_stub.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 87 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc class TestURLRequestContextGetter : public net::URLRequestContextGetter { net 92 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 232 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 373 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 463 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 79 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 96 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc scoped_refptr<net::URLRequestContextGetter>())); net 134 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 168 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 193 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 233 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 258 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 283 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 53 components/policy/core/common/cloud/device_management_service.cc bool IsProxyError(const net::URLRequestStatus status) { net 55 components/policy/core/common/cloud/device_management_service.cc case net::ERR_PROXY_CONNECTION_FAILED: net 56 components/policy/core/common/cloud/device_management_service.cc case net::ERR_TUNNEL_CONNECTION_FAILED: net 57 components/policy/core/common/cloud/device_management_service.cc case net::ERR_PROXY_AUTH_UNSUPPORTED: net 58 components/policy/core/common/cloud/device_management_service.cc case net::ERR_HTTPS_PROXY_TUNNEL_RESPONSE: net 59 components/policy/core/common/cloud/device_management_service.cc case net::ERR_MANDATORY_PROXY_CONFIGURATION_FAILED: net 60 components/policy/core/common/cloud/device_management_service.cc case net::ERR_PROXY_CERTIFICATE_INVALID: net 61 components/policy/core/common/cloud/device_management_service.cc case net::ERR_SOCKS_CONNECTION_FAILED: net 62 components/policy/core/common/cloud/device_management_service.cc case net::ERR_SOCKS_CONNECTION_HOST_UNREACHABLE: net 68 components/policy/core/common/cloud/device_management_service.cc bool IsProtobufMimeType(const net::URLFetcher* fetcher) { net 73 components/policy/core/common/cloud/device_management_service.cc bool FailedWithProxy(const net::URLFetcher* fetcher) { net 74 components/policy/core/common/cloud/device_management_service.cc if ((fetcher->GetLoadFlags() & net::LOAD_BYPASS_PROXY) != 0) { net 142 components/policy/core/common/cloud/device_management_service.cc net::URLRequestContextGetter* request_context); net 146 components/policy/core/common/cloud/device_management_service.cc void HandleResponse(const net::URLRequestStatus& status, net 148 components/policy/core/common/cloud/device_management_service.cc const net::ResponseCookies& cookies, net 155 components/policy/core/common/cloud/device_management_service.cc void ConfigureRequest(net::URLFetcher* fetcher); net 160 components/policy/core/common/cloud/device_management_service.cc bool ShouldRetry(const net::URLFetcher* fetcher); net 183 components/policy/core/common/cloud/device_management_service.cc net::URLRequestContextGetter* request_context_; net 193 components/policy/core/common/cloud/device_management_service.cc net::URLRequestContextGetter* request_context) net 209 components/policy/core/common/cloud/device_management_service.cc const net::URLRequestStatus& status, net 211 components/policy/core/common/cloud/device_management_service.cc const net::ResponseCookies& cookies, net 213 components/policy/core/common/cloud/device_management_service.cc if (status.status() != net::URLRequestStatus::SUCCESS) { net 231 components/policy/core/common/cloud/device_management_service.cc callback_.Run(DM_STATUS_SUCCESS, net::OK, response); net 292 components/policy/core/common/cloud/device_management_service.cc result += net::EscapeQueryParamValue(entry->first, true); net 294 components/policy/core/common/cloud/device_management_service.cc result += net::EscapeQueryParamValue(entry->second, true); net 300 components/policy/core/common/cloud/device_management_service.cc net::URLFetcher* fetcher) { net 302 components/policy/core/common/cloud/device_management_service.cc fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 303 components/policy/core/common/cloud/device_management_service.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 304 components/policy/core/common/cloud/device_management_service.cc net::LOAD_DISABLE_CACHE | net 305 components/policy/core/common/cloud/device_management_service.cc (bypass_proxy_ ? net::LOAD_BYPASS_PROXY : 0)); net 318 components/policy/core/common/cloud/device_management_service.cc const net::URLFetcher* fetcher) { net 330 components/policy/core/common/cloud/device_management_service.cc if (fetcher->GetStatus().error() == net::ERR_NETWORK_CHANGED && net 348 components/policy/core/common/cloud/device_management_service.cc callback_.Run(code, net::OK, dummy_response); net 416 components/policy/core/common/cloud/device_management_service.cc net::URLRequestContextGetter* request_context) { net 466 components/policy/core/common/cloud/device_management_service.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 467 components/policy/core/common/cloud/device_management_service.cc kURLFetcherID, job->GetURL(server_url), net::URLFetcher::POST, this); net 478 components/policy/core/common/cloud/device_management_service.cc const net::URLFetcher* source) { net 22 components/policy/core/common/cloud/device_management_service.h namespace net { net 103 components/policy/core/common/cloud/device_management_service.h class POLICY_EXPORT DeviceManagementService : public net::URLFetcherDelegate { net 135 components/policy/core/common/cloud/device_management_service.h net::URLRequestContextGetter* request_context); net 147 components/policy/core/common/cloud/device_management_service.h typedef std::map<const net::URLFetcher*, net 154 components/policy/core/common/cloud/device_management_service.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 54 components/policy/core/common/cloud/device_management_service_unittest.cc new net::TestURLRequestContextGetter(loop_.message_loop_proxy()); net 75 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* GetFetcher() { net 156 components/policy/core/common/cloud/device_management_service_unittest.cc void SendResponse(net::TestURLFetcher* fetcher, net 157 components/policy/core/common/cloud/device_management_service_unittest.cc const net::URLRequestStatus request_status, net 173 components/policy/core/common/cloud/device_management_service_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 174 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcherFactory factory_; net 180 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::Status request_status, net 189 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus request_status_; net 211 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 223 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 234 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 245 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 256 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 269 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::FAILED, net 274 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 279 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 284 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 289 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 294 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 299 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 304 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 309 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 314 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 319 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 324 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus::SUCCESS, net 338 components/policy/core/common/cloud/device_management_service_unittest.cc std::string unescaped_name(net::UnescapeURLComponent( net 340 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::NORMAL | net 341 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::SPACES | net 342 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::URL_SPECIAL_CHARS | net 343 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::CONTROL_CHARS | net 344 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::REPLACE_PLUS_WITH_SPACE)); net 349 components/policy/core/common/cloud/device_management_service_unittest.cc std::string unescaped_value(net::UnescapeURLComponent( net 351 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::NORMAL | net 352 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::SPACES | net 353 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::URL_SPECIAL_CHARS | net 354 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::CONTROL_CHARS | net 355 components/policy/core/common/cloud/device_management_service_unittest.cc net::UnescapeRule::REPLACE_PLUS_WITH_SPACE)); net 406 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 420 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 433 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 447 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 458 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 480 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 488 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 500 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 511 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 522 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 542 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 554 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 562 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 577 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 585 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 598 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 600 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_TRUE((fetcher->GetLoadFlags() & net::LOAD_BYPASS_PROXY) == 0); net 605 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::FAILED, net 606 components/policy/core/common/cloud/device_management_service_unittest.cc net::ERR_PROXY_CONNECTION_FAILED); net 612 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_TRUE(fetcher->GetLoadFlags() & net::LOAD_BYPASS_PROXY); net 623 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 625 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_TRUE((fetcher->GetLoadFlags() & net::LOAD_BYPASS_PROXY) == 0); net 629 components/policy/core/common/cloud/device_management_service_unittest.cc scoped_refptr<net::HttpResponseHeaders> headers; net 630 components/policy/core/common/cloud/device_management_service_unittest.cc headers = new net::HttpResponseHeaders( net 636 components/policy/core/common/cloud/device_management_service_unittest.cc net::URLRequestStatus status; net 642 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_TRUE((fetcher->GetLoadFlags() & net::LOAD_BYPASS_PROXY) != 0); net 653 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 659 components/policy/core/common/cloud/device_management_service_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 660 components/policy/core/common/cloud/device_management_service_unittest.cc net::ERR_NETWORK_CHANGED)); net 671 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, fetcher->GetStatus().status()); net 680 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 684 components/policy/core/common/cloud/device_management_service_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 685 components/policy/core/common/cloud/device_management_service_unittest.cc net::ERR_NETWORK_CHANGED)); net 693 components/policy/core/common/cloud/device_management_service_unittest.cc net::TestURLFetcher* fetcher = GetFetcher(); net 697 components/policy/core/common/cloud/device_management_service_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 698 components/policy/core/common/cloud/device_management_service_unittest.cc net::ERR_NETWORK_CHANGED)); net 151 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<net::URLRequestContextGetter> request_context) net 173 components/policy/core/common/cloud/external_policy_data_fetcher.cc net::URLFetcher* fetcher = net::URLFetcher::Create( net 174 components/policy/core/common/cloud/external_policy_data_fetcher.cc ++last_fetch_id_, job->url, net::URLFetcher::GET, this); net 176 components/policy/core/common/cloud/external_policy_data_fetcher.cc fetcher->SetLoadFlags(net::LOAD_BYPASS_CACHE | net::LOAD_DISABLE_CACHE | net 177 components/policy/core/common/cloud/external_policy_data_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES | net::LOAD_IS_DOWNLOAD | net 178 components/policy/core/common/cloud/external_policy_data_fetcher.cc net::LOAD_DO_NOT_SEND_COOKIES | net 179 components/policy/core/common/cloud/external_policy_data_fetcher.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 201 components/policy/core/common/cloud/external_policy_data_fetcher.cc const net::URLFetcher* source) { net 203 components/policy/core/common/cloud/external_policy_data_fetcher.cc JobMap::iterator it = job_map_.find(const_cast<net::URLFetcher*>(source)); net 212 components/policy/core/common/cloud/external_policy_data_fetcher.cc const net::URLRequestStatus status = it->first->GetStatus(); net 213 components/policy/core/common/cloud/external_policy_data_fetcher.cc if (status.error() == net::ERR_CONNECTION_RESET || net 214 components/policy/core/common/cloud/external_policy_data_fetcher.cc status.error() == net::ERR_TEMPORARILY_THROTTLED) { net 217 components/policy/core/common/cloud/external_policy_data_fetcher.cc } else if (status.status() != net::URLRequestStatus::SUCCESS) { net 246 components/policy/core/common/cloud/external_policy_data_fetcher.cc const net::URLFetcher* source, net 250 components/policy/core/common/cloud/external_policy_data_fetcher.cc JobMap::iterator it = job_map_.find(const_cast<net::URLFetcher*>(source)); net 26 components/policy/core/common/cloud/external_policy_data_fetcher.h namespace net { net 127 components/policy/core/common/cloud/external_policy_data_fetcher.h : public net::URLFetcherDelegate { net 141 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<net::URLRequestContextGetter> request_context); net 159 components/policy/core/common/cloud/external_policy_data_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 160 components/policy/core/common/cloud/external_policy_data_fetcher.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 166 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 173 components/policy/core/common/cloud/external_policy_data_fetcher.h typedef std::map<net::URLFetcher*, ExternalPolicyDataFetcher::Job*> JobMap; net 51 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 80 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc scoped_refptr<net::URLRequestContextGetter>())); net 125 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 151 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 177 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 182 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 183 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::ERR_CONNECTION_RESET)); net 203 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 208 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 209 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::ERR_NETWORK_CHANGED)); net 228 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 252 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 276 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 300 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 321 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 348 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(1); net 401 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 454 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(1); net 27 components/policy/core/common/cloud/external_policy_data_updater.cc const net::BackoffEntry::Policy kRetrySoonPolicy = { net 53 components/policy/core/common/cloud/external_policy_data_updater.cc const net::BackoffEntry::Policy kRetryLaterPolicy = { net 81 components/policy/core/common/cloud/external_policy_data_updater.cc const net::BackoffEntry::Policy kRetryMuchLaterPolicy = { net 130 components/policy/core/common/cloud/external_policy_data_updater.cc void OnFailed(net::BackoffEntry* backoff_entry); net 153 components/policy/core/common/cloud/external_policy_data_updater.cc net::BackoffEntry retry_soon_entry_; net 154 components/policy/core/common/cloud/external_policy_data_updater.cc net::BackoffEntry retry_later_entry_; net 155 components/policy/core/common/cloud/external_policy_data_updater.cc net::BackoffEntry retry_much_later_entry_; net 274 components/policy/core/common/cloud/external_policy_data_updater.cc void ExternalPolicyDataUpdater::FetchJob::OnFailed(net::BackoffEntry* entry) { net 70 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcherFactory fetcher_factory_; net 87 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc scoped_refptr<net::URLRequestContextGetter>())); net 128 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 171 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 207 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 212 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 213 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::ERR_NETWORK_CHANGED)); net 242 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 276 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(fetcher_id); net 300 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(fetcher_id); net 334 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(fetcher_id); net 391 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 423 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 485 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 516 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 556 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 585 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(1); net 680 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 775 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(1); net 854 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(1); net 935 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); net 17 components/policy/core/common/cloud/mock_cloud_external_data_manager.h namespace net { net 31 components/policy/core/common/cloud/mock_cloud_external_data_manager.h MOCK_METHOD1(Connect, void(scoped_refptr<net::URLRequestContextGetter>)); net 75 components/policy/core/common/cloud/mock_device_management_service.cc callback_.Run(status_, net::OK, response_); net 103 components/policy/core/common/cloud/mock_device_management_service.cc callback_.Run(status, net::OK, response); net 50 components/policy/core/common/cloud/mock_device_management_service.h DeviceManagementRequestJob::JobType, net::URLRequestContextGetter*); net 34 components/policy/core/common/cloud/policy_header_io_helper.cc void PolicyHeaderIOHelper::AddPolicyHeaders(net::URLRequest* request) const { net 14 components/policy/core/common/cloud/policy_header_io_helper.h namespace net { net 36 components/policy/core/common/cloud/policy_header_io_helper.h void AddPolicyHeaders(net::URLRequest* request) const; net 36 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc void ValidateHeader(const net::HttpRequestHeaders& headers, net 45 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc net::TestURLRequestContext context_; net 52 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc net::TestURLRequest request( net 53 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, &context_); net 59 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc net::TestURLRequest request( net 60 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc GURL("http://non-matching.com"), net::DEFAULT_PRIORITY, NULL, &context_); net 69 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc net::TestURLRequest request( net 70 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, &context_); net 78 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc net::TestURLRequest request( net 79 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, &context_); net 55 components/policy/core/common/cloud/policy_header_service_unittest.cc void ValidateHeader(const net::HttpRequestHeaders& headers, net 108 components/policy/core/common/cloud/policy_header_service_unittest.cc net::TestURLRequestContext context; net 109 components/policy/core/common/cloud/policy_header_service_unittest.cc net::TestURLRequest request( net 110 components/policy/core/common/cloud/policy_header_service_unittest.cc GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, &context); net 119 components/policy/core/common/cloud/policy_header_service_unittest.cc net::TestURLRequest request2( net 120 components/policy/core/common/cloud/policy_header_service_unittest.cc GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, &context); net 16 components/policy/core/common/cloud/system_policy_request_context.cc scoped_refptr<net::URLRequestContextGetter> system_context_getter, net 26 components/policy/core/common/cloud/system_policy_request_context.cc net::URLRequestContext* net 31 components/policy/core/common/cloud/system_policy_request_context.cc context_.reset(new net::URLRequestContext()); net 33 components/policy/core/common/cloud/system_policy_request_context.cc net::URLRequestContext* system_context = net 55 components/policy/core/common/cloud/system_policy_request_context.cc http_transaction_factory_.reset(new net::HttpNetworkLayer( net 61 components/policy/core/common/cloud/system_policy_request_context.cc context_->set_cookie_store(new net::CookieMonster(NULL, NULL)); net 13 components/policy/core/common/cloud/system_policy_request_context.h namespace net { net 20 components/policy/core/common/cloud/system_policy_request_context.h : public net::URLRequestContextGetter { net 23 components/policy/core/common/cloud/system_policy_request_context.h scoped_refptr<net::URLRequestContextGetter> system_context_getter, net 27 components/policy/core/common/cloud/system_policy_request_context.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 35 components/policy/core/common/cloud/system_policy_request_context.h scoped_refptr<net::URLRequestContextGetter> system_context_getter_; net 38 components/policy/core/common/cloud/system_policy_request_context.h scoped_ptr<net::URLRequestContext> context_; net 41 components/policy/core/common/cloud/system_policy_request_context.h scoped_ptr<net::HttpNetworkLayer> http_transaction_factory_; net 43 components/policy/core/common/cloud/system_policy_request_context.h net::StaticHttpUserAgentSettings http_user_agent_settings_; net 53 components/policy/core/common/cloud/user_cloud_policy_manager.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 70 components/policy/core/common/cloud/user_cloud_policy_manager.cc scoped_refptr<net::URLRequestContextGetter> request_context) { net 24 components/policy/core/common/cloud/user_cloud_policy_manager.h namespace net { net 61 components/policy/core/common/cloud/user_cloud_policy_manager.h scoped_refptr<net::URLRequestContextGetter> request_context, net 80 components/policy/core/common/cloud/user_cloud_policy_manager.h scoped_refptr<net::URLRequestContextGetter> request_context); net 33 components/policy/core/common/cloud/user_info_fetcher.cc net::URLRequestContextGetter* context) net 44 components/policy/core/common/cloud/user_info_fetcher.cc url_fetcher_.reset(net::URLFetcher::Create( net 46 components/policy/core/common/cloud/user_info_fetcher.cc net::URLFetcher::GET, this)); net 48 components/policy/core/common/cloud/user_info_fetcher.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 49 components/policy/core/common/cloud/user_info_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 54 components/policy/core/common/cloud/user_info_fetcher.cc void UserInfoFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 55 components/policy/core/common/cloud/user_info_fetcher.cc net::URLRequestStatus status = source->GetStatus(); net 58 components/policy/core/common/cloud/user_info_fetcher.cc if (status.status() == net::URLRequestStatus::CANCELED) net 62 components/policy/core/common/cloud/user_info_fetcher.cc } else if (source->GetResponseCode() != net::HTTP_OK) { net 19 components/policy/core/common/cloud/user_info_fetcher.h namespace net { net 28 components/policy/core/common/cloud/user_info_fetcher.h class POLICY_EXPORT UserInfoFetcher : public net::URLFetcherDelegate { net 45 components/policy/core/common/cloud/user_info_fetcher.h UserInfoFetcher(Delegate* delegate, net::URLRequestContextGetter* context); net 52 components/policy/core/common/cloud/user_info_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 56 components/policy/core/common/cloud/user_info_fetcher.h net::URLRequestContextGetter* context_; net 57 components/policy/core/common/cloud/user_info_fetcher.h scoped_ptr<net::URLFetcher> url_fetcher_; net 42 components/policy/core/common/cloud/user_info_fetcher_unittest.cc net::TestURLFetcherFactory url_factory_; net 52 components/policy/core/common/cloud/user_info_fetcher_unittest.cc net::TestURLFetcher* url_fetcher = url_factory_.GetFetcherByID(0); net 53 components/policy/core/common/cloud/user_info_fetcher_unittest.cc url_fetcher->set_status(net::URLRequestStatus( net 54 components/policy/core/common/cloud/user_info_fetcher_unittest.cc net::URLRequestStatus::FAILED, -1)); net 73 components/policy/core/common/cloud/user_info_fetcher_unittest.cc net::TestURLFetcher* url_fetcher = url_factory_.GetFetcherByID(0); net 74 components/policy/core/common/cloud/user_info_fetcher_unittest.cc url_fetcher->set_response_code(net::HTTP_OK); net 16 components/policy/core/common/cloud/user_policy_request_context.cc scoped_refptr<net::URLRequestContextGetter> user_context_getter, net 17 components/policy/core/common/cloud/user_policy_request_context.cc scoped_refptr<net::URLRequestContextGetter> system_context_getter, net 28 components/policy/core/common/cloud/user_policy_request_context.cc net::URLRequestContext* net 33 components/policy/core/common/cloud/user_policy_request_context.cc context_.reset(new net::URLRequestContext()); net 34 components/policy/core/common/cloud/user_policy_request_context.cc net::URLRequestContext* user_context = net 13 components/policy/core/common/cloud/user_policy_request_context.h namespace net { net 20 components/policy/core/common/cloud/user_policy_request_context.h : public net::URLRequestContextGetter { net 23 components/policy/core/common/cloud/user_policy_request_context.h scoped_refptr<net::URLRequestContextGetter> user_context_getter, net 24 components/policy/core/common/cloud/user_policy_request_context.h scoped_refptr<net::URLRequestContextGetter> system_context_getter, net 28 components/policy/core/common/cloud/user_policy_request_context.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 36 components/policy/core/common/cloud/user_policy_request_context.h scoped_refptr<net::URLRequestContextGetter> user_context_getter_; net 37 components/policy/core/common/cloud/user_policy_request_context.h scoped_refptr<net::URLRequestContextGetter> system_context_getter_; net 40 components/policy/core/common/cloud/user_policy_request_context.h scoped_ptr<net::URLRequestContext> context_; net 43 components/policy/core/common/cloud/user_policy_request_context.h scoped_ptr<net::HttpNetworkLayer> http_transaction_factory_; net 45 components/policy/core/common/cloud/user_policy_request_context.h net::StaticHttpUserAgentSettings http_user_agent_settings_; net 120 components/precache/content/precache_manager.cc net::NetworkChangeNotifier::IsConnectionCellular( net 121 components/precache/content/precache_manager.cc net::NetworkChangeNotifier::GetConnectionType()); net 65 components/precache/content/precache_manager_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 66 components/precache/content/precache_manager_unittest.cc const GURL& url, net::URLFetcherDelegate* delegate, net 67 components/precache/content/precache_manager_unittest.cc const std::string& response_data, net::HttpStatusCode response_code, net 68 components/precache/content/precache_manager_unittest.cc net::URLRequestStatus::Status status) { net 69 components/precache/content/precache_manager_unittest.cc scoped_ptr<net::FakeURLFetcher> fetcher(new net::FakeURLFetcher( net 154 components/precache/content/precache_manager_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 155 components/precache/content/precache_manager_unittest.cc net::URLRequestStatus::FAILED); net 162 components/precache/content/precache_manager_unittest.cc net::FakeURLFetcherFactory factory_; net 23 components/precache/core/precache_fetcher.cc using net::URLFetcher; net 67 components/precache/core/precache_fetcher.cc net::EscapeQueryParamValue( net 68 components/precache/core/precache_fetcher.cc net::EscapeQueryParamValue(starting_url.spec(), false), false)); net 102 components/precache/core/precache_fetcher.cc class PrecacheFetcher::Fetcher : public net::URLFetcherDelegate { net 106 components/precache/core/precache_fetcher.cc Fetcher(net::URLRequestContextGetter* request_context, const GURL& url, net 119 components/precache/core/precache_fetcher.cc net::URLRequestContextGetter* request_context, const GURL& url, net 124 components/precache/core/precache_fetcher.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_PROMPT_FOR_LOGIN); net 134 components/precache/core/precache_fetcher.cc net::URLRequestContextGetter* request_context, net 15 components/precache/core/precache_fetcher.h namespace net { net 74 components/precache/core/precache_fetcher.h net::URLRequestContextGetter* request_context, net 97 components/precache/core/precache_fetcher.h void OnConfigFetchComplete(const net::URLFetcher& source); net 102 components/precache/core/precache_fetcher.h void OnManifestFetchComplete(const net::URLFetcher& source); net 105 components/precache/core/precache_fetcher.h void OnResourceFetchComplete(const net::URLFetcher& source); net 112 components/precache/core/precache_fetcher.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 32 components/precache/core/precache_fetcher_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 33 components/precache/core/precache_fetcher_unittest.cc const GURL& url, net::URLFetcherDelegate* delegate, net 34 components/precache/core/precache_fetcher_unittest.cc const std::string& response_data, net::HttpStatusCode response_code, net 35 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::Status status) { net 36 components/precache/core/precache_fetcher_unittest.cc scoped_ptr<net::FakeURLFetcher> fetcher(new net::FakeURLFetcher( net 39 components/precache/core/precache_fetcher_unittest.cc if (response_code == net::HTTP_OK) { net 40 components/precache/core/precache_fetcher_unittest.cc scoped_refptr<net::HttpResponseHeaders> download_headers = net 41 components/precache/core/precache_fetcher_unittest.cc new net::HttpResponseHeaders(""); net 78 components/precache/core/precache_fetcher_unittest.cc : request_context_(new net::TestURLRequestContextGetter( net 85 components/precache/core/precache_fetcher_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 87 components/precache/core/precache_fetcher_unittest.cc net::FakeURLFetcherFactory factory_; net 130 components/precache/core/precache_fetcher_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 132 components/precache/core/precache_fetcher_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 133 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::FAILED); net 134 components/precache/core/precache_fetcher_unittest.cc factory_.SetFakeResponse(GURL(kBadManifestURL), "bad protobuf", net::HTTP_OK, net 135 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 137 components/precache/core/precache_fetcher_unittest.cc good_manifest.SerializeAsString(), net::HTTP_OK, net 138 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 140 components/precache/core/precache_fetcher_unittest.cc "", net::HTTP_INTERNAL_SERVER_ERROR, net 141 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::FAILED); net 142 components/precache/core/precache_fetcher_unittest.cc factory_.SetFakeResponse(GURL(kGoodResourceURL), "good", net::HTTP_OK, net 143 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 145 components/precache/core/precache_fetcher_unittest.cc PrecacheManifest().SerializeAsString(), net::HTTP_OK, net 146 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 175 components/precache/core/precache_fetcher_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 176 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::FAILED); net 197 components/precache/core/precache_fetcher_unittest.cc factory_.SetFakeResponse(GURL(kConfigURL), "bad protobuf", net::HTTP_OK, net 198 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 223 components/precache/core/precache_fetcher_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 253 components/precache/core/precache_fetcher_unittest.cc config.SerializeAsString(), net::HTTP_OK, net 254 components/precache/core/precache_fetcher_unittest.cc net::URLRequestStatus::SUCCESS); net 288 components/precache/core/precache_fetcher_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 290 components/precache/core/precache_fetcher_unittest.cc net::HTTP_OK, net::URLRequestStatus::SUCCESS); net 43 components/rappor/log_uploader.cc net::URLRequestContextGetter* request_context) net 76 components/rappor/log_uploader.cc net::URLFetcher::Create(server_url_, net::URLFetcher::POST, this)); net 82 components/rappor/log_uploader.cc current_fetch_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 83 components/rappor/log_uploader.cc net::LOAD_DO_NOT_SEND_COOKIES); net 98 components/rappor/log_uploader.cc void LogUploader::OnURLFetchComplete(const net::URLFetcher* source) { net 103 components/rappor/log_uploader.cc scoped_ptr<net::URLFetcher> fetch(current_fetch_.Pass()); net 20 components/rappor/log_uploader.h namespace net { net 31 components/rappor/log_uploader.h class LogUploader : public net::URLFetcherDelegate { net 38 components/rappor/log_uploader.h net::URLRequestContextGetter* request_context); net 67 components/rappor/log_uploader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 79 components/rappor/log_uploader.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 82 components/rappor/log_uploader.h scoped_ptr<net::URLFetcher> current_fetch_; net 22 components/rappor/log_uploader_unittest.cc TestLogUploader(net::URLRequestContextGetter* request_context) : net 59 components/rappor/log_uploader_unittest.cc : request_context_(new net::TestURLRequestContextGetter( net 66 components/rappor/log_uploader_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 67 components/rappor/log_uploader_unittest.cc net::FakeURLFetcherFactory factory_; net 77 components/rappor/log_uploader_unittest.cc net::HTTP_OK, net 78 components/rappor/log_uploader_unittest.cc net::URLRequestStatus::SUCCESS); net 91 components/rappor/log_uploader_unittest.cc net::HTTP_BAD_REQUEST, net 92 components/rappor/log_uploader_unittest.cc net::URLRequestStatus::SUCCESS); net 105 components/rappor/log_uploader_unittest.cc net::HTTP_INTERNAL_SERVER_ERROR, net 106 components/rappor/log_uploader_unittest.cc net::URLRequestStatus::SUCCESS); net 126 components/rappor/log_uploader_unittest.cc net::HTTP_OK, net 127 components/rappor/log_uploader_unittest.cc net::URLRequestStatus::SUCCESS); net 66 components/rappor/rappor_service.cc net::URLRequestContextGetter* request_context) { net 19 components/rappor/rappor_service.h namespace net { net 45 components/rappor/rappor_service.h void Start(PrefService* pref_service, net::URLRequestContextGetter* context); net 315 components/signin/core/browser/account_reconcilor.cc void AccountReconcilor::OnCookieChanged(const net::CanonicalCookie* cookie) { net 31 components/signin/core/browser/account_reconcilor.h namespace net { net 177 components/signin/core/browser/account_reconcilor.h void OnCookieChanged(const net::CanonicalCookie* cookie); net 150 components/signin/core/browser/mutable_profile_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 157 components/signin/core/browser/mutable_profile_oauth2_token_service.cc net::URLRequestContextGetter* net 79 components/signin/core/browser/mutable_profile_oauth2_token_service.h net::URLRequestContextGetter* getter, net 81 components/signin/core/browser/mutable_profile_oauth2_token_service.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 45 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::HTTP_OK, net 46 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::URLRequestStatus::SUCCESS); net 110 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::FakeURLFetcherFactory factory_; net 287 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::HTTP_OK, net 288 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::URLRequestStatus::SUCCESS); net 307 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::HTTP_OK, net 308 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::URLRequestStatus::SUCCESS); net 321 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::HTTP_FORBIDDEN, net 322 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc net::URLRequestStatus::FAILED); net 36 components/signin/core/browser/profile_oauth2_token_service.cc net::URLRequestContextGetter* ProfileOAuth2TokenService::GetRequestContext() { net 16 components/signin/core/browser/profile_oauth2_token_service.h namespace net { net 88 components/signin/core/browser/profile_oauth2_token_service.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 15 components/signin/core/browser/signin_client.h namespace net { net 24 components/signin/core/browser/signin_client.h typedef base::Callback<void(const net::CanonicalCookie* cookie)> net 39 components/signin/core/browser/signin_client.h virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; net 54 components/signin/core/browser/signin_manager.cc return net::UnescapeURLComponent(url.query(), net 55 components/signin/core/browser/signin_manager.cc net::UnescapeRule::URL_SPECIAL_CHARS) net 15 components/signin/core/browser/signin_manager_cookie_helper.cc net::URLRequestContextGetter* request_context_getter, net 28 components/signin/core/browser/signin_manager_cookie_helper.cc const base::Callback<void(const net::CookieList& cookies)>& callback) { net 35 components/signin/core/browser/signin_manager_cookie_helper.cc const base::Callback<void(const net::CookieList& cookies)>& callback) { net 50 components/signin/core/browser/signin_manager_cookie_helper.cc scoped_refptr<net::CookieMonster> cookie_monster = net 57 components/signin/core/browser/signin_manager_cookie_helper.cc OnCookiesFetched(net::CookieList()); net 62 components/signin/core/browser/signin_manager_cookie_helper.cc const net::CookieList& cookies) { net 69 components/signin/core/browser/signin_manager_cookie_helper.cc const net::CookieList& cookies) { net 17 components/signin/core/browser/signin_manager_cookie_helper.h namespace net { net 27 components/signin/core/browser/signin_manager_cookie_helper.h net::URLRequestContextGetter* request_context_getter, net 34 components/signin/core/browser/signin_manager_cookie_helper.h const base::Callback<void(const net::CookieList& cookies)>& callback); net 40 components/signin/core/browser/signin_manager_cookie_helper.h const base::Callback<void(const net::CookieList& cookies)>& callback); net 50 components/signin/core/browser/signin_manager_cookie_helper.h void OnCookiesFetched(const net::CookieList& cookies); net 53 components/signin/core/browser/signin_manager_cookie_helper.h void NotifyOnUIThread(const net::CookieList& cookies); net 55 components/signin/core/browser/signin_manager_cookie_helper.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 57 components/signin/core/browser/signin_manager_cookie_helper.h base::Callback<void(const net::CookieList& cookies)> completion_callback_; net 11 components/signin/core/browser/signin_oauth_helper.cc SigninOAuthHelper::SigninOAuthHelper(net::URLRequestContextGetter* getter, net 37 components/signin/core/browser/signin_oauth_helper.h explicit SigninOAuthHelper(net::URLRequestContextGetter* getter, net 13 components/signin/core/browser/test_signin_client.cc : request_context_(new net::TestURLRequestContextGetter( net 28 components/signin/core/browser/test_signin_client.cc net::URLRequestContextGetter* TestSigninClient::GetURLRequestContext() { net 40 components/signin/core/browser/test_signin_client.h virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; net 54 components/signin/core/browser/test_signin_client.h scoped_refptr<net::TestURLRequestContextGetter> request_context_; net 29 components/translate/core/browser/translate_download_manager.h net::URLRequestContextGetter* request_context() { return request_context_; } net 30 components/translate/core/browser/translate_download_manager.h void set_request_context(net::URLRequestContextGetter* context) { net 101 components/translate/core/browser/translate_download_manager.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 190 components/translate/core/browser/translate_language_list.cc url = net::AppendQueryParameter( net 84 components/translate/core/browser/translate_script.cc translate_script_url = net::AppendQueryParameter( net 88 components/translate/core/browser/translate_script.cc translate_script_url = net::AppendQueryParameter( net 94 components/translate/core/browser/translate_script.cc translate_script_url = net::AppendQueryParameter( net 98 components/translate/core/browser/translate_script.cc translate_script_url = net::AppendQueryParameter( net 39 components/translate/core/browser/translate_script_unittest.cc net::TestURLFetcher* GetTestURLFetcher() { net 48 components/translate/core/browser/translate_script_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 55 components/translate/core/browser/translate_script_unittest.cc net::TestURLFetcher* fetcher = GetTestURLFetcher(); net 65 components/translate/core/browser/translate_script_unittest.cc EXPECT_EQ(net::LOAD_DO_NOT_SEND_COOKIES, net 66 components/translate/core/browser/translate_script_unittest.cc load_flags & net::LOAD_DO_NOT_SEND_COOKIES); net 67 components/translate/core/browser/translate_script_unittest.cc EXPECT_EQ(net::LOAD_DO_NOT_SAVE_COOKIES, net 68 components/translate/core/browser/translate_script_unittest.cc load_flags & net::LOAD_DO_NOT_SAVE_COOKIES); net 72 components/translate/core/browser/translate_script_unittest.cc net::HttpRequestHeaders extra_headers; net 77 components/translate/core/browser/translate_script_unittest.cc net::GetValueForKeyInQuery( net 83 components/translate/core/browser/translate_script_unittest.cc net::GetValueForKeyInQuery( net 90 components/translate/core/browser/translate_script_unittest.cc net::GetValueForKeyInQuery( net 96 components/translate/core/browser/translate_script_unittest.cc net::GetValueForKeyInQuery( net 112 components/translate/core/browser/translate_script_unittest.cc net::TestURLFetcher* fetcher = GetTestURLFetcher(); net 46 components/translate/core/browser/translate_url_fetcher.cc fetcher_.reset(net::URLFetcher::Create( net 49 components/translate/core/browser/translate_url_fetcher.cc net::URLFetcher::GET, net 51 components/translate/core/browser/translate_url_fetcher.cc fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 52 components/translate/core/browser/translate_url_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 67 components/translate/core/browser/translate_url_fetcher.cc void TranslateURLFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 71 components/translate/core/browser/translate_url_fetcher.cc if (source->GetStatus().status() == net::URLRequestStatus::SUCCESS && net 72 components/translate/core/browser/translate_url_fetcher.cc source->GetResponseCode() == net::HTTP_OK) { net 80 components/translate/core/browser/translate_url_fetcher.cc scoped_ptr<const net::URLFetcher> delete_ptr(fetcher_.release()); net 15 components/translate/core/browser/translate_url_fetcher.h class TranslateURLFetcher : public net::URLFetcherDelegate { net 55 components/translate/core/browser/translate_url_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 68 components/translate/core/browser/translate_url_fetcher.h scoped_ptr<net::URLFetcher> fetcher_; net 25 components/translate/core/browser/translate_url_util.cc return net::AppendQueryParameter(url, kApiKeyName, google_apis::GetAPIKey()); net 29 components/translate/core/browser/translate_url_util.cc return net::AppendQueryParameter( net 147 components/web_modal/web_contents_modal_dialog_manager.cc if (!net::registry_controlled_domains::SameDomainOrHost( net 149 components/web_modal/web_contents_modal_dialog_manager.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES)) net 93 components/wifi/wifi_service_test.cc for (WiFiService::NetworkList::const_iterator net = network_list.begin(); net 94 components/wifi/wifi_service_test.cc net != network_list.end(); net 95 components/wifi/wifi_service_test.cc ++net) { net 96 components/wifi/wifi_service_test.cc if (net->connection_state == onc::connection_state::kConnected) { net 97 components/wifi/wifi_service_test.cc connected_network_guid_ = net->guid; net 98 components/wifi/wifi_service_test.cc LOG(INFO) << "Connected Network:\n" << *(net->ToValue(false).release()); net 44 content/app/android/library_loader_hooks.cc if (!net::android::RegisterJni(env)) net 57 content/browser/accessibility/accessibility_ui.cc target_data->SetString(kNameField, net::EscapeForHTML(name)); net 111 content/browser/android/download_controller_android_impl.cc net::URLRequest* request = net 120 content/browser/android/download_controller_android_impl.cc net::CookieStore* cookie_store = request->context()->cookie_store(); net 122 content/browser/android/download_controller_android_impl.cc net::CookieMonster* cookie_monster = cookie_store->GetCookieMonster(); net 140 content/browser/android/download_controller_android_impl.cc const GlobalRequestID& global_id, const net::CookieList& cookie_list) { net 143 content/browser/android/download_controller_android_impl.cc net::URLRequest* request = net 163 content/browser/android/download_controller_android_impl.cc net::CookieOptions options; net 166 content/browser/android/download_controller_android_impl.cc net::URLRequest* request = net 227 content/browser/android/download_controller_android_impl.cc net::HttpContentDisposition header(info.content_disposition, ""); net 405 content/browser/android/download_controller_android_impl.cc net::URLRequest* request) { net 412 content/browser/android/download_controller_android_impl.cc net::HttpRequestHeaders::kUserAgent, &user_agent); net 33 content/browser/android/download_controller_android_impl.h namespace net { net 54 content/browser/android/download_controller_android_impl.h explicit DownloadInfoAndroid(net::URLRequest* request); net 97 content/browser/android/download_controller_android_impl.h const net::CookieList& cookie_list); net 29 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, AppCacheRequestHandler* handler) { net 34 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request) { net 40 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, AppCacheService* service, int process_id, net 62 content/browser/appcache/appcache_interceptor.cc void AppCacheInterceptor::GetExtraResponseInfo(net::URLRequest* request, net 73 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, net 82 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, net 94 content/browser/appcache/appcache_interceptor.cc net::URLRequest::Deprecated::RegisterRequestInterceptor(this); net 98 content/browser/appcache/appcache_interceptor.cc net::URLRequest::Deprecated::UnregisterRequestInterceptor(this); net 101 content/browser/appcache/appcache_interceptor.cc net::URLRequestJob* AppCacheInterceptor::MaybeIntercept( net 102 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 109 content/browser/appcache/appcache_interceptor.cc net::URLRequestJob* AppCacheInterceptor::MaybeInterceptRedirect( net 110 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, net 111 content/browser/appcache/appcache_interceptor.cc net::NetworkDelegate* network_delegate, net 120 content/browser/appcache/appcache_interceptor.cc net::URLRequestJob* AppCacheInterceptor::MaybeInterceptResponse( net 121 content/browser/appcache/appcache_interceptor.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 24 content/browser/appcache/appcache_interceptor.h : public net::URLRequest::Interceptor { net 33 content/browser/appcache/appcache_interceptor.h static void SetExtraRequestInfo(net::URLRequest* request, net 41 content/browser/appcache/appcache_interceptor.h static void GetExtraResponseInfo(net::URLRequest* request, net 46 content/browser/appcache/appcache_interceptor.h static void PrepareForCrossSiteTransfer(net::URLRequest* request, net 48 content/browser/appcache/appcache_interceptor.h static void CompleteCrossSiteTransfer(net::URLRequest* request, net 56 content/browser/appcache/appcache_interceptor.h virtual net::URLRequestJob* MaybeIntercept( net 57 content/browser/appcache/appcache_interceptor.h net::URLRequest* request, net 58 content/browser/appcache/appcache_interceptor.h net::NetworkDelegate* network_delegate) OVERRIDE; net 59 content/browser/appcache/appcache_interceptor.h virtual net::URLRequestJob* MaybeInterceptResponse( net 60 content/browser/appcache/appcache_interceptor.h net::URLRequest* request, net 61 content/browser/appcache/appcache_interceptor.h net::NetworkDelegate* network_delegate) OVERRIDE; net 62 content/browser/appcache/appcache_interceptor.h virtual net::URLRequestJob* MaybeInterceptRedirect( net 63 content/browser/appcache/appcache_interceptor.h net::URLRequest* request, net 64 content/browser/appcache/appcache_interceptor.h net::NetworkDelegate* network_delegate, net 73 content/browser/appcache/appcache_interceptor.h static void SetHandler(net::URLRequest* request, net 75 content/browser/appcache/appcache_interceptor.h static appcache::AppCacheRequestHandler* GetHandler(net::URLRequest* request); net 108 content/browser/appcache/appcache_storage_impl_unittest.cc static net::URLRequestJob* CreateJob( net 109 content/browser/appcache/appcache_storage_impl_unittest.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 111 content/browser/appcache/appcache_storage_impl_unittest.cc return new net::URLRequestErrorJob(request, network_delegate, -100); net 115 content/browser/appcache/appcache_storage_impl_unittest.cc return new net::URLRequestTestJob( net 150 content/browser/appcache/appcache_storage_impl_unittest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 152 content/browser/appcache/appcache_storage_impl_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 153 content/browser/appcache/appcache_storage_impl_unittest.cc net::URLRequest* request, net 154 content/browser/appcache/appcache_storage_impl_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 169 content/browser/appcache/appcache_storage_impl_unittest.cc net::URLRequestContext* request_context() { net 174 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_ptr<net::URLRequestJobFactoryImpl> factory( net 175 content/browser/appcache/appcache_storage_impl_unittest.cc new net::URLRequestJobFactoryImpl()); net 178 content/browser/appcache/appcache_storage_impl_unittest.cc request_context_.reset(new net::TestURLRequestContext()); net 189 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_ptr<net::URLRequestJobFactory> job_factory_; net 190 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_ptr<net::URLRequestContext> request_context_; net 1774 content/browser/appcache/appcache_storage_impl_unittest.cc manifest_url, net::DEFAULT_PRIORITY, NULL, NULL); net 1898 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_ptr<net::URLRequest> request_; net 27 content/browser/appcache/chrome_appcache_service.cc net::URLRequestContextGetter* request_context_getter, net 20 content/browser/appcache/chrome_appcache_service.h namespace net { net 52 content/browser/appcache/chrome_appcache_service.h net::URLRequestContextGetter* request_context_getter, net 34 content/browser/appcache/chrome_appcache_service_unittest.cc class MockURLRequestContextGetter : public net::URLRequestContextGetter { net 37 content/browser/appcache/chrome_appcache_service_unittest.cc net::URLRequestContext* context, net 42 content/browser/appcache/chrome_appcache_service_unittest.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 55 content/browser/appcache/chrome_appcache_service_unittest.cc net::URLRequestContext* context_; net 90 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(label)); net 91 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(data)); net 98 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(url)); net 100 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(text)); net 265 content/browser/appcache/view_appcache_internals_job.cc void EmitResponseHeaders(net::HttpResponseHeaders* headers, std::string* out) { net 267 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(headers->GetStatusLine())); net 273 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(name)); net 275 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(value)); net 286 content/browser/appcache/view_appcache_internals_job.cc net::ViewCacheHelper::HexDump(buf, buf_len, out); net 325 content/browser/appcache/view_appcache_internals_job.cc class BaseInternalsJob : public net::URLRequestSimpleJob, net 328 content/browser/appcache/view_appcache_internals_job.cc BaseInternalsJob(net::URLRequest* request, net 329 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 355 content/browser/appcache/view_appcache_internals_job.cc MainPageJob(net::URLRequest* request, net 356 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 375 content/browser/appcache/view_appcache_internals_job.cc const net::CompletionCallback& callback) const OVERRIDE { net 400 content/browser/appcache/view_appcache_internals_job.cc return net::OK; net 407 content/browser/appcache/view_appcache_internals_job.cc if (rv != net::OK) net 420 content/browser/appcache/view_appcache_internals_job.cc RedirectToMainPageJob(net::URLRequest* request, net 421 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 428 content/browser/appcache/view_appcache_internals_job.cc const net::CompletionCallback& callback) const OVERRIDE { net 429 content/browser/appcache/view_appcache_internals_job.cc return net::OK; // IsRedirectResponse induces a redirect. net 447 content/browser/appcache/view_appcache_internals_job.cc net::URLRequest* request, net 448 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 481 content/browser/appcache/view_appcache_internals_job.cc net::URLRequest* request, net 482 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 497 content/browser/appcache/view_appcache_internals_job.cc const net::CompletionCallback& callback) const OVERRIDE { net 514 content/browser/appcache/view_appcache_internals_job.cc return net::OK; net 552 content/browser/appcache/view_appcache_internals_job.cc net::URLRequest* request, net 553 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 573 content/browser/appcache/view_appcache_internals_job.cc const net::CompletionCallback& callback) const OVERRIDE { net 599 content/browser/appcache/view_appcache_internals_job.cc return net::OK; net 619 content/browser/appcache/view_appcache_internals_job.cc response_data_ = new net::IOBuffer(amount_to_read); net 642 content/browser/appcache/view_appcache_internals_job.cc scoped_refptr<net::IOBuffer> response_data_; net 649 content/browser/appcache/view_appcache_internals_job.cc net::URLRequestJob* ViewAppCacheInternalsJobFactory::CreateJobForRequest( net 650 content/browser/appcache/view_appcache_internals_job.cc net::URLRequest* request, net 651 content/browser/appcache/view_appcache_internals_job.cc net::NetworkDelegate* network_delegate, net 10 content/browser/appcache/view_appcache_internals_job.h namespace net { net 24 content/browser/appcache/view_appcache_internals_job.h static net::URLRequestJob* CreateJobForRequest( net 25 content/browser/appcache/view_appcache_internals_job.h net::URLRequest* request, net 26 content/browser/appcache/view_appcache_internals_job.h net::NetworkDelegate* network_delegate, net 69 content/browser/browser_context.cc const scoped_refptr<net::URLRequestContextGetter>& context_getter, net 71 content/browser/browser_context.cc net::URLRequestContext* context = context_getter->GetURLRequestContext(); net 398 content/browser/browser_main_loop.cc net::EnsureWinsockInit(); net 460 content/browser/browser_main_loop.cc network_change_notifier_.reset(net::NetworkChangeNotifier::Create()); net 33 content/browser/browser_main_loop.h namespace net { net 144 content/browser/browser_main_loop.h scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 311 content/browser/browser_plugin/browser_plugin_guest.cc net::URLRequest* url_request = net 1498 content/browser/browser_plugin/browser_plugin_guest.cc base::RemoveChars(net::ErrorToString(net::ERR_ABORTED), "net::", net 70 content/browser/browser_plugin/browser_plugin_guest_manager.cc std::string url_encoded_partition = net::EscapeQueryParamValue( net 397 content/browser/browser_plugin/browser_plugin_host_browsertest.cc net::SpawnedTestServer https_server( net 398 content/browser/browser_plugin/browser_plugin_host_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 399 content/browser/browser_plugin/browser_plugin_host_browsertest.cc net::SpawnedTestServer::kLocalhost, net 65 content/browser/browser_process_sub_thread.cc net::URLFetcher::CancelAll(); net 19 content/browser/byte_stream.cc typedef std::deque<std::pair<scoped_refptr<net::IOBuffer>, size_t> > net 59 content/browser/byte_stream.cc virtual bool Write(scoped_refptr<net::IOBuffer> buffer, net 119 content/browser/byte_stream.cc virtual StreamState Read(scoped_refptr<net::IOBuffer>* data, net 213 content/browser/byte_stream.cc scoped_refptr<net::IOBuffer> buffer, size_t byte_count) { net 345 content/browser/byte_stream.cc ByteStreamReaderImpl::Read(scoped_refptr<net::IOBuffer>* data, net 132 content/browser/byte_stream.h virtual bool Write(scoped_refptr<net::IOBuffer> buffer, net 178 content/browser/byte_stream.h virtual StreamState Read(scoped_refptr<net::IOBuffer>* data, net 34 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> NewIOBuffer(size_t buffer_size) { net 35 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(buffer_size)); net 58 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> buffer, size_t buffer_size) { net 127 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 169 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 221 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 253 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 326 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 378 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 440 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 487 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 562 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 578 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 600 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> empty_io_buffer; net 607 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> output_io_buffer; net 23 content/browser/cert_store_impl.cc int CertStoreImpl::StoreCert(net::X509Certificate* cert, int process_id) { net 28 content/browser/cert_store_impl.cc scoped_refptr<net::X509Certificate>* cert) { net 21 content/browser/cert_store_impl.h virtual int StoreCert(net::X509Certificate* cert, net 24 content/browser/cert_store_impl.h scoped_refptr<net::X509Certificate>* cert) OVERRIDE; net 33 content/browser/cert_store_impl.h RendererDataMemoizingStore<net::X509Certificate> store_; net 181 content/browser/child_process_security_policy_impl.cc if (net::FileURLToFilePath(url, &path)) net 449 content/browser/child_process_security_policy_impl.cc if (net::FileURLToFilePath(url, &path)) net 631 content/browser/child_process_security_policy_impl.cc !net::URLRequest::IsHandledURL(url)) { net 37 content/browser/cross_site_transfer_browsertest.cc net::URLRequest* request, net 89 content/browser/cross_site_transfer_browsertest.cc TrackingThrottle(net::URLRequest* request, net 108 content/browser/cross_site_transfer_browsertest.cc net::URLRequest* request_; net 386 content/browser/cross_site_transfer_browsertest.cc "server-redirect?" + net::EscapeQueryParamValue(url2b.spec(), false)); net 402 content/browser/cross_site_transfer_browsertest.cc "server-redirect?" + net::EscapeQueryParamValue(url3b.spec(), false)); net 19 content/browser/devtools/devtools_browser_target.cc net::HttpServer* http_server, net 25 content/browser/devtools/devtools_browser_target.h namespace net { net 36 content/browser/devtools/devtools_browser_target.h net::HttpServer* server, net 65 content/browser/devtools/devtools_browser_target.h net::HttpServer* http_server_; net 73 content/browser/devtools/devtools_http_handler_impl.cc net::HttpServer* server, net 97 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::SendOverWebSocket, net 104 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Close, server_, connection_id_)); net 110 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::SendOverWebSocket, net 122 content/browser/devtools/devtools_http_handler_impl.cc net::HttpServer* server_; net 152 content/browser/devtools/devtools_http_handler_impl.cc const net::StreamListenSocketFactory* socket_factory, net 215 content/browser/devtools/devtools_http_handler_impl.cc net::IPEndPoint ip_address; net 246 content/browser/devtools/devtools_http_handler_impl.cc const net::HttpServerRequestInfo& info) { net 316 content/browser/devtools/devtools_http_handler_impl.cc const net::HttpServerRequestInfo& request) { net 426 content/browser/devtools/devtools_http_handler_impl.cc const net::HttpServerRequestInfo& info) { net 446 content/browser/devtools/devtools_http_handler_impl.cc net::HTTP_NOT_FOUND, net 462 content/browser/devtools/devtools_http_handler_impl.cc SendJson(connection_id, net::HTTP_OK, &version, std::string()); net 476 content/browser/devtools/devtools_http_handler_impl.cc GURL url(net::UnescapeURLComponent( net 477 content/browser/devtools/devtools_http_handler_impl.cc query, net::UnescapeRule::URL_SPECIAL_CHARS)); net 483 content/browser/devtools/devtools_http_handler_impl.cc net::HTTP_INTERNAL_SERVER_ERROR, net 491 content/browser/devtools/devtools_http_handler_impl.cc SendJson(connection_id, net::HTTP_OK, dictionary.get(), std::string()); net 501 content/browser/devtools/devtools_http_handler_impl.cc net::HTTP_NOT_FOUND, net 509 content/browser/devtools/devtools_http_handler_impl.cc SendJson(connection_id, net::HTTP_OK, NULL, "Target activated"); net 512 content/browser/devtools/devtools_http_handler_impl.cc net::HTTP_INTERNAL_SERVER_ERROR, net 521 content/browser/devtools/devtools_http_handler_impl.cc SendJson(connection_id, net::HTTP_OK, NULL, "Target is closing"); net 524 content/browser/devtools/devtools_http_handler_impl.cc net::HTTP_INTERNAL_SERVER_ERROR, net 532 content/browser/devtools/devtools_http_handler_impl.cc net::HTTP_NOT_FOUND, net 553 content/browser/devtools/devtools_http_handler_impl.cc SendJson(connection_id, net::HTTP_OK, &list_value, std::string()); net 580 content/browser/devtools/devtools_http_handler_impl.cc const net::HttpServerRequestInfo& request) { net 640 content/browser/devtools/devtools_http_handler_impl.cc const net::StreamListenSocketFactory* socket_factory, net 655 content/browser/devtools/devtools_http_handler_impl.cc server_ = new net::HttpServer(*socket_factory_.get(), this); net 676 content/browser/devtools/devtools_http_handler_impl.cc net::HttpStatusCode status_code, net 693 content/browser/devtools/devtools_http_handler_impl.cc net::HttpServerResponseInfo response(status_code); net 698 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::SendResponse, net 711 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Send200, net 723 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Send404, server_.get(), connection_id)); net 732 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Send500, server_.get(), connection_id, net 738 content/browser/devtools/devtools_http_handler_impl.cc const net::HttpServerRequestInfo& request) { net 743 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::AcceptWebSocket, server_.get(), net 756 content/browser/devtools/devtools_http_handler_impl.cc net::EscapeForHTML(target.GetTitle())); net 28 content/browser/devtools/devtools_http_handler_impl.h namespace net { net 41 content/browser/devtools/devtools_http_handler_impl.h public net::HttpServer::Delegate { net 47 content/browser/devtools/devtools_http_handler_impl.h DevToolsHttpHandlerImpl(const net::StreamListenSocketFactory* socket_factory, net 59 content/browser/devtools/devtools_http_handler_impl.h const net::HttpServerRequestInfo& info) OVERRIDE; net 62 content/browser/devtools/devtools_http_handler_impl.h const net::HttpServerRequestInfo& info) OVERRIDE; net 68 content/browser/devtools/devtools_http_handler_impl.h const net::HttpServerRequestInfo& info); net 73 content/browser/devtools/devtools_http_handler_impl.h const net::HttpServerRequestInfo& info); net 94 content/browser/devtools/devtools_http_handler_impl.h net::HttpStatusCode status_code, net 104 content/browser/devtools/devtools_http_handler_impl.h const net::HttpServerRequestInfo& request); net 117 content/browser/devtools/devtools_http_handler_impl.h scoped_ptr<const net::StreamListenSocketFactory> socket_factory_; net 118 content/browser/devtools/devtools_http_handler_impl.h scoped_refptr<net::HttpServer> server_; net 17 content/browser/devtools/devtools_http_handler_unittest.cc using net::StreamListenSocket; net 37 content/browser/devtools/devtools_http_handler_unittest.cc class DummyListenSocketFactory : public net::StreamListenSocketFactory { net 51 content/browser/devtools/devtools_http_handler_unittest.cc return scoped_ptr<net::StreamListenSocket>(new DummyListenSocket()); net 74 content/browser/devtools/devtools_http_handler_unittest.cc virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( net 75 content/browser/devtools/devtools_http_handler_unittest.cc net::StreamListenSocket::Delegate* delegate, net 77 content/browser/devtools/devtools_http_handler_unittest.cc return scoped_ptr<net::StreamListenSocket>(); net 38 content/browser/devtools/devtools_netlog_observer.cc void DevToolsNetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) { net 43 content/browser/devtools/devtools_netlog_observer.cc if (entry.source().type == net::NetLog::SOURCE_URL_REQUEST) net 48 content/browser/devtools/devtools_netlog_observer.cc const net::NetLog::Entry& entry) { net 51 content/browser/devtools/devtools_netlog_observer.cc bool is_begin = entry.phase() == net::NetLog::PHASE_BEGIN; net 52 content/browser/devtools/devtools_netlog_observer.cc bool is_end = entry.phase() == net::NetLog::PHASE_END; net 54 content/browser/devtools/devtools_netlog_observer.cc if (entry.type() == net::NetLog::TYPE_URL_REQUEST_START_JOB) { net 58 content/browser/devtools/devtools_netlog_observer.cc if (!net::StartEventLoadFlagsFromEventParams(event_param.get(), net 63 content/browser/devtools/devtools_netlog_observer.cc if (!(load_flags & net::LOAD_REPORT_RAW_HEADERS)) net 75 content/browser/devtools/devtools_netlog_observer.cc } else if (entry.type() == net::NetLog::TYPE_REQUEST_ALIVE) { net 87 content/browser/devtools/devtools_netlog_observer.cc case net::NetLog::TYPE_HTTP_TRANSACTION_SEND_REQUEST_HEADERS: { net 90 content/browser/devtools/devtools_netlog_observer.cc net::HttpRequestHeaders request_headers; net 92 content/browser/devtools/devtools_netlog_observer.cc if (!net::HttpRequestHeaders::FromNetLogParam(event_params.get(), net 102 content/browser/devtools/devtools_netlog_observer.cc for (net::HttpRequestHeaders::Iterator it(request_headers); net 109 content/browser/devtools/devtools_netlog_observer.cc case net::NetLog::TYPE_HTTP_TRANSACTION_SPDY_SEND_REQUEST_HEADERS: { net 111 content/browser/devtools/devtools_netlog_observer.cc net::SpdyHeaderBlock request_headers; net 113 content/browser/devtools/devtools_netlog_observer.cc if (!net::SpdyHeaderBlockFromNetLogParam(event_params.get(), net 122 content/browser/devtools/devtools_netlog_observer.cc for (net::SpdyHeaderBlock::const_iterator it = request_headers.begin(); net 129 content/browser/devtools/devtools_netlog_observer.cc case net::NetLog::TYPE_HTTP_TRANSACTION_READ_RESPONSE_HEADERS: { net 132 content/browser/devtools/devtools_netlog_observer.cc scoped_refptr<net::HttpResponseHeaders> response_headers; net 134 content/browser/devtools/devtools_netlog_observer.cc if (!net::HttpResponseHeaders::FromNetLogParam(event_params.get(), net 154 content/browser/devtools/devtools_netlog_observer.cc net::HttpUtil::ConvertHeadersBackToHTTPResponse( net 169 content/browser/devtools/devtools_netlog_observer.cc net::NetLog* net_log = GetContentClient()->browser()->GetNetLog(); net 172 content/browser/devtools/devtools_netlog_observer.cc net_log->AddThreadSafeObserver(instance_, net::NetLog::LOG_ALL_BUT_BYTES); net 196 content/browser/devtools/devtools_netlog_observer.cc net::URLRequest* request, net 198 content/browser/devtools/devtools_netlog_observer.cc if (!(request->load_flags() & net::LOAD_REPORT_RAW_HEADERS)) net 13 content/browser/devtools/devtools_netlog_observer.h namespace net { net 27 content/browser/devtools/devtools_netlog_observer.h class DevToolsNetLogObserver : public net::NetLog::ThreadSafeObserver { net 32 content/browser/devtools/devtools_netlog_observer.h virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 34 content/browser/devtools/devtools_netlog_observer.h void OnAddURLRequestEntry(const net::NetLog::Entry& entry); net 42 content/browser/devtools/devtools_netlog_observer.h static void PopulateResponseInfo(net::URLRequest*, net 731 content/browser/devtools/renderer_overrides_handler.cc std::string host = net::GetHostOrSpecFromURL(security_origin); net 42 content/browser/devtools/tethering_handler.cc class SocketPump : public net::StreamListenSocket::Delegate { net 45 content/browser/devtools/tethering_handler.cc net::StreamSocket* client_socket) net 63 content/browser/devtools/tethering_handler.cc virtual void DidAccept(net::StreamListenSocket* server, net 64 content/browser/devtools/tethering_handler.cc scoped_ptr<net::StreamListenSocket> socket) OVERRIDE { net 68 content/browser/devtools/tethering_handler.cc buffer_ = new net::IOBuffer(kBufferSize); net 69 content/browser/devtools/tethering_handler.cc wire_buffer_ = new net::GrowableIOBuffer(); net 77 content/browser/devtools/tethering_handler.cc if (result != net::ERR_IO_PENDING) net 81 content/browser/devtools/tethering_handler.cc virtual void DidRead(net::StreamListenSocket* socket, net 94 content/browser/devtools/tethering_handler.cc virtual void DidClose(net::StreamListenSocket* socket) OVERRIDE { net 109 content/browser/devtools/tethering_handler.cc if (result != net::ERR_IO_PENDING) net 130 content/browser/devtools/tethering_handler.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(remaining); net 146 content/browser/devtools/tethering_handler.cc if (result != net::ERR_IO_PENDING) net 160 content/browser/devtools/tethering_handler.cc scoped_ptr<net::StreamSocket> client_socket_; net 161 content/browser/devtools/tethering_handler.cc scoped_ptr<net::StreamListenSocket> server_socket_; net 162 content/browser/devtools/tethering_handler.cc scoped_ptr<net::StreamListenSocket> accepted_socket_; net 163 content/browser/devtools/tethering_handler.cc scoped_refptr<net::IOBuffer> buffer_; net 164 content/browser/devtools/tethering_handler.cc scoped_refptr<net::GrowableIOBuffer> wire_buffer_; net 180 content/browser/devtools/tethering_handler.cc socket_(new net::TCPServerSocket(NULL, net::NetLog::Source())), net 189 content/browser/devtools/tethering_handler.cc net::IPAddressNumber ip_number; net 190 content/browser/devtools/tethering_handler.cc if (!net::ParseIPLiteralToNumber(kLocalhost, &ip_number)) net 193 content/browser/devtools/tethering_handler.cc net::IPEndPoint end_point(ip_number, port); net 198 content/browser/devtools/tethering_handler.cc net::IPEndPoint local_address; net 208 content/browser/devtools/tethering_handler.cc typedef std::map<net::IPEndPoint, net::StreamSocket*> AcceptedSocketsMap; net 215 content/browser/devtools/tethering_handler.cc if (result == net::ERR_IO_PENDING) net 224 content/browser/devtools/tethering_handler.cc if (result == net::OK) net 229 content/browser/devtools/tethering_handler.cc if (result != net::OK) net 240 content/browser/devtools/tethering_handler.cc scoped_ptr<net::ServerSocket> socket_; net 241 content/browser/devtools/tethering_handler.cc scoped_ptr<net::StreamSocket> accept_socket_; net 35 content/browser/download/base_file.cc const net::BoundNetLog& bound_net_log) net 153 content/browser/download/base_file.cc net::NetLog::TYPE_DOWNLOAD_FILE_RENAMED, net 169 content/browser/download/base_file.cc bound_net_log_.EndEvent(net::NetLog::TYPE_DOWNLOAD_FILE_RENAMED); net 175 content/browser/download/base_file.cc bound_net_log_.AddEvent(net::NetLog::TYPE_DOWNLOAD_FILE_DETACHED); net 182 content/browser/download/base_file.cc bound_net_log_.AddEvent(net::NetLog::TYPE_CANCELLED); net 187 content/browser/download/base_file.cc bound_net_log_.AddEvent(net::NetLog::TYPE_DOWNLOAD_FILE_DELETED); net 255 content/browser/download/base_file.cc net::NetLog::TYPE_DOWNLOAD_FILE_OPENED, net 264 content/browser/download/base_file.cc net::FileErrorToNetError(file_.error_details())); net 298 content/browser/download/base_file.cc bound_net_log_.AddEvent(net::NetLog::TYPE_DOWNLOAD_FILE_CLOSED); net 312 content/browser/download/base_file.cc bound_net_log_.EndEvent(net::NetLog::TYPE_DOWNLOAD_FILE_OPENED); net 317 content/browser/download/base_file.cc net::Error error) { net 319 content/browser/download/base_file.cc net::NetLog::TYPE_DOWNLOAD_FILE_ERROR, net 328 content/browser/download/base_file.cc net::Error net_error = net::MapSystemError(os_error); net 340 content/browser/download/base_file.cc net::NetLog::TYPE_DOWNLOAD_FILE_ERROR, net 43 content/browser/download/base_file.h const net::BoundNetLog& bound_net_log); net 124 content/browser/download/base_file.h DownloadInterruptReason LogNetError(const char* operation, net::Error error); net 172 content/browser/download/base_file.h net::BoundNetLog bound_net_log_; net 58 content/browser/download/base_file_unittest.cc net::BoundNetLog())); net 109 content/browser/download/base_file_unittest.cc net::BoundNetLog())); net 149 content/browser/download/base_file_unittest.cc net::BoundNetLog()); net 175 content/browser/download/base_file_unittest.cc net::BoundNetLog()); net 402 content/browser/download/base_file_unittest.cc net::BoundNetLog()); net 494 content/browser/download/base_file_unittest.cc net::BoundNetLog())); net 540 content/browser/download/base_file_unittest.cc net::BoundNetLog())); net 574 content/browser/download/base_file_unittest.cc net::BoundNetLog())); net 258 content/browser/download/base_file_win.cc net::MapSystemError(code), DOWNLOAD_INTERRUPT_FROM_DISK); net 330 content/browser/download/base_file_win.cc bound_net_log_.BeginEvent(net::NetLog::TYPE_DOWNLOAD_FILE_ANNOTATED); net 363 content/browser/download/base_file_win.cc bound_net_log_.EndEvent(net::NetLog::TYPE_DOWNLOAD_FILE_ANNOTATED); net 112 content/browser/download/download_browsertest.cc const net::BoundNetLog& bound_net_log, net 160 content/browser/download/download_browsertest.cc const net::BoundNetLog& bound_net_log, net 184 content/browser/download/download_browsertest.cc const net::BoundNetLog& bound_net_log, net 237 content/browser/download/download_browsertest.cc const net::BoundNetLog& bound_net_log, net 281 content/browser/download/download_browsertest.cc const net::BoundNetLog& bound_net_log, net 338 content/browser/download/download_browsertest.cc const net::BoundNetLog& bound_net_log, net 1622 content/browser/download/download_browsertest.cc net::HostPortPair host_port = test_server()->host_port_pair(); net 16 content/browser/download/download_create_info.cc const net::BoundNetLog& bound_net_log, net 29 content/browser/download/download_create_info.h const net::BoundNetLog& bound_net_log, net 99 content/browser/download/download_create_info.h const net::BoundNetLog request_bound_net_log; net 21 content/browser/download/download_file_factory.cc const net::BoundNetLog& bound_net_log, net 15 content/browser/download/download_file_factory.h namespace net { net 38 content/browser/download/download_file_factory.h const net::BoundNetLog& bound_net_log, net 38 content/browser/download/download_file_impl.cc const net::BoundNetLog& bound_net_log, net 210 content/browser/download/download_file_impl.cc scoped_refptr<net::IOBuffer> incoming_data; net 302 content/browser/download/download_file_impl.cc net::NetLog::TYPE_DOWNLOAD_STREAM_DRAINED, net 45 content/browser/download/download_file_impl.h const net::BoundNetLog& bound_net_log, net 102 content/browser/download/download_file_impl.h net::BoundNetLog bound_net_log_; net 43 content/browser/download/download_file_unittest.cc scoped_refptr<net::IOBuffer>*, size_t*)); net 139 content/browser/download/download_file_unittest.cc net::BoundNetLog(), net 183 content/browser/download/download_file_unittest.cc scoped_refptr<net::IOBuffer> data = new net::IOBuffer(length); net 12 content/browser/download/download_interrupt_reasons_impl.cc net::Error net_error, DownloadInterruptSource source) { net 14 content/browser/download/download_interrupt_reasons_impl.cc case net::OK: net 20 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_FILE_TOO_BIG: net 24 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_ACCESS_DENIED: net 28 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_INSUFFICIENT_RESOURCES: net 32 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_OUT_OF_MEMORY: net 36 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_FILE_PATH_TOO_LONG: net 40 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_FILE_NO_SPACE: net 44 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_FILE_VIRUS_INFECTED: net 48 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_BLOCKED_BY_CLIENT: net 54 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_TIMED_OUT: net 58 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_INTERNET_DISCONNECTED: net 62 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_CONNECTION_FAILED: net 68 content/browser/download/download_interrupt_reasons_impl.cc case net::ERR_REQUEST_RANGE_NOT_SATISFIABLE: net 23 content/browser/download/download_interrupt_reasons_impl.h net::Error file_error, DownloadInterruptSource source); net 24 content/browser/download/download_item_factory.h namespace net { net 57 content/browser/download/download_item_factory.h const net::BoundNetLog& bound_net_log) = 0; net 63 content/browser/download/download_item_factory.h const net::BoundNetLog& bound_net_log) = 0; net 72 content/browser/download/download_item_factory.h const net::BoundNetLog& bound_net_log) = 0; net 126 content/browser/download/download_item_impl.cc const net::BoundNetLog& bound_net_log) net 170 content/browser/download/download_item_impl.cc const net::BoundNetLog& bound_net_log) net 216 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_URL_REQUEST, net 220 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_STARTED, net 232 content/browser/download/download_item_impl.cc const net::BoundNetLog& bound_net_log) net 316 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_SAFETY_STATE_UPDATED, net 992 content/browser/download/download_item_impl.cc const net::BoundNetLog& DownloadItemImpl::GetBoundNetLog() const { net 1053 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_UPDATED, net 1054 content/browser/download/download_item_impl.cc net::NetLog::Int64Callback("bytes_so_far", received_bytes_)); net 1102 content/browser/download/download_item_impl.cc base::Callback<base::Value*(net::NetLog::LogLevel)> active_data = base::Bind( net 1106 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_ACTIVE, active_data); net 1109 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_ACTIVE, active_data); net 1567 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_COMPLETING, net 1572 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_FINISHED, net 1577 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_INTERRUPTED, net 1584 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_RESUMED, net 1591 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_CANCELED, net 1609 content/browser/download/download_item_impl.cc bound_net_log_.EndEvent(net::NetLog::TYPE_DOWNLOAD_ITEM_ACTIVE); net 1614 content/browser/download/download_item_impl.cc bound_net_log_.BeginEvent(net::NetLog::TYPE_DOWNLOAD_ITEM_ACTIVE, net 1627 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_SAFETY_STATE_UPDATED, net 1653 content/browser/download/download_item_impl.cc net::NetLog::TYPE_DOWNLOAD_ITEM_RENAMED, net 69 content/browser/download/download_item_impl.h const net::BoundNetLog& bound_net_log); net 76 content/browser/download/download_item_impl.h const net::BoundNetLog& bound_net_log); net 86 content/browser/download/download_item_impl.h const net::BoundNetLog& bound_net_log); net 197 content/browser/download/download_item_impl.h virtual const net::BoundNetLog& GetBoundNetLog() const; net 551 content/browser/download/download_item_impl.h const net::BoundNetLog bound_net_log_; net 231 content/browser/download/download_item_impl_unittest.cc &delegate_, next_id++, *(info_.get()), net::BoundNetLog()); net 57 content/browser/download/download_manager_impl.cc scoped_ptr<net::URLRequest> request( net 59 content/browser/download/download_manager_impl.cc params->url(), net::DEFAULT_PRIORITY, NULL, NULL)); net 64 content/browser/download/download_manager_impl.cc scoped_ptr<net::UploadElementReader> reader( net 65 content/browser/download/download_manager_impl.cc net::UploadOwnedBytesElementReader::CreateWithString(body)); net 67 content/browser/download/download_manager_impl.cc net::UploadDataStream::CreateWithReader(reader.Pass(), 0))); net 76 content/browser/download/download_manager_impl.cc ScopedVector<net::UploadElementReader> element_readers; net 78 content/browser/download/download_manager_impl.cc new net::UploadDataStream(element_readers.Pass(), params->post_id()))); net 182 content/browser/download/download_manager_impl.cc const net::BoundNetLog& bound_net_log) OVERRIDE { net 207 content/browser/download/download_manager_impl.cc const net::BoundNetLog& bound_net_log) OVERRIDE { net 218 content/browser/download/download_manager_impl.cc const net::BoundNetLog& bound_net_log) OVERRIDE { net 228 content/browser/download/download_manager_impl.cc net::NetLog* net_log, net 249 content/browser/download/download_manager_impl.cc net::BoundNetLog bound_net_log = net 250 content/browser/download/download_manager_impl.cc net::BoundNetLog::Make(net_log_, net::NetLog::SOURCE_DOWNLOAD); net 504 content/browser/download/download_manager_impl.cc net::BoundNetLog bound_net_log = net 505 content/browser/download/download_manager_impl.cc net::BoundNetLog::Make(net_log_, net::NetLog::SOURCE_DOWNLOAD); net 653 content/browser/download/download_manager_impl.cc net::BoundNetLog::Make(net_log_, net::NetLog::SOURCE_DOWNLOAD)); net 24 content/browser/download/download_manager_impl.h namespace net { net 41 content/browser/download/download_manager_impl.h DownloadManagerImpl(net::NetLog* net_log, BrowserContext* browser_context); net 187 content/browser/download/download_manager_impl.h net::NetLog* net_log_; net 89 content/browser/download/download_manager_impl_unittest.cc net::BoundNetLog()) {} net 247 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log) OVERRIDE; net 252 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log) OVERRIDE; net 260 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log) OVERRIDE; net 312 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log) { net 326 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log) { net 349 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log) { net 374 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog&, net 384 content/browser/download/download_manager_impl_unittest.cc const net::BoundNetLog& bound_net_log, net 399 content/browser/download/download_manager_impl_unittest.cc MOCK_METHOD0(GetRequestContext, net::URLRequestContextGetter*()); net 401 content/browser/download/download_manager_impl_unittest.cc net::URLRequestContextGetter*(int renderer_child_id)); net 403 content/browser/download/download_manager_impl_unittest.cc net::URLRequestContextGetter*()); net 405 content/browser/download/download_manager_impl_unittest.cc net::URLRequestContextGetter*(int renderer_child_id)); net 407 content/browser/download/download_manager_impl_unittest.cc net::URLRequestContextGetter*( net 49 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 68 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 78 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 90 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 105 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 119 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 130 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 140 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 152 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 163 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 174 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 184 content/browser/download/download_net_log_parameters.cc net::Error net_error, net 185 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 197 content/browser/download/download_net_log_parameters.cc net::NetLog::LogLevel log_level) { net 33 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 38 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 43 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 49 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 56 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 61 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 65 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 70 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 75 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 80 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 85 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 89 content/browser/download/download_net_log_parameters.h net::Error net_error, net 90 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 96 content/browser/download/download_net_log_parameters.h net::NetLog::LogLevel log_level); net 105 content/browser/download/download_resource_handler.cc net::URLRequest* request, net 170 content/browser/download/download_resource_handler.cc request()->SetPriority(net::IDLE); net 214 content/browser/download/download_resource_handler.cc const net::HttpResponseHeaders* headers = request()->response_headers(); net 227 content/browser/download/download_resource_handler.cc if (2 == status / 100 && status != net::HTTP_PARTIAL_CONTENT) { net 285 content/browser/download/download_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 294 content/browser/download/download_resource_handler.cc read_buffer_ = new net::IOBuffer(*buf_size); net 342 content/browser/download/download_resource_handler.cc const net::URLRequestStatus& status, net 353 content/browser/download/download_resource_handler.cc net::Error error_code = net::OK; net 354 content/browser/download/download_resource_handler.cc if (status.status() == net::URLRequestStatus::FAILED || net 356 content/browser/download/download_resource_handler.cc status.status() == net::URLRequestStatus::CANCELED) { net 357 content/browser/download/download_resource_handler.cc error_code = static_cast<net::Error>(status.error()); // Normal case. net 359 content/browser/download/download_resource_handler.cc if (error_code == net::OK) net 360 content/browser/download/download_resource_handler.cc error_code = net::ERR_FAILED; net 367 content/browser/download/download_resource_handler.cc if (error_code == net::ERR_CONTENT_LENGTH_MISMATCH || net 368 content/browser/download/download_resource_handler.cc error_code == net::ERR_INCOMPLETE_CHUNKED_ENCODING) { net 369 content/browser/download/download_resource_handler.cc error_code = net::OK; net 375 content/browser/download/download_resource_handler.cc if (status.status() == net::URLRequestStatus::CANCELED && net 376 content/browser/download/download_resource_handler.cc status.error() == net::ERR_ABORTED) { net 394 content/browser/download/download_resource_handler.cc case net::HTTP_OK: net 395 content/browser/download/download_resource_handler.cc case net::HTTP_CREATED: net 396 content/browser/download/download_resource_handler.cc case net::HTTP_ACCEPTED: net 397 content/browser/download/download_resource_handler.cc case net::HTTP_NON_AUTHORITATIVE_INFORMATION: net 398 content/browser/download/download_resource_handler.cc case net::HTTP_RESET_CONTENT: net 399 content/browser/download/download_resource_handler.cc case net::HTTP_PARTIAL_CONTENT: net 402 content/browser/download/download_resource_handler.cc case net::HTTP_NO_CONTENT: net 403 content/browser/download/download_resource_handler.cc case net::HTTP_NOT_FOUND: net 406 content/browser/download/download_resource_handler.cc case net::HTTP_PRECONDITION_FAILED: net 411 content/browser/download/download_resource_handler.cc case net::HTTP_REQUESTED_RANGE_NOT_SATISFIABLE: net 450 content/browser/download/download_resource_handler.cc net::GetAllErrorCodesForUma()); net 20 content/browser/download/download_resource_handler.h namespace net { net 45 content/browser/download/download_resource_handler.h net::URLRequest* request, net 76 content/browser/download/download_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 84 content/browser/download/download_resource_handler.h const net::URLRequestStatus& status, net 121 content/browser/download/download_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; // From URLRequest. net 66 content/browser/download/download_stats.cc net::HttpContentDisposition::ParseResultFlags flag) { net 491 content/browser/download/download_stats.cc net::HttpContentDisposition content_disposition(content_disposition_string, net 503 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_DISPOSITION_TYPE); net 506 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_UNKNOWN_DISPOSITION_TYPE); net 509 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_NAME); net 512 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_FILENAME); net 515 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_EXT_FILENAME); net 518 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_NON_ASCII_STRINGS); net 521 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_PERCENT_ENCODED_STRINGS); net 524 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_RFC2047_ENCODED_STRINGS); net 528 content/browser/download/download_stats.cc (result & (net::HttpContentDisposition::HAS_NAME | net 529 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_FILENAME | net 530 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_EXT_FILENAME)) == net 531 content/browser/download/download_stats.cc net::HttpContentDisposition::HAS_NAME); net 24 content/browser/download/save_file.cc net::BoundNetLog()), net 237 content/browser/download/save_file_manager.cc net::IOBuffer* data, net 453 content/browser/download/save_file_manager.cc net::FileURLToFilePath(original_file_url, &file_path); net 75 content/browser/download/save_file_manager.h namespace net { net 110 content/browser/download/save_file_manager.h void UpdateSaveProgress(int save_id, net::IOBuffer* data, int size); net 84 content/browser/download/save_file_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 90 content/browser/download/save_file_resource_handler.cc read_buffer_ = new net::IOBuffer(*buf_size); net 100 content/browser/download/save_file_resource_handler.cc scoped_refptr<net::IOBuffer> buffer; net 111 content/browser/download/save_file_resource_handler.cc const net::URLRequestStatus& status, net 56 content/browser/download/save_file_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 65 content/browser/download/save_file_resource_handler.h const net::URLRequestStatus& status, net 85 content/browser/download/save_file_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; net 462 content/browser/download/save_package.cc base::FilePath file_path = net::GenerateFileName(url, net 1117 content/browser/download/save_package.cc scoped_refptr<net::IOBuffer> new_data(new net::IOBuffer(data.size())); net 1223 content/browser/download/save_package.cc if (title_ == net::FormatUrl(page_url_, accept_langs)) { net 1262 content/browser/download/save_package.cc if (!net::GetMimeTypeFromExtension(ext, &mime_type) || net 1279 content/browser/download/save_package.cc !net::GetMimeTypeFromExtension(ext, &mime_type)) { net 1417 content/browser/download/save_package.cc net::GenerateSafeFileName(web_contents()->GetContentsMimeType(), false, net 61 content/browser/fileapi/blob_url_request_job_unittest.cc class MockURLRequestDelegate : public net::URLRequest::Delegate { net 64 content/browser/fileapi/blob_url_request_job_unittest.cc : received_data_(new net::IOBuffer(kBufferSize)) {} net 66 content/browser/fileapi/blob_url_request_job_unittest.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE { net 75 content/browser/fileapi/blob_url_request_job_unittest.cc virtual void OnReadCompleted(net::URLRequest* request, net 86 content/browser/fileapi/blob_url_request_job_unittest.cc void ReadSome(net::URLRequest* request) { net 103 content/browser/fileapi/blob_url_request_job_unittest.cc void ReceiveData(net::URLRequest* request, int bytes_read) { net 117 content/browser/fileapi/blob_url_request_job_unittest.cc scoped_refptr<net::IOBuffer> received_data_; net 123 content/browser/fileapi/blob_url_request_job_unittest.cc public net::URLRequestJobFactory::ProtocolHandler { net 128 content/browser/fileapi/blob_url_request_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 129 content/browser/fileapi/blob_url_request_job_unittest.cc net::URLRequest* request, net 130 content/browser/fileapi/blob_url_request_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 237 content/browser/fileapi/blob_url_request_job_unittest.cc TestRequest("GET", net::HttpRequestHeaders()); net 245 content/browser/fileapi/blob_url_request_job_unittest.cc TestRequest("GET", net::HttpRequestHeaders()); net 249 content/browser/fileapi/blob_url_request_job_unittest.cc const net::HttpRequestHeaders& extra_headers) { net 251 content/browser/fileapi/blob_url_request_job_unittest.cc GURL("blob:blah"), net::DEFAULT_PRIORITY, &url_request_delegate_, NULL); net 312 content/browser/fileapi/blob_url_request_job_unittest.cc net::URLRequestJobFactoryImpl url_request_job_factory_; net 313 content/browser/fileapi/blob_url_request_job_unittest.cc net::URLRequestContext url_request_context_; net 315 content/browser/fileapi/blob_url_request_job_unittest.cc scoped_ptr<net::URLRequest> request_; net 423 content/browser/fileapi/blob_url_request_job_unittest.cc net::HttpRequestHeaders extra_headers; net 424 content/browser/fileapi/blob_url_request_job_unittest.cc extra_headers.SetHeader(net::HttpRequestHeaders::kRange, net 425 content/browser/fileapi/blob_url_request_job_unittest.cc net::HttpByteRange::Bounded(5, 10).GetHeaderValue()); net 444 content/browser/fileapi/blob_url_request_job_unittest.cc net::HttpRequestHeaders extra_headers; net 445 content/browser/fileapi/blob_url_request_job_unittest.cc extra_headers.SetHeader(net::HttpRequestHeaders::kRange, net 446 content/browser/fileapi/blob_url_request_job_unittest.cc net::HttpByteRange::Suffix(10).GetHeaderValue()); net 468 content/browser/fileapi/blob_url_request_job_unittest.cc TestRequest("GET", net::HttpRequestHeaders()); net 53 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc const net::URLRequest* /*url_request*/, net 97 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory( net 106 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory("filesystem", NULL); net 133 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc delegate_.reset(new net::TestDelegate()); net 136 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc url, net::DEFAULT_PRIORITY, delegate_.get(), NULL); net 244 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc static net::URLRequestJob* FileSystemDirURLRequestJobFactory( net 245 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::URLRequest* request, net 246 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::NetworkDelegate* network_delegate, net 249 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::URLRequestJob* temp = job_; net 256 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc scoped_refptr<net::URLRequestJob> deleter = job_; net 271 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::URLRequestContext empty_context_; net 272 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc scoped_ptr<net::TestDelegate> delegate_; net 273 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc scoped_ptr<net::URLRequest> request_; net 278 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc static net::URLRequestJob* job_; net 282 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc net::URLRequestJob* FileSystemDirURLRequestJobTest::job_ = NULL; net 324 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_EQ(net::ERR_INVALID_URL, request_->status().error()); net 331 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 338 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 370 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 414 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 428 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 45 content/browser/fileapi/file_system_file_stream_reader_unittest.cc *result = net::OK; net 46 content/browser/fileapi/file_system_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 49 content/browser/fileapi/file_system_file_stream_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf( net 50 content/browser/fileapi/file_system_file_stream_reader_unittest.cc new net::IOBufferWithSize(size - total_bytes_read)); net 52 content/browser/fileapi/file_system_file_stream_reader_unittest.cc if (rv == net::ERR_IO_PENDING) net 151 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::ERR_FILE_NOT_FOUND, result); net 164 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 167 content/browser/fileapi/file_system_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 169 content/browser/fileapi/file_system_file_stream_reader_unittest.cc if (length_result == net::ERR_IO_PENDING) net 177 content/browser/fileapi/file_system_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 179 content/browser/fileapi/file_system_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 191 content/browser/fileapi/file_system_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 193 content/browser/fileapi/file_system_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 195 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result); net 200 content/browser/fileapi/file_system_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 208 content/browser/fileapi/file_system_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 210 content/browser/fileapi/file_system_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 222 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 236 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result); net 243 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 253 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 261 content/browser/fileapi/file_system_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 262 content/browser/fileapi/file_system_file_stream_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf( net 263 content/browser/fileapi/file_system_file_stream_reader_unittest.cc new net::IOBufferWithSize(kTestDataSize)); net 265 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_TRUE(rv == net::ERR_IO_PENDING || rv >= 0); net 63 content/browser/fileapi/file_system_url_request_job_unittest.cc const net::URLRequest* /*url_request*/, net 106 content/browser/fileapi/file_system_url_request_job_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory( net 111 content/browser/fileapi/file_system_url_request_job_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory("filesystem", NULL); net 147 content/browser/fileapi/file_system_url_request_job_unittest.cc const net::HttpRequestHeaders* headers, net 150 content/browser/fileapi/file_system_url_request_job_unittest.cc delegate_.reset(new net::TestDelegate()); net 155 content/browser/fileapi/file_system_url_request_job_unittest.cc url, net::DEFAULT_PRIORITY, delegate_.get(), NULL); net 179 content/browser/fileapi/file_system_url_request_job_unittest.cc const net::HttpRequestHeaders* headers) { net 211 content/browser/fileapi/file_system_url_request_job_unittest.cc static net::URLRequestJob* FileSystemURLRequestJobFactory( net 212 content/browser/fileapi/file_system_url_request_job_unittest.cc net::URLRequest* request, net 213 content/browser/fileapi/file_system_url_request_job_unittest.cc net::NetworkDelegate* network_delegate, net 216 content/browser/fileapi/file_system_url_request_job_unittest.cc net::URLRequestJob* temp = job_; net 223 content/browser/fileapi/file_system_url_request_job_unittest.cc scoped_refptr<net::URLRequestJob> deleter = job_; net 235 content/browser/fileapi/file_system_url_request_job_unittest.cc net::URLRequestContext empty_context_; net 238 content/browser/fileapi/file_system_url_request_job_unittest.cc scoped_ptr<net::TestDelegate> delegate_; net 239 content/browser/fileapi/file_system_url_request_job_unittest.cc scoped_ptr<net::URLRequest> request_; net 241 content/browser/fileapi/file_system_url_request_job_unittest.cc scoped_refptr<net::URLRequestJob> pending_job_; net 242 content/browser/fileapi/file_system_url_request_job_unittest.cc static net::URLRequestJob* job_; net 246 content/browser/fileapi/file_system_url_request_job_unittest.cc net::URLRequestJob* FileSystemURLRequestJobTest::job_ = NULL; net 275 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders headers; net 277 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders::kRange, net 278 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpByteRange::Bounded( net 298 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders headers; net 300 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders::kRange, net 301 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpByteRange::RightUnbounded(first_byte_position).GetHeaderValue()); net 312 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders headers; net 313 content/browser/fileapi/file_system_url_request_job_unittest.cc headers.SetHeader(net::HttpRequestHeaders::kRange, net 317 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE, net 323 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders headers; net 325 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpRequestHeaders::kRange, net 326 content/browser/fileapi/file_system_url_request_job_unittest.cc net::HttpByteRange::Bounded(500, 1000).GetHeaderValue()); net 331 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE, net 352 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_INVALID_URL, request_->status().error()); net 359 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 366 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 387 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_TRUE(net::GetWellKnownMimeTypeFromExtension( net 409 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 442 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 455 content/browser/fileapi/file_system_url_request_job_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); net 140 content/browser/fileapi/file_writer_delegate_unittest.cc blob_url, net::DEFAULT_PRIORITY, file_writer_delegate_.get(), NULL); net 143 content/browser/fileapi/file_writer_delegate_unittest.cc static net::URLRequest::ProtocolFactory Factory; net 150 content/browser/fileapi/file_writer_delegate_unittest.cc net::URLRequestContext empty_context_; net 152 content/browser/fileapi/file_writer_delegate_unittest.cc scoped_ptr<net::URLRequest> request_; net 165 content/browser/fileapi/file_writer_delegate_unittest.cc class FileWriterDelegateTestJob : public net::URLRequestJob { net 167 content/browser/fileapi/file_writer_delegate_unittest.cc FileWriterDelegateTestJob(net::URLRequest* request, net 168 content/browser/fileapi/file_writer_delegate_unittest.cc net::NetworkDelegate* network_delegate, net 170 content/browser/fileapi/file_writer_delegate_unittest.cc : net::URLRequestJob(request, network_delegate), net 182 content/browser/fileapi/file_writer_delegate_unittest.cc virtual bool ReadRawData(net::IOBuffer* buf, net 192 content/browser/fileapi/file_writer_delegate_unittest.cc SetStatus(net::URLRequestStatus()); net 213 content/browser/fileapi/file_writer_delegate_unittest.cc net::URLRequestJob* FileWriterDelegateTest::Factory( net 214 content/browser/fileapi/file_writer_delegate_unittest.cc net::URLRequest* request, net 215 content/browser/fileapi/file_writer_delegate_unittest.cc net::NetworkDelegate* network_delegate, net 229 content/browser/fileapi/file_writer_delegate_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory("blob", &Factory); net 233 content/browser/fileapi/file_writer_delegate_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory("blob", NULL); net 322 content/browser/fileapi/file_writer_delegate_unittest.cc scoped_ptr<net::URLRequest> request2; net 337 content/browser/fileapi/file_writer_delegate_unittest.cc kBlobURL2, net::DEFAULT_PRIORITY, file_writer_delegate2.get(), NULL); net 70 content/browser/fileapi/fileapi_message_filter.cc net::URLRequestContextGetter* request_context_getter, net 91 content/browser/fileapi/fileapi_message_filter.cc net::URLRequestContext* request_context, net 42 content/browser/fileapi/fileapi_message_filter.h namespace net { net 63 content/browser/fileapi/fileapi_message_filter.h net::URLRequestContextGetter* request_context_getter, net 70 content/browser/fileapi/fileapi_message_filter.h net::URLRequestContext* request_context, net 222 content/browser/fileapi/fileapi_message_filter.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 223 content/browser/fileapi/fileapi_message_filter.h net::URLRequestContext* request_context_; net 168 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 221 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kFakeData.size())); net 268 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kFakeData.size())); net 37 content/browser/fileapi/upload_file_system_file_element_reader.cc const net::CompletionCallback& callback) { net 57 content/browser/fileapi/upload_file_system_file_element_reader.cc return net::OK; net 73 content/browser/fileapi/upload_file_system_file_element_reader.cc net::IOBuffer* buf, net 75 content/browser/fileapi/upload_file_system_file_element_reader.cc const net::CompletionCallback& callback) { net 91 content/browser/fileapi/upload_file_system_file_element_reader.cc OnRead(net::CompletionCallback(), result); net 96 content/browser/fileapi/upload_file_system_file_element_reader.cc const net::CompletionCallback& callback, net 100 content/browser/fileapi/upload_file_system_file_element_reader.cc callback.Run(net::OK); net 107 content/browser/fileapi/upload_file_system_file_element_reader.cc const net::CompletionCallback& callback, net 26 content/browser/fileapi/upload_file_system_file_element_reader.h NON_EXPORTED_BASE(public net::UploadElementReader) { net 37 content/browser/fileapi/upload_file_system_file_element_reader.h virtual int Init(const net::CompletionCallback& callback) OVERRIDE; net 40 content/browser/fileapi/upload_file_system_file_element_reader.h virtual int Read(net::IOBuffer* buf, net 42 content/browser/fileapi/upload_file_system_file_element_reader.h const net::CompletionCallback& callback) OVERRIDE; net 45 content/browser/fileapi/upload_file_system_file_element_reader.h void OnGetLength(const net::CompletionCallback& callback, int64 result); net 46 content/browser/fileapi/upload_file_system_file_element_reader.h void OnRead(const net::CompletionCallback& callback, int result); net 69 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback callback; net 70 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(callback.callback())); net 71 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::OK, callback.WaitForResult()); net 127 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = net 128 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc new net::IOBufferWithSize(file_data_.size()); net 129 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback; net 130 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 143 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = net 144 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc new net::IOBufferWithSize(kHalfSize); net 146 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback1; net 147 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 154 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback2; net 155 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 165 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = net 166 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc new net::IOBufferWithSize(kTooLargeSize); net 167 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback; net 168 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 176 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = net 177 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc new net::IOBufferWithSize(file_data_.size()); net 180 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback1; net 181 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 188 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback init_callback; net 189 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); net 190 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::OK, init_callback.WaitForResult()); net 195 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback2; net 196 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 204 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = net 205 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc new net::IOBufferWithSize(file_data_.size()); net 208 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback1; net 209 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 213 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback init_callback1; net 214 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback1.callback())); net 217 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback init_callback2; net 218 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback2.callback())); net 219 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::OK, init_callback2.WaitForResult()); net 224 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf2 = net 225 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc new net::IOBufferWithSize(file_data_.size() / 2); net 226 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback2; net 227 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 244 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback init_callback; net 245 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); net 246 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::OK, init_callback.WaitForResult()); net 249 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = new net::IOBufferWithSize(kLength); net 250 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback read_callback; net 251 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 269 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback init_callback; net 270 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); net 271 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_UPLOAD_FILE_CHANGED, init_callback.WaitForResult()); net 278 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc net::TestCompletionCallback init_callback; net 279 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); net 280 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, init_callback.WaitForResult()); net 251 content/browser/frame_host/interstitial_page_impl.cc net::EscapePath(delegate_->GetHTMLContents()); net 475 content/browser/frame_host/navigation_controller_impl.cc bool is_viewable_mime_type = net::IsSupportedNonImageMimeType(mime_type) && net 476 content/browser/frame_host/navigation_controller_impl.cc !net::IsSupportedMediaMimeType(mime_type); net 960 content/browser/frame_host/navigation_controller_impl_unittest.cc params.error_code = net::ERR_ABORTED; net 1036 content/browser/frame_host/navigation_controller_impl_unittest.cc params.error_code = net::ERR_ABORTED; net 2439 content/browser/frame_host/navigation_controller_impl_unittest.cc fail_load_params.error_code = net::ERR_ABORTED; net 184 content/browser/frame_host/navigation_entry_impl.cc title = net::FormatUrl(virtual_url_, languages); net 186 content/browser/frame_host/navigation_entry_impl.cc title = net::FormatUrl(url_, languages); net 202 content/browser/frame_host/navigator_impl.cc if (net::ERR_ABORTED == params.error_code) { net 48 content/browser/frame_host/render_frame_host_manager_browsertest.cc const net::HostPortPair& host_port_pair, net 50 content/browser/frame_host/render_frame_host_manager_browsertest.cc std::vector<net::SpawnedTestServer::StringPair> replacement_text; net 53 content/browser/frame_host/render_frame_host_manager_browsertest.cc return net::SpawnedTestServer::GetFilePathWithReplacements( net 75 content/browser/frame_host/render_frame_host_manager_browsertest.cc net::HostPortPair foo_host_port_; net 37 content/browser/geolocation/fake_access_token_store.cc net::URLRequestContextGetter* context_getter = NULL; net 89 content/browser/geolocation/location_arbitrator_impl.cc net::URLRequestContextGetter* context_getter) { net 150 content/browser/geolocation/location_arbitrator_impl.cc net::URLRequestContextGetter* context, net 19 content/browser/geolocation/location_arbitrator_impl.h namespace net { net 58 content/browser/geolocation/location_arbitrator_impl.h net::URLRequestContextGetter* context, net 70 content/browser/geolocation/location_arbitrator_impl.h net::URLRequestContextGetter* context_getter); net 86 content/browser/geolocation/location_arbitrator_impl_unittest.cc net::URLRequestContextGetter* context, net 97 content/browser/geolocation/network_location_provider.cc net::URLRequestContextGetter* context, net 107 content/browser/geolocation/network_location_provider.cc net::URLRequestContextGetter* url_context_getter, net 69 content/browser/geolocation/network_location_provider.h net::URLRequestContextGetter* context, net 139 content/browser/geolocation/network_location_provider.h net::URLRequestContextGetter* context, net 148 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* get_url_fetcher_and_advance_id() { net 149 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID( net 250 content/browser/geolocation/network_location_provider_unittest.cc void CheckRequestIsValid(const net::TestURLFetcher& request, net 323 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 339 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 348 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 359 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 372 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 382 content/browser/geolocation/network_location_provider_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 411 content/browser/geolocation/network_location_provider_unittest.cc fetcher->set_status(net::URLRequestStatus()); net 450 content/browser/geolocation/network_location_provider_unittest.cc fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, -1)); net 494 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 507 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 523 content/browser/geolocation/network_location_provider_unittest.cc net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id(); net 103 content/browser/geolocation/network_location_request.cc net::URLRequestContextGetter* context, net 128 content/browser/geolocation/network_location_request.cc url_fetcher_.reset(net::URLFetcher::Create( net 129 content/browser/geolocation/network_location_request.cc url_fetcher_id_for_tests, request_url, net::URLFetcher::POST, this)); net 135 content/browser/geolocation/network_location_request.cc net::LOAD_BYPASS_CACHE | net::LOAD_DISABLE_CACHE | net 136 content/browser/geolocation/network_location_request.cc net::LOAD_DO_NOT_SAVE_COOKIES | net::LOAD_DO_NOT_SEND_COOKIES | net 137 content/browser/geolocation/network_location_request.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 145 content/browser/geolocation/network_location_request.cc const net::URLFetcher* source) { net 148 content/browser/geolocation/network_location_request.cc net::URLRequestStatus status = source->GetStatus(); net 199 content/browser/geolocation/network_location_request.cc query += "key=" + net::EscapeQueryParamValue(api_key, true); net 16 content/browser/geolocation/network_location_request.h namespace net { net 26 content/browser/geolocation/network_location_request.h class NetworkLocationRequest : private net::URLFetcherDelegate { net 41 content/browser/geolocation/network_location_request.h NetworkLocationRequest(net::URLRequestContextGetter* context, net 57 content/browser/geolocation/network_location_request.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 59 content/browser/geolocation/network_location_request.h scoped_refptr<net::URLRequestContextGetter> url_context_; net 62 content/browser/geolocation/network_location_request.h scoped_ptr<net::URLFetcher> url_fetcher_; net 99 content/browser/gpu/shader_disk_cache.cc scoped_refptr<net::IOBufferWithSize> buf_; net 165 content/browser/gpu/shader_disk_cache.cc if (rv != net::ERR_IO_PENDING) net 186 content/browser/gpu/shader_disk_cache.cc rv = net::ERR_IO_PENDING; // break the loop. net 192 content/browser/gpu/shader_disk_cache.cc } while (rv != net::ERR_IO_PENDING); net 198 content/browser/gpu/shader_disk_cache.cc if (rv == net::OK) { net 215 content/browser/gpu/shader_disk_cache.cc if (rv != net::OK) { net 223 content/browser/gpu/shader_disk_cache.cc scoped_refptr<net::StringIOBuffer> io_buf = new net::StringIOBuffer(shader_); net 256 content/browser/gpu/shader_disk_cache.cc OnOpComplete(net::OK); net 280 content/browser/gpu/shader_disk_cache.cc rv = net::ERR_IO_PENDING; // break the loop net 284 content/browser/gpu/shader_disk_cache.cc rv = net::ERR_FAILED; net 287 content/browser/gpu/shader_disk_cache.cc } while (rv != net::ERR_IO_PENDING); net 303 content/browser/gpu/shader_disk_cache.cc if (rv == net::ERR_FAILED) { net 305 content/browser/gpu/shader_disk_cache.cc return net::OK; net 312 content/browser/gpu/shader_disk_cache.cc buf_ = new net::IOBufferWithSize(entry_->GetDataSize(1)); net 336 content/browser/gpu/shader_disk_cache.cc return net::OK; net 345 content/browser/gpu/shader_disk_cache.cc return net::OK; net 373 content/browser/gpu/shader_disk_cache.cc DoClearShaderCache(net::OK); net 383 content/browser/gpu/shader_disk_cache.cc while (rv != net::ERR_IO_PENDING) { net 399 content/browser/gpu/shader_disk_cache.cc rv = net::ERR_IO_PENDING; // Break the loop. net 526 content/browser/gpu/shader_disk_cache.cc net::SHADER_CACHE, net 527 content/browser/gpu/shader_disk_cache.cc net::CACHE_BACKEND_DEFAULT, net 536 content/browser/gpu/shader_disk_cache.cc if (rv == net::OK) net 553 content/browser/gpu/shader_disk_cache.cc const net::CompletionCallback& completion_callback) { net 571 content/browser/gpu/shader_disk_cache.cc const net::CompletionCallback& callback) { net 573 content/browser/gpu/shader_disk_cache.cc return net::OK; net 575 content/browser/gpu/shader_disk_cache.cc return net::ERR_IO_PENDING; net 579 content/browser/gpu/shader_disk_cache.cc if (rv != net::OK) { net 591 content/browser/gpu/shader_disk_cache.cc cache_complete_callback_.Run(net::OK); net 602 content/browser/gpu/shader_disk_cache.cc available_callback_.Run(net::OK); net 608 content/browser/gpu/shader_disk_cache.cc const net::CompletionCallback& callback) { net 610 content/browser/gpu/shader_disk_cache.cc return net::OK; net 613 content/browser/gpu/shader_disk_cache.cc return net::ERR_IO_PENDING; net 49 content/browser/gpu/shader_disk_cache.h const net::CompletionCallback& completion_callback); net 55 content/browser/gpu/shader_disk_cache.h int SetAvailableCallback(const net::CompletionCallback& callback); net 65 content/browser/gpu/shader_disk_cache.h int SetCacheCompleteCallback(const net::CompletionCallback& callback); net 87 content/browser/gpu/shader_disk_cache.h net::CompletionCallback available_callback_; net 88 content/browser/gpu/shader_disk_cache.h net::CompletionCallback cache_complete_callback_; net 56 content/browser/gpu/shader_disk_cache_unittest.cc net::TestCompletionCallback available_cb; net 58 content/browser/gpu/shader_disk_cache_unittest.cc ASSERT_EQ(net::OK, available_cb.GetResult(rv)); net 63 content/browser/gpu/shader_disk_cache_unittest.cc net::TestCompletionCallback complete_cb; net 65 content/browser/gpu/shader_disk_cache_unittest.cc ASSERT_EQ(net::OK, complete_cb.GetResult(rv)); net 69 content/browser/gpu/shader_disk_cache_unittest.cc net::TestCompletionCallback clear_cb; net 71 content/browser/gpu/shader_disk_cache_unittest.cc ASSERT_EQ(net::OK, clear_cb.GetResult(rv)); net 18 content/browser/histogram_internals_request_job.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) net 19 content/browser/histogram_internals_request_job.cc : net::URLRequestSimpleJob(request, network_delegate) { net 36 content/browser/histogram_internals_request_job.cc unescaped_query = net::UnescapeURLComponent(path, net 37 content/browser/histogram_internals_request_job.cc net::UnescapeRule::NORMAL); net 46 content/browser/histogram_internals_request_job.cc data->append(net::EscapeForHTML(unescaped_title)); net 62 content/browser/histogram_internals_request_job.cc const net::CompletionCallback& callback) const { net 68 content/browser/histogram_internals_request_job.cc return net::OK; net 15 content/browser/histogram_internals_request_job.h class HistogramInternalsRequestJob : public net::URLRequestSimpleJob { net 17 content/browser/histogram_internals_request_job.h HistogramInternalsRequestJob(net::URLRequest* request, net 18 content/browser/histogram_internals_request_job.h net::NetworkDelegate* network_delegate); net 23 content/browser/histogram_internals_request_job.h const net::CompletionCallback& callback) const OVERRIDE; net 430 content/browser/indexed_db/indexed_db_browsertest.cc static scoped_ptr<net::test_server::HttpResponse> CorruptDBRequestHandler( net 434 content/browser/indexed_db/indexed_db_browsertest.cc const net::test_server::HttpRequest& request) { net 440 content/browser/indexed_db/indexed_db_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 460 content/browser/indexed_db/indexed_db_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 461 content/browser/indexed_db/indexed_db_browsertest.cc new net::test_server::BasicHttpResponse); net 462 content/browser/indexed_db/indexed_db_browsertest.cc http_response->set_code(net::HTTP_OK); net 463 content/browser/indexed_db/indexed_db_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 469 content/browser/indexed_db/indexed_db_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 470 content/browser/indexed_db/indexed_db_browsertest.cc new net::test_server::BasicHttpResponse); net 471 content/browser/indexed_db/indexed_db_browsertest.cc http_response->set_code(net::HTTP_OK); net 474 content/browser/indexed_db/indexed_db_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 476 content/browser/indexed_db/indexed_db_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 55 content/browser/indexed_db/indexed_db_quota_client.cc if (host == net::GetHostOrSpecFromURL(*iter)) net 68 content/browser/loader/async_resource_handler.cc class DependentIOBuffer : public net::WrappedIOBuffer { net 71 content/browser/loader/async_resource_handler.cc : net::WrappedIOBuffer(memory), net 80 content/browser/loader/async_resource_handler.cc net::URLRequest* request, net 200 content/browser/loader/async_resource_handler.cc net::GetHostOrSpecFromURL(request_url)))); net 241 content/browser/loader/async_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 331 content/browser/loader/async_resource_handler.cc const net::URLRequestStatus& status, net 349 content/browser/loader/async_resource_handler.cc CHECK(status.status() != net::URLRequestStatus::SUCCESS || net 355 content/browser/loader/async_resource_handler.cc DCHECK(status.status() != net::URLRequestStatus::IO_PENDING); net 359 content/browser/loader/async_resource_handler.cc DCHECK(!was_ignored_by_handler || error_code == net::ERR_ABORTED); net 363 content/browser/loader/async_resource_handler.cc if (status.status() == net::URLRequestStatus::CANCELED && net 364 content/browser/loader/async_resource_handler.cc error_code == net::OK) { net 365 content/browser/loader/async_resource_handler.cc error_code = net::ERR_ABORTED; net 366 content/browser/loader/async_resource_handler.cc } else if (status.status() == net::URLRequestStatus::FAILED && net 367 content/browser/loader/async_resource_handler.cc error_code == net::OK) { net 368 content/browser/loader/async_resource_handler.cc error_code = net::ERR_FAILED; net 390 content/browser/loader/async_resource_handler.cc controller()->CancelWithError(net::ERR_INSUFFICIENT_RESOURCES); net 15 content/browser/loader/async_resource_handler.h namespace net { net 31 content/browser/loader/async_resource_handler.h AsyncResourceHandler(net::URLRequest* request, net 56 content/browser/loader/async_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 63 content/browser/loader/async_resource_handler.h const net::URLRequestStatus& status, net 64 content/browser/loader/buffered_resource_handler.cc class DependentIOBuffer : public net::WrappedIOBuffer { net 66 content/browser/loader/buffered_resource_handler.cc DependentIOBuffer(net::IOBuffer* buf, int offset) net 67 content/browser/loader/buffered_resource_handler.cc : net::WrappedIOBuffer(buf->data() + offset), net 74 content/browser/loader/buffered_resource_handler.cc scoped_refptr<net::IOBuffer> buf_; net 82 content/browser/loader/buffered_resource_handler.cc net::URLRequest* request) net 150 content/browser/loader/buffered_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 168 content/browser/loader/buffered_resource_handler.cc DCHECK_GE(read_buffer_size_, net::kMaxBytesToSniff * 2); net 190 content/browser/loader/buffered_resource_handler.cc const net::URLRequestStatus& status, net 269 content/browser/loader/buffered_resource_handler.cc net::ShouldSniffMimeType(request()->url(), mime_type); net 291 content/browser/loader/buffered_resource_handler.cc net::SniffMimeType(read_buffer_->data(), bytes_read_, request()->url(), net 308 content/browser/loader/buffered_resource_handler.cc if (net::IsSupportedCertificateMimeType(mime_type)) { net 321 content/browser/loader/buffered_resource_handler.cc if (net::IsSupportedMimeType(mime_type)) net 368 content/browser/loader/buffered_resource_handler.cc request()->CancelWithError(net::ERR_INVALID_RESPONSE); net 383 content/browser/loader/buffered_resource_handler.cc net::URLRequestStatus status(net::URLRequestStatus::CANCELED, net 384 content/browser/loader/buffered_resource_handler.cc net::ERR_ABORTED); net 431 content/browser/loader/buffered_resource_handler.cc net::HttpContentDisposition(disposition, std::string()).is_attachment()) { net 465 content/browser/loader/buffered_resource_handler.cc scoped_refptr<net::IOBuffer> buf; net 15 content/browser/loader/buffered_resource_handler.h namespace net { net 30 content/browser/loader/buffered_resource_handler.h net::URLRequest* request); net 40 content/browser/loader/buffered_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 46 content/browser/loader/buffered_resource_handler.h const net::URLRequestStatus& status, net 99 content/browser/loader/buffered_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; net 21 content/browser/loader/certificate_resource_handler.cc net::URLRequest* request) net 26 content/browser/loader/certificate_resource_handler.cc cert_type_(net::CERTIFICATE_MIME_TYPE_UNKNOWN) { net 49 content/browser/loader/certificate_resource_handler.cc cert_type_ = net::GetCertificateMimeTypeForMimeType(resp->head.mime_type); net 50 content/browser/loader/certificate_resource_handler.cc return cert_type_ != net::CERTIFICATE_MIME_TYPE_UNKNOWN; net 66 content/browser/loader/certificate_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 74 content/browser/loader/certificate_resource_handler.cc read_buffer_ = new net::IOBuffer(kReadBufSize); net 94 content/browser/loader/certificate_resource_handler.cc net::IOBuffer* buffer = NULL; net 104 content/browser/loader/certificate_resource_handler.cc const net::URLRequestStatus& urs, net 107 content/browser/loader/certificate_resource_handler.cc if (urs.status() != net::URLRequestStatus::SUCCESS) net 132 content/browser/loader/certificate_resource_handler.cc resource_buffer_ = new net::IOBuffer(content_length_); net 137 content/browser/loader/certificate_resource_handler.cc net::IOBuffer* data = buffer_[i].first.get(); net 19 content/browser/loader/certificate_resource_handler.h namespace net { net 34 content/browser/loader/certificate_resource_handler.h explicit CertificateResourceHandler(net::URLRequest* request); net 64 content/browser/loader/certificate_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 75 content/browser/loader/certificate_resource_handler.h const net::URLRequestStatus& urs, net 83 content/browser/loader/certificate_resource_handler.h typedef std::vector<std::pair<scoped_refptr<net::IOBuffer>, net 91 content/browser/loader/certificate_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; net 92 content/browser/loader/certificate_resource_handler.h scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. net 93 content/browser/loader/certificate_resource_handler.h net::CertificateMimeType cert_type_; net 91 content/browser/loader/cross_site_resource_handler.cc net::URLRequest* request) net 202 content/browser/loader/cross_site_resource_handler.cc const net::URLRequestStatus& status, net 211 content/browser/loader/cross_site_resource_handler.cc status.status() != net::URLRequestStatus::FAILED || net 13 content/browser/loader/cross_site_resource_handler.h namespace net { net 27 content/browser/loader/cross_site_resource_handler.h net::URLRequest* request); net 42 content/browser/loader/cross_site_resource_handler.h const net::URLRequestStatus& status, net 72 content/browser/loader/cross_site_resource_handler.h net::URLRequestStatus completed_status_; net 43 content/browser/loader/detachable_resource_handler.cc net::URLRequest* request, net 53 content/browser/loader/detachable_resource_handler.cc status_(net::URLRequestStatus::IO_PENDING) { net 66 content/browser/loader/detachable_resource_handler.cc if (status_ == net::URLRequestStatus::SUCCESS) { net 74 content/browser/loader/detachable_resource_handler.cc } else if (status_ == net::URLRequestStatus::IO_PENDING) { net 78 content/browser/loader/detachable_resource_handler.cc } else if (status_ == net::URLRequestStatus::CANCELED) { net 84 content/browser/loader/detachable_resource_handler.cc } else if (status_ == net::URLRequestStatus::FAILED) { net 103 content/browser/loader/detachable_resource_handler.cc net::URLRequestStatus status(net::URLRequestStatus::CANCELED, net 104 content/browser/loader/detachable_resource_handler.cc net::ERR_ABORTED); net 219 content/browser/loader/detachable_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 225 content/browser/loader/detachable_resource_handler.cc read_buffer_ = new net::IOBuffer(kReadBufSize); net 249 content/browser/loader/detachable_resource_handler.cc const net::URLRequestStatus& status, net 256 content/browser/loader/detachable_resource_handler.cc DCHECK_NE(net::URLRequestStatus::IO_PENDING, status_); net 19 content/browser/loader/detachable_resource_handler.h namespace net { net 39 content/browser/loader/detachable_resource_handler.h DetachableResourceHandler(net::URLRequest* request, net 67 content/browser/loader/detachable_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 73 content/browser/loader/detachable_resource_handler.h const net::URLRequestStatus& status, net 88 content/browser/loader/detachable_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; net 102 content/browser/loader/detachable_resource_handler.h net::URLRequestStatus::Status status_; net 12 content/browser/loader/layered_resource_handler.cc net::URLRequest* request, net 67 content/browser/loader/layered_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 82 content/browser/loader/layered_resource_handler.cc const net::URLRequestStatus& status, net 12 content/browser/loader/layered_resource_handler.h namespace net { net 22 content/browser/loader/layered_resource_handler.h LayeredResourceHandler(net::URLRequest* request, net 42 content/browser/loader/layered_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 48 content/browser/loader/layered_resource_handler.h const net::URLRequestStatus& status, net 54 content/browser/loader/offline_policy.cc (net::LOAD_BYPASS_CACHE | net::LOAD_PREFERRING_CACHE | net 55 content/browser/loader/offline_policy.cc net::LOAD_ONLY_FROM_CACHE | net::LOAD_FROM_CACHE_IF_OFFLINE | net 56 content/browser/loader/offline_policy.cc net::LOAD_DISABLE_CACHE)) { net 62 content/browser/loader/offline_policy.cc return net::LOAD_FROM_CACHE_IF_OFFLINE; net 66 content/browser/loader/offline_policy.cc return net::LOAD_ONLY_FROM_CACHE; net 73 content/browser/loader/offline_policy.cc const net::HttpResponseInfo& response_info) { net 15 content/browser/loader/offline_policy.h namespace net { net 43 content/browser/loader/offline_policy.h const net::HttpResponseInfo& response_info); net 36 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 38 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 44 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 46 content/browser/loader/offline_policy_unittest.cc net::HttpResponseInfo response_info; net 48 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 54 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 56 content/browser/loader/offline_policy_unittest.cc net::HttpResponseInfo response_info; net 59 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_ONLY_FROM_CACHE, net 65 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 67 content/browser/loader/offline_policy_unittest.cc net::HttpResponseInfo response_info; net 75 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 77 content/browser/loader/offline_policy_unittest.cc net::HttpResponseInfo response_info; net 81 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 83 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(net::LOAD_FROM_CACHE_IF_OFFLINE, net 89 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(0, policy_->GetAdditionalLoadFlags(net::LOAD_BYPASS_CACHE, true)); net 90 content/browser/loader/offline_policy_unittest.cc net::HttpResponseInfo response_info; net 93 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(0, policy_->GetAdditionalLoadFlags(net::LOAD_BYPASS_CACHE, false)); net 35 content/browser/loader/redirect_to_file_resource_handler.cc class DependentIOBuffer : public net::WrappedIOBuffer { net 37 content/browser/loader/redirect_to_file_resource_handler.cc DependentIOBuffer(net::IOBuffer* backing, char* memory) net 38 content/browser/loader/redirect_to_file_resource_handler.cc : net::WrappedIOBuffer(memory), net 44 content/browser/loader/redirect_to_file_resource_handler.cc scoped_refptr<net::IOBuffer> backing_; net 62 content/browser/loader/redirect_to_file_resource_handler.cc scoped_ptr<net::FileStream> file_stream, net 74 content/browser/loader/redirect_to_file_resource_handler.cc int Write(net::IOBuffer* buf, int buf_len) { net 80 content/browser/loader/redirect_to_file_resource_handler.cc if (result == net::ERR_IO_PENDING) net 110 content/browser/loader/redirect_to_file_resource_handler.cc if (result != net::ERR_IO_PENDING) net 120 content/browser/loader/redirect_to_file_resource_handler.cc scoped_ptr<net::FileStream> file_stream_; net 132 content/browser/loader/redirect_to_file_resource_handler.cc net::URLRequest* request) net 134 content/browser/loader/redirect_to_file_resource_handler.cc buf_(new net::GrowableIOBuffer()), net 162 content/browser/loader/redirect_to_file_resource_handler.cc if (response->head.error_code == net::OK || net 163 content/browser/loader/redirect_to_file_resource_handler.cc response->head.error_code == net::ERR_IO_PENDING) { net 194 content/browser/loader/redirect_to_file_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 238 content/browser/loader/redirect_to_file_resource_handler.cc const net::URLRequestStatus& status, net 254 content/browser/loader/redirect_to_file_resource_handler.cc scoped_ptr<net::FileStream> file_stream, net 258 content/browser/loader/redirect_to_file_resource_handler.cc controller()->CancelWithError(net::FileErrorToNetError(error_code)); net 296 content/browser/loader/redirect_to_file_resource_handler.cc completed_status_.set_status(net::URLRequestStatus::CANCELED); net 297 content/browser/loader/redirect_to_file_resource_handler.cc completed_status_.set_error(net::ERR_FAILED); net 300 content/browser/loader/redirect_to_file_resource_handler.cc controller()->CancelWithError(net::ERR_FAILED); net 357 content/browser/loader/redirect_to_file_resource_handler.cc if (rv == net::ERR_IO_PENDING) net 371 content/browser/loader/redirect_to_file_resource_handler.cc return buf_->RemainingCapacity() <= (2 * net::kMaxBytesToSniff); net 24 content/browser/loader/redirect_to_file_resource_handler.h namespace net { net 49 content/browser/loader/redirect_to_file_resource_handler.h net::URLRequest* request); net 67 content/browser/loader/redirect_to_file_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 74 content/browser/loader/redirect_to_file_resource_handler.h const net::URLRequestStatus& status, net 81 content/browser/loader/redirect_to_file_resource_handler.h scoped_ptr<net::FileStream> file_stream, net 100 content/browser/loader/redirect_to_file_resource_handler.h scoped_refptr<net::GrowableIOBuffer> buf_; net 121 content/browser/loader/redirect_to_file_resource_handler.h net::URLRequestStatus completed_status_; net 260 content/browser/loader/resource_dispatcher_host_browsertest.cc scoped_ptr<net::test_server::HttpResponse> NoContentResponseHandler( net 262 content/browser/loader/resource_dispatcher_host_browsertest.cc const net::test_server::HttpRequest& request) { net 264 content/browser/loader/resource_dispatcher_host_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 266 content/browser/loader/resource_dispatcher_host_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 267 content/browser/loader/resource_dispatcher_host_browsertest.cc new net::test_server::BasicHttpResponse); net 268 content/browser/loader/resource_dispatcher_host_browsertest.cc http_response->set_code(net::HTTP_NO_CONTENT); net 269 content/browser/loader/resource_dispatcher_host_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 352 content/browser/loader/resource_dispatcher_host_browsertest.cc net::ERR_NAME_NOT_RESOLVED); net 397 content/browser/loader/resource_dispatcher_host_browsertest.cc net::ERR_NAME_NOT_RESOLVED); net 437 content/browser/loader/resource_dispatcher_host_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleRedirectRequest( net 439 content/browser/loader/resource_dispatcher_host_browsertest.cc const net::test_server::HttpRequest& request) { net 441 content/browser/loader/resource_dispatcher_host_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 443 content/browser/loader/resource_dispatcher_host_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 444 content/browser/loader/resource_dispatcher_host_browsertest.cc new net::test_server::BasicHttpResponse); net 445 content/browser/loader/resource_dispatcher_host_browsertest.cc http_response->set_code(net::HTTP_FOUND); net 448 content/browser/loader/resource_dispatcher_host_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 156 content/browser/loader/resource_dispatcher_host_impl.cc result.error_code = net::ERR_ABORTED; net 162 content/browser/loader/resource_dispatcher_host_impl.cc request_complete_data.error_code = net::ERR_ABORTED; net 173 content/browser/loader/resource_dispatcher_host_impl.cc void SetReferrerForRequest(net::URLRequest* request, const Referrer& referrer) { net 181 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest::ReferrerPolicy net_referrer_policy = net 182 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE; net 186 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE; net 191 content/browser/loader/resource_dispatcher_host_impl.cc net_referrer_policy = net::URLRequest::NEVER_CLEAR_REFERRER; net 275 content/browser/loader/resource_dispatcher_host_impl.cc int GetCertID(net::URLRequest* request, int child_id) { net 309 content/browser/loader/resource_dispatcher_host_impl.cc const net::SignedCertificateTimestampAndStatus& sct_status) { net 310 content/browser/loader/resource_dispatcher_host_impl.cc return sct_status.status == net::ct::SCT_STATUS_OK; net 474 content/browser/loader/resource_dispatcher_host_impl.cc scoped_ptr<net::URLRequest> request, net 498 content/browser/loader/resource_dispatcher_host_impl.cc int extra_load_flags = net::LOAD_IS_DOWNLOAD; net 505 content/browser/loader/resource_dispatcher_host_impl.cc extra_load_flags |= net::LOAD_ONLY_FROM_CACHE; net 507 content/browser/loader/resource_dispatcher_host_impl.cc extra_load_flags |= net::LOAD_PREFERRING_CACHE; net 509 content/browser/loader/resource_dispatcher_host_impl.cc extra_load_flags |= net::LOAD_DISABLE_CACHE; net 530 content/browser/loader/resource_dispatcher_host_impl.cc const net::URLRequestContext* request_context = context->GetRequestContext(); net 563 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request) { net 582 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request, net 609 content/browser/loader/resource_dispatcher_host_impl.cc ResourceDispatcherHostImpl::MaybeInterceptAsStream(net::URLRequest* request, net 648 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request) { net 660 content/browser/loader/resource_dispatcher_host_impl.cc net::AuthChallengeInfo* auth_info) { net 677 content/browser/loader/resource_dispatcher_host_impl.cc const net::URLRequestJobFactory* job_factory = net 683 content/browser/loader/resource_dispatcher_host_impl.cc (loader->request()->load_flags() & net::LOAD_MAYBE_USER_GESTURE) != 0; net 986 content/browser/loader/resource_dispatcher_host_impl.cc if (request_data.priority < net::MINIMUM_PRIORITY || net 987 content/browser/loader/resource_dispatcher_host_impl.cc request_data.priority > net::MAXIMUM_PRIORITY) { net 1023 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequestContext* request_context = NULL; net 1059 content/browser/loader/resource_dispatcher_host_impl.cc DCHECK_EQ(request_data.priority, net::MAXIMUM_PRIORITY); net 1060 content/browser/loader/resource_dispatcher_host_impl.cc DCHECK_NE(load_flags & net::LOAD_IGNORE_LIMITS, 0); net 1062 content/browser/loader/resource_dispatcher_host_impl.cc DCHECK_EQ(load_flags & net::LOAD_IGNORE_LIMITS, 0); net 1066 content/browser/loader/resource_dispatcher_host_impl.cc net::CookieStore* cookie_store = net 1069 content/browser/loader/resource_dispatcher_host_impl.cc scoped_ptr<net::URLRequest> new_request; net 1080 content/browser/loader/resource_dispatcher_host_impl.cc net::HttpRequestHeaders headers; net 1162 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request, net 1383 content/browser/loader/resource_dispatcher_host_impl.cc const net::URLRequestContext* request_context = context->GetRequestContext(); net 1394 content/browser/loader/resource_dispatcher_host_impl.cc net::CookieStore* cookie_store = net 1397 content/browser/loader/resource_dispatcher_host_impl.cc scoped_ptr<net::URLRequest> request( net 1398 content/browser/loader/resource_dispatcher_host_impl.cc request_context->CreateRequest(url, net::DEFAULT_PRIORITY, NULL, net 1406 content/browser/loader/resource_dispatcher_host_impl.cc request->SetLoadFlags(net::LOAD_PREFERRING_CACHE); net 1647 content/browser/loader/resource_dispatcher_host_impl.cc const net::URLRequest* request_) { net 1661 content/browser/loader/resource_dispatcher_host_impl.cc const net::URLRequest* request_) { net 1669 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request) { net 1684 content/browser/loader/resource_dispatcher_host_impl.cc scoped_ptr<net::URLRequest> request, net 1693 content/browser/loader/resource_dispatcher_host_impl.cc request->load_flags() | net::LOAD_MAYBE_USER_GESTURE); net 1705 content/browser/loader/resource_dispatcher_host_impl.cc request->CancelWithError(net::ERR_INSUFFICIENT_RESOURCES); net 1748 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* ResourceDispatcherHostImpl::GetURLRequest( net 1775 content/browser/loader/resource_dispatcher_host_impl.cc const net::LoadStateWithParam& MoreInterestingLoadState( net 1776 content/browser/loader/resource_dispatcher_host_impl.cc const net::LoadStateWithParam& a, const net::LoadStateWithParam& b) { net 1783 content/browser/loader/resource_dispatcher_host_impl.cc net::LoadStateWithParam load_state; net 1818 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request = i->second->request(); net 1821 content/browser/loader/resource_dispatcher_host_impl.cc if (request->GetLoadState().state != net::LOAD_STATE_SENDING_REQUEST) net 1829 content/browser/loader/resource_dispatcher_host_impl.cc net::URLRequest* request = i->second->request(); net 1831 content/browser/loader/resource_dispatcher_host_impl.cc net::LoadStateWithParam load_state = request->GetLoadState(); net 1832 content/browser/loader/resource_dispatcher_host_impl.cc net::UploadProgress progress = request->GetUploadProgress(); net 1846 content/browser/loader/resource_dispatcher_host_impl.cc net::LoadStateWithParam to_insert = load_state; net 1926 content/browser/loader/resource_dispatcher_host_impl.cc if (net::registry_controlled_domains::SameDomainOrHost( net 1928 content/browser/loader/resource_dispatcher_host_impl.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES)) net 1995 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= net::LOAD_VERIFY_EV_CERT; net 1997 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= net::LOAD_MAIN_FRAME; net 1999 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= net::LOAD_SUB_FRAME; net 2001 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= (net::LOAD_PREFETCH | net::LOAD_DO_NOT_PROMPT_FOR_LOGIN); net 2003 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= net::LOAD_DO_NOT_PROMPT_FOR_LOGIN; net 2016 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= (net::LOAD_DO_NOT_USE_EMBEDDED_IDENTITY | net 2017 content/browser/loader/resource_dispatcher_host_impl.cc net::LOAD_DO_NOT_PROMPT_FOR_LOGIN); net 2022 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= net::LOAD_IGNORE_LIMITS; net 2027 content/browser/loader/resource_dispatcher_host_impl.cc load_flags |= (net::LOAD_DO_NOT_SEND_COOKIES | net 2028 content/browser/loader/resource_dispatcher_host_impl.cc net::LOAD_DO_NOT_SEND_AUTH_DATA | net 2029 content/browser/loader/resource_dispatcher_host_impl.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 2034 content/browser/loader/resource_dispatcher_host_impl.cc if ((load_flags & net::LOAD_REPORT_RAW_HEADERS) net 2037 content/browser/loader/resource_dispatcher_host_impl.cc load_flags &= ~net::LOAD_REPORT_RAW_HEADERS; net 48 content/browser/loader/resource_dispatcher_host_impl.h namespace net { net 82 content/browser/loader/resource_dispatcher_host_impl.h scoped_ptr<net::URLRequest> request, net 92 content/browser/loader/resource_dispatcher_host_impl.h virtual void ClearLoginDelegateForRequest(net::URLRequest* request) OVERRIDE; net 176 content/browser/loader/resource_dispatcher_host_impl.h net::URLRequest* GetURLRequest(const GlobalRequestID& request_id); net 208 content/browser/loader/resource_dispatcher_host_impl.h net::URLRequest* request, net 218 content/browser/loader/resource_dispatcher_host_impl.h net::URLRequest* request, net 221 content/browser/loader/resource_dispatcher_host_impl.h void ClearSSLClientAuthHandlerForRequest(net::URLRequest* request); net 229 content/browser/loader/resource_dispatcher_host_impl.h bool HasSufficientResourcesForRequest(const net::URLRequest* request_); net 234 content/browser/loader/resource_dispatcher_host_impl.h void FinishedWithResourcesForRequest(const net::URLRequest* request_); net 261 content/browser/loader/resource_dispatcher_host_impl.h net::AuthChallengeInfo* auth_info) OVERRIDE; net 277 content/browser/loader/resource_dispatcher_host_impl.h void BeginRequestInternal(scoped_ptr<net::URLRequest> request, net 315 content/browser/loader/resource_dispatcher_host_impl.h static int CalculateApproximateMemoryCost(net::URLRequest* request); net 367 content/browser/loader/resource_dispatcher_host_impl.h net::URLRequest* request, net 210 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestContext** request_context) { net 223 content/browser/loader/resource_dispatcher_host_unittest.cc class URLRequestTestDelayedNetworkJob : public net::URLRequestTestJob { net 225 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedNetworkJob(net::URLRequest* request, net 226 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate) net 227 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, network_delegate) {} net 235 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::Start(); net 239 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::StartAsync(); net 250 content/browser/loader/resource_dispatcher_host_unittest.cc class URLRequestTestDelayedStartJob : public net::URLRequestTestJob { net 252 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedStartJob(net::URLRequest* request, net 253 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate) net 254 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, network_delegate) { net 257 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedStartJob(net::URLRequest* request, net 258 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate, net 260 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, network_delegate, auto_advance) { net 263 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedStartJob(net::URLRequest* request, net 264 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate, net 268 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, net 282 content/browser/loader/resource_dispatcher_host_unittest.cc static void CompleteStart(net::URLRequest* request) { net 287 content/browser/loader/resource_dispatcher_host_unittest.cc job->net::URLRequestTestJob::Start(); net 334 content/browser/loader/resource_dispatcher_host_unittest.cc class URLRequestTestDelayedCompletionJob : public net::URLRequestTestJob { net 336 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedCompletionJob(net::URLRequest* request, net 337 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate) net 338 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, network_delegate) {} net 339 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedCompletionJob(net::URLRequest* request, net 340 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate, net 342 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, network_delegate, auto_advance) {} net 343 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestTestDelayedCompletionJob(net::URLRequest* request, net 344 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate, net 348 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestTestJob(request, net 361 content/browser/loader/resource_dispatcher_host_unittest.cc class URLRequestBigJob : public net::URLRequestSimpleJob { net 363 content/browser/loader/resource_dispatcher_host_unittest.cc URLRequestBigJob(net::URLRequest* request, net 364 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate) net 365 content/browser/loader/resource_dispatcher_host_unittest.cc : net::URLRequestSimpleJob(request, network_delegate) { net 371 content/browser/loader/resource_dispatcher_host_unittest.cc const net::CompletionCallback& callback) const OVERRIDE { net 378 content/browser/loader/resource_dispatcher_host_unittest.cc return net::ERR_INVALID_URL; net 384 content/browser/loader/resource_dispatcher_host_unittest.cc return net::OK; net 443 content/browser/loader/resource_dispatcher_host_unittest.cc static const int USE_DEFAULT_CANCEL_ERROR_CODE = net::OK; net 542 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest* request, net 635 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory( net 646 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory("test", NULL); net 648 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory( net 708 content/browser/loader/resource_dispatcher_host_unittest.cc net::TestNetworkDelegate* network_delegate() { return &network_delegate_; } net 725 content/browser/loader/resource_dispatcher_host_unittest.cc response_headers_ = net::HttpUtil::AssembleRawHeaders(headers.data(), net 742 content/browser/loader/resource_dispatcher_host_unittest.cc old_factory_ = net::URLRequest::Deprecated::RegisterProtocolFactory( net 748 content/browser/loader/resource_dispatcher_host_unittest.cc static net::URLRequestJob* Factory(net::URLRequest* request, net 749 content/browser/loader/resource_dispatcher_host_unittest.cc net::NetworkDelegate* network_delegate, net 763 content/browser/loader/resource_dispatcher_host_unittest.cc return new net::URLRequestTestJob(request, network_delegate); net 777 content/browser/loader/resource_dispatcher_host_unittest.cc return new net::URLRequestTestJob( net 829 content/browser/loader/resource_dispatcher_host_unittest.cc net::TestNetworkDelegate network_delegate_; net 835 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest::ProtocolFactory* old_factory_; net 885 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest* req = host_.GetURLRequest(gid); net 970 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequestWithErrorCode(messages, reference_data, net::OK); net 999 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1000 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 2, net::URLRequestTestJob::test_url_2()); net 1001 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 3, net::URLRequestTestJob::test_url_3()); net 1003 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1005 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 5, net::URLRequestTestJob::test_url_redirect_to_url_2()); net 1014 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1023 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1024 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_2()); net 1025 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[2], net::URLRequestTestJob::test_data_3()); net 1026 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[3], net::URLRequestTestJob::test_data_4()); net 1027 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRedirect(msgs[4], net::URLRequestTestJob::test_data_2()); net 1033 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1034 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 2, net::URLRequestTestJob::test_url_2()); net 1035 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 3, net::URLRequestTestJob::test_url_3()); net 1038 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1054 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1066 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1067 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[2], net::URLRequestTestJob::test_data_3()); net 1076 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[3][1], net::ERR_ABORTED); net 1089 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1107 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][1], net::ERR_ABORTED); net 1132 content/browser/loader/resource_dispatcher_host_unittest.cc "GET", ResourceType::PREFETCH, net::URLRequestTestJob::test_url_2()); net 1134 content/browser/loader/resource_dispatcher_host_unittest.cc "GET", ResourceType::PING, net::URLRequestTestJob::test_url_3()); net 1158 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][0], net::ERR_ABORTED); net 1159 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[1][0], net::ERR_ABORTED); net 1171 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1185 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_redirect_to_url_2()); net 1203 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][0], net::ERR_ABORTED); net 1210 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest* url_request = host_.GetURLRequest(global_request_id); net 1221 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1239 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1264 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_1(), net 1275 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1286 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1301 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1304 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1312 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][0], net::ERR_ABORTED); net 1325 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_error()); net 1329 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1343 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_2()); net 1355 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1370 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1387 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1395 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1403 content/browser/loader/resource_dispatcher_host_unittest.cc delegate.set_error_code_for_cancellation(net::ERR_ACCESS_DENIED); net 1406 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1410 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1420 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][0], net::ERR_ACCESS_DENIED); net 1457 content/browser/loader/resource_dispatcher_host_unittest.cc "GET", ResourceType::SUB_RESOURCE, net::URLRequestTestJob::test_url_1()); net 1460 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_1(), net 1464 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 2, net::URLRequestTestJob::test_url_2()); net 1468 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_3(), net 1473 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1491 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_TRUE(net::URLRequestTestJob::ProcessOnePendingMessage()); net 1505 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1516 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_2()); net 1521 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[1][1], net::ERR_ABORTED); net 1530 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1555 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1566 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][1], net::ERR_ABORTED); net 1579 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1580 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(1, 2, net::URLRequestTestJob::test_url_2()); net 1581 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 3, net::URLRequestTestJob::test_url_3()); net 1582 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(1, 4, net::URLRequestTestJob::test_url_1()); net 1583 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(2, 5, net::URLRequestTestJob::test_url_2()); net 1584 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(3, 6, net::URLRequestTestJob::test_url_3()); net 1587 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1596 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1597 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_3()); net 1602 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1607 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_2()); net 1608 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_1()); net 1611 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(1, 7, net::URLRequestTestJob::test_url_1()); net 1612 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1616 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1622 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1627 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_2()); net 1628 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_3()); net 1635 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 1, net::URLRequestTestJob::test_url_1()); net 1636 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(1, 2, net::URLRequestTestJob::test_url_2()); net 1637 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(0, 3, net::URLRequestTestJob::test_url_3()); net 1638 content/browser/loader/resource_dispatcher_host_unittest.cc MakeTestRequest(1, 4, net::URLRequestTestJob::test_url_1()); net 1641 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1645 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1654 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1655 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_3()); net 1660 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1675 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_1(), net 1678 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1681 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_3(), net 1684 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_1(), net 1687 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1694 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1704 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[0], net::URLRequestTestJob::test_data_1()); net 1705 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[1], net::URLRequestTestJob::test_data_3()); net 1723 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_1(), net 1726 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1729 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_3(), net 1732 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_1(), net 1735 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1738 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_3(), net 1741 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1744 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 1751 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1756 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestContext context; net 1757 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequest req( net 1758 content/browser/loader/resource_dispatcher_host_unittest.cc GURL("http://www.google.com"), net::DEFAULT_PRIORITY, NULL, &context); net 1771 content/browser/loader/resource_dispatcher_host_unittest.cc scoped_ptr<net::UploadElementReader> reader(new net::UploadBytesElementReader( net 1774 content/browser/loader/resource_dispatcher_host_unittest.cc net::UploadDataStream::CreateWithReader(reader.Pass(), 0))); net 1789 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2().spec().size(); net 1805 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1811 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1814 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1820 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1823 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1827 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1839 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[i], net::URLRequestTestJob::test_data_2()); net 1846 content/browser/loader/resource_dispatcher_host_unittest.cc CheckFailedRequest(msgs[index], net::URLRequestTestJob::test_data_2(), net 1847 content/browser/loader/resource_dispatcher_host_unittest.cc net::ERR_INSUFFICIENT_RESOURCES); net 1852 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_data_2()); net 1854 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_data_2()); net 1874 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1880 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), net 1887 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), ResourceType::SUB_RESOURCE); net 1893 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_2(), ResourceType::SUB_RESOURCE); net 1896 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1910 content/browser/loader/resource_dispatcher_host_unittest.cc CheckSuccessfulRequest(msgs[i], net::URLRequestTestJob::test_data_2()); net 1913 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_data_2(), net 1914 content/browser/loader/resource_dispatcher_host_unittest.cc net::ERR_INSUFFICIENT_RESOURCES); net 1916 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_data_2()); net 1918 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_data_2(), net 1919 content/browser/loader/resource_dispatcher_host_unittest.cc net::ERR_INSUFFICIENT_RESOURCES); net 1932 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1955 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1975 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 1994 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2013 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2040 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2052 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][0], net::ERR_INVALID_RESPONSE); net 2084 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_TRUE(net::URLRequestTestJob::ProcessOnePendingMessage()); net 2096 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2120 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_TRUE(net::URLRequestTestJob::ProcessOnePendingMessage()); net 2148 content/browser/loader/resource_dispatcher_host_unittest.cc net::URLRequestTestJob::test_url_4(), net 2250 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2325 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2407 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2494 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2548 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2560 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(msgs[0][0], net::ERR_UNKNOWN_URL_SCHEME); net 2610 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_TRUE(net::URLRequestTestJob::ProcessOnePendingMessage()); net 2619 content/browser/loader/resource_dispatcher_host_unittest.cc while (net::URLRequestTestJob::ProcessOnePendingMessage()) {} net 2640 content/browser/loader/resource_dispatcher_host_unittest.cc net::ERR_ABORTED); net 2827 content/browser/loader/resource_dispatcher_host_unittest.cc "GET", ResourceType::SUB_RESOURCE, net::URLRequestTestJob::test_url_1()); net 2868 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_EQ(net::URLRequestTestJob::test_data_1().size(), total_len); net 2871 content/browser/loader/resource_dispatcher_host_unittest.cc CheckRequestCompleteErrorCode(messages.back(), net::OK); net 2877 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_EQ(net::URLRequestTestJob::test_data_1(), contents); net 11 content/browser/loader/resource_handler.cc ResourceHandler::ResourceHandler(net::URLRequest* request) net 24 content/browser/loader/resource_handler.h namespace net { net 93 content/browser/loader/resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 108 content/browser/loader/resource_handler.h const net::URLRequestStatus& status, net 119 content/browser/loader/resource_handler.h ResourceHandler(net::URLRequest* request); net 122 content/browser/loader/resource_handler.h net::URLRequest* request() const { return request_; } net 131 content/browser/loader/resource_handler.h net::URLRequest* request_; net 40 content/browser/loader/resource_loader.cc void PopulateResourceResponse(net::URLRequest* request, net 49 content/browser/loader/resource_loader.cc net::HttpResponseInfo response_info = request->response_info(); net 62 content/browser/loader/resource_loader.cc if (request->load_flags() & net::LOAD_ENABLE_LOAD_TIMING) net 68 content/browser/loader/resource_loader.cc ResourceLoader::ResourceLoader(scoped_ptr<net::URLRequest> request, net 116 content/browser/loader/resource_loader.cc CancelRequestInternal(net::ERR_ABORTED, from_renderer); net 135 content/browser/loader/resource_loader.cc net::UploadProgress progress = request_->GetUploadProgress(); net 154 content/browser/loader/resource_loader.cc if (request_->load_flags() & net::LOAD_ENABLE_UPLOAD_PROGRESS) { net 193 content/browser/loader/resource_loader.cc void ResourceLoader::OnReceivedRedirect(net::URLRequest* unused, net 233 content/browser/loader/resource_loader.cc void ResourceLoader::OnAuthRequired(net::URLRequest* unused, net 234 content/browser/loader/resource_loader.cc net::AuthChallengeInfo* auth_info) { net 237 content/browser/loader/resource_loader.cc if (request_->load_flags() & net::LOAD_DO_NOT_PROMPT_FOR_LOGIN) { net 253 content/browser/loader/resource_loader.cc net::URLRequest* unused, net 254 content/browser/loader/resource_loader.cc net::SSLCertRequestInfo* cert_info) { net 257 content/browser/loader/resource_loader.cc if (request_->load_flags() & net::LOAD_PREFETCH) { net 271 content/browser/loader/resource_loader.cc void ResourceLoader::OnSSLCertificateError(net::URLRequest* request, net 272 content/browser/loader/resource_loader.cc const net::SSLInfo& ssl_info, net 292 content/browser/loader/resource_loader.cc void ResourceLoader::OnBeforeNetworkStart(net::URLRequest* unused, net 306 content/browser/loader/resource_loader.cc void ResourceLoader::OnResponseStarted(net::URLRequest* unused) { net 347 content/browser/loader/resource_loader.cc void ResourceLoader::OnReadCompleted(net::URLRequest* unused, int bytes_read) { net 372 content/browser/loader/resource_loader.cc const net::SSLInfo* ssl_info) { net 491 content/browser/loader/resource_loader.cc const net::SignedCertificateTimestampAndStatusList& sct_list, net 497 content/browser/loader/resource_loader.cc for (net::SignedCertificateTimestampAndStatusList::const_iterator iter = net 590 content/browser/loader/resource_loader.cc scoped_refptr<net::IOBuffer> buf; net 626 content/browser/loader/resource_loader.cc const net::SSLInfo& ssl_info = request_->ssl_info(); net 665 content/browser/loader/resource_loader.cc case net::URLRequestStatus::SUCCESS: net 676 content/browser/loader/resource_loader.cc case net::URLRequestStatus::CANCELED: net 680 content/browser/loader/resource_loader.cc case net::URLRequestStatus::IO_PENDING: net 681 content/browser/loader/resource_loader.cc case net::URLRequestStatus::FAILED: net 27 content/browser/loader/resource_loader.h class CONTENT_EXPORT ResourceLoader : public net::URLRequest::Delegate, net 31 content/browser/loader/resource_loader.h ResourceLoader(scoped_ptr<net::URLRequest> request, net 45 content/browser/loader/resource_loader.h net::URLRequest* request() { return request_.get(); } net 59 content/browser/loader/resource_loader.h virtual void OnReceivedRedirect(net::URLRequest* request, net 62 content/browser/loader/resource_loader.h virtual void OnAuthRequired(net::URLRequest* request, net 63 content/browser/loader/resource_loader.h net::AuthChallengeInfo* info) OVERRIDE; net 64 content/browser/loader/resource_loader.h virtual void OnCertificateRequested(net::URLRequest* request, net 65 content/browser/loader/resource_loader.h net::SSLCertRequestInfo* info) OVERRIDE; net 66 content/browser/loader/resource_loader.h virtual void OnSSLCertificateError(net::URLRequest* request, net 67 content/browser/loader/resource_loader.h const net::SSLInfo& info, net 69 content/browser/loader/resource_loader.h virtual void OnBeforeNetworkStart(net::URLRequest* request, net 71 content/browser/loader/resource_loader.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 72 content/browser/loader/resource_loader.h virtual void OnReadCompleted(net::URLRequest* request, net 78 content/browser/loader/resource_loader.h const net::SSLInfo* ssl_info) OVERRIDE; net 94 content/browser/loader/resource_loader.h const net::SignedCertificateTimestampAndStatusList& sct_list, net 129 content/browser/loader/resource_loader.h scoped_ptr<net::URLRequest> request_; net 10 content/browser/loader/resource_loader_delegate.h namespace net { net 22 content/browser/loader/resource_loader_delegate.h net::AuthChallengeInfo* auth_info) = 0; net 41 content/browser/loader/resource_loader_unittest.cc class ClientCertStoreStub : public net::ClientCertStore { net 43 content/browser/loader/resource_loader_unittest.cc ClientCertStoreStub(const net::CertificateList& certs) net 65 content/browser/loader/resource_loader_unittest.cc virtual void GetClientCerts(const net::SSLCertRequestInfo& cert_request_info, net 66 content/browser/loader/resource_loader_unittest.cc net::CertificateList* selected_certs, net 75 content/browser/loader/resource_loader_unittest.cc const net::CertificateList response_; net 84 content/browser/loader/resource_loader_unittest.cc explicit ResourceHandlerStub(net::URLRequest* request) net 100 content/browser/loader/resource_loader_unittest.cc const net::URLRequestStatus& status() const { return status_; } net 147 content/browser/loader/resource_loader_unittest.cc scoped_refptr<net::IOBuffer>* buf, net 162 content/browser/loader/resource_loader_unittest.cc const net::URLRequestStatus& status, net 182 content/browser/loader/resource_loader_unittest.cc net::URLRequestStatus status_; net 195 content/browser/loader/resource_loader_unittest.cc const net::HttpNetworkSession* network_session, net 196 content/browser/loader/resource_loader_unittest.cc net::SSLCertRequestInfo* cert_request_info, net 197 content/browser/loader/resource_loader_unittest.cc const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE { net 206 content/browser/loader/resource_loader_unittest.cc net::CertificateList passed_certs() { net 211 content/browser/loader/resource_loader_unittest.cc net::CertificateList passed_certs_; net 217 content/browser/loader/resource_loader_unittest.cc explicit ResourceContextStub(net::URLRequestContext* test_request_context) net 220 content/browser/loader/resource_loader_unittest.cc virtual scoped_ptr<net::ClientCertStore> CreateClientCertStore() OVERRIDE { net 224 content/browser/loader/resource_loader_unittest.cc void SetClientCertStore(scoped_ptr<net::ClientCertStore> store) { net 229 content/browser/loader/resource_loader_unittest.cc scoped_ptr<net::ClientCertStore> dummy_cert_store_; net 238 content/browser/loader/resource_loader_unittest.cc base::Bind(callback, error, base::Passed(scoped_ptr<net::FileStream>()), net 253 content/browser/loader/resource_loader_unittest.cc "test", net::URLRequestTestJob::CreateProtocolHandler()); net 258 content/browser/loader/resource_loader_unittest.cc return net::URLRequestTestJob::test_url_1(); net 262 content/browser/loader/resource_loader_unittest.cc return net::URLRequestTestJob::test_data_1(); net 267 content/browser/loader/resource_loader_unittest.cc net::URLRequest* request) { net 275 content/browser/loader/resource_loader_unittest.cc scoped_ptr<net::URLRequest> request( net 276 content/browser/loader/resource_loader_unittest.cc new net::URLRequest(test_url(), net 277 content/browser/loader/resource_loader_unittest.cc net::DEFAULT_PRIORITY, net 300 content/browser/loader/resource_loader_unittest.cc net::AuthChallengeInfo* auth_info) OVERRIDE { net 315 content/browser/loader/resource_loader_unittest.cc net::URLRequestJobFactoryImpl job_factory_; net 316 content/browser/loader/resource_loader_unittest.cc net::TestURLRequestContext test_url_request_context_; net 321 content/browser/loader/resource_loader_unittest.cc net::URLRequest* raw_ptr_to_request_; net 331 content/browser/loader/resource_loader_unittest.cc net::CertificateList dummy_certs(1, scoped_refptr<net::X509Certificate>( net 332 content/browser/loader/resource_loader_unittest.cc new net::X509Certificate("test", "test", base::Time(), base::Time()))); net 341 content/browser/loader/resource_loader_unittest.cc test_store.PassAs<net::ClientCertStore>()); net 344 content/browser/loader/resource_loader_unittest.cc scoped_refptr<net::SSLCertRequestInfo> cert_request_info( net 345 content/browser/loader/resource_loader_unittest.cc new net::SSLCertRequestInfo()); net 376 content/browser/loader/resource_loader_unittest.cc scoped_refptr<net::SSLCertRequestInfo> cert_request_info( net 377 content/browser/loader/resource_loader_unittest.cc new net::SSLCertRequestInfo()); net 396 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::CertificateList(), test_client.passed_certs()); net 418 content/browser/loader/resource_loader_unittest.cc net::testing::MockFileStream* file_stream() const { return file_stream_; } net 431 content/browser/loader/resource_loader_unittest.cc net::URLRequest* request) OVERRIDE { net 440 content/browser/loader/resource_loader_unittest.cc scoped_ptr<net::testing::MockFileStream> file_stream( net 441 content/browser/loader/resource_loader_unittest.cc new net::testing::MockFileStream(file.Pass(), NULL, net 458 content/browser/loader/resource_loader_unittest.cc base::Passed(file_stream.PassAs<net::FileStream>()))); net 464 content/browser/loader/resource_loader_unittest.cc scoped_ptr<net::FileStream> file_stream, net 475 content/browser/loader/resource_loader_unittest.cc net::testing::MockFileStream* file_stream_; net 491 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, net 522 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, net 529 content/browser/loader/resource_loader_unittest.cc file_stream()->set_forced_error(net::ERR_FAILED); net 541 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, net 553 content/browser/loader/resource_loader_unittest.cc file_stream()->set_forced_error_async(net::ERR_FAILED); net 565 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, net 580 content/browser/loader/resource_loader_unittest.cc file_stream()->set_forced_error_async(net::ERR_FAILED); net 588 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, net 606 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, net 640 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, net 13 content/browser/loader/resource_message_delegate.cc ResourceMessageDelegate::ResourceMessageDelegate(const net::URLRequest* request) net 16 content/browser/loader/resource_message_delegate.h namespace net { net 27 content/browser/loader/resource_message_delegate.h ResourceMessageDelegate(const net::URLRequest* request); net 54 content/browser/loader/resource_message_filter.cc net::URLRequestContext** request_context) { net 21 content/browser/loader/resource_message_filter.h namespace net { net 41 content/browser/loader/resource_message_filter.h net::URLRequestContext**)> GetContextsCallback; net 61 content/browser/loader/resource_message_filter.h net::URLRequestContext** request_context); net 64 content/browser/loader/resource_message_filter.h net::URLRequestContext* GetURLRequestContext( net 21 content/browser/loader/resource_request_info_impl.cc const net::URLRequest* request) { net 27 content/browser/loader/resource_request_info_impl.cc net::URLRequest* request, net 62 content/browser/loader/resource_request_info_impl.cc const net::URLRequest* request, net 79 content/browser/loader/resource_request_info_impl.cc net::URLRequest* request) { net 85 content/browser/loader/resource_request_info_impl.cc const net::URLRequest* request) { net 86 content/browser/loader/resource_request_info_impl.cc return ForRequest(const_cast<net::URLRequest*>(request)); net 238 content/browser/loader/resource_request_info_impl.cc void ResourceRequestInfoImpl::AssociateWithRequest(net::URLRequest* request) { net 36 content/browser/loader/resource_request_info_impl.h net::URLRequest* request); net 40 content/browser/loader/resource_request_info_impl.h const net::URLRequest* request); net 89 content/browser/loader/resource_request_info_impl.h CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request); net 30 content/browser/loader/resource_scheduler.cc typedef net::PriorityQueue<ScheduledResourceRequest*> NetQueue; net 64 content/browser/loader/resource_scheduler.cc RequestQueue() : queue_(net::NUM_PRIORITIES) {} net 69 content/browser/loader/resource_scheduler.cc net::RequestPriority priority) { net 116 content/browser/loader/resource_scheduler.cc net::URLRequest* request, net 142 content/browser/loader/resource_scheduler.cc net::URLRequest* url_request() { return request_; } net 143 content/browser/loader/resource_scheduler.cc const net::URLRequest* url_request() const { return request_; } net 166 content/browser/loader/resource_scheduler.cc void DidChangePriority(int request_id, net::RequestPriority new_priority) { net 171 content/browser/loader/resource_scheduler.cc net::URLRequest* request_; net 201 content/browser/loader/resource_scheduler.cc net::URLRequest* url_request) { net 339 content/browser/loader/resource_scheduler.cc net::RequestPriority new_priority) { net 340 content/browser/loader/resource_scheduler.cc if (request->url_request()->load_flags() & net::LOAD_IGNORE_LIMITS) { net 346 content/browser/loader/resource_scheduler.cc net::RequestPriority old_priority = request->url_request()->priority(); net 411 content/browser/loader/resource_scheduler.cc const net::HostPortPair& active_request_host, net 421 content/browser/loader/resource_scheduler.cc net::HostPortPair host_port_pair = net 422 content/browser/loader/resource_scheduler.cc net::HostPortPair::FromURL((*it)->url_request()->url()); net 428 content/browser/loader/resource_scheduler.cc if ((*it)->url_request()->priority() < net::LOW) { net 429 content/browser/loader/resource_scheduler.cc const net::HttpServerProperties& http_server_properties = net 463 content/browser/loader/resource_scheduler.cc const net::URLRequest& url_request = *request->url_request(); net 475 content/browser/loader/resource_scheduler.cc const net::HttpServerProperties& http_server_properties = net 478 content/browser/loader/resource_scheduler.cc if (url_request.priority() >= net::LOW || net 483 content/browser/loader/resource_scheduler.cc net::HostPortPair host_port_pair = net 484 content/browser/loader/resource_scheduler.cc net::HostPortPair::FromURL(url_request.url()); net 19 content/browser/loader/resource_scheduler.h namespace net { net 62 content/browser/loader/resource_scheduler.h int child_id, int route_id, net::URLRequest* url_request); net 109 content/browser/loader/resource_scheduler.h net::RequestPriority new_priority); net 119 content/browser/loader/resource_scheduler.h const net::HostPortPair& active_request_host, net 39 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> url_request) net 54 content/browser/loader/resource_scheduler_unittest.cc const net::URLRequest* url_request() const { return url_request_.get(); } net 66 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> url_request_; net 72 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> url_request) net 91 content/browser/loader/resource_scheduler_unittest.cc virtual net::HostResolver* GetHostResolver() OVERRIDE { return NULL; } net 92 content/browser/loader/resource_scheduler_unittest.cc virtual net::URLRequestContext* GetRequestContext() OVERRIDE { return NULL; } net 116 content/browser/loader/resource_scheduler_unittest.cc net::URLRequestContext** request_context) { net 138 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> NewURLRequestWithRoute( net 140 content/browser/loader/resource_scheduler_unittest.cc net::RequestPriority priority, net 142 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> url_request( net 170 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> NewURLRequest(const char* url, net 171 content/browser/loader/resource_scheduler_unittest.cc net::RequestPriority priority) { net 176 content/browser/loader/resource_scheduler_unittest.cc net::RequestPriority priority, net 178 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> url_request( net 187 content/browser/loader/resource_scheduler_unittest.cc TestRequest* NewRequest(const char* url, net::RequestPriority priority) { net 192 content/browser/loader/resource_scheduler_unittest.cc net::RequestPriority new_priority) { net 210 content/browser/loader/resource_scheduler_unittest.cc net::HttpServerPropertiesImpl http_server_properties_; net 211 content/browser/loader/resource_scheduler_unittest.cc net::TestURLRequestContext context_; net 215 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> request(NewRequest("http://host/1", net::LOWEST)); net 220 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 221 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 222 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low2(NewRequest("http://host/low", net::LOWEST)); net 231 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 232 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 233 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low2(NewRequest("http://host/low", net::LOWEST)); net 243 content/browser/loader/resource_scheduler_unittest.cc net::HostPortPair("spdyhost", 443), true); net 244 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 246 content/browser/loader/resource_scheduler_unittest.cc NewRequest("https://spdyhost/high", net::LOWEST)); net 247 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 248 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low2(NewRequest("http://host/low", net::LOWEST)); net 260 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 261 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 262 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low2(NewRequest("http://host/low", net::LOWEST)); net 271 content/browser/loader/resource_scheduler_unittest.cc net::LOWEST, route_id)); net 276 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high1(NewRequest("http://host/high1", net::HIGHEST)); net 277 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high2(NewRequest("http://host/high2", net::HIGHEST)); net 278 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 279 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low2(NewRequest("http://host/low", net::LOWEST)); net 291 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 292 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low1(NewRequest("http://host/low1", net::LOWEST)); net 294 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<net::URLRequest> url_request( net 295 content/browser/loader/resource_scheduler_unittest.cc NewURLRequest("http://host/low2", net::LOWEST)); net 302 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low3(NewRequest("http://host/low3", net::LOWEST)); net 304 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low4(NewRequest("http://host/low4", net::LOWEST)); net 319 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 328 content/browser/loader/resource_scheduler_unittest.cc lows_singlehost.push_back(NewRequest(url.c_str(), net::LOWEST)); net 333 content/browser/loader/resource_scheduler_unittest.cc net::LOWEST)); net 335 content/browser/loader/resource_scheduler_unittest.cc net::LOWEST)); net 351 content/browser/loader/resource_scheduler_unittest.cc lows_differenthosts.push_back(NewRequest(url.c_str(), net::LOWEST)); net 356 content/browser/loader/resource_scheduler_unittest.cc net::LOWEST)); net 362 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 363 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/req", net::LOWEST)); net 365 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> request(NewRequest("http://host/req", net::LOWEST)); net 368 content/browser/loader/resource_scheduler_unittest.cc ChangeRequestPriority(request.get(), net::HIGHEST); net 374 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 375 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 377 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> request(NewRequest("http://host/req", net::IDLE)); net 378 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> idle(NewRequest("http://host/idle", net::IDLE)); net 382 content/browser/loader/resource_scheduler_unittest.cc ChangeRequestPriority(request.get(), net::LOWEST); net 390 content/browser/loader/resource_scheduler_unittest.cc lows.push_back(NewRequest(url.c_str(), net::LOWEST)); net 400 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 401 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 403 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> request(NewRequest("http://host/req", net::LOWEST)); net 404 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> idle(NewRequest("http://host/idle", net::IDLE)); net 408 content/browser/loader/resource_scheduler_unittest.cc ChangeRequestPriority(request.get(), net::IDLE); net 419 content/browser/loader/resource_scheduler_unittest.cc lows.push_back(NewRequest(url.c_str(), net::LOWEST)); net 429 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 430 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/high", net::LOWEST)); net 432 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> request(NewRequest("http://host/req", net::LOWEST)); net 433 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> idle(NewRequest("http://host/idle", net::IDLE)); net 441 content/browser/loader/resource_scheduler_unittest.cc lows.push_back(NewRequest(url.c_str(), net::LOWEST)); net 444 content/browser/loader/resource_scheduler_unittest.cc ChangeRequestPriority(request.get(), net::IDLE); net 448 content/browser/loader/resource_scheduler_unittest.cc ChangeRequestPriority(request.get(), net::LOWEST); net 459 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 460 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/high", net::LOWEST)); net 463 content/browser/loader/resource_scheduler_unittest.cc NewRequest("chrome-extension://req", net::LOWEST)); net 468 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> high(NewRequest("http://host/high", net::HIGHEST)); net 469 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> low(NewRequest("http://host/low", net::LOWEST)); net 471 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> request(NewRequest("http://host/req", net::IDLE)); net 477 content/browser/loader/resource_scheduler_unittest.cc scoped_ptr<TestRequest> after(NewRequest("http://host/after", net::IDLE)); net 18 content/browser/loader/stream_resource_handler.cc StreamResourceHandler::StreamResourceHandler(net::URLRequest* request, net 66 content/browser/loader/stream_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 73 content/browser/loader/stream_resource_handler.cc read_buffer_ = new net::IOBuffer(kReadBufSize); net 91 content/browser/loader/stream_resource_handler.cc net::IOBuffer* buffer = NULL; net 103 content/browser/loader/stream_resource_handler.cc const net::URLRequestStatus& status, net 14 content/browser/loader/stream_resource_handler.h namespace net { net 29 content/browser/loader/stream_resource_handler.h StreamResourceHandler(net::URLRequest* request, net 58 content/browser/loader/stream_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 68 content/browser/loader/stream_resource_handler.h const net::URLRequestStatus& status, net 81 content/browser/loader/stream_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; net 22 content/browser/loader/sync_resource_handler.cc net::URLRequest* request, net 26 content/browser/loader/sync_resource_handler.cc read_buffer_(new net::IOBuffer(kReadBufSize)), net 114 content/browser/loader/sync_resource_handler.cc scoped_refptr<net::IOBuffer>* buf, net 133 content/browser/loader/sync_resource_handler.cc const net::URLRequestStatus& status, net 17 content/browser/loader/sync_resource_handler.h namespace net { net 31 content/browser/loader/sync_resource_handler.h SyncResourceHandler(net::URLRequest* request, net 53 content/browser/loader/sync_resource_handler.h scoped_refptr<net::IOBuffer>* buf, net 60 content/browser/loader/sync_resource_handler.h const net::URLRequestStatus& status, net 68 content/browser/loader/sync_resource_handler.h scoped_refptr<net::IOBuffer> read_buffer_; net 29 content/browser/loader/temporary_file_stream.cc callback.Run(error_code, scoped_ptr<net::FileStream>(), NULL); net 41 content/browser/loader/temporary_file_stream.cc scoped_ptr<net::FileStream> file_stream(new net::FileStream( net 14 content/browser/loader/temporary_file_stream.h namespace net { net 25 content/browser/loader/temporary_file_stream.h scoped_ptr<net::FileStream>, net 36 content/browser/loader/temporary_file_stream_unittest.cc net::FileStream* file_stream() const { return file_stream_.get(); } net 42 content/browser/loader/temporary_file_stream_unittest.cc scoped_ptr<net::FileStream> file_stream, net 61 content/browser/loader/temporary_file_stream_unittest.cc scoped_ptr<net::FileStream> file_stream_; net 83 content/browser/loader/temporary_file_stream_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = net 84 content/browser/loader/temporary_file_stream_unittest.cc new net::IOBufferWithSize(kTestDataSize); net 86 content/browser/loader/temporary_file_stream_unittest.cc scoped_refptr<net::DrainableIOBuffer> drainable = net 87 content/browser/loader/temporary_file_stream_unittest.cc new net::DrainableIOBuffer(buf.get(), buf->size()); net 89 content/browser/loader/temporary_file_stream_unittest.cc net::TestCompletionCallback write_callback; net 93 content/browser/loader/temporary_file_stream_unittest.cc if (rv == net::ERR_IO_PENDING) net 106 content/browser/loader/temporary_file_stream_unittest.cc net::TestCompletionCallback close_callback; net 108 content/browser/loader/temporary_file_stream_unittest.cc if (rv == net::ERR_IO_PENDING) net 110 content/browser/loader/temporary_file_stream_unittest.cc EXPECT_EQ(net::OK, rv); net 16 content/browser/loader/throttling_resource_handler.cc net::URLRequest* request, net 14 content/browser/loader/throttling_resource_handler.h namespace net { net 29 content/browser/loader/throttling_resource_handler.h net::URLRequest* request, net 24 content/browser/loader/upload_data_stream_builder.cc class BytesElementReader : public net::UploadBytesElementReader { net 28 content/browser/loader/upload_data_stream_builder.cc : net::UploadBytesElementReader(element.bytes(), element.length()), net 44 content/browser/loader/upload_data_stream_builder.cc class FileElementReader : public net::UploadFileElementReader { net 49 content/browser/loader/upload_data_stream_builder.cc : net::UploadFileElementReader(task_runner, net 97 content/browser/loader/upload_data_stream_builder.cc scoped_ptr<net::UploadDataStream> UploadDataStreamBuilder::Build( net 112 content/browser/loader/upload_data_stream_builder.cc ScopedVector<net::UploadElementReader> element_readers; net 143 content/browser/loader/upload_data_stream_builder.cc new net::UploadDataStream(element_readers.Pass(), body->identifier())); net 19 content/browser/loader/upload_data_stream_builder.h namespace net { net 43 content/browser/loader/upload_data_stream_builder.h static scoped_ptr<net::UploadDataStream> Build( net 29 content/browser/loader/upload_data_stream_builder_unittest.cc bool AreElementsEqual(const net::UploadElementReader& reader, net 33 content/browser/loader/upload_data_stream_builder_unittest.cc const net::UploadBytesElementReader* bytes_reader = net 41 content/browser/loader/upload_data_stream_builder_unittest.cc const net::UploadFileElementReader* file_reader = reader.AsFileReader(); net 74 content/browser/loader/upload_data_stream_builder_unittest.cc scoped_ptr<net::UploadDataStream> upload(UploadDataStreamBuilder::Build( net 80 content/browser/loader/upload_data_stream_builder_unittest.cc const net::UploadBytesElementReader* r1 = net 85 content/browser/loader/upload_data_stream_builder_unittest.cc const net::UploadFileElementReader* r2 = net 141 content/browser/loader/upload_data_stream_builder_unittest.cc scoped_ptr<net::UploadDataStream> upload( net 128 content/browser/media/android/media_resource_getter_impl.cc const net::CookieList& cookie_list); net 131 content/browser/media/android/media_resource_getter_impl.cc net::URLRequestContextGetter* context_getter_; net 166 content/browser/media/android/media_resource_getter_impl.cc net::CookieStore* cookie_store = net 173 content/browser/media/android/media_resource_getter_impl.cc net::CookieMonster* cookie_monster = cookie_store->GetCookieMonster(); net 186 content/browser/media/android/media_resource_getter_impl.cc const net::CookieList& cookie_list) { net 191 content/browser/media/android/media_resource_getter_impl.cc net::CookieStore* cookie_store = net 194 content/browser/media/android/media_resource_getter_impl.cc url, net::CookieOptions(), callback); net 21 content/browser/media/android/media_resource_getter_impl.h namespace net { net 20 content/browser/media/media_internals_proxy.cc static const net::NetLog::EventType kNetEventTypeFilter[] = { net 21 content/browser/media/media_internals_proxy.cc net::NetLog::TYPE_DISK_CACHE_ENTRY_IMPL, net 22 content/browser/media/media_internals_proxy.cc net::NetLog::TYPE_SPARSE_READ, net 23 content/browser/media/media_internals_proxy.cc net::NetLog::TYPE_SPARSE_WRITE, net 24 content/browser/media/media_internals_proxy.cc net::NetLog::TYPE_URL_REQUEST_START_JOB, net 25 content/browser/media/media_internals_proxy.cc net::NetLog::TYPE_HTTP_TRANSACTION_READ_RESPONSE_HEADERS, net 79 content/browser/media/media_internals_proxy.cc void MediaInternalsProxy::OnAddEntry(const net::NetLog::Entry& entry) { net 102 content/browser/media/media_internals_proxy.cc net::NetLog::EventPhaseToString(net::NetLog::PHASE_NONE), net 103 content/browser/media/media_internals_proxy.cc net::NetLog::PHASE_NONE); net 105 content/browser/media/media_internals_proxy.cc net::NetLog::EventPhaseToString(net::NetLog::PHASE_BEGIN), net 106 content/browser/media/media_internals_proxy.cc net::NetLog::PHASE_BEGIN); net 108 content/browser/media/media_internals_proxy.cc net::NetLog::EventPhaseToString(net::NetLog::PHASE_END), net 109 content/browser/media/media_internals_proxy.cc net::NetLog::PHASE_END); net 112 content/browser/media/media_internals_proxy.cc constants->Set("eventTypes", net::NetLog::GetEventTypesAsValue()); net 124 content/browser/media/media_internals_proxy.cc net::NetLog* net_log = GetContentClient()->browser()->GetNetLog(); net 125 content/browser/media/media_internals_proxy.cc net_log->AddThreadSafeObserver(this, net::NetLog::LOG_ALL_BUT_BYTES); net 133 content/browser/media/media_internals_proxy.cc net::NetLog* net_log = GetContentClient()->browser()->GetNetLog(); net 32 content/browser/media/media_internals_proxy.h public net::NetLog::ThreadSafeObserver, net 55 content/browser/media/media_internals_proxy.h virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 39 content/browser/media/webrtc_identity_store.cc result->error = net::OK; net 44 content/browser/media/webrtc_identity_store.cc bool success = net::x509_util::CreateKeyAndSelfSignedCert( net 54 content/browser/media/webrtc_identity_store.cc result->error = net::ERR_SELF_SIGNED_CERT_GENERATION_FAILED; net 61 content/browser/media/webrtc_identity_store.cc result->error = net::ERR_PRIVATE_KEY_EXPORT_FAILED; net 245 content/browser/media/webrtc_identity_store.cc if (error == net::OK) { net 265 content/browser/media/webrtc_identity_store.cc WebRTCIdentityRequestResult result(net::ERR_UNEXPECTED, "", ""); net 274 content/browser/media/webrtc_identity_store.cc if (result->error == net::OK) { net 231 content/browser/media/webrtc_identity_store_backend.cc net::OK, net 243 content/browser/media/webrtc_identity_store_backend.cc base::Bind(callback, net::ERR_FILE_NOT_FOUND, "", "")); net 30 content/browser/media/webrtc_identity_store_unittest.cc ASSERT_EQ(net::OK, error); net 41 content/browser/mime_registry_message_filter.cc net::GetMimeTypeFromExtension(ext, mime_type); net 46 content/browser/mime_registry_message_filter.cc net::GetMimeTypeFromFile(file_path, mime_type); net 13 content/browser/net/browser_online_state_observer.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 17 content/browser/net/browser_online_state_observer.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 21 content/browser/net/browser_online_state_observer.cc net::NetworkChangeNotifier::ConnectionType type) { net 25 content/browser/net/browser_online_state_observer.cc type != net::NetworkChangeNotifier::CONNECTION_NONE)); net 16 content/browser/net/browser_online_state_observer.h : public net::NetworkChangeNotifier::ConnectionTypeObserver { net 23 content/browser/net/browser_online_state_observer.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 103 content/browser/net/sqlite_persistent_cookie_store.cc void AddCookie(const net::CanonicalCookie& cc); net 106 content/browser/net/sqlite_persistent_cookie_store.cc void UpdateCookieAccessTime(const net::CanonicalCookie& cc); net 109 content/browser/net/sqlite_persistent_cookie_store.cc void DeleteCookie(const net::CanonicalCookie& cc); net 140 content/browser/net/sqlite_persistent_cookie_store.cc PendingOperation(OperationType op, const net::CanonicalCookie& cc) net 144 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc() const { return cc_; } net 148 content/browser/net/sqlite_persistent_cookie_store.cc net::CanonicalCookie cc_; net 198 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc); net 231 content/browser/net/sqlite_persistent_cookie_store.cc std::vector<net::CanonicalCookie*> cookies_; net 322 content/browser/net/sqlite_persistent_cookie_store.cc DBCookiePriority CookiePriorityToDBCookiePriority(net::CookiePriority value) { net 324 content/browser/net/sqlite_persistent_cookie_store.cc case net::COOKIE_PRIORITY_LOW: net 326 content/browser/net/sqlite_persistent_cookie_store.cc case net::COOKIE_PRIORITY_MEDIUM: net 328 content/browser/net/sqlite_persistent_cookie_store.cc case net::COOKIE_PRIORITY_HIGH: net 336 content/browser/net/sqlite_persistent_cookie_store.cc net::CookiePriority DBCookiePriorityToCookiePriority(DBCookiePriority value) { net 339 content/browser/net/sqlite_persistent_cookie_store.cc return net::COOKIE_PRIORITY_LOW; net 341 content/browser/net/sqlite_persistent_cookie_store.cc return net::COOKIE_PRIORITY_MEDIUM; net 343 content/browser/net/sqlite_persistent_cookie_store.cc return net::COOKIE_PRIORITY_HIGH; net 347 content/browser/net/sqlite_persistent_cookie_store.cc return net::COOKIE_PRIORITY_DEFAULT; net 391 content/browser/net/sqlite_persistent_cookie_store.cc CookiePriorityToDBCookiePriority(net::COOKIE_PRIORITY_DEFAULT))); net 544 content/browser/net/sqlite_persistent_cookie_store.cc std::vector<net::CanonicalCookie*> cookies; net 635 content/browser/net/sqlite_persistent_cookie_store.cc net::registry_controlled_domains::GetDomainAndRegistry( net 637 content/browser/net/sqlite_persistent_cookie_store.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 717 content/browser/net/sqlite_persistent_cookie_store.cc std::vector<net::CanonicalCookie*> cookies; net 730 content/browser/net/sqlite_persistent_cookie_store.cc scoped_ptr<net::CanonicalCookie> cc(new net::CanonicalCookie( net 852 content/browser/net/sqlite_persistent_cookie_store.cc CookiePriorityToDBCookiePriority(net::COOKIE_PRIORITY_DEFAULT))); net 909 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc) { net 914 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc) { net 919 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc) { net 925 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc) { net 1124 content/browser/net/sqlite_persistent_cookie_store.cc const GURL url(net::cookie_util::CookieOriginToURL(it->first.first, net 1228 content/browser/net/sqlite_persistent_cookie_store.cc void SQLitePersistentCookieStore::AddCookie(const net::CanonicalCookie& cc) { net 1233 content/browser/net/sqlite_persistent_cookie_store.cc const net::CanonicalCookie& cc) { net 1237 content/browser/net/sqlite_persistent_cookie_store.cc void SQLitePersistentCookieStore::DeleteCookie(const net::CanonicalCookie& cc) { net 1265 content/browser/net/sqlite_persistent_cookie_store.cc net::CookieMonsterDelegate* cookie_delegate) net 1277 content/browser/net/sqlite_persistent_cookie_store.cc net::CookieStore* CreateCookieStore(const CookieStoreConfig& config) { net 1278 content/browser/net/sqlite_persistent_cookie_store.cc net::CookieMonster* cookie_monster = NULL; net 1282 content/browser/net/sqlite_persistent_cookie_store.cc cookie_monster = new net::CookieMonster(NULL, config.cookie_delegate); net 1311 content/browser/net/sqlite_persistent_cookie_store.cc new net::CookieMonster(persistent_store, config.cookie_delegate); net 26 content/browser/net/sqlite_persistent_cookie_store.h namespace net { net 43 content/browser/net/sqlite_persistent_cookie_store.h : public net::CookieMonster::PersistentCookieStore { net 60 content/browser/net/sqlite_persistent_cookie_store.h virtual void AddCookie(const net::CanonicalCookie& cc) OVERRIDE; net 61 content/browser/net/sqlite_persistent_cookie_store.h virtual void UpdateCookieAccessTime(const net::CanonicalCookie& cc) OVERRIDE; net 62 content/browser/net/sqlite_persistent_cookie_store.h virtual void DeleteCookie(const net::CanonicalCookie& cc) OVERRIDE; net 38 content/browser/net/sqlite_persistent_cookie_store_perftest.cc void OnLoaded(const std::vector<net::CanonicalCookie*>& cookies) { net 43 content/browser/net/sqlite_persistent_cookie_store_perftest.cc void OnKeyLoaded(const std::vector<net::CanonicalCookie*>& cookies) { net 71 content/browser/net/sqlite_persistent_cookie_store_perftest.cc std::vector<net::CanonicalCookie*> cookies; net 82 content/browser/net/sqlite_persistent_cookie_store_perftest.cc net::CanonicalCookie(gurl, net 85 content/browser/net/sqlite_persistent_cookie_store_perftest.cc net::COOKIE_PRIORITY_DEFAULT)); net 113 content/browser/net/sqlite_persistent_cookie_store_perftest.cc std::vector<net::CanonicalCookie*> cookies_; net 72 content/browser/net/sqlite_persistent_cookie_store_unittest.cc typedef std::vector<net::CanonicalCookie*> CanonicalCookieVector; net 163 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie(GURL(), name, value, domain, path, creation, net 165 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_DEFAULT)); net 367 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 370 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_DEFAULT)); net 384 content/browser/net/sqlite_persistent_cookie_store_unittest.cc ASSERT_EQ(net::COOKIE_PRIORITY_DEFAULT, cookies[0]->Priority()); net 395 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 398 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_DEFAULT)); net 426 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 429 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_DEFAULT)); net 432 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 437 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_DEFAULT)); net 448 content/browser/net/sqlite_persistent_cookie_store_unittest.cc std::map<std::string, net::CanonicalCookie*> cookie_map; net 455 content/browser/net/sqlite_persistent_cookie_store_unittest.cc std::map<std::string, net::CanonicalCookie*>::const_iterator it = net 479 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 484 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_LOW)); net 488 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 493 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_MEDIUM)); net 497 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie( net 502 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::COOKIE_PRIORITY_HIGH)); net 514 content/browser/net/sqlite_persistent_cookie_store_unittest.cc std::map<std::string, net::CanonicalCookie*> cookie_map; net 522 content/browser/net/sqlite_persistent_cookie_store_unittest.cc std::map<std::string, net::CanonicalCookie*>::const_iterator it = net 525 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_EQ(net::COOKIE_PRIORITY_LOW, cookie_map[kLowName]->Priority()); net 529 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_EQ(net::COOKIE_PRIORITY_MEDIUM, cookie_map[kMediumName]->Priority()); net 533 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_EQ(net::COOKIE_PRIORITY_HIGH, cookie_map[kHighName]->Priority()); net 569 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie* cookie_name = NULL; net 570 content/browser/net/sqlite_persistent_cookie_store_unittest.cc net::CanonicalCookie* cookie_other = NULL; net 21 content/browser/net/view_blob_internals_job_factory.cc net::URLRequestJob* ViewBlobInternalsJobFactory::CreateJobForRequest( net 22 content/browser/net/view_blob_internals_job_factory.cc net::URLRequest* request, net 23 content/browser/net/view_blob_internals_job_factory.cc net::NetworkDelegate* network_delegate, net 8 content/browser/net/view_blob_internals_job_factory.h namespace net { net 24 content/browser/net/view_blob_internals_job_factory.h static net::URLRequestJob* CreateJobForRequest( net 25 content/browser/net/view_blob_internals_job_factory.h net::URLRequest* request, net 26 content/browser/net/view_blob_internals_job_factory.h net::NetworkDelegate* network_delegate, net 25 content/browser/net/view_http_cache_job_factory.cc class ViewHttpCacheJob : public net::URLRequestJob { net 27 content/browser/net/view_http_cache_job_factory.cc ViewHttpCacheJob(net::URLRequest* request, net 28 content/browser/net/view_http_cache_job_factory.cc net::NetworkDelegate* network_delegate) net 29 content/browser/net/view_http_cache_job_factory.cc : net::URLRequestJob(request, network_delegate), net 45 content/browser/net/view_http_cache_job_factory.cc virtual bool ReadRawData(net::IOBuffer* buf, net 58 content/browser/net/view_http_cache_job_factory.cc int Start(const net::URLRequest& request, const base::Closure& callback); net 67 content/browser/net/view_http_cache_job_factory.cc bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read); net 79 content/browser/net/view_http_cache_job_factory.cc net::ViewCacheHelper cache_helper_; net 80 content/browser/net/view_http_cache_job_factory.cc net::CompletionCallback callback_; net 110 content/browser/net/view_http_cache_job_factory.cc net::URLRequestJob::Kill(); net 120 content/browser/net/view_http_cache_job_factory.cc if (rv != net::ERR_IO_PENDING) { net 121 content/browser/net/view_http_cache_job_factory.cc DCHECK_EQ(net::OK, rv); net 130 content/browser/net/view_http_cache_job_factory.cc int ViewHttpCacheJob::Core::Start(const net::URLRequest& request, net 149 content/browser/net/view_http_cache_job_factory.cc if (rv == net::ERR_IO_PENDING) net 165 content/browser/net/view_http_cache_job_factory.cc bool ViewHttpCacheJob::Core::ReadRawData(net::IOBuffer* buf, net 179 content/browser/net/view_http_cache_job_factory.cc DCHECK_EQ(net::OK, result); net 198 content/browser/net/view_http_cache_job_factory.cc net::URLRequestJob* ViewHttpCacheJobFactory::CreateJobForRequest( net 199 content/browser/net/view_http_cache_job_factory.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 8 content/browser/net/view_http_cache_job_factory.h namespace net { net 21 content/browser/net/view_http_cache_job_factory.h static net::URLRequestJob* CreateJobForRequest( net 22 content/browser/net/view_http_cache_job_factory.h net::URLRequest* request, net::NetworkDelegate* network_delegate); net 504 content/browser/plugin_browsertest.cc net::URLRequest* request, net 514 content/browser/plugin_browsertest.cc net::HttpRequestHeaders headers; net 442 content/browser/plugin_process_host.cc net::URLRequestContext** request_context) { net 38 content/browser/plugin_process_host.h namespace net { net 157 content/browser/plugin_process_host.h net::URLRequestContext** request_context); net 94 content/browser/ppapi_plugin_process_host.cc : public net::NetworkChangeNotifier::IPAddressObserver, net 95 content/browser/ppapi_plugin_process_host.cc public net::NetworkChangeNotifier::ConnectionTypeObserver { net 99 content/browser/ppapi_plugin_process_host.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 100 content/browser/ppapi_plugin_process_host.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 104 content/browser/ppapi_plugin_process_host.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 105 content/browser/ppapi_plugin_process_host.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 121 content/browser/ppapi_plugin_process_host.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE { net 123 content/browser/ppapi_plugin_process_host.cc type != net::NetworkChangeNotifier::CONNECTION_NONE)); net 182 content/browser/quota_dispatcher_host.cc net::GetHostOrSpecFromURL(params_.origin_url), params_.requested_size, net 48 content/browser/renderer_host/media/webrtc_identity_service_host.cc SendErrorMessage(sequence_number, net::ERR_INSUFFICIENT_RESOURCES); net 56 content/browser/renderer_host/media/webrtc_identity_service_host.cc SendErrorMessage(sequence_number, net::ERR_ACCESS_DENIED); net 68 content/browser/renderer_host/media/webrtc_identity_service_host.cc SendErrorMessage(sequence_number, net::ERR_UNEXPECTED); net 84 content/browser/renderer_host/media/webrtc_identity_service_host.cc if (status == net::OK) { net 167 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc VerifyRequestFailedMessage(net::ERR_INSUFFICIENT_RESOURCES); net 172 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_->RunCompletionCallback(net::OK, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY); net 178 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_->RunCompletionCallback(net::ERR_KEY_GENERATION_FAILED, "", ""); net 179 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc VerifyRequestFailedMessage(net::ERR_KEY_GENERATION_FAILED); net 188 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc VerifyRequestFailedMessage(net::ERR_ACCESS_DENIED); net 194 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_->RunCompletionCallback(net::OK, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY); net 29 content/browser/renderer_host/p2p/socket_dispatcher_host.cc typedef base::Callback<void(const net::IPAddressList&)> DoneCallback; net 31 content/browser/renderer_host/p2p/socket_dispatcher_host.cc DnsRequest(int32 request_id, net::HostResolver* host_resolver) net 45 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::IPAddressList address_list; net 55 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::HostResolver::RequestInfo info(net::HostPortPair(host_name_, 0)); net 58 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::DEFAULT_PRIORITY, net 62 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::BoundNetLog()); net 63 content/browser/renderer_host/p2p/socket_dispatcher_host.cc if (result != net::ERR_IO_PENDING) net 71 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::IPAddressList list; net 72 content/browser/renderer_host/p2p/socket_dispatcher_host.cc if (result != net::OK) { net 80 content/browser/renderer_host/p2p/socket_dispatcher_host.cc for (net::AddressList::iterator iter = addresses_.begin(); net 88 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::AddressList addresses_; net 91 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::SingleRequestHostResolver resolver_; net 98 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::URLRequestContextGetter* url_context) net 114 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 155 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 166 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 178 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 195 content/browser/renderer_host/p2p/socket_dispatcher_host.cc const net::IPEndPoint& local_address, net 217 content/browser/renderer_host/p2p/socket_dispatcher_host.cc int listen_socket_id, const net::IPEndPoint& remote_address, net 233 content/browser/renderer_host/p2p/socket_dispatcher_host.cc const net::IPEndPoint& socket_address, net 278 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::NetworkInterfaceList list; net 279 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::GetNetworkList(&list, net::EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES | net 280 content/browser/renderer_host/p2p/socket_dispatcher_host.cc net::INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE); net 287 content/browser/renderer_host/p2p/socket_dispatcher_host.cc const net::NetworkInterfaceList& list) { net 293 content/browser/renderer_host/p2p/socket_dispatcher_host.cc const net::IPAddressList& addresses) { net 20 content/browser/renderer_host/p2p/socket_dispatcher_host.h namespace net { net 35 content/browser/renderer_host/p2p/socket_dispatcher_host.h public net::NetworkChangeNotifier::IPAddressObserver { net 38 content/browser/renderer_host/p2p/socket_dispatcher_host.h net::URLRequestContextGetter* url_context); net 71 content/browser/renderer_host/p2p/socket_dispatcher_host.h const net::IPEndPoint& local_address, net 74 content/browser/renderer_host/p2p/socket_dispatcher_host.h const net::IPEndPoint& remote_address, net 77 content/browser/renderer_host/p2p/socket_dispatcher_host.h const net::IPEndPoint& socket_address, net 85 content/browser/renderer_host/p2p/socket_dispatcher_host.h void SendNetworkList(const net::NetworkInterfaceList& list); net 88 content/browser/renderer_host/p2p/socket_dispatcher_host.h const net::IPAddressList& addresses); net 91 content/browser/renderer_host/p2p/socket_dispatcher_host.h scoped_refptr<net::URLRequestContextGetter> url_context_; net 451 content/browser/renderer_host/p2p/socket_host.cc net::URLRequestContextGetter* url_context, net 17 content/browser/renderer_host/p2p/socket_host.h namespace net { net 57 content/browser/renderer_host/p2p/socket_host.h net::URLRequestContextGetter* url_context, net 63 content/browser/renderer_host/p2p/socket_host.h virtual bool Init(const net::IPEndPoint& local_address, net 67 content/browser/renderer_host/p2p/socket_host.h virtual void Send(const net::IPEndPoint& to, net 73 content/browser/renderer_host/p2p/socket_host.h const net::IPEndPoint& remote_address, int id) = 0; net 49 content/browser/renderer_host/p2p/socket_host_tcp.cc P2PSocketType type, net::URLRequestContextGetter* url_context) net 64 content/browser/renderer_host/p2p/socket_host_tcp.cc bool P2PSocketHostTcpBase::InitAccepted(const net::IPEndPoint& remote_address, net 65 content/browser/renderer_host/p2p/socket_host_tcp.cc net::StreamSocket* socket) { net 77 content/browser/renderer_host/p2p/socket_host_tcp.cc bool P2PSocketHostTcpBase::Init(const net::IPEndPoint& local_address, net 84 content/browser/renderer_host/p2p/socket_host_tcp.cc net::HostPortPair dest_host_port_pair = net 85 content/browser/renderer_host/p2p/socket_host_tcp.cc net::HostPortPair::FromIPEndPoint(remote_address.ip_address); net 91 content/browser/renderer_host/p2p/socket_host_tcp.cc const net::SSLConfig ssl_config; net 101 content/browser/renderer_host/p2p/socket_host_tcp.cc if (status != net::ERR_IO_PENDING) { net 130 content/browser/renderer_host/p2p/socket_host_tcp.cc DCHECK_NE(result, net::ERR_IO_PENDING); net 132 content/browser/renderer_host/p2p/socket_host_tcp.cc if (result != net::OK) { net 141 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_ptr<net::StreamSocket> transport_socket = socket_.Pass(); net 148 content/browser/renderer_host/p2p/socket_host_tcp.cc if (status != net::ERR_IO_PENDING) { net 164 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_ptr<net::ClientSocketHandle> socket_handle( net 165 content/browser/renderer_host/p2p/socket_host_tcp.cc new net::ClientSocketHandle()); net 168 content/browser/renderer_host/p2p/socket_host_tcp.cc net::SSLClientSocketContext context; net 175 content/browser/renderer_host/p2p/socket_host_tcp.cc const net::SSLConfig ssl_config; net 176 content/browser/renderer_host/p2p/socket_host_tcp.cc net::HostPortPair dest_host_port_pair = net 177 content/browser/renderer_host/p2p/socket_host_tcp.cc net::HostPortPair::FromIPEndPoint(remote_address_.ip_address); net 181 content/browser/renderer_host/p2p/socket_host_tcp.cc net::ClientSocketFactory* socket_factory = net 182 content/browser/renderer_host/p2p/socket_host_tcp.cc net::ClientSocketFactory::GetDefaultFactory(); net 190 content/browser/renderer_host/p2p/socket_host_tcp.cc if (status != net::ERR_IO_PENDING) { net 196 content/browser/renderer_host/p2p/socket_host_tcp.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 198 content/browser/renderer_host/p2p/socket_host_tcp.cc if (status != net::OK) { net 225 content/browser/renderer_host/p2p/socket_host_tcp.cc net::IPEndPoint address; net 247 content/browser/renderer_host/p2p/socket_host_tcp.cc read_buffer_ = new net::GrowableIOBuffer(); net 294 content/browser/renderer_host/p2p/socket_host_tcp.cc void P2PSocketHostTcpBase::Send(const net::IPEndPoint& to, net 326 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_refptr<net::DrainableIOBuffer>& buffer) { net 348 content/browser/renderer_host/p2p/socket_host_tcp.cc DCHECK_NE(result, net::ERR_IO_PENDING); net 368 content/browser/renderer_host/p2p/socket_host_tcp.cc } else if (result == net::ERR_IO_PENDING) { net 377 content/browser/renderer_host/p2p/socket_host_tcp.cc const net::IPEndPoint& remote_address, int id) { net 386 content/browser/renderer_host/p2p/socket_host_tcp.cc if (result == net::ERR_IO_PENDING) { net 415 content/browser/renderer_host/p2p/socket_host_tcp.cc return socket_->SetReceiveBufferSize(value) == net::OK; net 417 content/browser/renderer_host/p2p/socket_host_tcp.cc return socket_->SetSendBufferSize(value) == net::OK; net 428 content/browser/renderer_host/p2p/socket_host_tcp.cc P2PSocketType type, net::URLRequestContextGetter* url_context) net 453 content/browser/renderer_host/p2p/socket_host_tcp.cc void P2PSocketHostTcp::DoSend(const net::IPEndPoint& to, net 457 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_refptr<net::DrainableIOBuffer> buffer = net 458 content/browser/renderer_host/p2p/socket_host_tcp.cc new net::DrainableIOBuffer(new net::IOBuffer(size), size); net 473 content/browser/renderer_host/p2p/socket_host_tcp.cc P2PSocketType type, net::URLRequestContextGetter* url_context) net 504 content/browser/renderer_host/p2p/socket_host_tcp.cc void P2PSocketHostStunTcp::DoSend(const net::IPEndPoint& to, net 529 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_refptr<net::DrainableIOBuffer> buffer = net 530 content/browser/renderer_host/p2p/socket_host_tcp.cc new net::DrainableIOBuffer(new net::IOBuffer(size), size); net 20 content/browser/renderer_host/p2p/socket_host_tcp.h namespace net { net 34 content/browser/renderer_host/p2p/socket_host_tcp.h net::URLRequestContextGetter* url_context); net 37 content/browser/renderer_host/p2p/socket_host_tcp.h bool InitAccepted(const net::IPEndPoint& remote_address, net 38 content/browser/renderer_host/p2p/socket_host_tcp.h net::StreamSocket* socket); net 41 content/browser/renderer_host/p2p/socket_host_tcp.h virtual bool Init(const net::IPEndPoint& local_address, net 43 content/browser/renderer_host/p2p/socket_host_tcp.h virtual void Send(const net::IPEndPoint& to, net 48 content/browser/renderer_host/p2p/socket_host_tcp.h const net::IPEndPoint& remote_address, int id) OVERRIDE; net 54 content/browser/renderer_host/p2p/socket_host_tcp.h virtual void DoSend(const net::IPEndPoint& to, net 58 content/browser/renderer_host/p2p/socket_host_tcp.h void WriteOrQueue(scoped_refptr<net::DrainableIOBuffer>& buffer); net 87 content/browser/renderer_host/p2p/socket_host_tcp.h scoped_ptr<net::StreamSocket> socket_; net 88 content/browser/renderer_host/p2p/socket_host_tcp.h scoped_refptr<net::GrowableIOBuffer> read_buffer_; net 89 content/browser/renderer_host/p2p/socket_host_tcp.h std::queue<scoped_refptr<net::DrainableIOBuffer> > write_queue_; net 90 content/browser/renderer_host/p2p/socket_host_tcp.h scoped_refptr<net::DrainableIOBuffer> write_buffer_; net 96 content/browser/renderer_host/p2p/socket_host_tcp.h scoped_refptr<net::URLRequestContextGetter> url_context_; net 106 content/browser/renderer_host/p2p/socket_host_tcp.h net::URLRequestContextGetter* url_context); net 111 content/browser/renderer_host/p2p/socket_host_tcp.h virtual void DoSend(const net::IPEndPoint& to, net 127 content/browser/renderer_host/p2p/socket_host_tcp.h net::URLRequestContextGetter* url_context); net 133 content/browser/renderer_host/p2p/socket_host_tcp.h virtual void DoSend(const net::IPEndPoint& to, net 27 content/browser/renderer_host/p2p/socket_host_tcp_server.cc socket_(new net::TCPServerSocket(NULL, net::NetLog::Source())), net 43 content/browser/renderer_host/p2p/socket_host_tcp_server.cc bool P2PSocketHostTcpServer::Init(const net::IPEndPoint& local_address, net 81 content/browser/renderer_host/p2p/socket_host_tcp_server.cc if (result == net::ERR_IO_PENDING) { net 91 content/browser/renderer_host/p2p/socket_host_tcp_server.cc if (result != net::ERR_IO_PENDING) net 96 content/browser/renderer_host/p2p/socket_host_tcp_server.cc net::IPEndPoint address; net 97 content/browser/renderer_host/p2p/socket_host_tcp_server.cc if (accept_socket_->GetPeerAddress(&address) != net::OK) { net 113 content/browser/renderer_host/p2p/socket_host_tcp_server.cc if (result == net::OK) net 117 content/browser/renderer_host/p2p/socket_host_tcp_server.cc void P2PSocketHostTcpServer::Send(const net::IPEndPoint& to, net 126 content/browser/renderer_host/p2p/socket_host_tcp_server.cc const net::IPEndPoint& remote_address, int id) { net 131 content/browser/renderer_host/p2p/socket_host_tcp_server.cc net::StreamSocket* socket = it->second; net 21 content/browser/renderer_host/p2p/socket_host_tcp_server.h namespace net { net 29 content/browser/renderer_host/p2p/socket_host_tcp_server.h typedef std::map<net::IPEndPoint, net::StreamSocket*> AcceptedSocketsMap; net 36 content/browser/renderer_host/p2p/socket_host_tcp_server.h virtual bool Init(const net::IPEndPoint& local_address, net 38 content/browser/renderer_host/p2p/socket_host_tcp_server.h virtual void Send(const net::IPEndPoint& to, net 43 content/browser/renderer_host/p2p/socket_host_tcp_server.h const net::IPEndPoint& remote_address, int id) OVERRIDE; net 59 content/browser/renderer_host/p2p/socket_host_tcp_server.h scoped_ptr<net::ServerSocket> socket_; net 60 content/browser/renderer_host/p2p/socket_host_tcp_server.h net::IPEndPoint local_address_; net 62 content/browser/renderer_host/p2p/socket_host_tcp_server.h scoped_ptr<net::StreamSocket> accept_socket_; net 65 content/browser/renderer_host/p2p/socket_host_tcp_server.h net::CompletionCallback accept_callback_; net 22 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc class FakeServerSocket : public net::ServerSocket { net 33 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc void AddIncoming(net::StreamSocket* socket) { net 42 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::CompletionCallback cb = accept_callback_; net 44 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc cb.Run(net::OK); net 50 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc virtual int Listen(const net::IPEndPoint& address, int backlog) OVERRIDE { net 53 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc return net::OK; net 56 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE { net 58 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc return net::OK; net 61 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc virtual int Accept(scoped_ptr<net::StreamSocket>* socket, net 62 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 67 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc return net::OK; net 71 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc return net::ERR_IO_PENDING; net 78 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::IPEndPoint local_address_; net 80 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc scoped_ptr<net::StreamSocket>* accept_socket_; net 81 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::CompletionCallback accept_callback_; net 83 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc std::list<net::StreamSocket*> incoming_sockets_; net 112 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::StreamSocket* GetSocketFormTcpSocketHost(P2PSocketHostTcp* host) { net 125 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::IPEndPoint addr = ParseAddress(kTestIpAddress1, kTestPort1); net 145 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::IPEndPoint addr1 = ParseAddress(kTestIpAddress1, kTestPort1); net 149 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc net::IPEndPoint addr2 = ParseAddress(kTestIpAddress2, kTestPort2); net 51 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc socket_host_->OnConnected(net::OK); net 67 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc net::IPEndPoint local_address_; net 42 content/browser/renderer_host/p2p/socket_host_test_utils.cc net::CompletionCallback cb = read_callback_; net 48 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::SetPeerAddress(const net::IPEndPoint& peer_address) { net 52 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::SetLocalAddress(const net::IPEndPoint& local_address) { net 56 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Read(net::IOBuffer* buf, int buf_len, net 57 content/browser/renderer_host/p2p/socket_host_test_utils.cc const net::CompletionCallback& callback) { net 70 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::ERR_IO_PENDING; net 74 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Write(net::IOBuffer* buf, int buf_len, net 75 content/browser/renderer_host/p2p/socket_host_test_utils.cc const net::CompletionCallback& callback) { net 83 content/browser/renderer_host/p2p/socket_host_test_utils.cc scoped_refptr<net::IOBuffer>(buf), buf_len, callback)); net 85 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::ERR_IO_PENDING; net 95 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, net 96 content/browser/renderer_host/p2p/socket_host_test_utils.cc const net::CompletionCallback& callback) { net 108 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::ERR_NOT_IMPLEMENTED; net 113 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::ERR_NOT_IMPLEMENTED; net 116 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Connect(const net::CompletionCallback& callback) { net 132 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const { net 134 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::OK; net 137 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const { net 139 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::OK; net 142 content/browser/renderer_host/p2p/socket_host_test_utils.cc const net::BoundNetLog& FakeSocket::NetLog() const { net 167 content/browser/renderer_host/p2p/socket_host_test_utils.cc net::NextProto FakeSocket::GetNegotiatedProtocol() const { net 168 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::kProtoUnknown; net 171 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::GetSSLInfo(net::SSLInfo* ssl_info) { net 207 content/browser/renderer_host/p2p/socket_host_test_utils.cc net::IPEndPoint ParseAddress(const std::string ip_str, int port) { net 208 content/browser/renderer_host/p2p/socket_host_test_utils.cc net::IPAddressNumber ip; net 209 content/browser/renderer_host/p2p/socket_host_test_utils.cc EXPECT_TRUE(net::ParseIPLiteralToNumber(ip_str, &ip)); net 210 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::IPEndPoint(ip, port); net 31 content/browser/renderer_host/p2p/socket_host_test_utils.h class FakeSocket : public net::StreamSocket { net 40 content/browser/renderer_host/p2p/socket_host_test_utils.h void SetPeerAddress(const net::IPEndPoint& peer_address); net 41 content/browser/renderer_host/p2p/socket_host_test_utils.h void SetLocalAddress(const net::IPEndPoint& local_address); net 44 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int Read(net::IOBuffer* buf, int buf_len, net 45 content/browser/renderer_host/p2p/socket_host_test_utils.h const net::CompletionCallback& callback) OVERRIDE; net 46 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int Write(net::IOBuffer* buf, int buf_len, net 47 content/browser/renderer_host/p2p/socket_host_test_utils.h const net::CompletionCallback& callback) OVERRIDE; net 50 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; net 54 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; net 55 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; net 56 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual const net::BoundNetLog& NetLog() const OVERRIDE; net 62 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; net 63 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; net 66 content/browser/renderer_host/p2p/socket_host_test_utils.h void DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, net 67 content/browser/renderer_host/p2p/socket_host_test_utils.h const net::CompletionCallback& callback); net 70 content/browser/renderer_host/p2p/socket_host_test_utils.h scoped_refptr<net::IOBuffer> read_buffer_; net 72 content/browser/renderer_host/p2p/socket_host_test_utils.h net::CompletionCallback read_callback_; net 81 content/browser/renderer_host/p2p/socket_host_test_utils.h net::IPEndPoint peer_address_; net 82 content/browser/renderer_host/p2p/socket_host_test_utils.h net::IPEndPoint local_address_; net 84 content/browser/renderer_host/p2p/socket_host_test_utils.h net::BoundNetLog net_log_; net 92 content/browser/renderer_host/p2p/socket_host_test_utils.h net::IPEndPoint ParseAddress(const std::string ip_str, int port); net 40 content/browser/renderer_host/p2p/socket_host_udp.cc return error == net::ERR_ADDRESS_UNREACHABLE || net 41 content/browser/renderer_host/p2p/socket_host_udp.cc error == net::ERR_ADDRESS_INVALID || net 42 content/browser/renderer_host/p2p/socket_host_udp.cc error == net::ERR_ACCESS_DENIED || net 43 content/browser/renderer_host/p2p/socket_host_udp.cc error == net::ERR_CONNECTION_RESET || net 44 content/browser/renderer_host/p2p/socket_host_udp.cc error == net::ERR_OUT_OF_MEMORY; net 52 content/browser/renderer_host/p2p/socket_host_udp.cc const net::IPEndPoint& to, net 57 content/browser/renderer_host/p2p/socket_host_udp.cc data(new net::IOBuffer(content.size())), net 71 content/browser/renderer_host/p2p/socket_host_udp.cc socket_(new net::UDPServerSocket( net 73 content/browser/renderer_host/p2p/socket_host_udp.cc net::NetLog::Source())), net 75 content/browser/renderer_host/p2p/socket_host_udp.cc last_dscp_(net::DSCP_CS0), net 86 content/browser/renderer_host/p2p/socket_host_udp.cc bool P2PSocketHostUdp::Init(const net::IPEndPoint& local_address, net 98 content/browser/renderer_host/p2p/socket_host_udp.cc if (socket_->SetReceiveBufferSize(kRecvSocketBufferSize) != net::OK) { net 103 content/browser/renderer_host/p2p/socket_host_udp.cc net::IPEndPoint address; net 117 content/browser/renderer_host/p2p/socket_host_udp.cc recv_buffer_ = new net::IOBuffer(kReadBufferSize); net 141 content/browser/renderer_host/p2p/socket_host_udp.cc if (result == net::ERR_IO_PENDING) net 181 content/browser/renderer_host/p2p/socket_host_udp.cc void P2PSocketHostUdp::Send(const net::IPEndPoint& to, net 224 content/browser/renderer_host/p2p/socket_host_udp.cc net::DiffServCodePoint dscp = net 225 content/browser/renderer_host/p2p/socket_host_udp.cc static_cast<net::DiffServCodePoint>(packet.packet_options.dscp); net 226 content/browser/renderer_host/p2p/socket_host_udp.cc if (dscp != net::DSCP_NO_CHANGE && last_dscp_ != dscp && net 227 content/browser/renderer_host/p2p/socket_host_udp.cc last_dscp_ != net::DSCP_NO_CHANGE) { net 229 content/browser/renderer_host/p2p/socket_host_udp.cc if (result == net::OK) { net 231 content/browser/renderer_host/p2p/socket_host_udp.cc } else if (!IsTransientError(result) && last_dscp_ != net::DSCP_CS0) { net 235 content/browser/renderer_host/p2p/socket_host_udp.cc last_dscp_ = net::DSCP_NO_CHANGE; net 258 content/browser/renderer_host/p2p/socket_host_udp.cc if (result == net::ERR_IO_PENDING) { net 267 content/browser/renderer_host/p2p/socket_host_udp.cc DCHECK_NE(result, net::ERR_IO_PENDING); net 295 content/browser/renderer_host/p2p/socket_host_udp.cc const net::IPEndPoint& remote_address, int id) { net 305 content/browser/renderer_host/p2p/socket_host_udp.cc return socket_->SetReceiveBufferSize(value) == net::OK; net 307 content/browser/renderer_host/p2p/socket_host_udp.cc return socket_->SetSendBufferSize(value) == net::OK; net 309 content/browser/renderer_host/p2p/socket_host_udp.cc return (net::OK == socket_->SetDiffServCodePoint( net 310 content/browser/renderer_host/p2p/socket_host_udp.cc static_cast<net::DiffServCodePoint>(value))) ? true : false; net 34 content/browser/renderer_host/p2p/socket_host_udp.h virtual bool Init(const net::IPEndPoint& local_address, net 36 content/browser/renderer_host/p2p/socket_host_udp.h virtual void Send(const net::IPEndPoint& to, net 41 content/browser/renderer_host/p2p/socket_host_udp.h const net::IPEndPoint& remote_address, int id) OVERRIDE; net 47 content/browser/renderer_host/p2p/socket_host_udp.h typedef std::set<net::IPEndPoint> ConnectedPeerSet; net 50 content/browser/renderer_host/p2p/socket_host_udp.h PendingPacket(const net::IPEndPoint& to, net 55 content/browser/renderer_host/p2p/socket_host_udp.h net::IPEndPoint to; net 56 content/browser/renderer_host/p2p/socket_host_udp.h scoped_refptr<net::IOBuffer> data; net 72 content/browser/renderer_host/p2p/socket_host_udp.h scoped_ptr<net::DatagramServerSocket> socket_; net 73 content/browser/renderer_host/p2p/socket_host_udp.h scoped_refptr<net::IOBuffer> recv_buffer_; net 74 content/browser/renderer_host/p2p/socket_host_udp.h net::IPEndPoint recv_address_; net 78 content/browser/renderer_host/p2p/socket_host_udp.h net::DiffServCodePoint last_dscp_; net 39 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc class FakeDatagramServerSocket : public net::DatagramServerSocket { net 41 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc typedef std::pair<net::IPEndPoint, std::vector<char> > UDPPacket; net 52 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE { net 54 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_SOCKET_NOT_CONNECTED; net 57 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE { net 62 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int Listen(const net::IPEndPoint& address) OVERRIDE { net 67 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int RecvFrom(net::IOBuffer* buf, int buf_len, net 68 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint* address, net 69 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 72 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc scoped_refptr<net::IOBuffer> buffer(buf); net 84 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_IO_PENDING; net 88 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int SendTo(net::IOBuffer* buf, int buf_len, net 89 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc const net::IPEndPoint& address, net 90 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 91 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc scoped_refptr<net::IOBuffer> buffer(buf); net 98 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::OK; net 102 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::OK; net 105 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc void ReceivePacket(const net::IPEndPoint& address, std::vector<char> data) { net 110 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::CompletionCallback cb = recv_callback_; net 119 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual const net::BoundNetLog& NetLog() const OVERRIDE { net 132 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc const net::IPAddressNumber& group_address) const OVERRIDE { net 134 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 138 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc const net::IPAddressNumber& group_address) const OVERRIDE { net 140 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 145 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 150 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 155 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 158 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int SetDiffServCodePoint(net::DiffServCodePoint dscp) OVERRIDE { net 160 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 168 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint address_; net 171 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::BoundNetLog net_log_; net 173 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc scoped_refptr<net::IOBuffer> recv_buffer_; net 174 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint* recv_address_; net 176 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::CompletionCallback recv_callback_; net 210 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint local_address_; net 212 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint dest1_; net 213 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint dest2_; net 344 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint dest3 = ParseAddress(kTestIpAddress1, 2222); net 378 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint dest3 = ParseAddress(kTestIpAddress1, 2223); net 381 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc net::IPEndPoint dest4 = ParseAddress(kTestIpAddress1, 2224); net 220 content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc scoped_ptr<net::TCPSocket> socket) { net 42 content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h scoped_ptr<net::TCPSocket> socket); net 488 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc if (!net::IsMimeType(mime_type)) net 36 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::HostResolver::RequestInfo* request_info) { net 39 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::AddressFamily address_family; net 42 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc address_family = net::ADDRESS_FAMILY_IPV4; net 45 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc address_family = net::ADDRESS_FAMILY_IPV6; net 48 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc address_family = net::ADDRESS_FAMILY_UNSPECIFIED; net 52 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::HostResolverFlags host_resolver_flags = 0; net 54 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc host_resolver_flags |= net::HOST_RESOLVER_CANONNAME; net 56 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc host_resolver_flags |= net::HOST_RESOLVER_LOOPBACK_ONLY; net 61 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc const net::AddressList& list, net 163 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::HostResolver* host_resolver = resource_context->GetHostResolver(); net 169 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::HostResolver::RequestInfo request_info( net 170 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::HostPortPair(host_port.host, host_port.port)); net 180 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::DEFAULT_PRIORITY, net 188 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc const net::AddressList& addresses, net 190 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc if (net_result != net::OK) { net 21 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.h namespace net { net 70 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.h const net::AddressList& addresses, net 65 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc net::EscapePath(path_.substr(1))); net 20 content/browser/renderer_host/pepper/pepper_lookup_request.h typedef base::Callback<void(int, const net::AddressList&, const T&)> net 25 content/browser/renderer_host/pepper/pepper_lookup_request.h PepperLookupRequest(net::HostResolver* resolver, net 26 content/browser/renderer_host/pepper/pepper_lookup_request.h const net::HostResolver::RequestInfo& request_info, net 27 content/browser/renderer_host/pepper/pepper_lookup_request.h net::RequestPriority priority, net 43 content/browser/renderer_host/pepper/pepper_lookup_request.h net::BoundNetLog()); net 44 content/browser/renderer_host/pepper/pepper_lookup_request.h if (result != net::ERR_IO_PENDING) net 54 content/browser/renderer_host/pepper/pepper_lookup_request.h net::SingleRequestHostResolver resolver_; net 55 content/browser/renderer_host/pepper/pepper_lookup_request.h net::HostResolver::RequestInfo request_info_; net 56 content/browser/renderer_host/pepper/pepper_lookup_request.h net::RequestPriority priority_; net 60 content/browser/renderer_host/pepper/pepper_lookup_request.h net::AddressList addresses_; net 33 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc scoped_ptr<net::NetworkInterfaceList> GetNetworkList() { net 34 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc scoped_ptr<net::NetworkInterfaceList> list(new net::NetworkInterfaceList()); net 35 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc net::GetNetworkList(list.get(), net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES); net 62 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 77 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 93 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc scoped_ptr<net::NetworkInterfaceList> list) { net 99 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc const net::NetworkInterface& network = list->at(i); net 23 content/browser/renderer_host/pepper/pepper_network_monitor_host.h public net::NetworkChangeNotifier::IPAddressObserver { net 39 content/browser/renderer_host/pepper/pepper_network_monitor_host.h void SendNetworkList(scoped_ptr<net::NetworkInterfaceList> list); net 52 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc net::ProxyService::PacRequest* request = pending_requests_.front(); net 143 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc net::ProxyInfo* proxy_info = new net::ProxyInfo; net 144 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc net::ProxyService::PacRequest* pending_request = NULL; net 154 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc net::BoundNetLog()); net 158 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc if (result != net::ERR_IO_PENDING) net 167 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc net::ProxyInfo* proxy_info, net 171 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc if (result != net::OK) { net 18 content/browser/renderer_host/pepper/pepper_network_proxy_host.h namespace net { net 50 content/browser/renderer_host/pepper/pepper_network_proxy_host.h scoped_refptr<net::URLRequestContextGetter> context_getter; net 69 content/browser/renderer_host/pepper/pepper_network_proxy_host.h net::ProxyInfo* proxy_info, net 77 content/browser/renderer_host/pepper/pepper_network_proxy_host.h net::ProxyService* proxy_service_; net 95 content/browser/renderer_host/pepper/pepper_network_proxy_host.h std::queue<net::ProxyService::PacRequest*> pending_requests_; net 72 content/browser/renderer_host/pepper/pepper_socket_utils.cc bool GetCertificateFields(const net::X509Certificate& cert, net 74 content/browser/renderer_host/pepper/pepper_socket_utils.cc const net::CertPrincipal& issuer = cert.issuer(); net 88 content/browser/renderer_host/pepper/pepper_socket_utils.cc const net::CertPrincipal& subject = cert.subject(); net 111 content/browser/renderer_host/pepper/pepper_socket_utils.cc net::X509Certificate::GetDEREncoded(cert.os_cert_handle(), &der); net 120 content/browser/renderer_host/pepper/pepper_socket_utils.cc scoped_refptr<net::X509Certificate> cert = net 121 content/browser/renderer_host/pepper/pepper_socket_utils.cc net::X509Certificate::CreateFromBytes(der, length); net 13 content/browser/renderer_host/pepper/pepper_socket_utils.h namespace net { net 40 content/browser/renderer_host/pepper/pepper_socket_utils.h bool GetCertificateFields(const net::X509Certificate& cert, net 140 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 161 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc net::IPAddressNumber address; net 172 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc socket_.reset(new net::TCPSocket(NULL, net::NetLog::Source())); net 173 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc int net_result = net::OK; net 175 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc net::IPEndPoint ip_end_point(address, port); net 177 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::OK) net 180 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::OK) net 183 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::OK) net 188 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 200 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::OK) { net 208 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc net::IPEndPoint end_point; net 241 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc if (net_result != net::OK) { net 248 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc net::IPEndPoint ip_end_point_local; net 99 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h scoped_ptr<net::TCPSocket> socket_; net 100 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h scoped_ptr<net::TCPSocket> accepted_socket_; net 101 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h net::IPEndPoint accepted_address_; net 61 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::StreamSocket* socket, net 89 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::HostResolver::RequestInfo request_info(net::HostPortPair(host, port)); net 91 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new net::SingleRequestHostResolver(manager_->GetHostResolver())); net 94 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::DEFAULT_PRIORITY, net 97 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::BoundNetLog()); net 98 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (net_result != net::ERR_IO_PENDING) net 111 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::IPAddressNumber address; net 121 content/browser/renderer_host/pepper/pepper_tcp_socket.cc address_list_.push_back(net::IPEndPoint(address, port)); net 146 content/browser/renderer_host/pepper/pepper_tcp_socket.cc scoped_ptr<net::ClientSocketHandle> handle(new net::ClientSocketHandle()); net 148 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::ClientSocketFactory* factory = net 149 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::ClientSocketFactory::GetDefaultFactory(); net 150 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::HostPortPair host_port_pair(server_name, server_port); net 151 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::SSLClientSocketContext ssl_context; net 158 content/browser/renderer_host/pepper/pepper_tcp_socket.cc OnSSLHandshakeCompleted(net::ERR_UNEXPECTED); net 165 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (net_result != net::ERR_IO_PENDING) net 188 content/browser/renderer_host/pepper/pepper_tcp_socket.cc read_buffer_ = new net::IOBuffer(bytes_to_read); net 193 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (net_result != net::ERR_IO_PENDING) net 217 content/browser/renderer_host/pepper/pepper_tcp_socket.cc write_buffer_base_ = new net::IOBuffer(data_size); net 220 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new net::DrainableIOBuffer(write_buffer_base_.get(), data_size); net 233 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::TCPClientSocket* tcp_socket = net 234 content/browser/renderer_host/pepper/pepper_tcp_socket.cc static_cast<net::TCPClientSocket*>(socket_.get()); net 257 content/browser/renderer_host/pepper/pepper_tcp_socket.cc int net_result = net::OK; net 272 content/browser/renderer_host/pepper/pepper_tcp_socket.cc SendSetOptionACK((net_result == net::OK) ? PP_OK : PP_ERROR_FAILED); net 283 content/browser/renderer_host/pepper/pepper_tcp_socket.cc void PepperTCPSocket::StartConnect(const net::AddressList& addresses) { net 286 content/browser/renderer_host/pepper/pepper_tcp_socket.cc socket_.reset(new net::TCPClientSocket(addresses, NULL, net 287 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::NetLog::Source())); net 291 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (net_result != net::ERR_IO_PENDING) net 304 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const net::X509Certificate& cert, net 306 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const net::CertPrincipal& issuer = cert.issuer(); net 320 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const net::CertPrincipal& subject = cert.subject(); net 343 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::X509Certificate::GetDEREncoded(cert.os_cert_handle(), &der); net 354 content/browser/renderer_host/pepper/pepper_tcp_socket.cc scoped_refptr<net::X509Certificate> cert = net 355 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::X509Certificate::CreateFromBytes(der, length); net 376 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::SSLClientSocket* ssl_socket = net 377 content/browser/renderer_host/pepper/pepper_tcp_socket.cc static_cast<net::SSLClientSocket*>(socket_.get()); net 378 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::SSLInfo ssl_info; net 399 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (net_result != net::OK) { net 416 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::IPEndPoint ip_end_point_local; net 417 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::IPEndPoint ip_end_point_remote; net 457 content/browser/renderer_host/pepper/pepper_tcp_socket.cc bool succeeded = net_result == net::OK; net 524 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (net_result != net::ERR_IO_PENDING) net 67 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc socket_(new net::TCPSocket(NULL, net::NetLog::Source())), net 83 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc scoped_ptr<net::TCPSocket> socket) net 271 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint peer_address; net 272 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (socket_->GetPeerAddress(&peer_address) != net::OK) net 275 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc scoped_ptr<net::ClientSocketHandle> handle(new net::ClientSocketHandle()); net 276 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc handle->SetSocket(make_scoped_ptr<net::StreamSocket>( net 277 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc new net::TCPClientSocket(socket_.Pass(), peer_address))); net 278 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::ClientSocketFactory* factory = net 279 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::ClientSocketFactory::GetDefaultFactory(); net 280 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::HostPortPair host_port_pair(server_name, server_port); net 281 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::SSLClientSocketContext ssl_context; net 301 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 321 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc read_buffer_ = new net::IOBuffer(bytes_to_read); net 323 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc int net_result = net::ERR_FAILED; net 339 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 360 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc write_buffer_base_ = new net::IOBuffer(data_size); net 363 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc new net::DrainableIOBuffer(write_buffer_base_.get(), data_size); net 412 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 458 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc int net_result = net::OK; net 469 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc return (net_result == net::OK) ? PP_OK : PP_ERROR_FAILED; net 494 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPAddressNumber address; net 501 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint bind_addr(address, port); net 516 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint ip_end_point_local; net 557 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::HostResolver::RequestInfo request_info(net::HostPortPair(host, port)); net 558 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc resolver_.reset(new net::SingleRequestHostResolver( net 562 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::DEFAULT_PRIORITY, net 566 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::BoundNetLog()); net 567 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 583 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPAddressNumber address; net 595 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc address_list_.push_back(net::IPEndPoint(address, port)); net 607 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc int net_result = net::ERR_FAILED; net 623 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 657 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::OK) { net 672 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc int net_result = net::OK; net 676 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result == net::OK) { net 682 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 702 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint ip_end_point_local; net 703 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint ip_end_point_remote; net 744 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc socket_.reset(new net::TCPSocket(NULL, net::NetLog::Source())); net 771 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc state_.CompletePendingTransition(net_result == net::OK); net 827 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (net_result != net::OK) { net 834 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint ip_end_point_local; net 917 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::SSLInfo ssl_info; net 26 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h namespace net { net 63 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_ptr<net::TCPSocket> socket); net 189 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_ptr<net::SingleRequestHostResolver> resolver_; net 195 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h net::AddressList address_list_; net 200 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_ptr<net::TCPSocket> socket_; net 202 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_ptr<net::SSLClientSocket> ssl_socket_; net 204 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_refptr<net::IOBuffer> read_buffer_; net 210 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_refptr<net::IOBuffer> write_buffer_base_; net 211 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_refptr<net::DrainableIOBuffer> write_buffer_; net 215 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h scoped_ptr<net::TCPSocket> accepted_socket_; net 216 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h net::IPEndPoint accepted_address_; net 143 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc int net_result = net::OK; net 158 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc return (net_result == net::OK) ? PP_OK : PP_ERROR_FAILED; net 210 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc recvfrom_buffer_ = new net::IOBuffer(num_bytes); net 224 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 269 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc scoped_ptr<net::UDPServerSocket> socket(new net::UDPServerSocket( net 270 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc NULL, net::NetLog::Source())); net 272 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc net::IPAddressNumber address; net 285 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc socket->Listen(net::IPEndPoint(address, port))); net 291 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc net::IPEndPoint bound_address; net 340 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc sendto_buffer_ = new net::IOBufferWithSize(num_bytes); net 343 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc net::IPAddressNumber address; net 355 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc net::IPEndPoint(address, port), net 359 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc if (net_result != net::ERR_IO_PENDING) net 26 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h namespace net { net 112 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h scoped_ptr<net::UDPServerSocket> socket_; net 115 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h scoped_refptr<net::IOBuffer> recvfrom_buffer_; net 116 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h scoped_refptr<net::IOBufferWithSize> sendto_buffer_; net 118 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h net::IPEndPoint recvfrom_address_; net 18 content/browser/renderer_host/pepper/ssl_context_helper.cc net::CertVerifier* SSLContextHelper::GetCertVerifier() { net 20 content/browser/renderer_host/pepper/ssl_context_helper.cc cert_verifier_.reset(net::CertVerifier::CreateDefault()); net 24 content/browser/renderer_host/pepper/ssl_context_helper.cc net::TransportSecurityState* SSLContextHelper::GetTransportSecurityState() { net 26 content/browser/renderer_host/pepper/ssl_context_helper.cc transport_security_state_.reset(new net::TransportSecurityState()); net 13 content/browser/renderer_host/pepper/ssl_context_helper.h namespace net { net 24 content/browser/renderer_host/pepper/ssl_context_helper.h net::CertVerifier* GetCertVerifier(); net 25 content/browser/renderer_host/pepper/ssl_context_helper.h net::TransportSecurityState* GetTransportSecurityState(); net 26 content/browser/renderer_host/pepper/ssl_context_helper.h const net::SSLConfig& ssl_config() { return ssl_config_; } net 34 content/browser/renderer_host/pepper/ssl_context_helper.h scoped_ptr<net::CertVerifier> cert_verifier_; net 37 content/browser/renderer_host/pepper/ssl_context_helper.h scoped_ptr<net::TransportSecurityState> transport_security_state_; net 41 content/browser/renderer_host/pepper/ssl_context_helper.h net::SSLConfig ssl_config_; net 95 content/browser/renderer_host/render_message_filter.cc using net::CookieStore; net 329 content/browser/renderer_host/render_message_filter.cc net::URLRequestContextGetter* request_context, net 596 content/browser/renderer_host/render_message_filter.cc net::CookieOptions options; net 600 content/browser/renderer_host/render_message_filter.cc net::CookieStore* cookie_store = GetCookieStoreForURL(url); net 603 content/browser/renderer_host/render_message_filter.cc url, cookie, options, net::CookieStore::SetCookiesCallback()); net 624 content/browser/renderer_host/render_message_filter.cc net::CookieStore* cookie_store = GetCookieStoreForURL(url); net 643 content/browser/renderer_host/render_message_filter.cc SendGetRawCookiesResponse(reply_msg, net::CookieList()); net 650 content/browser/renderer_host/render_message_filter.cc net::CookieStore* cookie_store = GetCookieStoreForURL(url); net 663 content/browser/renderer_host/render_message_filter.cc net::CookieStore* cookie_store = GetCookieStoreForURL(url); net 675 content/browser/renderer_host/render_message_filter.cc url, first_party_for_cookies, net::CookieList(), resource_context_, net 906 content/browser/renderer_host/render_message_filter.cc scoped_ptr<net::URLRequest> request( net 908 content/browser/renderer_host/render_message_filter.cc url, net::DEFAULT_PRIORITY, NULL, NULL)); net 961 content/browser/renderer_host/render_message_filter.cc net::CookieStore* RenderMessageFilter::GetCookieStoreForURL( net 965 content/browser/renderer_host/render_message_filter.cc net::URLRequestContext* context = net 976 content/browser/renderer_host/render_message_filter.cc net::CookieStore* cookie_store = net 1017 content/browser/renderer_host/render_message_filter.cc net::HttpCache* cache = request_context_->GetURLRequestContext()-> net 1026 content/browser/renderer_host/render_message_filter.cc const net::RequestPriority kPriority = net::LOW; net 1027 content/browser/renderer_host/render_message_filter.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(data.size())); net 1067 content/browser/renderer_host/render_message_filter.cc scoped_ptr<net::KeygenHandler> keygen_handler) { net 1084 content/browser/renderer_host/render_message_filter.cc scoped_ptr<net::KeygenHandler> keygen_handler, net 1106 content/browser/renderer_host/render_message_filter.cc const net::CookieList& cookie_list) { net 1107 content/browser/renderer_host/render_message_filter.cc net::CookieStore* cookie_store = GetCookieStoreForURL(url); net 1115 content/browser/renderer_host/render_message_filter.cc url, net::CookieOptions(), net 1131 content/browser/renderer_host/render_message_filter.cc const net::CookieList& cookie_list) { net 65 content/browser/renderer_host/render_message_filter.h namespace net { net 92 content/browser/renderer_host/render_message_filter.h net::URLRequestContextGetter* request_context, net 116 content/browser/renderer_host/render_message_filter.h net::CookieStore* GetCookieStoreForURL(const GURL& url); net 237 content/browser/renderer_host/render_message_filter.h scoped_ptr<net::KeygenHandler> keygen_handler); net 238 content/browser/renderer_host/render_message_filter.h void OnKeygenOnWorkerThread(scoped_ptr<net::KeygenHandler> keygen_handler, net 247 content/browser/renderer_host/render_message_filter.h const net::CookieList& cookie_list); net 254 content/browser/renderer_host/render_message_filter.h const net::CookieList& cookie_list); net 289 content/browser/renderer_host/render_message_filter.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 182 content/browser/renderer_host/render_process_host_impl.cc net::URLRequestContext* GetRequestContext( net 183 content/browser/renderer_host/render_process_host_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 184 content/browser/renderer_host/render_process_host_impl.cc scoped_refptr<net::URLRequestContextGetter> media_request_context, net 196 content/browser/renderer_host/render_process_host_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 197 content/browser/renderer_host/render_process_host_impl.cc scoped_refptr<net::URLRequestContextGetter> media_request_context, net 200 content/browser/renderer_host/render_process_host_impl.cc net::URLRequestContext** request_context_out) { net 648 content/browser/renderer_host/render_process_host_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context( net 650 content/browser/renderer_host/render_process_host_impl.cc scoped_refptr<net::URLRequestContextGetter> media_request_context( net 47 content/browser/renderer_host/render_view_host_browsertest.cc const net::HostPortPair& observed_socket_address() const { net 58 content/browser/renderer_host/render_view_host_browsertest.cc net::HostPortPair observed_socket_address_; net 72 content/browser/renderer_host/render_view_host_browsertest.cc EXPECT_EQ(net::HostPortPair::FromURL( net 91 content/browser/renderer_host/render_view_host_browsertest.cc test_url = net::FilePathToFileURL( net 217 content/browser/renderer_host/render_view_host_delegate.h const net::LoadStateWithParam& load_state, net 491 content/browser/renderer_host/render_view_host_impl.cc prefs.is_online = !net::NetworkChangeNotifier::IsOffline(); net 778 content/browser/renderer_host/render_view_host_impl.cc net::FilePathToFileURL(iter->path)); net 1009 content/browser/renderer_host/render_view_host_impl.cc const net::LoadStateWithParam& load_state, net 1754 content/browser/renderer_host/render_view_host_impl.cc SetZoomLevelForHost(net::GetHostOrSpecFromURL(url), zoom_level); net 371 content/browser/renderer_host/render_view_host_impl.h const net::LoadStateWithParam& load_state, net 189 content/browser/renderer_host/render_view_host_unittest.cc GURL highlighted_file_url = net::FilePathToFileURL(highlighted_file_path); net 190 content/browser/renderer_host/render_view_host_unittest.cc GURL dragged_file_url = net::FilePathToFileURL(dragged_file_path); net 191 content/browser/renderer_host/render_view_host_unittest.cc GURL sensitive_file_url = net::FilePathToFileURL(sensitive_file_path); net 60 content/browser/renderer_host/render_widget_host_browsertest.cc NavigateToURL(shell(), GURL(net::FilePathToFileURL( net 242 content/browser/renderer_host/render_widget_host_view_browsertest.cc return net::FilePathToFileURL( net 41 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::WebSocketJob::EnsureInit(); net 60 content/browser/renderer_host/socket_stream_dispatcher_host.cc void SocketStreamDispatcherHost::OnConnected(net::SocketStream* socket, net 76 content/browser/renderer_host/socket_stream_dispatcher_host.cc void SocketStreamDispatcherHost::OnSentData(net::SocketStream* socket, net 92 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::SocketStream* socket, const char* data, int len) { net 107 content/browser/renderer_host/socket_stream_dispatcher_host.cc void SocketStreamDispatcherHost::OnClose(net::SocketStream* socket) { net 117 content/browser/renderer_host/socket_stream_dispatcher_host.cc void SocketStreamDispatcherHost::OnError(const net::SocketStream* socket, net 135 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::SocketStream* socket, const net::SSLInfo& ssl_info, bool fatal) { net 152 content/browser/renderer_host/socket_stream_dispatcher_host.cc bool SocketStreamDispatcherHost::CanGetCookies(net::SocketStream* socket, net 155 content/browser/renderer_host/socket_stream_dispatcher_host.cc url, url, net::CookieList(), resource_context_, 0, MSG_ROUTING_NONE); net 158 content/browser/renderer_host/socket_stream_dispatcher_host.cc bool SocketStreamDispatcherHost::CanSetCookie(net::SocketStream* request, net 161 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::CookieOptions* options) { net 169 content/browser/renderer_host/socket_stream_dispatcher_host.cc const net::SSLInfo* ssl_info) { net 210 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::ERR_TOO_MANY_SOCKET_STREAMS))) { net 266 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::URLRequestContext* SocketStreamDispatcherHost::GetURLRequestContext() { net 19 content/browser/renderer_host/socket_stream_dispatcher_host.h namespace net { net 32 content/browser/renderer_host/socket_stream_dispatcher_host.h public net::SocketStream::Delegate, net 35 content/browser/renderer_host/socket_stream_dispatcher_host.h typedef base::Callback<net::URLRequestContext*(ResourceType::Type)> net 51 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual void OnConnected(net::SocketStream* socket, net 53 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual void OnSentData(net::SocketStream* socket, int amount_sent) OVERRIDE; net 54 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual void OnReceivedData(net::SocketStream* socket, net 56 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual void OnClose(net::SocketStream* socket) OVERRIDE; net 57 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual void OnError(const net::SocketStream* socket, int error) OVERRIDE; net 58 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual void OnSSLCertificateError(net::SocketStream* socket, net 59 content/browser/renderer_host/socket_stream_dispatcher_host.h const net::SSLInfo& ssl_info, net 61 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual bool CanGetCookies(net::SocketStream* socket, net 63 content/browser/renderer_host/socket_stream_dispatcher_host.h virtual bool CanSetCookie(net::SocketStream* request, net 66 content/browser/renderer_host/socket_stream_dispatcher_host.h net::CookieOptions* options) OVERRIDE; net 71 content/browser/renderer_host/socket_stream_dispatcher_host.h const net::SSLInfo* ssl_info) OVERRIDE; net 85 content/browser/renderer_host/socket_stream_dispatcher_host.h net::URLRequestContext* GetURLRequestContext(); net 18 content/browser/renderer_host/socket_stream_host.cc class SocketStreamId : public net::SocketStream::UserData { net 31 content/browser/renderer_host/socket_stream_host.cc net::SocketStream::Delegate* delegate, net 46 content/browser/renderer_host/socket_stream_host.cc const net::SocketStream* socket) { net 47 content/browser/renderer_host/socket_stream_host.cc net::SocketStream::UserData* d = socket->GetUserData(kSocketIdKey); net 62 content/browser/renderer_host/socket_stream_host.cc net::URLRequestContext* request_context) { net 64 content/browser/renderer_host/socket_stream_host.cc job_ = net::SocketStreamJob::CreateSocketStreamJob( net 93 content/browser/renderer_host/socket_stream_host.cc void SocketStreamHost::CancelWithSSLError(const net::SSLInfo& ssl_info) { net 15 content/browser/renderer_host/socket_stream_host.h namespace net { net 31 content/browser/renderer_host/socket_stream_host.h SocketStreamHost(net::SocketStream::Delegate* delegate, net 38 content/browser/renderer_host/socket_stream_host.h static int SocketIdFromSocketStream(const net::SocketStream* socket); net 44 content/browser/renderer_host/socket_stream_host.h void Connect(const GURL& url, net::URLRequestContext* request_context); net 63 content/browser/renderer_host/socket_stream_host.h void CancelWithSSLError(const net::SSLInfo& ssl_info); net 69 content/browser/renderer_host/socket_stream_host.h net::SocketStream::Delegate* delegate_; net 74 content/browser/renderer_host/socket_stream_host.h scoped_refptr<net::SocketStreamJob> job_; net 19 content/browser/renderer_host/websocket_dispatcher_host.h namespace net { net 33 content/browser/renderer_host/websocket_dispatcher_host.h typedef base::Callback<net::URLRequestContext*()> GetRequestContextCallback; net 28 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc net::URLRequestContext* url_request_context) net 64 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc net::URLRequestContext* OnGetRequestContext() { net 26 content/browser/renderer_host/websocket_host.cc typedef net::WebSocketEventInterface::ChannelState ChannelState; net 30 content/browser/renderer_host/websocket_host.cc net::WebSocketFrameHeader::OpCode MessageTypeToOpCode( net 35 content/browser/renderer_host/websocket_host.cc typedef net::WebSocketFrameHeader::OpCode OpCode; net 39 content/browser/renderer_host/websocket_host.cc net::WebSocketFrameHeader::kOpCodeContinuation, net 42 content/browser/renderer_host/websocket_host.cc net::WebSocketFrameHeader::kOpCodeText, net 45 content/browser/renderer_host/websocket_host.cc net::WebSocketFrameHeader::kOpCodeBinary, net 51 content/browser/renderer_host/websocket_host.cc net::WebSocketFrameHeader::OpCode opCode) { net 52 content/browser/renderer_host/websocket_host.cc DCHECK(opCode == net::WebSocketFrameHeader::kOpCodeContinuation || net 53 content/browser/renderer_host/websocket_host.cc opCode == net::WebSocketFrameHeader::kOpCodeText || net 54 content/browser/renderer_host/websocket_host.cc opCode == net::WebSocketFrameHeader::kOpCodeBinary); net 70 content/browser/renderer_host/websocket_host.cc net::WebSocketEventInterface::CHANNEL_ALIVE, net 73 content/browser/renderer_host/websocket_host.cc net::WebSocketEventInterface::CHANNEL_DELETED, net 81 content/browser/renderer_host/websocket_host.cc class WebSocketEventHandler : public net::WebSocketEventInterface { net 102 content/browser/renderer_host/websocket_host.cc scoped_ptr<net::WebSocketHandshakeRequestInfo> request) OVERRIDE; net 104 content/browser/renderer_host/websocket_host.cc scoped_ptr<net::WebSocketHandshakeResponseInfo> response) OVERRIDE; net 137 content/browser/renderer_host/websocket_host.cc net::WebSocketFrameHeader::OpCode type, net 181 content/browser/renderer_host/websocket_host.cc scoped_ptr<net::WebSocketHandshakeRequestInfo> request) { net 191 content/browser/renderer_host/websocket_host.cc net::HttpRequestHeaders::Iterator it(request->headers); net 205 content/browser/renderer_host/websocket_host.cc scoped_ptr<net::WebSocketHandshakeResponseInfo> response) { net 222 content/browser/renderer_host/websocket_host.cc net::HttpUtil::ConvertHeadersBackToHTTPResponse( net 234 content/browser/renderer_host/websocket_host.cc net::URLRequestContext* url_request_context) net 238 content/browser/renderer_host/websocket_host.cc scoped_ptr<net::WebSocketEventInterface> event_interface( net 241 content/browser/renderer_host/websocket_host.cc new net::WebSocketChannel(event_interface.Pass(), url_request_context)); net 21 content/browser/renderer_host/websocket_host.h namespace net { net 40 content/browser/renderer_host/websocket_host.h net::URLRequestContext* url_request_context); net 65 content/browser/renderer_host/websocket_host.h scoped_ptr<net::WebSocketChannel> channel_; net 18 content/browser/resolve_proxy_msg_helper.cc net::URLRequestContextGetter* getter) net 24 content/browser/resolve_proxy_msg_helper.cc ResolveProxyMsgHelper::ResolveProxyMsgHelper(net::ProxyService* proxy_service) net 71 content/browser/resolve_proxy_msg_helper.cc completed_req.reply_msg, result == net::OK, proxy_info_.ToPacString()); net 98 content/browser/resolve_proxy_msg_helper.cc &req.pac_req, net::BoundNetLog()); net 101 content/browser/resolve_proxy_msg_helper.cc if (result != net::ERR_IO_PENDING) net 18 content/browser/resolve_proxy_msg_helper.h namespace net { net 36 content/browser/resolve_proxy_msg_helper.h explicit ResolveProxyMsgHelper(net::URLRequestContextGetter* getter); net 38 content/browser/resolve_proxy_msg_helper.h explicit ResolveProxyMsgHelper(net::ProxyService* proxy_service); net 71 content/browser/resolve_proxy_msg_helper.h net::ProxyService::PacRequest* pac_req; net 75 content/browser/resolve_proxy_msg_helper.h net::ProxyInfo proxy_info_; net 81 content/browser/resolve_proxy_msg_helper.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 82 content/browser/resolve_proxy_msg_helper.h net::ProxyService* proxy_service_; net 19 content/browser/resolve_proxy_msg_helper_unittest.cc class MockProxyConfigService : public net::ProxyConfigService { net 24 content/browser/resolve_proxy_msg_helper_unittest.cc net::ProxyConfig* results) OVERRIDE { net 25 content/browser/resolve_proxy_msg_helper_unittest.cc *results = net::ProxyConfig::CreateFromCustomPacURL(GURL("http://pac")); net 33 content/browser/resolve_proxy_msg_helper_unittest.cc net::ProxyService* proxy_service, net 62 content/browser/resolve_proxy_msg_helper_unittest.cc : resolver_(new net::MockAsyncProxyResolver), net 64 content/browser/resolve_proxy_msg_helper_unittest.cc new net::ProxyService(new MockProxyConfigService, resolver_, NULL)), net 84 content/browser/resolve_proxy_msg_helper_unittest.cc net::MockAsyncProxyResolver* resolver_; net 85 content/browser/resolve_proxy_msg_helper_unittest.cc scoped_ptr<net::ProxyService> service_; net 121 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_set_pac_script_request()->CompleteNow(net::OK); net 126 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_requests()[0]->CompleteNow(net::OK); net 138 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_requests()[0]->CompleteNow(net::OK); net 150 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_requests()[0]->CompleteNow(net::OK); net 174 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_set_pac_script_request()->CompleteNow(net::OK); net 185 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_requests()[0]->CompleteNow(net::OK); net 196 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_requests()[0]->CompleteNow(net::OK); net 207 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_requests()[0]->CompleteNow(net::OK); net 232 content/browser/resolve_proxy_msg_helper_unittest.cc resolver_->pending_set_pac_script_request()->CompleteNow(net::OK); net 68 content/browser/resource_context_impl.cc scoped_ptr<net::ClientCertStore> ResourceContext::CreateClientCertStore() { net 69 content/browser/resource_context_impl.cc return scoped_ptr<net::ClientCertStore>(); net 76 content/browser/resource_context_impl.cc const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) { net 78 content/browser/resource_context_impl.cc new net::KeygenHandler(key_size_in_bits, challenge_string, url))); net 14 content/browser/service_worker/service_worker_fetch_dispatcher.cc net::URLRequest* request, net 22 content/browser/service_worker/service_worker_fetch_dispatcher.cc const net::HttpRequestHeaders& headers = request->extra_request_headers(); net 23 content/browser/service_worker/service_worker_fetch_dispatcher.cc for (net::HttpRequestHeaders::Iterator it(headers); it.GetNext();) net 14 content/browser/service_worker/service_worker_fetch_dispatcher.h namespace net { net 30 content/browser/service_worker/service_worker_fetch_dispatcher.h net::URLRequest* request, net 23 content/browser/service_worker/service_worker_request_handler.cc : public net::URLRequestJobFactory::ProtocolHandler { net 27 content/browser/service_worker/service_worker_request_handler.cc virtual net::URLRequestJob* MaybeCreateJob( net 28 content/browser/service_worker/service_worker_request_handler.cc net::URLRequest* request, net 29 content/browser/service_worker/service_worker_request_handler.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 44 content/browser/service_worker/service_worker_request_handler.cc net::URLRequest* request, net 73 content/browser/service_worker/service_worker_request_handler.cc net::URLRequest* request) { net 78 content/browser/service_worker/service_worker_request_handler.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 80 content/browser/service_worker/service_worker_request_handler.cc return make_scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 87 content/browser/service_worker/service_worker_request_handler.cc net::URLRequestJob* ServiceWorkerRequestHandler::MaybeCreateJob( net 88 content/browser/service_worker/service_worker_request_handler.cc net::URLRequest* request, net 89 content/browser/service_worker/service_worker_request_handler.cc net::NetworkDelegate* network_delegate) { net 17 content/browser/service_worker/service_worker_request_handler.h namespace net { net 41 content/browser/service_worker/service_worker_request_handler.h net::URLRequest* request, net 50 content/browser/service_worker/service_worker_request_handler.h net::URLRequest* request); net 53 content/browser/service_worker/service_worker_request_handler.h static scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 59 content/browser/service_worker/service_worker_request_handler.h net::URLRequestJob* MaybeCreateJob( net 60 content/browser/service_worker/service_worker_request_handler.h net::URLRequest* request, net 61 content/browser/service_worker/service_worker_request_handler.h net::NetworkDelegate* network_delegate); net 19 content/browser/service_worker/service_worker_url_request_job.cc net::URLRequest* request, net 20 content/browser/service_worker/service_worker_url_request_job.cc net::NetworkDelegate* network_delegate, net 22 content/browser/service_worker/service_worker_url_request_job.cc : net::URLRequestJob(request, network_delegate), net 47 content/browser/service_worker/service_worker_url_request_job.cc net::URLRequestJob::Kill(); net 52 content/browser/service_worker/service_worker_url_request_job.cc net::LoadState ServiceWorkerURLRequestJob::GetLoadState() const { net 54 content/browser/service_worker/service_worker_url_request_job.cc return net::URLRequestJob::GetLoadState(); net 69 content/browser/service_worker/service_worker_url_request_job.cc void ServiceWorkerURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) { net 82 content/browser/service_worker/service_worker_url_request_job.cc const net::HttpRequestHeaders& headers) { net 84 content/browser/service_worker/service_worker_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 85 content/browser/service_worker/service_worker_url_request_job.cc if (!headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header) || net 86 content/browser/service_worker/service_worker_url_request_job.cc !net::HttpUtil::ParseRangeHeader(range_header, &ranges)) { net 96 content/browser/service_worker/service_worker_url_request_job.cc net::IOBuffer* buf, int buf_size, int *bytes_read) { net 106 content/browser/service_worker/service_worker_url_request_job.cc const net::HttpResponseInfo* ServiceWorkerURLRequestJob::http_info() const { net 200 content/browser/service_worker/service_worker_url_request_job.cc scoped_refptr<net::HttpResponseHeaders> headers( net 201 content/browser/service_worker/service_worker_url_request_job.cc new net::HttpResponseHeaders(status_line)); net 213 content/browser/service_worker/service_worker_url_request_job.cc http_response_info_.reset(new net::HttpResponseInfo()); net 22 content/browser/service_worker/service_worker_url_request_job.h : public net::URLRequestJob { net 25 content/browser/service_worker/service_worker_url_request_job.h net::URLRequest* request, net 26 content/browser/service_worker/service_worker_url_request_job.h net::NetworkDelegate* network_delegate, net 43 content/browser/service_worker/service_worker_url_request_job.h virtual net::LoadState GetLoadState() const OVERRIDE; net 46 content/browser/service_worker/service_worker_url_request_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 49 content/browser/service_worker/service_worker_url_request_job.h const net::HttpRequestHeaders& headers) OVERRIDE; net 50 content/browser/service_worker/service_worker_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 54 content/browser/service_worker/service_worker_url_request_job.h const net::HttpResponseInfo* http_info() const; net 83 content/browser/service_worker/service_worker_url_request_job.h net::HttpByteRange byte_range_; net 84 content/browser/service_worker/service_worker_url_request_job.h scoped_ptr<net::HttpResponseInfo> range_response_info_; net 85 content/browser/service_worker/service_worker_url_request_job.h scoped_ptr<net::HttpResponseInfo> http_response_info_; net 34 content/browser/service_worker/service_worker_url_request_job_unittest.cc class MockURLRequestDelegate : public net::URLRequest::Delegate { net 36 content/browser/service_worker/service_worker_url_request_job_unittest.cc MockURLRequestDelegate() : received_data_(new net::IOBuffer(kBufferSize)) {} net 38 content/browser/service_worker/service_worker_url_request_job_unittest.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE { net 44 content/browser/service_worker/service_worker_url_request_job_unittest.cc virtual void OnReadCompleted(net::URLRequest* request, net 50 content/browser/service_worker/service_worker_url_request_job_unittest.cc void Read(net::URLRequest* request) { net 60 content/browser/service_worker/service_worker_url_request_job_unittest.cc scoped_refptr<net::IOBuffer> received_data_; net 64 content/browser/service_worker/service_worker_url_request_job_unittest.cc class MockProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 70 content/browser/service_worker/service_worker_url_request_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 71 content/browser/service_worker/service_worker_url_request_job_unittest.cc net::URLRequest* request, net 72 content/browser/service_worker/service_worker_url_request_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 127 content/browser/service_worker/service_worker_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 147 content/browser/service_worker/service_worker_url_request_job_unittest.cc net::URLRequestJobFactoryImpl url_request_job_factory_; net 148 content/browser/service_worker/service_worker_url_request_job_unittest.cc net::URLRequestContext url_request_context_; net 150 content/browser/service_worker/service_worker_url_request_job_unittest.cc scoped_ptr<net::URLRequest> request_; net 28 content/browser/session_history_browsertest.cc scoped_ptr<net::test_server::HttpResponse> HandleEchoTitleRequest( net 30 content/browser/session_history_browsertest.cc const net::test_server::HttpRequest& request) { net 32 content/browser/session_history_browsertest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 34 content/browser/session_history_browsertest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 35 content/browser/session_history_browsertest.cc new net::test_server::BasicHttpResponse); net 36 content/browser/session_history_browsertest.cc http_response->set_code(net::HTTP_OK); net 41 content/browser/session_history_browsertest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 28 content/browser/signed_certificate_timestamp_store_impl.cc net::ct::SignedCertificateTimestamp* sct, net 35 content/browser/signed_certificate_timestamp_store_impl.cc scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) { net 24 content/browser/signed_certificate_timestamp_store_impl.h net::ct::SignedCertificateTimestamp* sct, net 28 content/browser/signed_certificate_timestamp_store_impl.h scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) OVERRIDE; net 36 content/browser/signed_certificate_timestamp_store_impl.h RendererDataMemoizingStore<net::ct::SignedCertificateTimestamp> store_; net 259 content/browser/site_instance_impl.cc return net::registry_controlled_domains::SameDomainOrHost( net 262 content/browser/site_instance_impl.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 295 content/browser/site_instance_impl.cc net::registry_controlled_domains::GetDomainAndRegistry( net 297 content/browser/site_instance_impl.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 315 content/browser/site_per_process_browsertest.cc net::SpawnedTestServer https_server( net 316 content/browser/site_per_process_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 317 content/browser/site_per_process_browsertest.cc net::SpawnedTestServer::kLocalhost, net 441 content/browser/site_per_process_browsertest.cc net::SpawnedTestServer https_server( net 442 content/browser/site_per_process_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 443 content/browser/site_per_process_browsertest.cc net::SpawnedTestServer::kLocalhost, net 152 content/browser/speech/google_one_shot_remote_engine.cc net::URLRequestContextGetter* context) net 172 content/browser/speech/google_one_shot_remote_engine.cc net::URLRequestContext* request_context = net 190 content/browser/speech/google_one_shot_remote_engine.cc parts.push_back("lang=" + net::EscapeQueryParamValue(lang_param, true)); net 194 content/browser/speech/google_one_shot_remote_engine.cc parts.push_back("lm=" + net::EscapeQueryParamValue(config_.grammars[0].url, net 199 content/browser/speech/google_one_shot_remote_engine.cc parts.push_back("xhw=" + net::EscapeQueryParamValue(config_.hardware_info, net 205 content/browser/speech/google_one_shot_remote_engine.cc parts.push_back("key=" + net::EscapeQueryParamValue(api_key, true)); net 213 content/browser/speech/google_one_shot_remote_engine.cc url_fetcher_.reset(net::URLFetcher::Create(url_fetcher_id_for_tests, net 215 content/browser/speech/google_one_shot_remote_engine.cc net::URLFetcher::POST, net 225 content/browser/speech/google_one_shot_remote_engine.cc url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 226 content/browser/speech/google_one_shot_remote_engine.cc net::LOAD_DO_NOT_SEND_COOKIES | net 227 content/browser/speech/google_one_shot_remote_engine.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 267 content/browser/speech/google_one_shot_remote_engine.cc const net::URLFetcher* source) { net 18 content/browser/speech/google_one_shot_remote_engine.h namespace net { net 28 content/browser/speech/google_one_shot_remote_engine.h public net::URLFetcherDelegate { net 35 content/browser/speech/google_one_shot_remote_engine.h explicit GoogleOneShotRemoteEngine(net::URLRequestContextGetter* context); net 48 content/browser/speech/google_one_shot_remote_engine.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 52 content/browser/speech/google_one_shot_remote_engine.h scoped_ptr<net::URLFetcher> url_fetcher_; net 53 content/browser/speech/google_one_shot_remote_engine.h scoped_refptr<net::URLRequestContextGetter> url_context_; net 47 content/browser/speech/google_one_shot_remote_engine_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 64 content/browser/speech/google_one_shot_remote_engine_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 68 content/browser/speech/google_one_shot_remote_engine_unittest.cc net::URLRequestStatus status; net 69 content/browser/speech/google_one_shot_remote_engine_unittest.cc status.set_status(success ? net::URLRequestStatus::SUCCESS : net 70 content/browser/speech/google_one_shot_remote_engine_unittest.cc net::URLRequestStatus::FAILED); net 29 content/browser/speech/google_streaming_remote_engine.cc using net::URLFetcher; net 80 content/browser/speech/google_streaming_remote_engine.cc net::URLRequestContextGetter* context) net 304 content/browser/speech/google_streaming_remote_engine.cc "key=" + net::EscapeQueryParamValue(google_apis::GetAPIKey(), true)); net 315 content/browser/speech/google_streaming_remote_engine.cc downstream_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 316 content/browser/speech/google_streaming_remote_engine.cc net::LOAD_DO_NOT_SEND_COOKIES | net 317 content/browser/speech/google_streaming_remote_engine.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 324 content/browser/speech/google_streaming_remote_engine.cc net::EscapeQueryParamValue(google_apis::GetAPIKey(), true)); net 328 content/browser/speech/google_streaming_remote_engine.cc "lang=" + net::EscapeQueryParamValue(GetAcceptedLanguages(), true)); net 340 content/browser/speech/google_streaming_remote_engine.cc "xhw=" + net::EscapeQueryParamValue(config_.hardware_info, true)); net 356 content/browser/speech/google_streaming_remote_engine.cc upstream_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | net 357 content/browser/speech/google_streaming_remote_engine.cc net::LOAD_DO_NOT_SEND_COOKIES | net 358 content/browser/speech/google_streaming_remote_engine.cc net::LOAD_DO_NOT_SEND_AUTH_DATA); net 545 content/browser/speech/google_streaming_remote_engine.cc net::URLRequestContext* request_context = net 22 content/browser/speech/google_streaming_remote_engine.h namespace net { net 49 content/browser/speech/google_streaming_remote_engine.h public net::URLFetcherDelegate, net 59 content/browser/speech/google_streaming_remote_engine.h explicit GoogleStreamingRemoteEngine(net::URLRequestContextGetter* context); net 72 content/browser/speech/google_streaming_remote_engine.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 73 content/browser/speech/google_streaming_remote_engine.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 119 content/browser/speech/google_streaming_remote_engine.h void DispatchHTTPResponse(const net::URLFetcher* source, net 146 content/browser/speech/google_streaming_remote_engine.h scoped_ptr<net::URLFetcher> upstream_fetcher_; net 147 content/browser/speech/google_streaming_remote_engine.h scoped_ptr<net::URLFetcher> downstream_fetcher_; net 148 content/browser/speech/google_streaming_remote_engine.h scoped_refptr<net::URLRequestContextGetter> url_context_; net 24 content/browser/speech/google_streaming_remote_engine_unittest.cc using net::URLRequestStatus; net 25 content/browser/speech/google_streaming_remote_engine_unittest.cc using net::TestURLFetcher; net 26 content/browser/speech/google_streaming_remote_engine_unittest.cc using net::TestURLFetcherFactory; net 28 content/browser/speech/input_tag_speech_dispatcher_host.cc net::URLRequestContextGetter* url_request_context_getter) net 34 content/browser/speech/input_tag_speech_dispatcher_host.h net::URLRequestContextGetter* url_request_context_getter); net 81 content/browser/speech/input_tag_speech_dispatcher_host.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 26 content/browser/speech/speech_recognition_dispatcher_host.cc net::URLRequestContextGetter* context_getter) net 33 content/browser/speech/speech_recognition_dispatcher_host.h net::URLRequestContextGetter* context_getter); net 79 content/browser/speech/speech_recognition_dispatcher_host.h scoped_refptr<net::URLRequestContextGetter> context_getter_; net 178 content/browser/speech/speech_recognizer_impl_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 228 content/browser/speech/speech_recognizer_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 242 content/browser/speech/speech_recognizer_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 246 content/browser/speech/speech_recognizer_impl_unittest.cc net::URLRequestStatus status; net 247 content/browser/speech/speech_recognizer_impl_unittest.cc status.set_status(net::URLRequestStatus::SUCCESS); net 291 content/browser/speech/speech_recognizer_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 304 content/browser/speech/speech_recognizer_impl_unittest.cc net::URLRequestStatus status; net 305 content/browser/speech/speech_recognizer_impl_unittest.cc status.set_status(net::URLRequestStatus::FAILED); net 306 content/browser/speech/speech_recognizer_impl_unittest.cc status.set_error(net::ERR_CONNECTION_REFUSED); net 329 content/browser/speech/speech_recognizer_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 342 content/browser/speech/speech_recognizer_impl_unittest.cc net::URLRequestStatus status; net 343 content/browser/speech/speech_recognizer_impl_unittest.cc status.set_status(net::URLRequestStatus::SUCCESS); net 21 content/browser/ssl/ssl_cert_error_handler.cc const net::SSLInfo& ssl_info, net 26 content/browser/ssl/ssl_cert_error_handler.cc cert_error_(net::MapCertStatusToNetError(ssl_info.cert_status)), net 38 content/browser/ssl/ssl_cert_error_handler.cc if (net::IsCertStatusMinorError(ssl_info().cert_status)) { net 28 content/browser/ssl/ssl_cert_error_handler.h const net::SSLInfo& ssl_info, net 34 content/browser/ssl/ssl_cert_error_handler.h const net::SSLInfo& ssl_info() const { return ssl_info_; } net 47 content/browser/ssl/ssl_cert_error_handler.h const net::SSLInfo ssl_info_; net 21 content/browser/ssl/ssl_client_auth_handler.cc scoped_ptr<net::ClientCertStore> client_cert_store, net 22 content/browser/ssl/ssl_client_auth_handler.cc net::URLRequest* request, net 23 content/browser/ssl/ssl_client_auth_handler.cc net::SSLCertRequestInfo* cert_request_info) net 55 content/browser/ssl/ssl_client_auth_handler.cc void SSLClientAuthHandler::CertificateSelected(net::X509Certificate* cert) { net 100 content/browser/ssl/ssl_client_auth_handler.cc void SSLClientAuthHandler::DoCertificateSelected(net::X509Certificate* cert) { net 15 content/browser/ssl/ssl_client_auth_handler.h namespace net { net 34 content/browser/ssl/ssl_client_auth_handler.h SSLClientAuthHandler(scoped_ptr<net::ClientCertStore> client_cert_store, net 35 content/browser/ssl/ssl_client_auth_handler.h net::URLRequest* request, net 36 content/browser/ssl/ssl_client_auth_handler.h net::SSLCertRequestInfo* cert_request_info); net 49 content/browser/ssl/ssl_client_auth_handler.h void CertificateSelected(net::X509Certificate* cert); net 65 content/browser/ssl/ssl_client_auth_handler.h void DoCertificateSelected(net::X509Certificate* cert); net 72 content/browser/ssl/ssl_client_auth_handler.h net::URLRequest* request_; net 75 content/browser/ssl/ssl_client_auth_handler.h const net::HttpNetworkSession* http_network_session_; net 78 content/browser/ssl/ssl_client_auth_handler.h scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; net 80 content/browser/ssl/ssl_client_auth_handler.h scoped_ptr<net::ClientCertStore> client_cert_store_; net 17 content/browser/ssl/ssl_error_handler.cc using net::SSLInfo; net 89 content/browser/ssl/ssl_error_handler.cc &SSLErrorHandler::CompleteCancelRequest, this, net::ERR_ABORTED)); net 100 content/browser/ssl/ssl_error_handler.cc net::ERR_INSECURE_RESPONSE)); net 18 content/browser/ssl/ssl_error_handler.h namespace net { net 56 content/browser/ssl/ssl_error_handler.h const net::SSLInfo* ssl_info) = 0; net 41 content/browser/ssl/ssl_host_state.cc void SSLHostState::DenyCertForHost(net::X509Certificate* cert, net 43 content/browser/ssl/ssl_host_state.cc net::CertStatus error) { net 49 content/browser/ssl/ssl_host_state.cc void SSLHostState::AllowCertForHost(net::X509Certificate* cert, net 51 content/browser/ssl/ssl_host_state.cc net::CertStatus error) { net 63 content/browser/ssl/ssl_host_state.cc net::CertPolicy::Judgment SSLHostState::QueryPolicy(net::X509Certificate* cert, net 65 content/browser/ssl/ssl_host_state.cc net::CertStatus error) { net 48 content/browser/ssl/ssl_host_state.h void DenyCertForHost(net::X509Certificate* cert, net 50 content/browser/ssl/ssl_host_state.h net::CertStatus error); net 54 content/browser/ssl/ssl_host_state.h void AllowCertForHost(net::X509Certificate* cert, net 56 content/browser/ssl/ssl_host_state.h net::CertStatus error); net 62 content/browser/ssl/ssl_host_state.h net::CertPolicy::Judgment QueryPolicy(net::X509Certificate* cert, net 64 content/browser/ssl/ssl_host_state.h net::CertStatus error); net 77 content/browser/ssl/ssl_host_state.h std::map<std::string, net::CertPolicy> cert_policy_for_host_; net 117 content/browser/ssl/ssl_host_state_unittest.cc scoped_refptr<net::X509Certificate> google_cert( net 118 content/browser/ssl/ssl_host_state_unittest.cc net::X509Certificate::CreateFromBytes( net 123 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 126 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 127 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 130 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 131 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 134 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 138 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID); net 140 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::ALLOWED, net 143 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 144 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 147 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 148 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 151 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 155 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID); net 157 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::ALLOWED, net 160 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 161 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 164 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 165 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::ALLOWED, net 168 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 172 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID); net 174 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::ALLOWED, net 177 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 178 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 181 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 182 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::DENIED, net 185 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 189 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 192 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 193 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 196 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 197 content/browser/ssl/ssl_host_state_unittest.cc EXPECT_EQ(net::CertPolicy::UNKNOWN, net 200 content/browser/ssl/ssl_host_state_unittest.cc net::CERT_STATUS_DATE_INVALID)); net 57 content/browser/ssl/ssl_manager.cc const net::SSLInfo& ssl_info, net 61 content/browser/ssl/ssl_manager.cc << net::MapCertStatusToNetError(ssl_info.cert_status) << " id: " net 124 content/browser/ssl/ssl_manager.cc net::CertStatus ssl_cert_status; net 21 content/browser/ssl/ssl_manager.h namespace net { net 58 content/browser/ssl/ssl_manager.h const net::SSLInfo& ssl_info, net 36 content/browser/ssl/ssl_policy.cc net::CertPolicy::Judgment judgment = backend_->QueryPolicy( net 41 content/browser/ssl/ssl_policy.cc if (judgment == net::CertPolicy::ALLOWED) { net 51 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_COMMON_NAME_INVALID: net 52 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_DATE_INVALID: net 53 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_AUTHORITY_INVALID: net 54 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_WEAK_SIGNATURE_ALGORITHM: net 55 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_WEAK_KEY: net 56 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_NAME_CONSTRAINT_VIOLATION: net 59 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_NO_REVOCATION_MECHANISM: net 63 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_UNABLE_TO_CHECK_REVOCATION: net 68 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_CONTAINS_ERRORS: net 69 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_REVOKED: net 70 content/browser/ssl/ssl_policy.cc case net::ERR_CERT_INVALID: net 71 content/browser/ssl/ssl_policy.cc case net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY: net 72 content/browser/ssl/ssl_policy.cc case net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN: net 100 content/browser/ssl/ssl_policy.cc if (net::IsCertStatusError(info->ssl_cert_status())) net 127 content/browser/ssl/ssl_policy.cc if (net::IsCertStatusError(entry->GetSSL().cert_status)) { net 130 content/browser/ssl/ssl_policy.cc if (!net::IsCertStatusMinorError(entry->GetSSL().cert_status)) { net 29 content/browser/ssl/ssl_policy_backend.cc void SSLPolicyBackend::DenyCertForHost(net::X509Certificate* cert, net 31 content/browser/ssl/ssl_policy_backend.cc net::CertStatus error) { net 35 content/browser/ssl/ssl_policy_backend.cc void SSLPolicyBackend::AllowCertForHost(net::X509Certificate* cert, net 37 content/browser/ssl/ssl_policy_backend.cc net::CertStatus error) { net 41 content/browser/ssl/ssl_policy_backend.cc net::CertPolicy::Judgment SSLPolicyBackend::QueryPolicy( net 42 content/browser/ssl/ssl_policy_backend.cc net::X509Certificate* cert, net 44 content/browser/ssl/ssl_policy_backend.cc net::CertStatus error) { net 32 content/browser/ssl/ssl_policy_backend.h void DenyCertForHost(net::X509Certificate* cert, net 34 content/browser/ssl/ssl_policy_backend.h net::CertStatus error); net 38 content/browser/ssl/ssl_policy_backend.h void AllowCertForHost(net::X509Certificate* cert, net 40 content/browser/ssl/ssl_policy_backend.h net::CertStatus error); net 43 content/browser/ssl/ssl_policy_backend.h net::CertPolicy::Judgment QueryPolicy(net::X509Certificate* cert, net 45 content/browser/ssl/ssl_policy_backend.h net::CertStatus error); net 13 content/browser/ssl/ssl_request_info.cc net::CertStatus ssl_cert_status) net 26 content/browser/ssl/ssl_request_info.h net::CertStatus ssl_cert_status); net 32 content/browser/ssl/ssl_request_info.h net::CertStatus ssl_cert_status() const { return ssl_cert_status_; } net 43 content/browser/ssl/ssl_request_info.h net::CertStatus ssl_cert_status_; net 44 content/browser/storage_partition_impl.cc const scoped_refptr<net::URLRequestContextGetter>& rq_context, net 50 content/browser/storage_partition_impl.cc net::CookieStore* cookie_store = rq_context-> net 276 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* rq_context, net 447 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* StoragePartitionImpl::GetURLRequestContext() { net 451 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* net 489 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* rq_context, net 646 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* rq_context, net 737 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* request_context_getter) { net 771 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* url_request_context) { net 776 content/browser/storage_partition_impl.cc net::URLRequestContextGetter* media_url_request_context) { net 37 content/browser/storage_partition_impl.h virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; net 38 content/browser/storage_partition_impl.h virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE; net 51 content/browser/storage_partition_impl.h net::URLRequestContextGetter* request_context_getter) OVERRIDE; net 125 content/browser/storage_partition_impl.h net::URLRequestContextGetter* rq_context, net 143 content/browser/storage_partition_impl.h net::URLRequestContextGetter* url_request_context); net 145 content/browser/storage_partition_impl.h net::URLRequestContextGetter* media_url_request_context); net 148 content/browser/storage_partition_impl.h scoped_refptr<net::URLRequestContextGetter> url_request_context_; net 149 content/browser/storage_partition_impl.h scoped_refptr<net::URLRequestContextGetter> media_url_request_context_; net 52 content/browser/storage_partition_impl_map.cc class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 65 content/browser/storage_partition_impl_map.cc virtual net::URLRequestJob* MaybeCreateJob( net 66 content/browser/storage_partition_impl_map.cc net::URLRequest* request, net 67 content/browser/storage_partition_impl_map.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 381 content/browser/storage_partition_impl_map.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 386 content/browser/storage_partition_impl_map.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 390 content/browser/storage_partition_impl_map.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 404 content/browser/storage_partition_impl_map.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 412 content/browser/storage_partition_impl_map.cc linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 111 content/browser/storage_partition_impl_unittest.cc kOrigin1, net::CookieOptions(), net 120 content/browser/storage_partition_impl_unittest.cc kOrigin1, "A=1", net::CookieOptions(), net 127 content/browser/storage_partition_impl_unittest.cc void SetMonster(net::CookieStore* monster) { net 149 content/browser/storage_partition_impl_unittest.cc net::CookieStore* monster_; net 376 content/browser/storage_partition_impl_unittest.cc net::TestCompletionCallback available_cb; net 378 content/browser/storage_partition_impl_unittest.cc ASSERT_EQ(net::OK, available_cb.GetResult(rv)); net 383 content/browser/storage_partition_impl_unittest.cc net::TestCompletionCallback complete_cb; net 386 content/browser/storage_partition_impl_unittest.cc ASSERT_EQ(net::OK, complete_cb.GetResult(rv)); net 83 content/browser/streams/stream.cc void Stream::AddData(scoped_refptr<net::IOBuffer> buffer, size_t size) { net 106 content/browser/streams/stream.cc scoped_refptr<net::IOBuffer> io_buffer(new net::IOBuffer(size)); net 124 content/browser/streams/stream.cc Stream::StreamState Stream::ReadRawData(net::IOBuffer* buf, net 166 content/browser/streams/stream.cc scoped_refptr<net::HttpResponseHeaders> response_headers) { net 15 content/browser/streams/stream.h namespace net { net 67 content/browser/streams/stream.h void AddData(scoped_refptr<net::IOBuffer> buffer, size_t size); net 79 content/browser/streams/stream.h StreamState ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read); net 84 content/browser/streams/stream.h scoped_refptr<net::HttpResponseHeaders> response_headers); net 114 content/browser/streams/stream.h scoped_refptr<net::IOBuffer> data_; net 19 content/browser/streams/stream_handle_impl.cc scoped_refptr<net::HttpResponseHeaders> response_headers) net 44 content/browser/streams/stream_handle_impl.cc scoped_refptr<net::HttpResponseHeaders> StreamHandleImpl::GetResponseHeaders() { net 25 content/browser/streams/stream_handle_impl.h scoped_refptr<net::HttpResponseHeaders> response_headers); net 33 content/browser/streams/stream_handle_impl.h virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() OVERRIDE; net 39 content/browser/streams/stream_handle_impl.h scoped_refptr<net::HttpResponseHeaders> response_headers_; net 25 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> NewIOBuffer(size_t buffer_size) { net 26 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(buffer_size)); net 44 content/browser/streams/stream_unittest.cc TestStreamReader() : buffer_(new net::GrowableIOBuffer()), completed_(false) { net 50 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 83 content/browser/streams/stream_unittest.cc scoped_refptr<net::GrowableIOBuffer> buffer() { return buffer_; } net 90 content/browser/streams/stream_unittest.cc scoped_refptr<net::GrowableIOBuffer> buffer_; net 100 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer, net 159 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); net 186 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); net 272 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); net 300 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); net 20 content/browser/streams/stream_url_request_job.cc net::URLRequest* request, net 21 content/browser/streams/stream_url_request_job.cc net::NetworkDelegate* network_delegate, net 23 content/browser/streams/stream_url_request_job.cc : net::URLRequestJob(request, network_delegate), net 41 content/browser/streams/stream_url_request_job.cc SetStatus(net::URLRequestStatus()); net 66 content/browser/streams/stream_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 67 content/browser/streams/stream_url_request_job.cc net::ERR_CONNECTION_RESET)); net 89 content/browser/streams/stream_url_request_job.cc net::URLRequestJob::Kill(); net 94 content/browser/streams/stream_url_request_job.cc bool StreamURLRequestJob::ReadRawData(net::IOBuffer* buf, net 121 content/browser/streams/stream_url_request_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); net 125 content/browser/streams/stream_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 126 content/browser/streams/stream_url_request_job.cc net::ERR_CONNECTION_RESET)); net 141 content/browser/streams/stream_url_request_job.cc void StreamURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) { net 154 content/browser/streams/stream_url_request_job.cc const net::HttpRequestHeaders& headers) { net 156 content/browser/streams/stream_url_request_job.cc if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) { net 157 content/browser/streams/stream_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 158 content/browser/streams/stream_url_request_job.cc if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) { net 165 content/browser/streams/stream_url_request_job.cc NotifyFailure(net::ERR_METHOD_NOT_SUPPORTED); net 169 content/browser/streams/stream_url_request_job.cc NotifyFailure(net::ERR_METHOD_NOT_SUPPORTED); net 179 content/browser/streams/stream_url_request_job.cc NotifyFailure(net::ERR_METHOD_NOT_SUPPORTED); net 183 content/browser/streams/stream_url_request_job.cc HeadersCompleted(net::HTTP_OK); net 192 content/browser/streams/stream_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 198 content/browser/streams/stream_url_request_job.cc net::HttpStatusCode status_code = net::HTTP_INTERNAL_SERVER_ERROR; net 200 content/browser/streams/stream_url_request_job.cc case net::ERR_ACCESS_DENIED: net 201 content/browser/streams/stream_url_request_job.cc status_code = net::HTTP_FORBIDDEN; net 203 content/browser/streams/stream_url_request_job.cc case net::ERR_FILE_NOT_FOUND: net 204 content/browser/streams/stream_url_request_job.cc status_code = net::HTTP_NOT_FOUND; net 206 content/browser/streams/stream_url_request_job.cc case net::ERR_METHOD_NOT_SUPPORTED: net 207 content/browser/streams/stream_url_request_job.cc status_code = net::HTTP_METHOD_NOT_ALLOWED; net 209 content/browser/streams/stream_url_request_job.cc case net::ERR_FAILED: net 218 content/browser/streams/stream_url_request_job.cc void StreamURLRequestJob::HeadersCompleted(net::HttpStatusCode status_code) { net 222 content/browser/streams/stream_url_request_job.cc status.append(net::GetHttpReasonPhrase(status_code)); net 224 content/browser/streams/stream_url_request_job.cc net::HttpResponseHeaders* headers = new net::HttpResponseHeaders(status); net 226 content/browser/streams/stream_url_request_job.cc if (status_code == net::HTTP_OK) { net 227 content/browser/streams/stream_url_request_job.cc std::string content_type_header(net::HttpRequestHeaders::kContentType); net 233 content/browser/streams/stream_url_request_job.cc response_info_.reset(new net::HttpResponseInfo()); net 19 content/browser/streams/stream_url_request_job.h : public net::URLRequestJob, net 22 content/browser/streams/stream_url_request_job.h StreamURLRequestJob(net::URLRequest* request, net 23 content/browser/streams/stream_url_request_job.h net::NetworkDelegate* network_delegate, net 32 content/browser/streams/stream_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 36 content/browser/streams/stream_url_request_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 39 content/browser/streams/stream_url_request_job.h const net::HttpRequestHeaders& headers) OVERRIDE; net 47 content/browser/streams/stream_url_request_job.h void HeadersCompleted(net::HttpStatusCode status_code); net 53 content/browser/streams/stream_url_request_job.h scoped_refptr<net::IOBuffer> pending_buffer_; net 55 content/browser/streams/stream_url_request_job.h scoped_ptr<net::HttpResponseInfo> response_info_; net 36 content/browser/streams/stream_url_request_job_unittest.cc public net::URLRequestJobFactory::ProtocolHandler { net 41 content/browser/streams/stream_url_request_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 42 content/browser/streams/stream_url_request_job_unittest.cc net::URLRequest* request, net 43 content/browser/streams/stream_url_request_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 69 content/browser/streams/stream_url_request_job_unittest.cc TestRequest("GET", url, net::HttpRequestHeaders(), 200, expected_response); net 74 content/browser/streams/stream_url_request_job_unittest.cc const net::HttpRequestHeaders& extra_headers, net 77 content/browser/streams/stream_url_request_job_unittest.cc net::TestDelegate delegate; net 79 content/browser/streams/stream_url_request_job_unittest.cc url, net::DEFAULT_PRIORITY, &delegate, NULL); net 99 content/browser/streams/stream_url_request_job_unittest.cc net::URLRequestContext url_request_context_; net 100 content/browser/streams/stream_url_request_job_unittest.cc net::URLRequestJobFactoryImpl url_request_job_factory_; net 101 content/browser/streams/stream_url_request_job_unittest.cc scoped_ptr<net::URLRequest> request_; net 108 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( net 109 content/browser/streams/stream_url_request_job_unittest.cc new net::StringIOBuffer(kTestData1)); net 126 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( net 127 content/browser/streams/stream_url_request_job_unittest.cc new net::StringIOBuffer(large_data)); net 135 content/browser/streams/stream_url_request_job_unittest.cc net::TestDelegate delegate; net 137 content/browser/streams/stream_url_request_job_unittest.cc kStreamURL, net::DEFAULT_PRIORITY, &delegate, NULL); net 151 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( net 152 content/browser/streams/stream_url_request_job_unittest.cc new net::StringIOBuffer(kTestData2)); net 157 content/browser/streams/stream_url_request_job_unittest.cc net::HttpRequestHeaders extra_headers; net 158 content/browser/streams/stream_url_request_job_unittest.cc extra_headers.SetHeader(net::HttpRequestHeaders::kRange, net 159 content/browser/streams/stream_url_request_job_unittest.cc net::HttpByteRange::Bounded(0, 3).GetHeaderValue()); net 168 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( net 169 content/browser/streams/stream_url_request_job_unittest.cc new net::StringIOBuffer(kTestData2)); net 174 content/browser/streams/stream_url_request_job_unittest.cc net::HttpRequestHeaders extra_headers; net 175 content/browser/streams/stream_url_request_job_unittest.cc extra_headers.SetHeader(net::HttpRequestHeaders::kRange, net 176 content/browser/streams/stream_url_request_job_unittest.cc net::HttpByteRange::Bounded(1, 3).GetHeaderValue()); net 60 content/browser/tcmalloc_internals_request_job.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) net 61 content/browser/tcmalloc_internals_request_job.cc : net::URLRequestSimpleJob(request, network_delegate) { net 110 content/browser/tcmalloc_internals_request_job.cc const net::CompletionCallback& callback) const { net 118 content/browser/tcmalloc_internals_request_job.cc return net::OK; net 48 content/browser/tcmalloc_internals_request_job.h class TcmallocInternalsRequestJob : public net::URLRequestSimpleJob { net 50 content/browser/tcmalloc_internals_request_job.h TcmallocInternalsRequestJob(net::URLRequest* request, net 51 content/browser/tcmalloc_internals_request_job.h net::NetworkDelegate* network_delegate); net 56 content/browser/tcmalloc_internals_request_job.h const net::CompletionCallback& callback) const OVERRIDE; net 188 content/browser/web_contents/web_contents_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context, net 321 content/browser/web_contents/web_contents_impl.cc load_state_(net::LOAD_STATE_IDLE, base::string16()), net 842 content/browser/web_contents/web_contents_impl.cc const net::LoadStateWithParam& WebContentsImpl::GetLoadState() const { net 1826 content/browser/web_contents/web_contents_impl.cc net::IsSupportedJavascriptMimeType(contents_mime_type_.c_str()); net 2006 content/browser/web_contents/web_contents_impl.cc net::GetHostOrSpecFromURL(url)); net 2332 content/browser/web_contents/web_contents_impl.cc net::CertStatus cert_status = 0; net 2350 content/browser/web_contents/web_contents_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context( net 2692 content/browser/web_contents/web_contents_impl.cc load_state_ = net::LoadStateWithParam(net::LOAD_STATE_IDLE, net 3422 content/browser/web_contents/web_contents_impl.cc const net::LoadStateWithParam& load_state, net 3428 content/browser/web_contents/web_contents_impl.cc load_state_host_ = net::IDNToUnicode(url.host(), net 3431 content/browser/web_contents/web_contents_impl.cc if (load_state_.state == net::LOAD_STATE_READING_RESPONSE) net 218 content/browser/web_contents/web_contents_impl.h virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; net 382 content/browser/web_contents/web_contents_impl.h const net::LoadStateWithParam& load_state, net 924 content/browser/web_contents/web_contents_impl.h net::LoadStateWithParam load_state_; net 275 content/browser/web_contents/web_contents_impl_browsertest.cc net::SpawnedTestServer https_server( net 276 content/browser/web_contents/web_contents_impl_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 277 content/browser/web_contents/web_contents_impl_browsertest.cc net::SpawnedTestServer::kLocalhost, net 384 content/browser/web_contents/web_contents_impl_browsertest.cc net::HostPortPair foo_host_port; net 229 content/browser/web_contents/web_contents_view_aura.cc file_name = net::GenerateFileName(drop_data.url, "", "", "", "", "") net 258 content/browser/web_contents/web_contents_view_aura.cc net::GenerateFileName(download_url, net 502 content/browser/web_contents/web_contents_view_aura_browsertest.cc net::SpawnedTestServer https_server( net 503 content/browser/web_contents/web_contents_view_aura_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 504 content/browser/web_contents/web_contents_view_aura_browsertest.cc net::SpawnedTestServer::kLocalhost, net 210 content/browser/web_contents/web_drag_dest_gtk.cc net::FileURLToFilePath(url, &file_path)) { net 220 content/browser/web_contents/web_drag_source_gtk.cc if (net::FileURLToFilePath(file_url, &file_path)) { net 305 content/browser/web_contents/web_drag_source_gtk.cc net::GenerateFileName(download_url_, net 89 content/browser/webui/shared_resources_data_source.cc net::GetMimeTypeFromFile(base::FilePath().AppendASCII(path), &mime_type); net 100 content/browser/webui/url_data_manager_backend.cc class URLRequestChromeJob : public net::URLRequestJob, net 104 content/browser/webui/url_data_manager_backend.cc URLRequestChromeJob(net::URLRequest* request, net 105 content/browser/webui/url_data_manager_backend.cc net::NetworkDelegate* network_delegate, net 112 content/browser/webui/url_data_manager_backend.cc virtual bool ReadRawData(net::IOBuffer* buf, net 117 content/browser/webui/url_data_manager_backend.cc virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 176 content/browser/webui/url_data_manager_backend.cc void CompleteRead(net::IOBuffer* buf, int buf_size, int* bytes_read); net 186 content/browser/webui/url_data_manager_backend.cc scoped_refptr<net::IOBuffer> pending_buf_; net 217 content/browser/webui/url_data_manager_backend.cc URLRequestChromeJob::URLRequestChromeJob(net::URLRequest* request, net 218 content/browser/webui/url_data_manager_backend.cc net::NetworkDelegate* network_delegate, net 221 content/browser/webui/url_data_manager_backend.cc : net::URLRequestJob(request, network_delegate), net 265 content/browser/webui/url_data_manager_backend.cc return net::HTTP_OK; net 268 content/browser/webui/url_data_manager_backend.cc void URLRequestChromeJob::GetResponseInfo(net::HttpResponseInfo* info) { net 273 content/browser/webui/url_data_manager_backend.cc info->headers = new net::HttpResponseHeaders("HTTP/1.1 200 OK"); net 293 content/browser/webui/url_data_manager_backend.cc base::StringPrintf("%s:%s", net::HttpRequestHeaders::kContentType, net 309 content/browser/webui/url_data_manager_backend.cc SetStatus(net::URLRequestStatus()); net 321 content/browser/webui/url_data_manager_backend.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 322 content/browser/webui/url_data_manager_backend.cc net::ERR_FAILED)); net 326 content/browser/webui/url_data_manager_backend.cc bool URLRequestChromeJob::ReadRawData(net::IOBuffer* buf, int buf_size, net 329 content/browser/webui/url_data_manager_backend.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); net 342 content/browser/webui/url_data_manager_backend.cc void URLRequestChromeJob::CompleteRead(net::IOBuffer* buf, int buf_size, net 394 content/browser/webui/url_data_manager_backend.cc NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 395 content/browser/webui/url_data_manager_backend.cc net::ERR_INVALID_URL)); net 420 content/browser/webui/url_data_manager_backend.cc : public net::URLRequestJobFactory::ProtocolHandler { net 433 content/browser/webui/url_data_manager_backend.cc virtual net::URLRequestJob* MaybeCreateJob( net 434 content/browser/webui/url_data_manager_backend.cc net::URLRequest* request, net 435 content/browser/webui/url_data_manager_backend.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 511 content/browser/webui/url_data_manager_backend.cc net::URLRequestJobFactory::ProtocolHandler* net 545 content/browser/webui/url_data_manager_backend.cc bool URLDataManagerBackend::StartRequest(const net::URLRequest* request, net 687 content/browser/webui/url_data_manager_backend.cc : public net::URLRequestJobFactory::ProtocolHandler { net 694 content/browser/webui/url_data_manager_backend.cc virtual net::URLRequestJob* MaybeCreateJob( net 695 content/browser/webui/url_data_manager_backend.cc net::URLRequest* request, net 696 content/browser/webui/url_data_manager_backend.cc net::NetworkDelegate* network_delegate) const OVERRIDE; net 719 content/browser/webui/url_data_manager_backend.cc net::URLRequestJob* net 721 content/browser/webui/url_data_manager_backend.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 729 content/browser/webui/url_data_manager_backend.cc net::URLRequestJobFactory::ProtocolHandler* net 48 content/browser/webui/url_data_manager_backend.h static net::URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler( net 60 content/browser/webui/url_data_manager_backend.h static net::URLRequestJob* Factory(net::URLRequest* request, net 72 content/browser/webui/url_data_manager_backend.h bool StartRequest(const net::URLRequest* request, URLRequestChromeJob* job); net 111 content/browser/webui/url_data_manager_backend.h net::URLRequestJobFactory::ProtocolHandler* net 264 content/browser/worker_host/test/worker_browsertest.cc net::SpawnedTestServer ws_server(net::SpawnedTestServer::TYPE_WS, net 265 content/browser/worker_host/test/worker_browsertest.cc net::SpawnedTestServer::kLocalhost, net 266 content/browser/worker_host/test/worker_browsertest.cc net::GetWebSocketTestDataDirectory()); net 266 content/browser/worker_host/worker_process_host.cc net::URLRequestContextGetter* url_request_context = net 600 content/browser/worker_host/worker_process_host.cc title = net::registry_controlled_domains::GetDomainAndRegistry( net 602 content/browser/worker_host/worker_process_host.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 691 content/browser/worker_host/worker_process_host.cc net::URLRequestContext** request_context) { net 696 content/browser/worker_host/worker_process_host.cc net::URLRequestContext* WorkerProcessHost::GetRequestContext( net 32 content/browser/worker_host/worker_process_host.h namespace net { net 256 content/browser/worker_host/worker_process_host.h net::URLRequestContext** request_context); net 257 content/browser/worker_host/worker_process_host.h net::URLRequestContext* GetRequestContext(ResourceType::Type resource_type); net 20 content/browser/worker_host/worker_storage_partition.cc net::URLRequestContextGetter* url_request_context, net 21 content/browser/worker_host/worker_storage_partition.cc net::URLRequestContextGetter* media_url_request_context, net 19 content/browser/worker_host/worker_storage_partition.h namespace net { net 47 content/browser/worker_host/worker_storage_partition.h net::URLRequestContextGetter* url_request_context, net 48 content/browser/worker_host/worker_storage_partition.h net::URLRequestContextGetter* media_url_request_context, net 65 content/browser/worker_host/worker_storage_partition.h net::URLRequestContextGetter* url_request_context() const { net 69 content/browser/worker_host/worker_storage_partition.h net::URLRequestContextGetter* media_url_request_context() const { net 100 content/browser/worker_host/worker_storage_partition.h scoped_refptr<net::URLRequestContextGetter> url_request_context_; net 101 content/browser/worker_host/worker_storage_partition.h scoped_refptr<net::URLRequestContextGetter> media_url_request_context_; net 408 content/child/blink_platform_impl.cc if (net::DataURL::Parse(url, &mime_type, &char_set, &data) net 409 content/child/blink_platform_impl.cc && net::IsSupportedMimeType(mime_type)) { net 419 content/child/blink_platform_impl.cc return WebURLLoaderImpl::CreateError(unreachableURL, false, net::ERR_ABORTED); net 24 content/child/ftp_directory_listing_response_delegate.cc using net::FtpDirectoryListingEntry; net 82 content/child/ftp_directory_listing_response_delegate.cc int rv = net::ParseFtpDirectoryListing(buffer_, base::Time::Now(), &entries); net 83 content/child/ftp_directory_listing_response_delegate.cc if (rv != net::OK) { net 99 content/child/ftp_directory_listing_response_delegate.cc SendDataToClient(net::GetDirectoryListingEntry( net 105 content/child/ftp_directory_listing_response_delegate.cc net::UnescapeRule::Type unescape_rules = net::UnescapeRule::SPACES | net 106 content/child/ftp_directory_listing_response_delegate.cc net::UnescapeRule::URL_SPECIAL_CHARS; net 107 content/child/ftp_directory_listing_response_delegate.cc std::string unescaped_path = net::UnescapeURLComponent(response_url.path(), net 109 content/child/ftp_directory_listing_response_delegate.cc SendDataToClient(net::GetDirectoryListingHeader( net 115 content/child/ftp_directory_listing_response_delegate.cc SendDataToClient(net::GetDirectoryListingEntry( net 473 content/child/npapi/plugin_host.cc net::FileURLToFilePath(file_url, &file_path); net 79 content/child/npapi/plugin_stream.cc if (net::GetMimeTypeFromFile(path, &temp_mime_type)) net 95 content/child/npapi/plugin_stream_url.cc if (net::HttpResponseHeaders::IsRedirectResponseCode(http_status_code) && net 112 content/child/npapi/plugin_url_fetcher.cc request_info.load_flags = net::LOAD_NORMAL; net 376 content/child/npapi/plugin_url_fetcher.cc if (error_code == net::OK) { net 14 content/child/request_info.cc priority(net::LOW), net 60 content/child/request_info.h net::RequestPriority priority; net 83 content/child/resource_dispatcher.cc virtual void DidChangePriority(net::RequestPriority new_priority) OVERRIDE; net 222 content/child/resource_dispatcher.cc net::RequestPriority new_priority) { net 234 content/child/resource_dispatcher.cc response->error_code = net::ERR_FAILED; net 246 content/child/resource_dispatcher.cc response->error_code = net::ERR_FAILED; net 617 content/child/resource_dispatcher.cc int routing_id, int request_id, net::RequestPriority new_priority) { net 717 content/child/resource_dispatcher.cc net::LoadTimingInfo* load_timing = &renderer_info->load_timing; net 79 content/child/resource_dispatcher.h net::RequestPriority new_priority); net 127 content/child/resource_dispatcher_unittest.cc response.headers = new net::HttpResponseHeaders(raw_headers); net 249 content/child/resource_dispatcher_unittest.cc response_head.error_code = net::OK; net 400 content/child/resource_dispatcher_unittest.cc response_head.error_code = net::OK; net 420 content/child/resource_dispatcher_unittest.cc response_head.error_code = net::OK; net 433 content/child/resource_dispatcher_unittest.cc response_head.error_code = net::OK; net 26 content/child/simple_webmimeregistry_impl.cc return net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type)) ? net 32 content/child/simple_webmimeregistry_impl.cc return net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type)) ? net 39 content/child/simple_webmimeregistry_impl.cc return net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type)) ? net 71 content/child/simple_webmimeregistry_impl.cc return net::IsSupportedNonImageMimeType(ToASCIIOrEmpty(mime_type)) ? net 78 content/child/simple_webmimeregistry_impl.cc net::GetMimeTypeFromExtension( net 86 content/child/simple_webmimeregistry_impl.cc net::GetWellKnownMimeTypeFromExtension( net 94 content/child/simple_webmimeregistry_impl.cc net::GetMimeTypeFromFile(base::FilePath::FromUTF16Unsafe(file_path), net 351 content/child/site_isolation_policy.cc return net::registry_controlled_domains::SameDomainOrHost( net 354 content/child/site_isolation_policy.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 24 content/child/site_isolation_policy_browsertest.cc net::SpawnedTestServer https_server( net 25 content/child/site_isolation_policy_browsertest.cc net::SpawnedTestServer::TYPE_HTTPS, net 26 content/child/site_isolation_policy_browsertest.cc net::SpawnedTestServer::kLocalhost, net 249 content/child/socket_stream_dispatcher.cc bridge->OnFailed(error_code, net::ErrorToString(error_code)); net 97 content/child/web_url_loader_impl.cc if ((load_flags_ & net::LOAD_VALIDATE_CACHE) && net 135 content/child/web_url_loader_impl.cc if (net::DataURL::Parse(url, &mime_type, &charset, data)) { net 136 content/child/web_url_loader_impl.cc *error_code = net::OK; net 153 content/child/web_url_loader_impl.cc *error_code = net::ERR_INVALID_URL; net 160 content/child/web_url_loader_impl.cc void PopulateURLLoadTiming(const net::LoadTimingInfo& load_timing, net 192 content/child/web_url_loader_impl.cc net::RequestPriority ConvertWebKitPriorityToNetPriority( net 196 content/child/web_url_loader_impl.cc return net::HIGHEST; net 199 content/child/web_url_loader_impl.cc return net::MEDIUM; net 202 content/child/web_url_loader_impl.cc return net::LOW; net 205 content/child/web_url_loader_impl.cc return net::LOWEST; net 208 content/child/web_url_loader_impl.cc return net::IDLE; net 213 content/child/web_url_loader_impl.cc return net::LOW; net 338 content/child/web_url_loader_impl.cc int load_flags = net::LOAD_NORMAL; net 342 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_VALIDATE_CACHE; net 345 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_PREFERRING_CACHE; net 348 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_ONLY_FROM_CACHE; net 355 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_ENABLE_UPLOAD_PROGRESS; net 357 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_ENABLE_LOAD_TIMING; net 359 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_REPORT_RAW_HEADERS; net 362 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_DO_NOT_SAVE_COOKIES; net 363 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_DO_NOT_SEND_COOKIES; net 367 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_DO_NOT_SEND_AUTH_DATA; net 371 content/child/web_url_loader_impl.cc load_flags |= net::LOAD_DO_NOT_PROMPT_FOR_LOGIN; net 499 content/child/web_url_loader_impl.cc std::string new_method = net::URLRequest::ComputeMethodForRedirect( net 559 content/child/web_url_loader_impl.cc net::HttpUtil::ParseContentType(content_type, &mime_type, &charset, net 628 content/child/web_url_loader_impl.cc if (error_code != net::OK) { net 668 content/child/web_url_loader_impl.cc if (net::DataURL::Parse(url, &mime_type, &unused_charset, NULL) && net 669 content/child/web_url_loader_impl.cc net::IsSupportedMimeType(mime_type)) net 704 content/child/web_url_loader_impl.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 708 content/child/web_url_loader_impl.cc if (reason == net::ERR_ABORTED) { net 710 content/child/web_url_loader_impl.cc } else if (reason == net::ERR_TEMPORARILY_THROTTLED) { net 715 content/child/web_url_loader_impl.cc net::ErrorToString(reason)); net 786 content/child/web_url_loader_impl.cc const net::HttpResponseHeaders* headers = info.headers.get(); net 791 content/child/web_url_loader_impl.cc if (headers->GetHttpVersion() == net::HttpVersion(0, 9)) net 793 content/child/web_url_loader_impl.cc else if (headers->GetHttpVersion() == net::HttpVersion(1, 0)) net 795 content/child/web_url_loader_impl.cc else if (headers->GetHttpVersion() == net::HttpVersion(1, 1)) net 808 content/child/web_url_loader_impl.cc net::GetSuggestedFilename(url, net 840 content/child/web_url_loader_impl.cc if (error_code != net::OK) { net 842 content/child/web_url_loader_impl.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 53 content/child/webfileutilities_impl.cc return net::FilePathToFileURL(base::FilePath::FromUTF16Unsafe(path)); net 183 content/common/common_param_traits_unittest.cc net::HostPortPair input("host.com", 12345); net 186 content/common/common_param_traits_unittest.cc IPC::ParamTraits<net::HostPortPair>::Write(&msg, input); net 188 content/common/common_param_traits_unittest.cc net::HostPortPair output; net 190 content/common/common_param_traits_unittest.cc EXPECT_TRUE(IPC::ParamTraits<net::HostPortPair>::Read(&msg, &iter, &output)); net 25 content/common/content_param_traits.h namespace net { net 18 content/common/cookie_data.cc CookieData::CookieData(const net::CanonicalCookie& c) net 12 content/common/cookie_data.h namespace net { net 20 content/common/cookie_data.h explicit CookieData(const net::CanonicalCookie& c); net 23 content/common/net/url_fetcher.cc void AssociateURLFetcherWithRenderFrame(net::URLFetcher* url_fetcher, net 27 content/common/p2p_messages.h IPC_STRUCT_TRAITS_BEGIN(net::NetworkInterface) net 52 content/common/p2p_messages.h net::NetworkInterfaceList /* networks */) net 56 content/common/p2p_messages.h net::IPAddressList /* address list*/) net 60 content/common/p2p_messages.h net::IPEndPoint /* socket_address */) net 70 content/common/p2p_messages.h net::IPEndPoint /* socket_address */) net 74 content/common/p2p_messages.h net::IPEndPoint /* socket_address */, net 92 content/common/p2p_messages.h net::IPEndPoint /* local_address */, net 97 content/common/p2p_messages.h net::IPEndPoint /* remote_address */, net 103 content/common/p2p_messages.h net::IPEndPoint /* socket_address */, net 43 content/common/p2p_socket_type.h const net::IPEndPoint& ip_address) net 48 content/common/p2p_socket_type.h net::IPEndPoint ip_address; net 375 content/common/plugin_list.cc if (net::MatchesMimeType(mime_info.mime_type, mime_type)) { net 12 content/common/resource_messages.cc void ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Write( net 17 content/common/resource_messages.cc p->Persist(m, net::HttpResponseHeaders::PERSIST_SANS_COOKIES); net 21 content/common/resource_messages.cc bool ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Read( net 27 content/common/resource_messages.cc *r = new net::HttpResponseHeaders(*m, iter); net 31 content/common/resource_messages.cc void ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Log( net 178 content/common/resource_messages.cc void ParamTraits<net::LoadTimingInfo>::Write( net 200 content/common/resource_messages.cc bool ParamTraits<net::LoadTimingInfo>::Read( net 227 content/common/resource_messages.cc void ParamTraits<net::LoadTimingInfo>::Log(const param_type& p, net 23 content/common/resource_messages.h namespace net { net 34 content/common/resource_messages.h struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > { net 35 content/common/resource_messages.h typedef scoped_refptr<net::HttpResponseHeaders> param_type; net 58 content/common/resource_messages.h struct ParamTraits<net::LoadTimingInfo> { net 59 content/common/resource_messages.h typedef net::LoadTimingInfo param_type; net 83 content/common/resource_messages.h net::HttpResponseInfo::ConnectionInfo, \ net 84 content/common/resource_messages.h net::HttpResponseInfo::NUM_OF_CONNECTION_INFOS - 1) net 164 content/common/resource_messages.h IPC_STRUCT_MEMBER(net::RequestPriority, priority) net 347 content/common/resource_messages.h net::RequestPriority) net 14 content/common/ssl_status_serialization.cc net::CertStatus cert_status, net 37 content/common/ssl_status_serialization.cc net::CertStatus* cert_status, net 74 content/common/ssl_status_serialization.cc static_cast<net::ct::SCTVerifyStatus>(status))); net 19 content/common/ssl_status_serialization.h net::CertStatus cert_status, net 28 content/common/ssl_status_serialization.h net::CertStatus* cert_status, net 16 content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java import java.net.URISyntaxException; net 20 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import android.net.Uri; net 7 content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java import org.chromium.net.ProxyChangeListener; net 10 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import android.net.ConnectivityManager; net 11 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import android.net.NetworkInfo; net 12 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import android.net.Uri; net 32 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java import java.net.URI; net 33 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java import java.net.URISyntaxException; net 7 content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java import android.net.Uri; net 12 content/public/android/javatests/src/org/chromium/content/browser/EncodeHtmlDataUriTest.java import java.net.URI; net 13 content/public/android/javatests/src/org/chromium/content/browser/EncodeHtmlDataUriTest.java import java.net.URLDecoder; net 55 content/public/android/javatests/src/org/chromium/content/browser/EncodeHtmlDataUriTest.java throws java.net.URISyntaxException, java.io.UnsupportedEncodingException { net 26 content/public/browser/access_token_store.h namespace net { net 37 content/public/browser/access_token_store.h typedef base::Callback<void(AccessTokenSet, net::URLRequestContextGetter*)> net 24 content/public/browser/browser_context.h namespace net { net 102 content/public/browser/browser_context.h virtual net::URLRequestContextGetter* GetRequestContext() = 0; net 108 content/public/browser/browser_context.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 114 content/public/browser/browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContext() = 0; net 118 content/public/browser/browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 120 content/public/browser/browser_context.h virtual net::URLRequestContextGetter* net 11 content/public/browser/cert_store.h namespace net { net 36 content/public/browser/cert_store.h virtual int StoreCert(net::X509Certificate* cert, net 43 content/public/browser/cert_store.h scoped_refptr<net::X509Certificate>* cert) = 0; net 39 content/public/browser/content_browser_client.cc net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( net 46 content/public/browser/content_browser_client.cc net::URLRequestContextGetter* net 123 content/public/browser/content_browser_client.cc const net::CookieList& cookie_list, net 136 content/public/browser/content_browser_client.cc net::CookieOptions* options) { net 173 content/public/browser/content_browser_client.cc net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( net 246 content/public/browser/content_browser_client.cc net::NetLog* ContentBrowserClient::GetNetLog() { net 313 content/public/browser/content_browser_client.cc net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess( net 55 content/public/browser/content_browser_client.h namespace net { net 110 content/public/browser/content_browser_client.h std::string, linked_ptr<net::URLRequestJobFactory::ProtocolHandler> > net 114 content/public/browser/content_browser_client.h typedef ScopedVector<net::URLRequestJobFactory::ProtocolHandler> net 210 content/public/browser/content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 218 content/public/browser/content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 315 content/public/browser/content_browser_client.h const net::CookieList& cookie_list, net 328 content/public/browser/content_browser_client.h net::CookieOptions* options); net 366 content/public/browser/content_browser_client.h virtual net::URLRequestContext* OverrideRequestContextForURL( net 417 content/public/browser/content_browser_client.h const net::SSLInfo& ssl_info, net 430 content/public/browser/content_browser_client.h const net::HttpNetworkSession* network_session, net 431 content/public/browser/content_browser_client.h net::SSLCertRequestInfo* cert_request_info, net 432 content/public/browser/content_browser_client.h const base::Callback<void(net::X509Certificate*)>& callback) {} net 439 content/public/browser/content_browser_client.h net::URLRequest* request, net 440 content/public/browser/content_browser_client.h net::CertificateMimeType cert_type, net 515 content/public/browser/content_browser_client.h virtual net::NetLog* GetNetLog(); net 646 content/public/browser/content_browser_client.h virtual net::CookieStore* OverrideCookieStoreForRenderProcess( net 16 content/public/browser/cookie_store_factory.h namespace net { net 60 content/public/browser/cookie_store_factory.h net::CookieMonsterDelegate* cookie_delegate); net 66 content/public/browser/cookie_store_factory.h const scoped_refptr<net::CookieMonsterDelegate> cookie_delegate; net 92 content/public/browser/cookie_store_factory.h CONTENT_EXPORT net::CookieStore* CreateCookieStore( net 14 content/public/browser/devtools_http_handler.h namespace net { net 38 content/public/browser/devtools_http_handler.h const net::StreamListenSocketFactory* socket_factory, net 51 content/public/browser/devtools_http_handler_delegate.h virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( net 52 content/public/browser/devtools_http_handler_delegate.h net::StreamListenSocket::Delegate* delegate, net 13 content/public/browser/load_from_memory_cache_details.cc net::CertStatus cert_status, net 20 content/public/browser/load_from_memory_cache_details.h net::CertStatus cert_status, net 29 content/public/browser/load_from_memory_cache_details.h net::CertStatus cert_status; net 23 content/public/browser/resource_context.h namespace net { net 43 content/public/browser/resource_context.h virtual net::HostResolver* GetHostResolver() = 0; net 48 content/public/browser/resource_context.h virtual net::URLRequestContext* GetRequestContext() = 0; net 51 content/public/browser/resource_context.h virtual scoped_ptr<net::ClientCertStore> CreateClientCertStore(); net 59 content/public/browser/resource_context.h const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback); net 12 content/public/browser/resource_dispatcher_host.h namespace net { net 51 content/public/browser/resource_dispatcher_host.h scoped_ptr<net::URLRequest> request, net 63 content/public/browser/resource_dispatcher_host.h virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0; net 22 content/public/browser/resource_dispatcher_host_delegate.cc net::URLRequest* request, net 32 content/public/browser/resource_dispatcher_host_delegate.cc net::URLRequest* request, net 44 content/public/browser/resource_dispatcher_host_delegate.cc net::AuthChallengeInfo* auth_info, net 45 content/public/browser/resource_dispatcher_host_delegate.cc net::URLRequest* request) { net 82 content/public/browser/resource_dispatcher_host_delegate.cc net::URLRequest* request, net 90 content/public/browser/resource_dispatcher_host_delegate.cc net::URLRequest* request, net 96 content/public/browser/resource_dispatcher_host_delegate.cc net::URLRequest* url_request) { net 34 content/public/browser/resource_dispatcher_host_delegate.h namespace net { net 59 content/public/browser/resource_dispatcher_host_delegate.h net::URLRequest* request, net 70 content/public/browser/resource_dispatcher_host_delegate.h net::URLRequest* request, net 82 content/public/browser/resource_dispatcher_host_delegate.h net::AuthChallengeInfo* auth_info, net::URLRequest* request); net 128 content/public/browser/resource_dispatcher_host_delegate.h net::URLRequest* request, net 136 content/public/browser/resource_dispatcher_host_delegate.h net::URLRequest* request, net 141 content/public/browser/resource_dispatcher_host_delegate.h virtual void RequestComplete(net::URLRequest* url_request); net 13 content/public/browser/resource_request_details.cc ResourceRequestDetails::ResourceRequestDetails(const net::URLRequest* request, net 45 content/public/browser/resource_request_details.cc ResourceRedirectDetails::ResourceRedirectDetails(const net::URLRequest* request, net 16 content/public/browser/resource_request_details.h namespace net { net 26 content/public/browser/resource_request_details.h ResourceRequestDetails(const net::URLRequest* request, int cert_id); net 37 content/public/browser/resource_request_details.h net::URLRequestStatus status; net 39 content/public/browser/resource_request_details.h net::CertStatus ssl_cert_status; net 41 content/public/browser/resource_request_details.h net::HostPortPair socket_address; net 47 content/public/browser/resource_request_details.h ResourceRedirectDetails(const net::URLRequest* request, net 15 content/public/browser/resource_request_info.h namespace net { net 28 content/public/browser/resource_request_info.h const net::URLRequest* request); net 34 content/public/browser/resource_request_info.h net::URLRequest* request, net 47 content/public/browser/resource_request_info.h const net::URLRequest* request, net 11 content/public/browser/signed_certificate_timestamp_store.h namespace net { net 38 content/public/browser/signed_certificate_timestamp_store.h virtual int Store(net::ct::SignedCertificateTimestamp* sct, net 45 content/public/browser/signed_certificate_timestamp_store.h int sct_id, scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) = 0; net 34 content/public/browser/speech_recognition_session_config.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter; net 23 content/public/browser/storage_partition.h namespace net { net 52 content/public/browser/storage_partition.h virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; net 53 content/public/browser/storage_partition.h virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0; net 101 content/public/browser/storage_partition.h net::URLRequestContextGetter* rq_context) = 0; net 13 content/public/browser/stream_handle.h namespace net { net 33 content/public/browser/stream_handle.h virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() = 0; net 48 content/public/browser/url_data_source.cc bool URLDataSource::ShouldServiceRequest(const net::URLRequest* request) const { net 18 content/public/browser/url_data_source.h namespace net { net 113 content/public/browser/url_data_source.h virtual bool ShouldServiceRequest(const net::URLRequest* request) const; net 126 content/public/browser/url_data_source.h const net::URLRequest* request, net 45 content/public/browser/web_contents.h namespace net { net 266 content/public/browser/web_contents.h virtual const net::LoadStateWithParam& GetLoadState() const = 0; net 113 content/public/common/common_param_traits.cc void ParamTraits<net::HostPortPair>::Write(Message* m, const param_type& p) { net 118 content/public/common/common_param_traits.cc bool ParamTraits<net::HostPortPair>::Read(const Message* m, net 131 content/public/common/common_param_traits.cc void ParamTraits<net::HostPortPair>::Log(const param_type& p, std::string* l) { net 135 content/public/common/common_param_traits.cc void ParamTraits<net::IPEndPoint>::Write(Message* m, const param_type& p) { net 140 content/public/common/common_param_traits.cc bool ParamTraits<net::IPEndPoint>::Read(const Message* m, PickleIterator* iter, net 142 content/public/common/common_param_traits.cc net::IPAddressNumber address; net 147 content/public/common/common_param_traits.cc address.size() != net::kIPv4AddressSize && net 148 content/public/common/common_param_traits.cc address.size() != net::kIPv6AddressSize) { net 151 content/public/common/common_param_traits.cc *p = net::IPEndPoint(address, port); net 155 content/public/common/common_param_traits.cc void ParamTraits<net::IPEndPoint>::Log(const param_type& p, std::string* l) { net 42 content/public/common/common_param_traits.h namespace net { net 66 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<net::HostPortPair> { net 67 content/public/common/common_param_traits.h typedef net::HostPortPair param_type; net 74 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<net::IPEndPoint> { net 75 content/public/common/common_param_traits.h typedef net::IPEndPoint param_type; net 42 content/public/common/common_param_traits_macros.h IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY) net 65 content/public/common/frame_navigate_params.h net::HostPortPair socket_address; net 10 content/public/common/signed_certificate_timestamp_id_and_status.cc int id, net::ct::SCTVerifyStatus status) net 19 content/public/common/signed_certificate_timestamp_id_and_status.h int id, net::ct::SCTVerifyStatus status); net 24 content/public/common/signed_certificate_timestamp_id_and_status.h net::ct::SCTVerifyStatus status; net 47 content/public/common/ssl_status.h net::CertStatus cert_status; net 12 content/public/common/url_fetcher.h namespace net { net 21 content/public/common/url_fetcher.h net::URLFetcher* url_fetcher, net 17 content/public/renderer/document_state.cc connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), net 151 content/public/renderer/document_state.h net::HttpResponseInfo::ConnectionInfo connection_info() const { net 155 content/public/renderer/document_state.h net::HttpResponseInfo::ConnectionInfo connection_info) { net 205 content/public/renderer/document_state.h net::HttpResponseInfo::ConnectionInfo connection_info_; net 77 content/public/test/browser_test_base.cc class LocalHostResolverProc : public net::HostResolverProc { net 82 content/public/test/browser_test_base.cc net::AddressFamily address_family, net 83 content/public/test/browser_test_base.cc net::HostResolverFlags host_resolver_flags, net 84 content/public/test/browser_test_base.cc net::AddressList* addrlist, net 89 content/public/test/browser_test_base.cc if (host == net::GetHostName()) { net 107 content/public/test/browser_test_base.cc return net::ERR_NOT_IMPLEMENTED; net 137 content/public/test/browser_test_base.cc embedded_test_server_.reset(new net::test_server::EmbeddedTestServer); net 224 content/public/test/browser_test_base.cc scoped_refptr<net::HostResolverProc> local_resolver = net 227 content/public/test/browser_test_base.cc new net::RuleBasedHostResolverProc(local_resolver.get()); net 229 content/public/test/browser_test_base.cc net::ScopedDefaultHostResolverProc scoped_local_host_resolver_proc( net 270 content/public/test/browser_test_base.cc test_server_.reset(new net::SpawnedTestServer( net 271 content/public/test/browser_test_base.cc net::SpawnedTestServer::TYPE_HTTP, net 272 content/public/test/browser_test_base.cc net::SpawnedTestServer::kLocalhost, net 19 content/public/test/browser_test_base.h namespace net { net 59 content/public/test/browser_test_base.h net::RuleBasedHostResolverProc* host_resolver() { net 86 content/public/test/browser_test_base.h const net::SpawnedTestServer* test_server() const { net 89 content/public/test/browser_test_base.h net::SpawnedTestServer* test_server() { return test_server_.get(); } net 92 content/public/test/browser_test_base.h const net::test_server::EmbeddedTestServer* embedded_test_server() const { net 95 content/public/test/browser_test_base.h net::test_server::EmbeddedTestServer* embedded_test_server() { net 134 content/public/test/browser_test_base.h scoped_ptr<net::SpawnedTestServer> test_server_; net 137 content/public/test/browser_test_base.h scoped_ptr<net::test_server::EmbeddedTestServer> embedded_test_server_; net 140 content/public/test/browser_test_base.h scoped_refptr<net::RuleBasedHostResolverProc> rule_based_resolver_; net 159 content/public/test/browser_test_utils.cc net::URLRequestContextGetter* context_getter, net 162 content/public/test/browser_test_utils.cc net::CookieStore* cookie_store = net 165 content/public/test/browser_test_utils.cc url, net::CookieOptions(), net 178 content/public/test/browser_test_utils.cc net::URLRequestContextGetter* context_getter, net 181 content/public/test/browser_test_utils.cc net::CookieStore* cookie_store = net 184 content/public/test/browser_test_utils.cc url, value, net::CookieOptions(), net 193 content/public/test/browser_test_utils.cc GURL url = net::FilePathToFileURL(path); net 516 content/public/test/browser_test_utils.cc net::URLRequestContextGetter* context_getter = net 532 content/public/test/browser_test_utils.cc net::URLRequestContextGetter* context_getter = net 32 content/public/test/content_browser_test_utils.cc return net::FilePathToFileURL(GetTestFilePath(dir, file)); net 63 content/public/test/content_test_suite_base.cc net::android::RegisterJni(env); net 23 content/public/test/mock_blob_url_request_context.h class MockBlobURLRequestContext : public net::URLRequestContext { net 33 content/public/test/mock_blob_url_request_context.h net::URLRequestJobFactoryImpl job_factory_; net 16 content/public/test/mock_resource_context.cc net::URLRequestContext* test_request_context) net 24 content/public/test/mock_resource_context.cc net::HostResolver* MockResourceContext::GetHostResolver() { net 28 content/public/test/mock_resource_context.cc net::URLRequestContext* MockResourceContext::GetRequestContext() { net 13 content/public/test/mock_resource_context.h namespace net { net 24 content/public/test/mock_resource_context.h explicit MockResourceContext(net::URLRequestContext* test_request_context); net 29 content/public/test/mock_resource_context.h virtual net::HostResolver* GetHostResolver() OVERRIDE; net 30 content/public/test/mock_resource_context.h virtual net::URLRequestContext* GetRequestContext() OVERRIDE; net 45 content/public/test/mock_resource_context.h net::URLRequestContext* test_request_context_; net 18 content/public/test/test_browser_context.cc class TestContextURLRequestContextGetter : public net::URLRequestContextGetter { net 24 content/public/test/test_browser_context.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 36 content/public/test/test_browser_context.cc net::TestURLRequestContext context_; net 72 content/public/test/test_browser_context.cc net::URLRequestContextGetter* TestBrowserContext::GetRequestContext() { net 79 content/public/test/test_browser_context.cc net::URLRequestContextGetter* net 84 content/public/test/test_browser_context.cc net::URLRequestContextGetter* TestBrowserContext::GetMediaRequestContext() { net 88 content/public/test/test_browser_context.cc net::URLRequestContextGetter* net 94 content/public/test/test_browser_context.cc net::URLRequestContextGetter* net 33 content/public/test/test_browser_context.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 34 content/public/test/test_browser_context.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 36 content/public/test/test_browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 37 content/public/test/test_browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 39 content/public/test/test_browser_context.h virtual net::URLRequestContextGetter* net 73 content/public/test/test_browser_context.h scoped_refptr<net::URLRequestContextGetter> request_context_; net 38 content/public/test/test_file_error_injector.cc const net::BoundNetLog& bound_net_log, net 113 content/public/test/test_file_error_injector.cc const net::BoundNetLog& bound_net_log, net 271 content/public/test/test_file_error_injector.cc const net::BoundNetLog& bound_net_log, net 305 content/public/test/test_file_error_injector.cc const net::BoundNetLog& bound_net_log, net 32 content/renderer/android/address_detector.cc net::EscapeQueryParamValue(content_text, true)); net 42 content/renderer/android/email_detector.cc net::EscapeQueryParamValue(content_text, true)); net 54 content/renderer/android/phone_number_detector.cc net::EscapeQueryParamValue(content_text, true)); net 81 content/renderer/browser_render_view_browsertest.cc void InterceptNetworkTransactions(net::URLRequestContextGetter* getter, net 82 content/renderer/browser_render_view_browsertest.cc net::Error error) { net 84 content/renderer/browser_render_view_browsertest.cc net::HttpCache* cache( net 87 content/renderer/browser_render_view_browsertest.cc scoped_ptr<net::FailingHttpTransactionFactory> factory( net 88 content/renderer/browser_render_view_browsertest.cc new net::FailingHttpTransactionFactory(cache->GetSession(), error)); net 92 content/renderer/browser_render_view_browsertest.cc factory.PassAs<net::HttpTransactionFactory>()); net 97 content/renderer/browser_render_view_browsertest.cc DCHECK_EQ(net::OK, rv); net 108 content/renderer/browser_render_view_browsertest.cc DCHECK_EQ(net::OK, rv); net 115 content/renderer/browser_render_view_browsertest.cc void ClearCache(net::URLRequestContextGetter* getter, net 118 content/renderer/browser_render_view_browsertest.cc net::HttpCache* cache( net 125 content/renderer/browser_render_view_browsertest.cc net::CompletionCallback backend_callback( net 130 content/renderer/browser_render_view_browsertest.cc if (net::OK == cache->GetBackend(backend_ptr, backend_callback)) { net 132 content/renderer/browser_render_view_browsertest.cc backend_callback.Run(net::OK); net 210 content/renderer/browser_render_view_browsertest.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter = net 216 content/renderer/browser_render_view_browsertest.cc net::ERR_FAILED)); net 220 content/renderer/browser_render_view_browsertest.cc int error_code = net::OK; net 224 content/renderer/browser_render_view_browsertest.cc EXPECT_EQ(net::ERR_FAILED, error_code); net 237 content/renderer/browser_render_view_browsertest.cc error_code = net::OK; net 241 content/renderer/browser_render_view_browsertest.cc EXPECT_EQ(net::ERR_FAILED, error_code); net 20 content/renderer/clipboard_utils.cc markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title))); net 28 content/renderer/clipboard_utils.cc markup.append(net::EscapeForHTML(url.spec())); net 32 content/renderer/clipboard_utils.cc markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title))); net 475 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 531 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 692 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 783 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 798 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 825 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 826 content/renderer/dom_serializer_browsertest.cc GURL xml_file_url = net::FilePathToFileURL(xml_file_path); net 845 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 866 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 887 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 940 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 967 content/renderer/dom_serializer_browsertest.cc GURL path_dir_url = net::FilePathToFileURL(dir_name); net 970 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 999 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 1015 content/renderer/dom_serializer_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 182 content/renderer/image_loading_helper.cc if (net::DataURL::Parse(url, &mime_type, &char_set, &data) && !data.empty()) { net 351 content/renderer/media/android/webmediaplayer_android.cc if (!net::GetMimeTypeFromFile(base::FilePath(url_.path()), &mime)) net 360 content/renderer/media/android/webmediaplayer_android.cc if (!net::GetMimeTypeFromFile(base::FilePath(url_.path()), &mime)) net 166 content/renderer/media/buffered_resource_loader.cc WebString::fromUTF8(net::HttpRequestHeaders::kRange), net 167 content/renderer/media/buffered_resource_loader.cc WebString::fromUTF8(net::HttpByteRange::Bounded( net 175 content/renderer/media/buffered_resource_loader.cc WebString::fromUTF8(net::HttpRequestHeaders::kAcceptEncoding), net 59 content/renderer/media/buffered_resource_loader_unittest.cc WebString::fromUTF8(net::HttpRequestHeaders::kAcceptEncoding)).utf8(); net 537 content/renderer/media/buffered_resource_loader_unittest.cc error.reason = net::ERR_TIMED_OUT; net 556 content/renderer/media/buffered_resource_loader_unittest.cc error.reason = net::ERR_TIMED_OUT; net 20 content/renderer/media/cache_util.cc using net::HttpVersion; net 41 content/renderer/media/cache_util.cc !net::HttpUtil::HasStrongValidators( net 203 content/renderer/media/crypto/key_systems.cc net::ParseCodecString(codecs_list, &mime_type_codecs, false); net 435 content/renderer/media/media_stream_dependency_factory.cc net::EnsureNSSSSLInit(); net 28 content/renderer/media/test_response_generator.cc error.reason = net::ERR_ABORTED; net 29 content/renderer/media/test_response_generator.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 136 content/renderer/media/webrtc_identity_service.cc net::ERR_UNEXPECTED)); net 470 content/renderer/npapi/webplugin_impl.cc error.reason == net::ERR_ABORTED ? NPRES_USER_BREAK : NPRES_NETWORK_ERR; net 939 content/renderer/npapi/webplugin_impl.cc if (net::HttpResponseHeaders::IsRedirectResponseCode( net 73 content/renderer/p2p/host_address_request.cc void P2PAsyncAddressResolver::OnResponse(const net::IPAddressList& addresses) { net 85 content/renderer/p2p/host_address_request.cc const net::IPAddressList& addresses) { net 30 content/renderer/p2p/host_address_request.h typedef base::Callback<void(const net::IPAddressList&)> DoneCallback; net 55 content/renderer/p2p/host_address_request.h void OnResponse(const net::IPAddressList& address); net 56 content/renderer/p2p/host_address_request.h void DeliverResponse(const net::IPAddressList& address); net 45 content/renderer/p2p/ipc_network_manager.cc const net::NetworkInterfaceList& list) { net 56 content/renderer/p2p/ipc_network_manager.cc for (net::NetworkInterfaceList::const_iterator it = list.begin(); net 58 content/renderer/p2p/ipc_network_manager.cc if (it->address.size() == net::kIPv4AddressSize) { net 66 content/renderer/p2p/ipc_network_manager.cc } else if (it->address.size() == net::kIPv6AddressSize) { net 33 content/renderer/p2p/ipc_network_manager.h const net::NetworkInterfaceList& list) OVERRIDE; net 94 content/renderer/p2p/ipc_socket_factory.cc virtual void OnOpen(const net::IPEndPoint& address) OVERRIDE; net 96 content/renderer/p2p/ipc_socket_factory.cc const net::IPEndPoint& address, net 100 content/renderer/p2p/ipc_socket_factory.cc virtual void OnDataReceived(const net::IPEndPoint& address, net 182 content/renderer/p2p/ipc_socket_factory.cc virtual void OnAddressResolved(const net::IPAddressList& addresses); net 228 content/renderer/p2p/ipc_socket_factory.cc net::IPEndPoint local_endpoint; net 234 content/renderer/p2p/ipc_socket_factory.cc net::IPEndPoint remote_endpoint; net 318 content/renderer/p2p/ipc_socket_factory.cc net::IPEndPoint address_chrome; net 420 content/renderer/p2p/ipc_socket_factory.cc void IpcPacketSocket::OnOpen(const net::IPEndPoint& address) { net 445 content/renderer/p2p/ipc_socket_factory.cc const net::IPEndPoint& address, net 481 content/renderer/p2p/ipc_socket_factory.cc void IpcPacketSocket::OnDataReceived(const net::IPEndPoint& address, net 549 content/renderer/p2p/ipc_socket_factory.cc const net::IPAddressList& addresses) { net 554 content/renderer/p2p/ipc_socket_factory.cc net::IPEndPoint(addresses[i], 0), &socket_address)) { net 10 content/renderer/p2p/network_list_observer.h namespace net { net 22 content/renderer/p2p/network_list_observer.h const net::NetworkInterfaceList& list) = 0; net 189 content/renderer/p2p/port_allocator.cc "?username=" + net::EscapeUrlEncodedData(username(), true) + net 190 content/renderer/p2p/port_allocator.cc "&password=" + net::EscapeUrlEncodedData(password(), true); net 33 content/renderer/p2p/socket_client.h const net::IPEndPoint& local_address, net 34 content/renderer/p2p/socket_client.h const net::IPEndPoint& remote_address, net 40 content/renderer/p2p/socket_client.h virtual void Send(const net::IPEndPoint& address, net 45 content/renderer/p2p/socket_client.h virtual void SendWithDscp(const net::IPEndPoint& address, net 25 content/renderer/p2p/socket_client_delegate.h virtual void OnOpen(const net::IPEndPoint& address) = 0; net 29 content/renderer/p2p/socket_client_delegate.h virtual void OnIncomingTcpConnection(const net::IPEndPoint& address, net 39 content/renderer/p2p/socket_client_delegate.h virtual void OnDataReceived(const net::IPEndPoint& address, net 45 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& local_address, net 62 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& local_address, net 72 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& address, net 92 content/renderer/p2p/socket_client_impl.cc void P2PSocketClientImpl::Send(const net::IPEndPoint& address, net 145 content/renderer/p2p/socket_client_impl.cc void P2PSocketClientImpl::OnSocketCreated(const net::IPEndPoint& address) { net 156 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& address) { net 163 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& address) { net 183 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& address, net 221 content/renderer/p2p/socket_client_impl.cc void P2PSocketClientImpl::OnDataReceived(const net::IPEndPoint& address, net 236 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& address, const std::vector<char>& data, net 37 content/renderer/p2p/socket_client_impl.h const net::IPEndPoint& local_address, net 42 content/renderer/p2p/socket_client_impl.h virtual void Send(const net::IPEndPoint& address, net 47 content/renderer/p2p/socket_client_impl.h virtual void SendWithDscp(const net::IPEndPoint& address, net 76 content/renderer/p2p/socket_client_impl.h void OnSocketCreated(const net::IPEndPoint& address); net 77 content/renderer/p2p/socket_client_impl.h void OnIncomingTcpConnection(const net::IPEndPoint& address); net 81 content/renderer/p2p/socket_client_impl.h void OnDataReceived(const net::IPEndPoint& address, net 86 content/renderer/p2p/socket_client_impl.h void DeliverOnSocketCreated(const net::IPEndPoint& address); net 88 content/renderer/p2p/socket_client_impl.h const net::IPEndPoint& address, net 92 content/renderer/p2p/socket_client_impl.h void DeliverOnDataReceived(const net::IPEndPoint& address, net 98 content/renderer/p2p/socket_client_impl.h const net::IPEndPoint& local_address, net 123 content/renderer/p2p/socket_dispatcher.cc const net::NetworkInterfaceList& networks) { net 130 content/renderer/p2p/socket_dispatcher.cc const net::IPAddressList& addresses) { net 141 content/renderer/p2p/socket_dispatcher.cc int socket_id, const net::IPEndPoint& address) { net 149 content/renderer/p2p/socket_dispatcher.cc int socket_id, const net::IPEndPoint& address) { net 171 content/renderer/p2p/socket_dispatcher.cc int socket_id, const net::IPEndPoint& address, net 40 content/renderer/p2p/socket_dispatcher.h namespace net { net 95 content/renderer/p2p/socket_dispatcher.h void OnNetworkListChanged(const net::NetworkInterfaceList& networks); net 97 content/renderer/p2p/socket_dispatcher.h const net::IPAddressList& addresses); net 98 content/renderer/p2p/socket_dispatcher.h void OnSocketCreated(int socket_id, const net::IPEndPoint& address); net 99 content/renderer/p2p/socket_dispatcher.h void OnIncomingTcpConnection(int socket_id, const net::IPEndPoint& address); net 102 content/renderer/p2p/socket_dispatcher.h void OnDataReceived(int socket_id, const net::IPEndPoint& address, net 60 content/renderer/pepper/pepper_file_ref_renderer_host.cc net::EscapePath(internal_path_.substr(1))); net 186 content/renderer/pepper/pepper_url_loader_host.cc if (error.domain.equals(WebString::fromUTF8(net::kErrorDomain))) { net 190 content/renderer/pepper/pepper_url_loader_host.cc case net::ERR_ACCESS_DENIED: net 191 content/renderer/pepper/pepper_url_loader_host.cc case net::ERR_NETWORK_ACCESS_DENIED: net 223 content/renderer/pepper/pepper_websocket_host.cc if (!net::IsPortAllowedByDefault(gurl.IntPort())) net 132 content/renderer/pepper/url_request_info_util.cc net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n\r"); net 712 content/renderer/render_frame_impl.cc if (net::DataURL::Parse(params.url, &mime_type, &charset, &data)) { net 744 content/renderer/render_frame_impl.cc for (net::HttpUtil::HeadersIterator i(params.extra_headers.begin(), net 1635 content/renderer/render_frame_impl.cc (error.reason == net::ERR_CACHE_MISS && net 1655 content/renderer/render_frame_impl.cc if (error.reason == net::ERR_ABORTED) net 1659 content/renderer/render_frame_impl.cc if (error.reason == net::ERR_BLOCKED_BY_CLIENT && net 2224 content/renderer/render_frame_impl.cc for (net::HttpUtil::HeadersIterator i( net 2845 content/renderer/render_frame_impl.cc net::registry_controlled_domains::SameDomainOrHost( net 2848 content/renderer/render_frame_impl.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 198 content/renderer/render_thread_impl.cc if ((net::GetHostOrSpecFromURL(url) == host_) && net 1560 content/renderer/render_view_browsertest.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 1561 content/renderer/render_view_browsertest.cc error.reason = net::ERR_FILE_NOT_FOUND; net 1582 content/renderer/render_view_browsertest.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 1583 content/renderer/render_view_browsertest.cc error.reason = net::ERR_ABORTED; net 2031 content/renderer/render_view_browsertest.cc EXPECT_FALSE(net::IsCertStatusError(ssl_status.cert_status)); net 2035 content/renderer/render_view_browsertest.cc SerializeSecurityInfo(0, net::CERT_STATUS_ALL_ERRORS, 0, 0, net 2038 content/renderer/render_view_browsertest.cc EXPECT_TRUE(net::IsCertStatusError(ssl_status.cert_status)); net 2116 content/renderer/render_view_browsertest.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 2117 content/renderer/render_view_browsertest.cc error.reason = net::ERR_FILE_NOT_FOUND; net 2145 content/renderer/render_view_browsertest.cc error.domain = WebString::fromUTF8(net::kErrorDomain); net 2146 content/renderer/render_view_browsertest.cc error.reason = net::ERR_FILE_NOT_FOUND; net 406 content/renderer/renderer_webkitplatformsupport_impl.cc if (!net::IsSupportedMediaMimeType(mime_type_ascii)) net 419 content/renderer/renderer_webkitplatformsupport_impl.cc bool strip_suffix = !net::IsStrictMediaMimeType(mime_type_ascii); net 420 content/renderer/renderer_webkitplatformsupport_impl.cc net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, strip_suffix); net 431 content/renderer/renderer_webkitplatformsupport_impl.cc if (net::IsStrictMediaMimeType(mime_type_ascii)) { net 438 content/renderer/renderer_webkitplatformsupport_impl.cc net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, false); net 439 content/renderer/renderer_webkitplatformsupport_impl.cc if (!net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs)) net 448 content/renderer/renderer_webkitplatformsupport_impl.cc net::ParseCodecString(ToASCIIOrEmpty(codecs), &parsed_codecs, true); net 449 content/renderer/renderer_webkitplatformsupport_impl.cc if (!net::AreSupportedMediaCodecs(parsed_codecs)) net 462 content/renderer/renderer_webkitplatformsupport_impl.cc net::ParseCodecString(ToASCIIOrEmpty(codecs), &parsed_codec_ids, false); net 486 content/renderer/renderer_webkitplatformsupport_impl.cc bool strip_suffix = !net::IsStrictMediaMimeType(mime_type_ascii); net 487 content/renderer/renderer_webkitplatformsupport_impl.cc net::ParseCodecString(base::UTF16ToASCII(codecs), &codec_vector, net 1041 content/renderer/renderer_webkitplatformsupport_impl.cc return net::IDNToUnicode(host.utf8(), languages.utf8()); net 36 content/renderer/savable_resources_browsertest.cc GURL file_url = net::FilePathToFileURL(page_file_path); net 112 content/renderer/savable_resources_browsertest.cc net::FilePathToFileURL(expected_frame_url)); net 134 content/renderer/savable_resources_browsertest.cc net::FilePathToFileURL(expected_frame_url)); net 16 content/renderer/webpublicsuffixlist_impl.cc size_t result = net::registry_controlled_domains::GetRegistryLength( net 18 content/renderer/webpublicsuffixlist_impl.cc net::registry_controlled_domains::INCLUDE_UNKNOWN_REGISTRIES, net 19 content/renderer/webpublicsuffixlist_impl.cc net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); net 9 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java import android.net.Uri; net 174 content/shell/app/shell_main_delegate.cc net::RemoveProprietaryMediaTypesAndCodecsForTests(); net 38 content/shell/browser/shell_browser_context.cc virtual net::HostResolver* GetHostResolver() OVERRIDE { net 42 content/shell/browser/shell_browser_context.cc virtual net::URLRequestContext* GetRequestContext() OVERRIDE { net 64 content/shell/browser/shell_browser_context.cc net::NetLog* net_log) net 137 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* ShellBrowserContext::GetRequestContext() { net 141 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* ShellBrowserContext::CreateRequestContext( net 157 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* net 163 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* net 168 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* net 174 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* net 219 content/shell/browser/shell_browser_context.cc net::URLRequestContextGetter* net 16 content/shell/browser/shell_browser_context.h namespace net { net 29 content/shell/browser/shell_browser_context.h ShellBrowserContext(bool off_the_record, net::NetLog* net_log); net 36 content/shell/browser/shell_browser_context.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 37 content/shell/browser/shell_browser_context.h virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( net 39 content/shell/browser/shell_browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; net 40 content/shell/browser/shell_browser_context.h virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( net 42 content/shell/browser/shell_browser_context.h virtual net::URLRequestContextGetter* net 72 content/shell/browser/shell_browser_context.h net::URLRequestContextGetter* CreateRequestContext( net 75 content/shell/browser/shell_browser_context.h net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 89 content/shell/browser/shell_browser_context.h net::NetLog* net_log_; net 81 content/shell/browser/shell_browser_main.cc test_url = net::FilePathToFileURL(base::MakeAbsoluteFilePath(local_file)); net 87 content/shell/browser/shell_browser_main.cc if (net::FileURLToFilePath(test_url, &local_path)) net 75 content/shell/browser/shell_browser_main_parts.cc return net::FilePathToFileURL(base::FilePath(args[0])); net 116 content/shell/browser/shell_browser_main_parts.cc net::NetworkChangeNotifier::SetFactory( net 117 content/shell/browser/shell_browser_main_parts.cc new net::NetworkChangeNotifierFactoryAndroid()); net 140 content/shell/browser/shell_browser_main_parts.cc net::NetModule::SetResourceProvider(PlatformResourceProvider); net 23 content/shell/browser/shell_browser_main_parts.h namespace net { net 55 content/shell/browser/shell_browser_main_parts.h net::NetLog* net_log() { return net_log_.get(); } net 61 content/shell/browser/shell_browser_main_parts.h scoped_ptr<net::NetLog> net_log_; net 156 content/shell/browser/shell_content_browser_client.cc net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext( net 166 content/shell/browser/shell_content_browser_client.cc net::URLRequestContextGetter* net 272 content/shell/browser/shell_content_browser_client.cc net::NetLog* ShellContentBrowserClient::GetNetLog() { net 37 content/shell/browser/shell_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 41 content/shell/browser/shell_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( net 63 content/shell/browser/shell_content_browser_client.h virtual net::NetLog* GetNetLog() OVERRIDE; net 46 content/shell/browser/shell_devtools_delegate.cc net::StreamListenSocketFactory* CreateSocketFactory() { net 54 content/shell/browser/shell_devtools_delegate.cc return new net::UnixDomainSocketWithAbstractNamespaceFactory( net 71 content/shell/browser/shell_devtools_delegate.cc return new net::TCPListenSocketFactory("127.0.0.1", port); net 208 content/shell/browser/shell_devtools_delegate.cc scoped_ptr<net::StreamListenSocket> net 210 content/shell/browser/shell_devtools_delegate.cc net::StreamListenSocket::Delegate* delegate, net 212 content/shell/browser/shell_devtools_delegate.cc return scoped_ptr<net::StreamListenSocket>(); net 32 content/shell/browser/shell_devtools_delegate.h virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( net 33 content/shell/browser/shell_devtools_delegate.h net::StreamListenSocket::Delegate* delegate, net 44 content/shell/browser/shell_devtools_frontend.cc GURL result = net::FilePathToFileURL(dev_tools_path); net 110 content/shell/browser/shell_download_manager_delegate.cc net::FilePathToFileURL(item->GetFullPath())); net 130 content/shell/browser/shell_download_manager_delegate.cc base::FilePath generated_name = net::GenerateFileName(url, net 55 content/shell/browser/shell_javascript_dialog_manager.cc base::string16 new_message_text = net::FormatUrl(origin_url, accept_lang) + net 19 content/shell/browser/shell_login_dialog.cc net::AuthChallengeInfo* auth_info, net 20 content/shell/browser/shell_login_dialog.cc net::URLRequest* request) : auth_info_(auth_info), net 97 content/shell/browser/shell_login_dialog.cc request_->SetAuth(net::AuthCredentials(username, password)); net 24 content/shell/browser/shell_login_dialog.h namespace net { net 36 content/shell/browser/shell_login_dialog.h ShellLoginDialog(net::AuthChallengeInfo* auth_info, net::URLRequest* request); net 79 content/shell/browser/shell_login_dialog.h scoped_refptr<net::AuthChallengeInfo> auth_info_; net 83 content/shell/browser/shell_login_dialog.h net::URLRequest* request_; net 28 content/shell/browser/shell_message_filter.cc net::URLRequestContextGetter* request_context_getter) net 87 content/shell/browser/shell_message_filter.cc base::Time(), net::CompletionCallback()); net 103 content/shell/browser/shell_message_filter.cc ->DeleteAllAsync(net::CookieMonster::DeleteCallback()); net 15 content/shell/browser/shell_message_filter.h namespace net { net 34 content/shell/browser/shell_message_filter.h net::URLRequestContextGetter* request_context_getter); net 59 content/shell/browser/shell_message_filter.h net::URLRequestContextGetter* request_context_getter_; net 20 content/shell/browser/shell_net_log.cc base::DictionaryValue* constants_dict = net::NetLogLogger::GetConstants(); net 60 content/shell/browser/shell_net_log.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); net 15 content/shell/browser/shell_net_log.h class ShellNetLog : public net::NetLog { net 21 content/shell/browser/shell_net_log.h scoped_ptr<net::NetLogLogger> net_log_logger_; net 28 content/shell/browser/shell_network_delegate.cc net::URLRequest* request, net 29 content/shell/browser/shell_network_delegate.cc const net::CompletionCallback& callback, net 31 content/shell/browser/shell_network_delegate.cc return net::OK; net 35 content/shell/browser/shell_network_delegate.cc net::URLRequest* request, net 36 content/shell/browser/shell_network_delegate.cc const net::CompletionCallback& callback, net 37 content/shell/browser/shell_network_delegate.cc net::HttpRequestHeaders* headers) { net 38 content/shell/browser/shell_network_delegate.cc return net::OK; net 42 content/shell/browser/shell_network_delegate.cc net::URLRequest* request, net 43 content/shell/browser/shell_network_delegate.cc const net::HttpRequestHeaders& headers) { net 47 content/shell/browser/shell_network_delegate.cc net::URLRequest* request, net 48 content/shell/browser/shell_network_delegate.cc const net::CompletionCallback& callback, net 49 content/shell/browser/shell_network_delegate.cc const net::HttpResponseHeaders* original_response_headers, net 50 content/shell/browser/shell_network_delegate.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 52 content/shell/browser/shell_network_delegate.cc return net::OK; net 55 content/shell/browser/shell_network_delegate.cc void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, net 59 content/shell/browser/shell_network_delegate.cc void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) { net 62 content/shell/browser/shell_network_delegate.cc void ShellNetworkDelegate::OnRawBytesRead(const net::URLRequest& request, net 66 content/shell/browser/shell_network_delegate.cc void ShellNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { net 69 content/shell/browser/shell_network_delegate.cc void ShellNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { net 77 content/shell/browser/shell_network_delegate.cc net::URLRequest* request, net 78 content/shell/browser/shell_network_delegate.cc const net::AuthChallengeInfo& auth_info, net 80 content/shell/browser/shell_network_delegate.cc net::AuthCredentials* credentials) { net 84 content/shell/browser/shell_network_delegate.cc bool ShellNetworkDelegate::OnCanGetCookies(const net::URLRequest& request, net 85 content/shell/browser/shell_network_delegate.cc const net::CookieList& cookie_list) { net 86 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy::Type policy_type = g_accept_all_cookies ? net 87 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy::ALLOW_ALL_COOKIES : net 88 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES; net 89 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy policy(policy_type); net 92 content/shell/browser/shell_network_delegate.cc return rv == net::OK; net 95 content/shell/browser/shell_network_delegate.cc bool ShellNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, net 97 content/shell/browser/shell_network_delegate.cc net::CookieOptions* options) { net 98 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy::Type policy_type = g_accept_all_cookies ? net 99 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy::ALLOW_ALL_COOKIES : net 100 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES; net 101 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy policy(policy_type); net 104 content/shell/browser/shell_network_delegate.cc return rv == net::OK; net 107 content/shell/browser/shell_network_delegate.cc bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, net 113 content/shell/browser/shell_network_delegate.cc const net::URLRequest& request) const { net 118 content/shell/browser/shell_network_delegate.cc net::SocketStream* socket, net 119 content/shell/browser/shell_network_delegate.cc const net::CompletionCallback& callback) { net 120 content/shell/browser/shell_network_delegate.cc return net::OK; net 14 content/shell/browser/shell_network_delegate.h class ShellNetworkDelegate : public net::NetworkDelegate { net 23 content/shell/browser/shell_network_delegate.h virtual int OnBeforeURLRequest(net::URLRequest* request, net 24 content/shell/browser/shell_network_delegate.h const net::CompletionCallback& callback, net 26 content/shell/browser/shell_network_delegate.h virtual int OnBeforeSendHeaders(net::URLRequest* request, net 27 content/shell/browser/shell_network_delegate.h const net::CompletionCallback& callback, net 28 content/shell/browser/shell_network_delegate.h net::HttpRequestHeaders* headers) OVERRIDE; net 29 content/shell/browser/shell_network_delegate.h virtual void OnSendHeaders(net::URLRequest* request, net 30 content/shell/browser/shell_network_delegate.h const net::HttpRequestHeaders& headers) OVERRIDE; net 32 content/shell/browser/shell_network_delegate.h net::URLRequest* request, net 33 content/shell/browser/shell_network_delegate.h const net::CompletionCallback& callback, net 34 content/shell/browser/shell_network_delegate.h const net::HttpResponseHeaders* original_response_headers, net 35 content/shell/browser/shell_network_delegate.h scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 37 content/shell/browser/shell_network_delegate.h virtual void OnBeforeRedirect(net::URLRequest* request, net 39 content/shell/browser/shell_network_delegate.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 40 content/shell/browser/shell_network_delegate.h virtual void OnRawBytesRead(const net::URLRequest& request, net 42 content/shell/browser/shell_network_delegate.h virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE; net 43 content/shell/browser/shell_network_delegate.h virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE; net 47 content/shell/browser/shell_network_delegate.h net::URLRequest* request, net 48 content/shell/browser/shell_network_delegate.h const net::AuthChallengeInfo& auth_info, net 50 content/shell/browser/shell_network_delegate.h net::AuthCredentials* credentials) OVERRIDE; net 51 content/shell/browser/shell_network_delegate.h virtual bool OnCanGetCookies(const net::URLRequest& request, net 52 content/shell/browser/shell_network_delegate.h const net::CookieList& cookie_list) OVERRIDE; net 53 content/shell/browser/shell_network_delegate.h virtual bool OnCanSetCookie(const net::URLRequest& request, net 55 content/shell/browser/shell_network_delegate.h net::CookieOptions* options) OVERRIDE; net 56 content/shell/browser/shell_network_delegate.h virtual bool OnCanAccessFile(const net::URLRequest& request, net 59 content/shell/browser/shell_network_delegate.h const net::URLRequest& request) const OVERRIDE; net 61 content/shell/browser/shell_network_delegate.h net::SocketStream* stream, net 62 content/shell/browser/shell_network_delegate.h const net::CompletionCallback& callback) OVERRIDE; net 21 content/shell/browser/shell_resource_dispatcher_host_delegate.cc net::AuthChallengeInfo* auth_info, net::URLRequest* request) { net 22 content/shell/browser/shell_resource_dispatcher_host_delegate.h net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; net 46 content/shell/browser/shell_url_request_context_getter.cc void InstallProtocolHandlers(net::URLRequestJobFactoryImpl* job_factory, net 68 content/shell/browser/shell_url_request_context_getter.cc net::NetLog* net_log) net 85 content/shell/browser/shell_url_request_context_getter.cc net::ProxyService::CreateSystemProxyConfigService( net 93 content/shell/browser/shell_url_request_context_getter.cc net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { net 99 content/shell/browser/shell_url_request_context_getter.cc url_request_context_.reset(new net::URLRequestContext()); net 106 content/shell/browser/shell_url_request_context_getter.cc new net::URLRequestContextStorage(url_request_context_.get())); net 109 content/shell/browser/shell_url_request_context_getter.cc storage_->set_server_bound_cert_service(new net::ServerBoundCertService( net 110 content/shell/browser/shell_url_request_context_getter.cc new net::DefaultServerBoundCertStore(NULL), net 113 content/shell/browser/shell_url_request_context_getter.cc new net::StaticHttpUserAgentSettings("en-us,en", std::string())); net 115 content/shell/browser/shell_url_request_context_getter.cc scoped_ptr<net::HostResolver> host_resolver( net 116 content/shell/browser/shell_url_request_context_getter.cc net::HostResolver::CreateDefaultResolver( net 119 content/shell/browser/shell_url_request_context_getter.cc storage_->set_cert_verifier(net::CertVerifier::CreateDefault()); net 120 content/shell/browser/shell_url_request_context_getter.cc storage_->set_transport_security_state(new net::TransportSecurityState); net 122 content/shell/browser/shell_url_request_context_getter.cc storage_->set_proxy_service(net::ProxyService::CreateDirect()); net 126 content/shell/browser/shell_url_request_context_getter.cc net::ProxyService::CreateUsingSystemProxyResolver( net 131 content/shell/browser/shell_url_request_context_getter.cc storage_->set_ssl_config_service(new net::SSLConfigServiceDefaults); net 133 content/shell/browser/shell_url_request_context_getter.cc net::HttpAuthHandlerFactory::CreateDefault(host_resolver.get())); net 135 content/shell/browser/shell_url_request_context_getter.cc scoped_ptr<net::HttpServerProperties>( net 136 content/shell/browser/shell_url_request_context_getter.cc new net::HttpServerPropertiesImpl())); net 139 content/shell/browser/shell_url_request_context_getter.cc net::HttpCache::DefaultBackend* main_backend = net 140 content/shell/browser/shell_url_request_context_getter.cc new net::HttpCache::DefaultBackend( net 141 content/shell/browser/shell_url_request_context_getter.cc net::DISK_CACHE, net 145 content/shell/browser/shell_url_request_context_getter.cc net::CACHE_BACKEND_SIMPLE, net 147 content/shell/browser/shell_url_request_context_getter.cc net::CACHE_BACKEND_DEFAULT, net 154 content/shell/browser/shell_url_request_context_getter.cc net::HttpNetworkSession::Params network_session_params; net 188 content/shell/browser/shell_url_request_context_getter.cc scoped_ptr<net::MappedHostResolver> mapped_host_resolver( net 189 content/shell/browser/shell_url_request_context_getter.cc new net::MappedHostResolver(host_resolver.Pass())); net 200 content/shell/browser/shell_url_request_context_getter.cc net::HttpCache* main_cache = new net::HttpCache( net 204 content/shell/browser/shell_url_request_context_getter.cc scoped_ptr<net::URLRequestJobFactoryImpl> job_factory( net 205 content/shell/browser/shell_url_request_context_getter.cc new net::URLRequestJobFactoryImpl()); net 210 content/shell/browser/shell_url_request_context_getter.cc kDataScheme, new net::DataProtocolHandler); net 214 content/shell/browser/shell_url_request_context_getter.cc new net::FileProtocolHandler( net 221 content/shell/browser/shell_url_request_context_getter.cc scoped_ptr<net::URLRequestJobFactory> top_job_factory = net 222 content/shell/browser/shell_url_request_context_getter.cc job_factory.PassAs<net::URLRequestJobFactory>(); net 227 content/shell/browser/shell_url_request_context_getter.cc top_job_factory.reset(new net::ProtocolInterceptJobFactory( net 243 content/shell/browser/shell_url_request_context_getter.cc net::HostResolver* ShellURLRequestContextGetter::host_resolver() { net 20 content/shell/browser/shell_url_request_context_getter.h namespace net { net 31 content/shell/browser/shell_url_request_context_getter.h class ShellURLRequestContextGetter : public net::URLRequestContextGetter { net 40 content/shell/browser/shell_url_request_context_getter.h net::NetLog* net_log); net 43 content/shell/browser/shell_url_request_context_getter.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 47 content/shell/browser/shell_url_request_context_getter.h net::HostResolver* host_resolver(); net 57 content/shell/browser/shell_url_request_context_getter.h net::NetLog* net_log_; net 59 content/shell/browser/shell_url_request_context_getter.h scoped_ptr<net::ProxyConfigService> proxy_config_service_; net 60 content/shell/browser/shell_url_request_context_getter.h scoped_ptr<net::NetworkDelegate> network_delegate_; net 61 content/shell/browser/shell_url_request_context_getter.h scoped_ptr<net::URLRequestContextStorage> storage_; net 62 content/shell/browser/shell_url_request_context_getter.h scoped_ptr<net::URLRequestContext> url_request_context_; net 34 content/shell/geolocation/shell_access_token_store.h net::URLRequestContextGetter* system_request_context_; net 303 content/shell/renderer/webkit_test_runner.cc net::FilePathToFileURL(test_config_.current_working_directory.Append( net 305 content/shell/renderer/webkit_test_runner.cc net::FileURLToFilePath(base_url.Resolve(utf8_path), &path); net 312 content/shell/renderer/webkit_test_runner.cc if (!net::FileURLToFilePath(file_url, &local_path)) net 363 content/shell/renderer/webkit_test_runner.cc if (domain == net::kErrorDomain) { net 366 content/shell/renderer/webkit_test_runner.cc case net::ERR_ABORTED: net 369 content/shell/renderer/webkit_test_runner.cc case net::ERR_UNSAFE_PORT: net 375 content/shell/renderer/webkit_test_runner.cc case net::ERR_ADDRESS_INVALID: net 376 content/shell/renderer/webkit_test_runner.cc case net::ERR_ADDRESS_UNREACHABLE: net 377 content/shell/renderer/webkit_test_runner.cc case net::ERR_NETWORK_ACCESS_DENIED: net 474 content/shell/renderer/webkit_test_runner.cc GURL base_url = net::FilePathToFileURL(test_config_.temp_path); net 45 content/test/mock_google_streaming_server.cc const net::UnescapeRule::Type kUnescapeAll = net 46 content/test/mock_google_streaming_server.cc net::UnescapeRule::NORMAL | net 47 content/test/mock_google_streaming_server.cc net::UnescapeRule::SPACES | net 48 content/test/mock_google_streaming_server.cc net::UnescapeRule::URL_SPECIAL_CHARS | net 49 content/test/mock_google_streaming_server.cc net::UnescapeRule::REPLACE_PLUS_WITH_SPACE; net 56 content/test/mock_google_streaming_server.cc std::string param_key = net::UnescapeURLComponent(param_parts[0], net 58 content/test/mock_google_streaming_server.cc std::string param_value = net::UnescapeURLComponent(param_parts[1], net 130 content/test/mock_google_streaming_server.cc net::TestURLFetcher* fetcher = GetURLFetcher(true); net 132 content/test/mock_google_streaming_server.cc net::URLRequestStatus status; net 133 content/test/mock_google_streaming_server.cc status.set_status(success ? net::URLRequestStatus::SUCCESS : net 134 content/test/mock_google_streaming_server.cc net::URLRequestStatus::FAILED); net 142 content/test/mock_google_streaming_server.cc net::TestURLFetcher* MockGoogleStreamingServer::GetURLFetcher( net 21 content/test/mock_google_streaming_server.h class MockGoogleStreamingServer : public net::TestURLFetcherDelegateForTests { net 51 content/test/mock_google_streaming_server.h net::TestURLFetcher* GetURLFetcher(bool downstream) const; net 56 content/test/mock_google_streaming_server.h net::TestURLFetcherFactory url_fetcher_factory_; net 25 content/test/net/url_request_abort_on_end_job.cc net::URLRequestJob* JobFactory( net 26 content/test/net/url_request_abort_on_end_job.cc net::URLRequest* request, net 27 content/test/net/url_request_abort_on_end_job.cc net::NetworkDelegate* network_delegate, net 35 content/test/net/url_request_abort_on_end_job.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 53 content/test/net/url_request_abort_on_end_job.cc net::HttpResponseInfo* info) const { net 66 content/test/net/url_request_abort_on_end_job.cc info->headers = new net::HttpResponseHeaders(raw_headers); net 70 content/test/net/url_request_abort_on_end_job.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) net 79 content/test/net/url_request_abort_on_end_job.cc void URLRequestAbortOnEndJob::GetResponseInfo(net::HttpResponseInfo* info) { net 84 content/test/net/url_request_abort_on_end_job.cc net::HttpResponseInfo info; net 100 content/test/net/url_request_abort_on_end_job.cc bool URLRequestAbortOnEndJob::ReadRawData(net::IOBuffer* buf, net 110 content/test/net/url_request_abort_on_end_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 111 content/test/net/url_request_abort_on_end_job.cc net::ERR_CONNECTION_ABORTED)); net 21 content/test/net/url_request_abort_on_end_job.h class URLRequestAbortOnEndJob : public net::URLRequestJob { net 25 content/test/net/url_request_abort_on_end_job.h URLRequestAbortOnEndJob(net::URLRequest* request, net 26 content/test/net/url_request_abort_on_end_job.h net::NetworkDelegate* network_delegate); net 31 content/test/net/url_request_abort_on_end_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 32 content/test/net/url_request_abort_on_end_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 41 content/test/net/url_request_abort_on_end_job.h void GetResponseInfoConst(net::HttpResponseInfo* info) const; net 23 content/test/net/url_request_failed_job.cc int GetErrorCode(net::URLRequest* request) { net 28 content/test/net/url_request_failed_job.cc CHECK_NE(net_error, net::ERR_IO_PENDING); net 32 content/test/net/url_request_failed_job.cc return net::ERR_UNEXPECTED; net 39 content/test/net/url_request_failed_job.cc CHECK_NE(net_error, net::ERR_IO_PENDING); net 45 content/test/net/url_request_failed_job.cc URLRequestFailedJob::URLRequestFailedJob(net::URLRequest* request, net 46 content/test/net/url_request_failed_job.cc net::NetworkDelegate* network_delegate, net 48 content/test/net/url_request_failed_job.cc : net::URLRequestJob(request, network_delegate), net 67 content/test/net/url_request_failed_job.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 97 content/test/net/url_request_failed_job.cc net::URLRequestJob* URLRequestFailedJob::Factory( net 98 content/test/net/url_request_failed_job.cc net::URLRequest* request, net 99 content/test/net/url_request_failed_job.cc net::NetworkDelegate* network_delegate, net 106 content/test/net/url_request_failed_job.cc NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 19 content/test/net/url_request_failed_job.h class URLRequestFailedJob : public net::URLRequestJob { net 21 content/test/net/url_request_failed_job.h URLRequestFailedJob(net::URLRequest* request, net 22 content/test/net/url_request_failed_job.h net::NetworkDelegate* network_delegate, net 48 content/test/net/url_request_failed_job.h static net::URLRequestJob* Factory(net::URLRequest* request, net 49 content/test/net/url_request_failed_job.h net::NetworkDelegate* network_delegate, net 27 content/test/net/url_request_mock_http_job.cc class ProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 40 content/test/net/url_request_mock_http_job.cc virtual net::URLRequestJob* MaybeCreateJob( net 41 content/test/net/url_request_mock_http_job.cc net::URLRequest* request, net 42 content/test/net/url_request_mock_http_job.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 48 content/test/net/url_request_mock_http_job.cc base::FilePath GetOnDiskPath(net::URLRequest* request) const { net 53 content/test/net/url_request_mock_http_job.cc GURL file_url(net::FilePathToFileURL(base_path_)); net 56 content/test/net/url_request_mock_http_job.cc net::FileURLToFilePath(GURL(url), &file_path); net 71 content/test/net/url_request_mock_http_job.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 80 content/test/net/url_request_mock_http_job.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 105 content/test/net/url_request_mock_http_job.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 107 content/test/net/url_request_mock_http_job.cc return scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 112 content/test/net/url_request_mock_http_job.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 115 content/test/net/url_request_mock_http_job.cc return scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 120 content/test/net/url_request_mock_http_job.cc net::URLRequest* request, net::NetworkDelegate* network_delegate, net 122 content/test/net/url_request_mock_http_job.cc : net::URLRequestFileJob( net 131 content/test/net/url_request_mock_http_job.cc void URLRequestMockHTTPJob::GetResponseInfo(net::HttpResponseInfo* info) { net 140 content/test/net/url_request_mock_http_job.cc return net::URLRequestJob::IsRedirectResponse(location, http_status_code); net 145 content/test/net/url_request_mock_http_job.cc net::HttpResponseInfo* info) const { net 165 content/test/net/url_request_mock_http_job.cc info->headers = new net::HttpResponseHeaders(raw_headers); net 169 content/test/net/url_request_mock_http_job.cc net::HttpResponseInfo info; net 175 content/test/net/url_request_mock_http_job.cc net::HttpResponseInfo info; net 180 content/test/net/url_request_mock_http_job.cc return net::URLRequestJob::GetResponseCode(); net 184 content/test/net/url_request_mock_http_job.cc net::HttpResponseInfo info; net 21 content/test/net/url_request_mock_http_job.h class URLRequestMockHTTPJob : public net::URLRequestFileJob { net 23 content/test/net/url_request_mock_http_job.h URLRequestMockHTTPJob(net::URLRequest* request, net 24 content/test/net/url_request_mock_http_job.h net::NetworkDelegate* network_delegate, net 30 content/test/net/url_request_mock_http_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 54 content/test/net/url_request_mock_http_job.h static scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 60 content/test/net/url_request_mock_http_job.h static scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> net 67 content/test/net/url_request_mock_http_job.h void GetResponseInfoConst(net::HttpResponseInfo* info) const; net 22 content/test/net/url_request_prepackaged_interceptor.cc class URLRequestPrepackagedJob : public net::URLRequestFileJob { net 24 content/test/net/url_request_prepackaged_interceptor.cc URLRequestPrepackagedJob(net::URLRequest* request, net 25 content/test/net/url_request_prepackaged_interceptor.cc net::NetworkDelegate* network_delegate, net 27 content/test/net/url_request_prepackaged_interceptor.cc : net::URLRequestFileJob( net 44 content/test/net/url_request_prepackaged_interceptor.cc : public net::URLRequestJobFactory::ProtocolHandler { net 51 content/test/net/url_request_prepackaged_interceptor.cc net::URLRequestFilter::GetInstance()->AddHostnameProtocolHandler( net 53 content/test/net/url_request_prepackaged_interceptor.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>(this)); net 59 content/test/net/url_request_prepackaged_interceptor.cc net::URLRequestFilter::GetInstance()->RemoveHostnameHandler(scheme, net 91 content/test/net/url_request_prepackaged_interceptor.cc virtual net::URLRequestJob* MaybeCreateJob( net 92 content/test/net/url_request_prepackaged_interceptor.cc net::URLRequest* request, net 93 content/test/net/url_request_prepackaged_interceptor.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 48 content/test/net/url_request_slow_download_job.cc net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); net 60 content/test/net/url_request_slow_download_job.cc net::URLRequestJob* URLRequestSlowDownloadJob::Factory( net 61 content/test/net/url_request_slow_download_job.cc net::URLRequest* request, net 62 content/test/net/url_request_slow_download_job.cc net::NetworkDelegate* network_delegate, net 99 content/test/net/url_request_slow_download_job.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) net 100 content/test/net/url_request_slow_download_job.cc : net::URLRequestJob(request, network_delegate), net 138 content/test/net/url_request_slow_download_job.cc net::IOBuffer* buf, int buf_size, int* bytes_written) { net 168 content/test/net/url_request_slow_download_job.cc bool URLRequestSlowDownloadJob::ReadRawData(net::IOBuffer* buf, int buf_size, net 188 content/test/net/url_request_slow_download_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); net 212 content/test/net/url_request_slow_download_job.cc SetStatus(net::URLRequestStatus()); net 216 content/test/net/url_request_slow_download_job.cc NotifyDone(net::URLRequestStatus( net 217 content/test/net/url_request_slow_download_job.cc net::URLRequestStatus::FAILED, net::ERR_CONNECTION_RESET)); net 228 content/test/net/url_request_slow_download_job.cc void URLRequestSlowDownloadJob::GetResponseInfo(net::HttpResponseInfo* info) { net 240 content/test/net/url_request_slow_download_job.cc net::HttpResponseInfo* info) const { net 265 content/test/net/url_request_slow_download_job.cc info->headers = new net::HttpResponseHeaders(raw_headers); net 269 content/test/net/url_request_slow_download_job.cc net::HttpResponseInfo info; net 21 content/test/net/url_request_slow_download_job.h class URLRequestSlowDownloadJob : public net::URLRequestJob { net 40 content/test/net/url_request_slow_download_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 41 content/test/net/url_request_slow_download_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 45 content/test/net/url_request_slow_download_job.h static net::URLRequestJob* Factory(net::URLRequest* request, net 46 content/test/net/url_request_slow_download_job.h net::NetworkDelegate* network_delegate, net 57 content/test/net/url_request_slow_download_job.h URLRequestSlowDownloadJob(net::URLRequest* request, net 58 content/test/net/url_request_slow_download_job.h net::NetworkDelegate* network_delegate); net 76 content/test/net/url_request_slow_download_job.h net::IOBuffer* buf, net 80 content/test/net/url_request_slow_download_job.h void GetResponseInfoConst(net::HttpResponseInfo* info) const; net 97 content/test/net/url_request_slow_download_job.h scoped_refptr<net::IOBuffer> buffer_; net 100 content/test/webkit_support.cc net::android::RegisterNetworkLibrary(env); net 28 content/test/webui_resource_browsertest.cc NavigateToURL(shell(), net::FilePathToFileURL(file)); net 281 content/worker/worker_webkitplatformsupport_impl.cc net::GetWellKnownMimeTypeFromExtension( net 178 device/bluetooth/bluetooth_profile_chromeos_unittest.cc scoped_refptr<net::GrowableIOBuffer> read_buffer; net 180 device/bluetooth/bluetooth_profile_chromeos_unittest.cc scoped_refptr<net::StringIOBuffer> base_buffer( net 181 device/bluetooth/bluetooth_profile_chromeos_unittest.cc new net::StringIOBuffer("test")); net 182 device/bluetooth/bluetooth_profile_chromeos_unittest.cc scoped_refptr<net::DrainableIOBuffer> write_buffer; net 186 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer = new net::GrowableIOBuffer; net 196 device/bluetooth/bluetooth_profile_chromeos_unittest.cc new net::DrainableIOBuffer(base_buffer.get(), base_buffer->size()); net 206 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer = new net::GrowableIOBuffer; net 222 device/bluetooth/bluetooth_profile_chromeos_unittest.cc new net::DrainableIOBuffer(base_buffer.get(), base_buffer->size()); net 231 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer = new net::GrowableIOBuffer; net 304 device/bluetooth/bluetooth_profile_chromeos_unittest.cc scoped_refptr<net::GrowableIOBuffer> read_buffer; net 306 device/bluetooth/bluetooth_profile_chromeos_unittest.cc scoped_refptr<net::StringIOBuffer> base_buffer( net 307 device/bluetooth/bluetooth_profile_chromeos_unittest.cc new net::StringIOBuffer("test")); net 308 device/bluetooth/bluetooth_profile_chromeos_unittest.cc scoped_refptr<net::DrainableIOBuffer> write_buffer; net 312 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer = new net::GrowableIOBuffer; net 321 device/bluetooth/bluetooth_profile_chromeos_unittest.cc new net::DrainableIOBuffer(base_buffer.get(), base_buffer->size()); net 331 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer = new net::GrowableIOBuffer; net 347 device/bluetooth/bluetooth_profile_chromeos_unittest.cc new net::DrainableIOBuffer(base_buffer.get(), base_buffer->size()); net 356 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer = new net::GrowableIOBuffer; net 12 device/bluetooth/bluetooth_socket.h namespace net { net 30 device/bluetooth/bluetooth_socket.h virtual bool Receive(net::GrowableIOBuffer* buffer) = 0; net 35 device/bluetooth/bluetooth_socket.h virtual bool Send(net::DrainableIOBuffer* buffer) = 0; net 50 device/bluetooth/bluetooth_socket_chromeos.cc bool BluetoothSocketChromeOS::Receive(net::GrowableIOBuffer *buffer) { net 128 device/bluetooth/bluetooth_socket_chromeos.cc bool BluetoothSocketChromeOS::Send(net::DrainableIOBuffer *buffer) { net 21 device/bluetooth/bluetooth_socket_chromeos.h namespace net { net 36 device/bluetooth/bluetooth_socket_chromeos.h virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; net 37 device/bluetooth/bluetooth_socket_chromeos.h virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE; net 23 device/bluetooth/bluetooth_socket_mac.h namespace net { net 46 device/bluetooth/bluetooth_socket_mac.h virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; net 47 device/bluetooth/bluetooth_socket_mac.h virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE; net 65 device/bluetooth/bluetooth_socket_mac.h scoped_refptr<net::GrowableIOBuffer> incoming_data_buffer_; net 47 device/bluetooth/bluetooth_socket_win.cc net::EnsureWinsockInit(); net 76 device/bluetooth/bluetooth_socket_win.cc bool BluetoothSocketWin::Receive(net::GrowableIOBuffer* buffer) { net 95 device/bluetooth/bluetooth_socket_win.cc bool BluetoothSocketWin::Send(net::DrainableIOBuffer* buffer) { net 15 device/bluetooth/bluetooth_socket_win.h namespace net { net 34 device/bluetooth/bluetooth_socket_win.h virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; net 35 device/bluetooth/bluetooth_socket_win.h virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE; net 371 device/bluetooth/bluetooth_task_manager_win.cc net::EnsureWinsockInit(); net 13 device/bluetooth/test/mock_bluetooth_socket.h namespace net { net 25 device/bluetooth/test/mock_bluetooth_socket.h MOCK_METHOD1(Receive, bool(net::GrowableIOBuffer*)); net 26 device/bluetooth/test/mock_bluetooth_socket.h MOCK_METHOD1(Send, bool(net::DrainableIOBuffer*)); net 21 device/hid/hid_connection.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, net 24 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer, net 27 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer, net 30 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer, net 52 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer; net 59 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer; net 35 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> CopyBufferWithReportId( net 36 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, net 38 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> new_buffer( net 39 device/hid/hid_connection_linux.cc new net::IOBufferWithSize(buffer->size() + 1)); net 108 device/hid/hid_connection_linux.cc report.buffer = new net::IOBufferWithSize(bytes_read); net 127 device/hid/hid_connection_linux.cc void HidConnectionLinux::Read(scoped_refptr<net::IOBufferWithSize> buffer, net 138 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, net 156 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, net 178 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, net 22 device/hid/hid_connection_linux.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, net 25 device/hid/hid_connection_linux.h scoped_refptr<net::IOBufferWithSize> buffer, net 28 device/hid/hid_connection_linux.h scoped_refptr<net::IOBufferWithSize> buffer, net 31 device/hid/hid_connection_linux.h scoped_refptr<net::IOBufferWithSize> buffer, net 43 device/hid/hid_connection_mac.cc void HidConnectionMac::Read(scoped_refptr<net::IOBufferWithSize> buffer, net 58 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, net 66 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, net 94 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, net 109 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer; net 110 device/hid/hid_connection_mac.cc buffer = new net::IOBufferWithSize(report_length); net 137 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer) { net 147 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, net 154 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> output_buffer; net 156 device/hid/hid_connection_mac.cc output_buffer = new net::IOBufferWithSize(buffer->size() + 1); net 160 device/hid/hid_connection_mac.cc output_buffer = new net::IOBufferWithSize(buffer->size()); net 24 device/hid/hid_connection_mac.h namespace net { net 34 device/hid/hid_connection_mac.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, net 37 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, net 40 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, net 43 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, net 58 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer); net 62 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, net 20 device/hid/hid_connection_unittest.cc using net::IOBufferWithSize; net 35 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> target_buffer, net 36 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer, net 50 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> target_buffer_; net 51 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer_; net 67 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> target_buffer, net 68 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer, net 124 device/hid/hid_connection_win.cc void HidConnectionWin::Read(scoped_refptr<net::IOBufferWithSize> buffer, net 141 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer(buffer); net 143 device/hid/hid_connection_win.cc receive_buffer = new net::IOBufferWithSize(buffer->size() + 1); net 157 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> buffer, net 168 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> output_buffer(buffer); net 169 device/hid/hid_connection_win.cc output_buffer = new net::IOBufferWithSize(buffer->size() + 1); net 186 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> buffer, net 200 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer(buffer); net 202 device/hid/hid_connection_win.cc receive_buffer = new net::IOBufferWithSize(buffer->size() + 1); net 222 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> buffer, net 238 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> output_buffer(buffer); net 239 device/hid/hid_connection_win.cc output_buffer = new net::IOBufferWithSize(buffer->size() + 1); net 29 device/hid/hid_connection_win.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, net 32 device/hid/hid_connection_win.h scoped_refptr<net::IOBufferWithSize> buffer, net 35 device/hid/hid_connection_win.h scoped_refptr<net::IOBufferWithSize> buffer, net 38 device/hid/hid_connection_win.h scoped_refptr<net::IOBufferWithSize> buffer, net 28 extensions/browser/api/dns/dns_api.cc request_handle_(new net::HostResolver::RequestHandle()), net 29 extensions/browser/api/dns/dns_api.cc addresses_(new net::AddressList) {} net 51 extensions/browser/api/dns/dns_api.cc net::HostResolver* host_resolver = net 60 extensions/browser/api/dns/dns_api.cc net::HostPortPair host_port_pair(hostname_, 0); net 62 extensions/browser/api/dns/dns_api.cc net::HostResolver::RequestInfo request_info(host_port_pair); net 65 extensions/browser/api/dns/dns_api.cc net::DEFAULT_PRIORITY, net 69 extensions/browser/api/dns/dns_api.cc net::BoundNetLog()); net 74 extensions/browser/api/dns/dns_api.cc if (resolve_result != net::ERR_IO_PENDING) net 87 extensions/browser/api/dns/dns_api.cc if (resolve_result == net::OK) { net 46 extensions/browser/api/dns/dns_api.h scoped_ptr<net::HostResolver::RequestHandle> request_handle_; net 47 extensions/browser/api/dns/dns_api.h scoped_ptr<net::AddressList> addresses_; net 16 extensions/browser/api/dns/host_resolver_wrapper.cc net::HostResolver* HostResolverWrapper::GetHostResolver( net 17 extensions/browser/api/dns/host_resolver_wrapper.cc net::HostResolver* real_resolver) { net 22 extensions/browser/api/dns/host_resolver_wrapper.cc net::HostResolver* mock_resolver) { net 30 extensions/browser/api/dns/host_resolver_wrapper.h net::HostResolver* GetHostResolver(net::HostResolver* real_resolver); net 33 extensions/browser/api/dns/host_resolver_wrapper.h void SetHostResolverForTesting(net::HostResolver* mock_resolver); net 39 extensions/browser/api/dns/host_resolver_wrapper.h net::HostResolver* resolver_; net 39 extensions/browser/api/socket/socket.cc void Socket::Write(scoped_refptr<net::IOBuffer> io_buffer, net 55 extensions/browser/api/socket/socket.cc io_buffer_write_ = new net::WrappedIOBuffer(request.io_buffer->data() + net 62 extensions/browser/api/socket/socket.cc if (result != net::ERR_IO_PENDING) net 97 extensions/browser/api/socket/socket.cc return net::ERR_FAILED; net 101 extensions/browser/api/socket/socket.cc callback.Run(net::ERR_FAILED, NULL); net 107 extensions/browser/api/socket/socket.cc net::IPEndPoint* ip_end_point) { net 109 extensions/browser/api/socket/socket.cc net::IPAddressNumber ip_number; net 110 extensions/browser/api/socket/socket.cc if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_number)) net 113 extensions/browser/api/socket/socket.cc *ip_end_point = net::IPEndPoint(ip_number, port); net 119 extensions/browser/api/socket/socket.cc net::AddressList* address_list) { net 121 extensions/browser/api/socket/socket.cc net::IPAddressNumber ip_number; net 122 extensions/browser/api/socket/socket.cc if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_number)) net 125 extensions/browser/api/socket/socket.cc *address_list = net::AddressList::CreateFromIPAddress(ip_number, port); net 129 extensions/browser/api/socket/socket.cc void Socket::IPEndPointToStringAndPort(const net::IPEndPoint& address, net 142 extensions/browser/api/socket/socket.cc Socket::WriteRequest::WriteRequest(scoped_refptr<net::IOBuffer> io_buffer, net 21 extensions/browser/api/socket/socket.h namespace net { net 30 extensions/browser/api/socket/socket.h typedef base::Callback<void(int, scoped_refptr<net::IOBuffer> io_buffer)> net 33 extensions/browser/api/socket/socket.h void(int, scoped_refptr<net::IOBuffer> io_buffer, const std::string&, int)> net 35 extensions/browser/api/socket/socket.h typedef base::Callback<void(int, net::TCPClientSocket*)> net 57 extensions/browser/api/socket/socket.h void Write(scoped_refptr<net::IOBuffer> io_buffer, net 63 extensions/browser/api/socket/socket.h virtual void SendTo(scoped_refptr<net::IOBuffer> io_buffer, net 79 extensions/browser/api/socket/socket.h virtual bool GetPeerAddress(net::IPEndPoint* address) = 0; net 80 extensions/browser/api/socket/socket.h virtual bool GetLocalAddress(net::IPEndPoint* address) = 0; net 86 extensions/browser/api/socket/socket.h net::AddressList* address_list); net 89 extensions/browser/api/socket/socket.h net::IPEndPoint* ip_end_point); net 90 extensions/browser/api/socket/socket.h static void IPEndPointToStringAndPort(const net::IPEndPoint& address, net 98 extensions/browser/api/socket/socket.h virtual int WriteImpl(net::IOBuffer* io_buffer, net 100 extensions/browser/api/socket/socket.h const net::CompletionCallback& callback) = 0; net 111 extensions/browser/api/socket/socket.h WriteRequest(scoped_refptr<net::IOBuffer> io_buffer, net 115 extensions/browser/api/socket/socket.h scoped_refptr<net::IOBuffer> io_buffer; net 121 extensions/browser/api/socket/socket.h scoped_refptr<net::IOBuffer> io_buffer_write_; net 84 extensions/browser/api/socket/socket_api.cc request_handle_(new net::HostResolver::RequestHandle), net 85 extensions/browser/api/socket/socket_api.cc addresses_(new net::AddressList) {} net 98 extensions/browser/api/socket/socket_api.cc net::HostResolver* host_resolver = net 107 extensions/browser/api/socket/socket_api.cc net::HostPortPair host_port_pair(hostname, 0); net 109 extensions/browser/api/socket/socket_api.cc net::HostResolver::RequestInfo request_info(host_port_pair); net 112 extensions/browser/api/socket/socket_api.cc net::DEFAULT_PRIORITY, net 116 extensions/browser/api/socket/socket_api.cc net::BoundNetLog()); net 118 extensions/browser/api/socket/socket_api.cc if (resolve_result != net::ERR_IO_PENDING) net 123 extensions/browser/api/socket/socket_api.cc if (resolve_result == net::OK) { net 225 extensions/browser/api/socket/socket_api.cc if (lookup_result == net::OK) { net 351 extensions/browser/api/socket/socket_api.cc net::TCPClientSocket* socket) { net 386 extensions/browser/api/socket/socket_api.cc scoped_refptr<net::IOBuffer> io_buffer) { net 412 extensions/browser/api/socket/socket_api.cc io_buffer_ = new net::WrappedIOBuffer(data->GetBuffer()); net 461 extensions/browser/api/socket/socket_api.cc scoped_refptr<net::IOBuffer> io_buffer, net 497 extensions/browser/api/socket/socket_api.cc io_buffer_ = new net::WrappedIOBuffer(data->GetBuffer()); net 526 extensions/browser/api/socket/socket_api.cc if (lookup_result == net::OK) { net 624 extensions/browser/api/socket/socket_api.cc net::IPEndPoint peerAddress; net 631 extensions/browser/api/socket/socket_api.cc net::IPEndPoint localAddress; net 651 extensions/browser/api/socket/socket_api.cc net::NetworkInterfaceList interface_list; net 653 extensions/browser/api/socket/socket_api.cc net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) { net 677 extensions/browser/api/socket/socket_api.cc const net::NetworkInterfaceList& interface_list) { net 682 extensions/browser/api/socket/socket_api.cc for (net::NetworkInterfaceList::const_iterator i = interface_list.begin(); net 688 extensions/browser/api/socket/socket_api.cc info->address = net::IPAddressToString(i->address); net 736 extensions/browser/api/socket/socket_api.cc error_ = net::ErrorToString(result); net 780 extensions/browser/api/socket/socket_api.cc error_ = net::ErrorToString(result); net 811 extensions/browser/api/socket/socket_api.cc error_ = net::ErrorToString(result); net 845 extensions/browser/api/socket/socket_api.cc error_ = net::ErrorToString(result); net 25 extensions/browser/api/socket/socket_api.h namespace net { net 132 extensions/browser/api/socket/socket_api.h scoped_ptr<net::HostResolver::RequestHandle> request_handle_; net 133 extensions/browser/api/socket/socket_api.h scoped_ptr<net::AddressList> addresses_; net 261 extensions/browser/api/socket/socket_api.h void OnAccept(int result_code, net::TCPClientSocket* socket); net 278 extensions/browser/api/socket/socket_api.h void OnCompleted(int result, scoped_refptr<net::IOBuffer> io_buffer); net 300 extensions/browser/api/socket/socket_api.h scoped_refptr<net::IOBuffer> io_buffer_; net 317 extensions/browser/api/socket/socket_api.h scoped_refptr<net::IOBuffer> io_buffer, net 346 extensions/browser/api/socket/socket_api.h scoped_refptr<net::IOBuffer> io_buffer_; net 415 extensions/browser/api/socket/socket_api.h void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list); net 45 extensions/browser/api/socket/tcp_socket.cc TCPSocket::TCPSocket(net::TCPClientSocket* tcp_client_socket, net 54 extensions/browser/api/socket/tcp_socket.cc TCPSocket::TCPSocket(net::TCPServerSocket* tcp_server_socket, net 62 extensions/browser/api/socket/tcp_socket.cc net::TCPClientSocket* tcp_client_socket, net 70 extensions/browser/api/socket/tcp_socket.cc net::TCPServerSocket* tcp_server_socket, net 83 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_CONNECTION_FAILED); net 90 extensions/browser/api/socket/tcp_socket.cc int result = net::ERR_CONNECTION_FAILED; net 95 extensions/browser/api/socket/tcp_socket.cc net::AddressList address_list; net 97 extensions/browser/api/socket/tcp_socket.cc result = net::ERR_ADDRESS_INVALID; net 102 extensions/browser/api/socket/tcp_socket.cc new net::TCPClientSocket(address_list, NULL, net::NetLog::Source())); net 109 extensions/browser/api/socket/tcp_socket.cc if (result != net::ERR_IO_PENDING) net 125 extensions/browser/api/socket/tcp_socket.cc return net::ERR_FAILED; net 132 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_FAILED, NULL); net 137 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_IO_PENDING, NULL); net 142 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_INVALID_ARGUMENT, NULL); net 147 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_SOCKET_NOT_CONNECTED, NULL); net 152 extensions/browser/api/socket/tcp_socket.cc scoped_refptr<net::IOBuffer> io_buffer = new net::IOBuffer(count); net 159 extensions/browser/api/socket/tcp_socket.cc if (result != net::ERR_IO_PENDING) net 165 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_FAILED, NULL, NULL, 0); net 168 extensions/browser/api/socket/tcp_socket.cc void TCPSocket::SendTo(scoped_refptr<net::IOBuffer> io_buffer, net 173 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_FAILED); net 194 extensions/browser/api/socket/tcp_socket.cc return net::ERR_NOT_IMPLEMENTED; net 199 extensions/browser/api/socket/tcp_socket.cc scoped_ptr<net::IPEndPoint> bind_address(new net::IPEndPoint()); net 201 extensions/browser/api/socket/tcp_socket.cc return net::ERR_INVALID_ARGUMENT; net 204 extensions/browser/api/socket/tcp_socket.cc server_socket_.reset(new net::TCPServerSocket(NULL, net::NetLog::Source())); net 214 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_FAILED, NULL); net 220 extensions/browser/api/socket/tcp_socket.cc callback.Run(net::ERR_FAILED, NULL); net 227 extensions/browser/api/socket/tcp_socket.cc if (result == net::ERR_IO_PENDING) { net 229 extensions/browser/api/socket/tcp_socket.cc } else if (result == net::OK) { net 242 extensions/browser/api/socket/tcp_socket.cc bool TCPSocket::GetPeerAddress(net::IPEndPoint* address) { net 248 extensions/browser/api/socket/tcp_socket.cc bool TCPSocket::GetLocalAddress(net::IPEndPoint* address) { net 260 extensions/browser/api/socket/tcp_socket.cc int TCPSocket::WriteImpl(net::IOBuffer* io_buffer, net 262 extensions/browser/api/socket/tcp_socket.cc const net::CompletionCallback& callback) { net 264 extensions/browser/api/socket/tcp_socket.cc return net::ERR_FAILED; net 266 extensions/browser/api/socket/tcp_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 284 extensions/browser/api/socket/tcp_socket.cc is_connected_ = result == net::OK; net 289 extensions/browser/api/socket/tcp_socket.cc void TCPSocket::OnReadComplete(scoped_refptr<net::IOBuffer> io_buffer, net 298 extensions/browser/api/socket/tcp_socket.cc if (result == net::OK && accept_socket_.get()) { net 300 extensions/browser/api/socket/tcp_socket.cc result, static_cast<net::TCPClientSocket*>(accept_socket_.release())); net 313 extensions/browser/api/socket/tcp_socket.cc ResumableTCPSocket::ResumableTCPSocket(net::TCPClientSocket* tcp_client_socket, net 17 extensions/browser/api/socket/tcp_socket.h namespace net { net 26 extensions/browser/api/socket/tcp_socket.h TCPSocket(net::TCPClientSocket* tcp_client_socket, net 40 extensions/browser/api/socket/tcp_socket.h virtual void SendTo(scoped_refptr<net::IOBuffer> io_buffer, net 55 extensions/browser/api/socket/tcp_socket.h virtual bool GetPeerAddress(net::IPEndPoint* address) OVERRIDE; net 56 extensions/browser/api/socket/tcp_socket.h virtual bool GetLocalAddress(net::IPEndPoint* address) OVERRIDE; net 60 extensions/browser/api/socket/tcp_socket.h net::TCPClientSocket* tcp_client_socket, net 64 extensions/browser/api/socket/tcp_socket.h net::TCPServerSocket* tcp_server_socket, net 68 extensions/browser/api/socket/tcp_socket.h virtual int WriteImpl(net::IOBuffer* io_buffer, net 70 extensions/browser/api/socket/tcp_socket.h const net::CompletionCallback& callback) OVERRIDE; net 75 extensions/browser/api/socket/tcp_socket.h void OnReadComplete(scoped_refptr<net::IOBuffer> io_buffer, int result); net 78 extensions/browser/api/socket/tcp_socket.h TCPSocket(net::TCPServerSocket* tcp_server_socket, net 81 extensions/browser/api/socket/tcp_socket.h scoped_ptr<net::TCPClientSocket> socket_; net 82 extensions/browser/api/socket/tcp_socket.h scoped_ptr<net::TCPServerSocket> server_socket_; net 91 extensions/browser/api/socket/tcp_socket.h scoped_ptr<net::StreamSocket> accept_socket_; net 101 extensions/browser/api/socket/tcp_socket.h explicit ResumableTCPSocket(net::TCPClientSocket* tcp_client_socket, net 30 extensions/browser/api/socket/udp_socket.cc socket_(net::DatagramSocket::DEFAULT_BIND, net 31 extensions/browser/api/socket/udp_socket.cc net::RandIntCallback(), net 33 extensions/browser/api/socket/udp_socket.cc net::NetLog::Source()) {} net 40 extensions/browser/api/socket/udp_socket.cc int result = net::ERR_CONNECTION_FAILED; net 45 extensions/browser/api/socket/udp_socket.cc net::IPEndPoint ip_end_point; net 47 extensions/browser/api/socket/udp_socket.cc result = net::ERR_ADDRESS_INVALID; net 52 extensions/browser/api/socket/udp_socket.cc is_connected_ = (result == net::OK); net 60 extensions/browser/api/socket/udp_socket.cc return net::ERR_CONNECTION_FAILED; net 62 extensions/browser/api/socket/udp_socket.cc net::IPEndPoint ip_end_point; net 64 extensions/browser/api/socket/udp_socket.cc return net::ERR_INVALID_ARGUMENT; net 82 extensions/browser/api/socket/udp_socket.cc callback.Run(net::ERR_IO_PENDING, NULL); net 88 extensions/browser/api/socket/udp_socket.cc int result = net::ERR_FAILED; net 89 extensions/browser/api/socket/udp_socket.cc scoped_refptr<net::IOBuffer> io_buffer; net 92 extensions/browser/api/socket/udp_socket.cc result = net::ERR_INVALID_ARGUMENT; net 97 extensions/browser/api/socket/udp_socket.cc result = net::ERR_SOCKET_NOT_CONNECTED; net 101 extensions/browser/api/socket/udp_socket.cc io_buffer = new net::IOBuffer(count); net 109 extensions/browser/api/socket/udp_socket.cc if (result != net::ERR_IO_PENDING) net 113 extensions/browser/api/socket/udp_socket.cc int UDPSocket::WriteImpl(net::IOBuffer* io_buffer, net 115 extensions/browser/api/socket/udp_socket.cc const net::CompletionCallback& callback) { net 117 extensions/browser/api/socket/udp_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 127 extensions/browser/api/socket/udp_socket.cc callback.Run(net::ERR_IO_PENDING, NULL, std::string(), 0); net 133 extensions/browser/api/socket/udp_socket.cc int result = net::ERR_FAILED; net 134 extensions/browser/api/socket/udp_socket.cc scoped_refptr<net::IOBuffer> io_buffer; net 138 extensions/browser/api/socket/udp_socket.cc result = net::ERR_INVALID_ARGUMENT; net 143 extensions/browser/api/socket/udp_socket.cc result = net::ERR_SOCKET_NOT_CONNECTED; net 147 extensions/browser/api/socket/udp_socket.cc io_buffer = new net::IOBuffer(count); net 158 extensions/browser/api/socket/udp_socket.cc if (result != net::ERR_IO_PENDING) net 162 extensions/browser/api/socket/udp_socket.cc void UDPSocket::SendTo(scoped_refptr<net::IOBuffer> io_buffer, net 172 extensions/browser/api/socket/udp_socket.cc callback.Run(net::ERR_IO_PENDING); net 178 extensions/browser/api/socket/udp_socket.cc int result = net::ERR_FAILED; net 180 extensions/browser/api/socket/udp_socket.cc net::IPEndPoint ip_end_point; net 182 extensions/browser/api/socket/udp_socket.cc result = net::ERR_ADDRESS_INVALID; net 187 extensions/browser/api/socket/udp_socket.cc result = net::ERR_SOCKET_NOT_CONNECTED; net 198 extensions/browser/api/socket/udp_socket.cc if (result != net::ERR_IO_PENDING) net 204 extensions/browser/api/socket/udp_socket.cc bool UDPSocket::GetPeerAddress(net::IPEndPoint* address) { net 208 extensions/browser/api/socket/udp_socket.cc bool UDPSocket::GetLocalAddress(net::IPEndPoint* address) { net 214 extensions/browser/api/socket/udp_socket.cc void UDPSocket::OnReadComplete(scoped_refptr<net::IOBuffer> io_buffer, net 221 extensions/browser/api/socket/udp_socket.cc void UDPSocket::OnRecvFromComplete(scoped_refptr<net::IOBuffer> io_buffer, net 243 extensions/browser/api/socket/udp_socket.cc net::IPAddressNumber ip; net 244 extensions/browser/api/socket/udp_socket.cc if (!net::ParseIPLiteralToNumber(address, &ip)) net 245 extensions/browser/api/socket/udp_socket.cc return net::ERR_ADDRESS_INVALID; net 247 extensions/browser/api/socket/udp_socket.cc std::string normalized_address = net::IPAddressToString(ip); net 251 extensions/browser/api/socket/udp_socket.cc return net::ERR_ADDRESS_INVALID; net 260 extensions/browser/api/socket/udp_socket.cc net::IPAddressNumber ip; net 261 extensions/browser/api/socket/udp_socket.cc if (!net::ParseIPLiteralToNumber(address, &ip)) net 262 extensions/browser/api/socket/udp_socket.cc return net::ERR_ADDRESS_INVALID; net 264 extensions/browser/api/socket/udp_socket.cc std::string normalized_address = net::IPAddressToString(ip); net 268 extensions/browser/api/socket/udp_socket.cc return net::ERR_ADDRESS_INVALID; net 29 extensions/browser/api/socket/udp_socket.h virtual void SendTo(scoped_refptr<net::IOBuffer> io_buffer, net 37 extensions/browser/api/socket/udp_socket.h virtual bool GetPeerAddress(net::IPEndPoint* address) OVERRIDE; net 38 extensions/browser/api/socket/udp_socket.h virtual bool GetLocalAddress(net::IPEndPoint* address) OVERRIDE; net 52 extensions/browser/api/socket/udp_socket.h virtual int WriteImpl(net::IOBuffer* io_buffer, net 54 extensions/browser/api/socket/udp_socket.h const net::CompletionCallback& callback) OVERRIDE; net 58 extensions/browser/api/socket/udp_socket.h typedef base::RefCountedData<net::IPEndPoint> IPEndPoint; net 60 extensions/browser/api/socket/udp_socket.h void OnReadComplete(scoped_refptr<net::IOBuffer> io_buffer, int result); net 61 extensions/browser/api/socket/udp_socket.h void OnRecvFromComplete(scoped_refptr<net::IOBuffer> io_buffer, net 66 extensions/browser/api/socket/udp_socket.h net::UDPSocket socket_; net 39 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc net::IPEndPoint localAddress; net 50 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc net::IPEndPoint peerAddress; net 208 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc int net_result = (success ? net::OK : net::ERR_FAILED); net 209 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result != net::OK) net 210 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc error_ = net::ErrorToString(net_result); net 232 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc int net_result = (success ? net::OK : net::ERR_FAILED); net 233 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result != net::OK) net 234 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc error_ = net::ErrorToString(net_result); net 277 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (lookup_result == net::OK) { net 298 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result == net::OK) { net 303 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result != net::OK) net 304 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc error_ = net::ErrorToString(net_result); net 338 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc io_buffer_ = new net::WrappedIOBuffer(params_->data.data()); net 356 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result >= net::OK) { net 357 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc SetSendResult(net::OK, net_result); net 364 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc CHECK(net_result <= net::OK) << "Network status code must be <= net::OK"; net 368 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result == net::OK) { net 372 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc if (net_result != net::OK) net 373 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc error_ = net::ErrorToString(net_result); net 189 extensions/browser/api/sockets_tcp/sockets_tcp_api.h scoped_refptr<net::IOBuffer> io_buffer_; net 115 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_refptr<net::IOBuffer> io_buffer) { net 123 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc bytes_read = net::ERR_CONNECTION_CLOSED; net 143 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc } else if (bytes_read == net::ERR_IO_PENDING) { net 75 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h scoped_refptr<net::IOBuffer> io_buffer); net 39 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc net::IPEndPoint localAddress; net 199 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc if (net_result != net::OK) net 200 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc error_ = net::ErrorToString(net_result); net 202 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc if (net_result == net::OK) { net 122 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc net::TCPClientSocket* socket) { net 80 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h net::TCPClientSocket* socket); net 67 extensions/browser/api/sockets_udp/sockets_udp_api.cc net::IPEndPoint localAddress; net 203 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result == net::OK) { net 208 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result != net::OK) net 209 extensions/browser/api/sockets_udp/sockets_udp_api.cc error_ = net::ErrorToString(net_result); net 221 extensions/browser/api/sockets_udp/sockets_udp_api.cc io_buffer_ = new net::WrappedIOBuffer(params_->data.data()); net 246 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (lookup_result == net::OK) { net 269 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result >= net::OK) { net 270 extensions/browser/api/sockets_udp/sockets_udp_api.cc SetSendResult(net::OK, net_result); net 277 extensions/browser/api/sockets_udp/sockets_udp_api.cc CHECK(net_result <= net::OK) << "Network status code must be < 0"; net 281 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result == net::OK) { net 285 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result != net::OK) net 286 extensions/browser/api/sockets_udp/sockets_udp_api.cc error_ = net::ErrorToString(net_result); net 385 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result != net::OK) net 386 extensions/browser/api/sockets_udp/sockets_udp_api.cc error_ = net::ErrorToString(net_result); net 417 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result != net::OK) net 418 extensions/browser/api/sockets_udp/sockets_udp_api.cc error_ = net::ErrorToString(net_result); net 443 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result != net::OK) net 444 extensions/browser/api/sockets_udp/sockets_udp_api.cc error_ = net::ErrorToString(net_result); net 469 extensions/browser/api/sockets_udp/sockets_udp_api.cc if (net_result != net::OK) net 470 extensions/browser/api/sockets_udp/sockets_udp_api.cc error_ = net::ErrorToString(net_result); net 134 extensions/browser/api/sockets_udp/sockets_udp_api.h scoped_refptr<net::IOBuffer> io_buffer_; net 101 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_refptr<net::IOBuffer> io_buffer, net 129 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc } else if (bytes_read == net::ERR_IO_PENDING) { net 72 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h scoped_refptr<net::IOBuffer> io_buffer, net 70 extensions/common/extension.cc return !net::IsSafePortableRelativePath(path); net 23 extensions/common/file_util.cc std::string file_path = net::UnescapeURLComponent(url_path, net 24 extensions/common/file_util.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS); net 42 extensions/common/file_util.cc std::string host = net::UnescapeURLComponent(url.host(), net 43 extensions/common/file_util.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS); net 116 extensions/common/permissions/permission_message_util.cc size_t reg_len = net::registry_controlled_domains::GetRegistryLength( net 118 extensions/common/permissions/permission_message_util.cc net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, net 119 extensions/common/permissions/permission_message_util.cc net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); net 35 google_apis/drive/auth_service.cc net::URLRequestContextGetter* url_request_context_getter, net 58 google_apis/drive/auth_service.cc net::URLRequestContextGetter* url_request_context_getter, net 126 google_apis/drive/auth_service.cc net::URLRequestContextGetter* url_request_context_getter, net 17 google_apis/drive/auth_service.h namespace net { net 38 google_apis/drive/auth_service.h net::URLRequestContextGetter* url_request_context_getter, net 68 google_apis/drive/auth_service.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 25 google_apis/drive/base_requests.cc using net::URLFetcher; net 117 google_apis/drive/base_requests.cc new net::URLFetcherFileWriter(file_task_runner, file_path)); net 129 google_apis/drive/base_requests.cc int ResponseWriter::Initialize(const net::CompletionCallback& callback) { net 134 google_apis/drive/base_requests.cc return net::OK; net 137 google_apis/drive/base_requests.cc int ResponseWriter::Write(net::IOBuffer* buffer, net 139 google_apis/drive/base_requests.cc const net::CompletionCallback& callback) { net 152 google_apis/drive/base_requests.cc if (result != net::ERR_IO_PENDING) net 153 google_apis/drive/base_requests.cc DidWrite(buffer, net::CompletionCallback(), result); net 161 google_apis/drive/base_requests.cc int ResponseWriter::Finish(const net::CompletionCallback& callback) { net 165 google_apis/drive/base_requests.cc return net::OK; net 168 google_apis/drive/base_requests.cc void ResponseWriter::DidWrite(scoped_refptr<net::IOBuffer> buffer, net 169 google_apis/drive/base_requests.cc const net::CompletionCallback& callback, net 223 google_apis/drive/base_requests.cc net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES | net 224 google_apis/drive/base_requests.cc net::LOAD_DISABLE_CACHE); net 235 google_apis/drive/base_requests.cc scoped_ptr<net::URLFetcherResponseWriter>(response_writer_)); net 342 google_apis/drive/base_requests.cc case net::ERR_NETWORK_CHANGED: net 585 google_apis/drive/base_requests.cc net::HttpResponseHeaders* hdrs = source->GetResponseHeaders(); net 597 google_apis/drive/base_requests.cc std::vector<net::HttpByteRange> ranges; net 598 google_apis/drive/base_requests.cc if (net::HttpUtil::ParseRangeHeader(range_received, &ranges) && net 93 google_apis/drive/base_requests.h class ResponseWriter : public net::URLFetcherResponseWriter { net 108 google_apis/drive/base_requests.h virtual int Initialize(const net::CompletionCallback& callback) OVERRIDE; net 109 google_apis/drive/base_requests.h virtual int Write(net::IOBuffer* buffer, net 111 google_apis/drive/base_requests.h const net::CompletionCallback& callback) OVERRIDE; net 112 google_apis/drive/base_requests.h virtual int Finish(const net::CompletionCallback& callback) OVERRIDE; net 115 google_apis/drive/base_requests.h void DidWrite(scoped_refptr<net::IOBuffer> buffer, net 116 google_apis/drive/base_requests.h const net::CompletionCallback& callback, net 121 google_apis/drive/base_requests.h scoped_ptr<net::URLFetcherFileWriter> file_writer_; net 131 google_apis/drive/base_requests.h public net::URLFetcherDelegate { net 149 google_apis/drive/base_requests.h virtual net::URLFetcher::RequestType GetRequestType() const; net 181 google_apis/drive/base_requests.h virtual void ProcessURLFetchResults(const net::URLFetcher* source) = 0; net 205 google_apis/drive/base_requests.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 212 google_apis/drive/base_requests.h scoped_ptr<net::URLFetcher> url_fetcher_; net 243 google_apis/drive/base_requests.h virtual void ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE; net 269 google_apis/drive/base_requests.h virtual void ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE; net 321 google_apis/drive/base_requests.h virtual void ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE; net 365 google_apis/drive/base_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 366 google_apis/drive/base_requests.h virtual void ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE; net 520 google_apis/drive/base_requests.h virtual void ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE; net 524 google_apis/drive/base_requests.h virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, net 39 google_apis/drive/base_requests_server_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 61 google_apis/drive/base_requests_server_unittest.cc net::test_server::EmbeddedTestServer test_server_; net 63 google_apis/drive/base_requests_server_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 69 google_apis/drive/base_requests_server_unittest.cc net::test_server::HttpRequest http_request_; net 96 google_apis/drive/base_requests_server_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 125 google_apis/drive/base_requests_server_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 43 google_apis/drive/base_requests_unittest.cc virtual void ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE { net 76 google_apis/drive/base_requests_unittest.cc BaseRequestsTest() : response_code_(net::HTTP_OK) {} net 79 google_apis/drive/base_requests_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 92 google_apis/drive/base_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleRequest( net 93 google_apis/drive/base_requests_unittest.cc const net::test_server::HttpRequest& request) { net 94 google_apis/drive/base_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 95 google_apis/drive/base_requests_unittest.cc new net::test_server::BasicHttpResponse); net 99 google_apis/drive/base_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 103 google_apis/drive/base_requests_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 105 google_apis/drive/base_requests_unittest.cc net::test_server::EmbeddedTestServer test_server_; net 107 google_apis/drive/base_requests_unittest.cc net::HttpStatusCode response_code_; net 139 google_apis/drive/base_requests_unittest.cc response_code_ = net::HTTP_FORBIDDEN; net 142 google_apis/drive/drive_api_requests.cc url = net::AppendOrReplaceQueryParameter(url, "fields", fields_); net 180 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType FilesAuthorizeRequest::GetRequestType() const { net 181 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 203 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType FilesInsertRequest::GetRequestType() const { net 204 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 264 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType FilesPatchRequest::GetRequestType() const { net 265 google_apis/drive/drive_api_requests.cc return net::URLFetcher::PATCH; net 333 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType FilesCopyRequest::GetRequestType() const { net 334 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 427 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType FilesDeleteRequest::GetRequestType() const { net 428 google_apis/drive/drive_api_requests.cc return net::URLFetcher::DELETE_REQUEST; net 457 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType FilesTrashRequest::GetRequestType() const { net 458 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 562 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType AppsDeleteRequest::GetRequestType() const { net 563 google_apis/drive/drive_api_requests.cc return net::URLFetcher::DELETE_REQUEST; net 583 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType ChildrenInsertRequest::GetRequestType() const { net 584 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 617 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType ChildrenDeleteRequest::GetRequestType() const { net 618 google_apis/drive/drive_api_requests.cc return net::URLFetcher::DELETE_REQUEST; net 650 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType net 652 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 709 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType net 711 google_apis/drive/drive_api_requests.cc return net::URLFetcher::PUT; net 787 google_apis/drive/drive_api_requests.cc const net::URLFetcher* source, int64 current, int64 total) { net 856 google_apis/drive/drive_api_requests.cc net::URLFetcher::RequestType net 858 google_apis/drive/drive_api_requests.cc return net::URLFetcher::POST; net 115 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 168 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 238 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 292 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 394 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 424 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 573 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 607 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 646 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 690 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 747 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 794 google_apis/drive/drive_api_requests.h virtual void OnURLFetchUploadProgress(const net::URLFetcher* source, net 881 google_apis/drive/drive_api_requests.h virtual net::URLFetcher::RequestType GetRequestType() const OVERRIDE; net 68 google_apis/drive/drive_api_requests_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 115 google_apis/drive/drive_api_requests_unittest.cc net::test_server::EmbeddedTestServer test_server_; net 118 google_apis/drive/drive_api_requests_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 141 google_apis/drive/drive_api_requests_unittest.cc net::test_server::HttpRequest http_request_; net 153 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleChildrenDeleteRequest( net 154 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 155 google_apis/drive/drive_api_requests_unittest.cc if (request.method != net::test_server::METHOD_DELETE || net 159 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 165 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 166 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 167 google_apis/drive/drive_api_requests_unittest.cc http_response->set_code(net::HTTP_NO_CONTENT); net 168 google_apis/drive/drive_api_requests_unittest.cc return http_response.PassAs<net::test_server::HttpResponse>(); net 175 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleDataFileRequest( net 176 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 180 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 187 google_apis/drive/drive_api_requests_unittest.cc expected_data_file_path_).PassAs<net::test_server::HttpResponse>(); net 192 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleDeleteRequest( net 193 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 194 google_apis/drive/drive_api_requests_unittest.cc if (request.method != net::test_server::METHOD_DELETE || net 198 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 203 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 204 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 205 google_apis/drive/drive_api_requests_unittest.cc response->set_code(net::HTTP_NO_CONTENT); net 207 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 214 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandlePreconditionFailedRequest( net 215 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 218 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 223 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 224 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 225 google_apis/drive/drive_api_requests_unittest.cc response->set_code(net::HTTP_PRECONDITION_FAILED); net 234 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 242 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleInitiateUploadRequest( net 243 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 248 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 253 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 254 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 262 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 266 google_apis/drive/drive_api_requests_unittest.cc response->set_code(net::HTTP_OK); net 270 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 273 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleResumeUploadRequest( net 274 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 278 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 288 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 297 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 308 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 309 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 311 google_apis/drive/drive_api_requests_unittest.cc response->set_code(static_cast<net::HttpStatusCode>(308)); net 321 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 326 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response = net 332 google_apis/drive/drive_api_requests_unittest.cc response->set_code(net::HTTP_CREATED); net 335 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 341 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleContentResponse( net 342 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 346 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 351 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 352 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 353 google_apis/drive/drive_api_requests_unittest.cc response->set_code(net::HTTP_OK); net 356 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 360 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleDownloadRequest( net 361 google_apis/drive/drive_api_requests_unittest.cc const net::test_server::HttpRequest& request) { net 369 google_apis/drive/drive_api_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 373 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> response( net 374 google_apis/drive/drive_api_requests_unittest.cc new net::test_server::BasicHttpResponse); net 375 google_apis/drive/drive_api_requests_unittest.cc response->set_code(net::HTTP_OK); net 378 google_apis/drive/drive_api_requests_unittest.cc return response.PassAs<net::test_server::HttpResponse>(); net 412 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 460 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 520 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PATCH, http_request_.method); net 556 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 591 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 618 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 646 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 674 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 708 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 745 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 776 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 804 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 827 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_DELETE, http_request_.method); net 857 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 887 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 916 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_DELETE, http_request_.method); net 960 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 996 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1051 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 1087 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1141 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 1175 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1221 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1265 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1323 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 1374 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1404 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1461 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1491 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1549 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1595 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1630 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1697 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_PUT, http_request_.method); net 1739 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 1774 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 1807 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 1841 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_POST, http_request_.method); net 43 google_apis/drive/drive_api_url_generator.cc return net::AppendOrReplaceQueryParameter(url, "uploadType", "resumable"); net 75 google_apis/drive/drive_api_url_generator.cc kDriveV2AppsDeleteUrlFormat, net::EscapePath(app_id).c_str())); net 79 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(kDriveV2FileUrlPrefix + net::EscapePath(file_id)); net 86 google_apis/drive/drive_api_url_generator.cc net::EscapePath(file_id).c_str(), net 87 google_apis/drive/drive_api_url_generator.cc net::EscapePath(app_id).c_str())); net 98 google_apis/drive/drive_api_url_generator.cc base_url_.Resolve(kDriveV2FileUrlPrefix + net::EscapePath(file_id)); net 102 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "setModifiedDate", "true"); net 106 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "updateViewedDate", "false"); net 113 google_apis/drive/drive_api_url_generator.cc kDriveV2FileCopyUrlFormat, net::EscapePath(file_id).c_str())); net 123 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter( net 128 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "pageToken", page_token); net 131 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "q", q); net 138 google_apis/drive/drive_api_url_generator.cc kDriveV2FileDeleteUrlFormat, net::EscapePath(file_id).c_str())); net 143 google_apis/drive/drive_api_url_generator.cc kDriveV2FileTrashUrlFormat, net::EscapePath(file_id).c_str())); net 156 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "includeDeleted", "false"); net 160 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter( net 165 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "pageToken", page_token); net 168 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter( net 177 google_apis/drive/drive_api_url_generator.cc kDriveV2ChildrenUrlFormat, net::EscapePath(file_id).c_str())); net 184 google_apis/drive/drive_api_url_generator.cc net::EscapePath(folder_id).c_str(), net 185 google_apis/drive/drive_api_url_generator.cc net::EscapePath(child_id).c_str())); net 195 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "setModifiedDate", "true"); net 205 google_apis/drive/drive_api_url_generator.cc net::EscapePath(resource_id)); net 210 google_apis/drive/drive_api_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "setModifiedDate", "true"); net 217 google_apis/drive/drive_api_url_generator.cc return base_download_url_.Resolve(net::EscapePath(resource_id)); net 224 google_apis/drive/drive_api_url_generator.cc net::EscapePath(resource_id).c_str())); net 32 google_apis/drive/gdata_wapi_requests_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 52 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_ptr<net::test_server::HttpResponse> HandleResourceFeedRequest( net 53 google_apis/drive/gdata_wapi_requests_unittest.cc const net::test_server::HttpRequest& request) { net 62 google_apis/drive/gdata_wapi_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 66 google_apis/drive/gdata_wapi_requests_unittest.cc const std::string resource_id = net::UnescapeURLComponent( net 67 google_apis/drive/gdata_wapi_requests_unittest.cc remaining_path.substr(1), net::UnescapeRule::URL_SPECIAL_CHARS); net 69 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> result( net 72 google_apis/drive/gdata_wapi_requests_unittest.cc return result.PassAs<net::test_server::HttpResponse>(); net 76 google_apis/drive/gdata_wapi_requests_unittest.cc if (request.method == net::test_server::METHOD_PUT && net 78 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_ptr<net::test_server::BasicHttpResponse> result( net 81 google_apis/drive/gdata_wapi_requests_unittest.cc return result.PassAs<net::test_server::HttpResponse>(); net 85 google_apis/drive/gdata_wapi_requests_unittest.cc return scoped_ptr<net::test_server::HttpResponse>(); net 89 google_apis/drive/gdata_wapi_requests_unittest.cc net::test_server::EmbeddedTestServer test_server_; net 92 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 97 google_apis/drive/gdata_wapi_requests_unittest.cc net::test_server::HttpRequest http_request_; net 121 google_apis/drive/gdata_wapi_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 151 google_apis/drive/gdata_wapi_requests_unittest.cc EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method); net 65 google_apis/drive/gdata_wapi_url_generator.cc GURL result = net::AppendOrReplaceQueryParameter(url, "v", "3"); net 66 google_apis/drive/gdata_wapi_url_generator.cc result = net::AppendOrReplaceQueryParameter(result, "alt", "json"); net 67 google_apis/drive/gdata_wapi_url_generator.cc result = net::AppendOrReplaceQueryParameter(result, "showroot", "true"); net 73 google_apis/drive/gdata_wapi_url_generator.cc GURL result = net::AppendOrReplaceQueryParameter(url, "convert", "false"); net 82 google_apis/drive/gdata_wapi_url_generator.cc result = net::AppendOrReplaceQueryParameter(result, "showfolders", "true"); net 83 google_apis/drive/gdata_wapi_url_generator.cc result = net::AppendOrReplaceQueryParameter(result, "include-shared", "true"); net 84 google_apis/drive/gdata_wapi_url_generator.cc result = net::AppendOrReplaceQueryParameter( net 121 google_apis/drive/gdata_wapi_url_generator.cc net::EscapePath( net 130 google_apis/drive/gdata_wapi_url_generator.cc url = net::AppendOrReplaceQueryParameter( net 134 google_apis/drive/gdata_wapi_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "q", search_string); net 148 google_apis/drive/gdata_wapi_url_generator.cc kContentURLFormat, net::EscapePath(directory_resource_id).c_str())); net 150 google_apis/drive/gdata_wapi_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "title", title); net 151 google_apis/drive/gdata_wapi_url_generator.cc url = net::AppendOrReplaceQueryParameter(url, "title-exact", "true"); net 162 google_apis/drive/gdata_wapi_url_generator.cc return base_url_.Resolve(kGetEditURLPrefix + net::EscapePath(resource_id)); net 177 google_apis/drive/gdata_wapi_url_generator.cc url = net::AppendOrReplaceQueryParameter( net 192 google_apis/drive/gdata_wapi_url_generator.cc net::EscapePath(resource_id).c_str())); net 207 google_apis/drive/gdata_wapi_url_generator.cc net::EscapePath(parent_resource_id).c_str(), net 208 google_apis/drive/gdata_wapi_url_generator.cc net::EscapePath(resource_id).c_str())); net 216 google_apis/drive/gdata_wapi_url_generator.cc net::EscapePath(parent_resource_id).c_str())); net 223 google_apis/drive/gdata_wapi_url_generator.cc kInitiateUploadExistingFileURLPrefix + net::EscapePath(resource_id)); net 235 google_apis/drive/gdata_wapi_url_generator.cc result = net::AppendOrReplaceQueryParameter( net 245 google_apis/drive/gdata_wapi_url_generator.cc return base_download_url_.Resolve(net::EscapePath( net 18 google_apis/drive/request_sender.cc net::URLRequestContextGetter* url_request_context_getter, net 23 google_apis/drive/request_sender.h namespace net { net 48 google_apis/drive/request_sender.h net::URLRequestContextGetter* url_request_context_getter, net 55 google_apis/drive/request_sender.h net::URLRequestContextGetter* url_request_context_getter() const { net 94 google_apis/drive/request_sender.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 94 google_apis/drive/test_util.cc scoped_ptr<net::test_server::BasicHttpResponse> CreateHttpResponseFromFile( net 98 google_apis/drive/test_util.cc return scoped_ptr<net::test_server::BasicHttpResponse>(); net 104 google_apis/drive/test_util.cc scoped_ptr<net::test_server::BasicHttpResponse> http_response( net 105 google_apis/drive/test_util.cc new net::test_server::BasicHttpResponse); net 106 google_apis/drive/test_util.cc http_response->set_code(net::HTTP_OK); net 112 google_apis/drive/test_util.cc scoped_ptr<net::test_server::HttpResponse> HandleDownloadFileRequest( net 114 google_apis/drive/test_util.cc net::test_server::HttpRequest* out_request, net 115 google_apis/drive/test_util.cc const net::test_server::HttpRequest& request) { net 121 google_apis/drive/test_util.cc return scoped_ptr<net::test_server::HttpResponse>(); net 123 google_apis/drive/test_util.cc GetTestFilePath(remaining_path)).PassAs<net::test_server::HttpResponse>(); net 29 google_apis/drive/test_util.h namespace net { net 84 google_apis/drive/test_util.h scoped_ptr<net::test_server::BasicHttpResponse> CreateHttpResponseFromFile( net 91 google_apis/drive/test_util.h scoped_ptr<net::test_server::HttpResponse> HandleDownloadFileRequest( net 93 google_apis/drive/test_util.h net::test_server::HttpRequest* out_request, net 94 google_apis/drive/test_util.h const net::test_server::HttpRequest& request); net 40 google_apis/gaia/fake_gaia.cc using namespace net::test_server; net 216 google_apis/gaia/fake_gaia.cc return net::GetValueForKeyInQuery(query_url, key, value); net 221 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_UNAUTHORIZED); net 224 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 252 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_OK); net 258 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_UNAUTHORIZED); net 260 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 296 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_OK); net 305 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_OK); net 334 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_OK); net 341 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_UNAUTHORIZED); net 343 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_FORBIDDEN); net 366 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_OK); net 385 google_apis/gaia/fake_gaia.cc url = net::AppendQueryParameter(url, "SAMLRequest", "fake_request"); net 386 google_apis/gaia/fake_gaia.cc url = net::AppendQueryParameter(url, "RelayState", continue_url); net 395 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_TEMPORARY_REDIRECT); net 410 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_TEMPORARY_REDIRECT); net 425 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 433 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 439 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 469 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 501 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 522 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_BAD_REQUEST); net 530 google_apis/gaia/fake_gaia.cc http_response->set_code(net::HTTP_OK); net 21 google_apis/gaia/fake_gaia.h namespace net { net 92 google_apis/gaia/fake_gaia.h scoped_ptr<net::test_server::HttpResponse> HandleRequest( net 93 google_apis/gaia/fake_gaia.h const net::test_server::HttpRequest& request); net 115 google_apis/gaia/fake_gaia.h const net::test_server::HttpRequest& request, net 116 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 124 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 127 google_apis/gaia/fake_gaia.h const net::test_server::HttpRequest& request, net 128 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response)> net 134 google_apis/gaia/fake_gaia.h const net::test_server::HttpRequest& request, net 135 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 136 google_apis/gaia/fake_gaia.h void HandleServiceLogin(const net::test_server::HttpRequest& request, net 137 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 138 google_apis/gaia/fake_gaia.h void HandleOAuthLogin(const net::test_server::HttpRequest& request, net 139 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 141 google_apis/gaia/fake_gaia.h const net::test_server::HttpRequest& request, net 142 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 143 google_apis/gaia/fake_gaia.h void HandleSSO(const net::test_server::HttpRequest& request, net 144 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 145 google_apis/gaia/fake_gaia.h void HandleAuthToken(const net::test_server::HttpRequest& request, net 146 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 147 google_apis/gaia/fake_gaia.h void HandleTokenInfo(const net::test_server::HttpRequest& request, net 148 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 149 google_apis/gaia/fake_gaia.h void HandleIssueToken(const net::test_server::HttpRequest& request, net 150 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 151 google_apis/gaia/fake_gaia.h void HandleListAccounts(const net::test_server::HttpRequest& request, net 152 google_apis/gaia/fake_gaia.h net::test_server::BasicHttpResponse* http_response); net 15 google_apis/gaia/fake_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 28 google_apis/gaia/fake_oauth2_token_service.cc net::URLRequestContextGetter* FakeOAuth2TokenService::GetRequestContext() { net 43 google_apis/gaia/fake_oauth2_token_service.cc net::URLRequestContextGetter* getter, net 14 google_apis/gaia/fake_oauth2_token_service.h namespace net { net 26 google_apis/gaia/fake_oauth2_token_service.h void set_request_context(net::URLRequestContextGetter* request_context) { net 34 google_apis/gaia/fake_oauth2_token_service.h net::URLRequestContextGetter* getter, net 49 google_apis/gaia/fake_oauth2_token_service.h virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; net 53 google_apis/gaia/fake_oauth2_token_service.h net::URLRequestContextGetter* getter, net 57 google_apis/gaia/fake_oauth2_token_service.h net::URLRequestContextGetter* request_context_; // weak net 14 google_apis/gaia/gaia_auth_consumer.h namespace net { net 30 google_apis/gaia/gaia_auth_fetcher.cc const int kLoadFlagsIgnoreCookies = net::LOAD_DO_NOT_SEND_COOKIES | net 31 google_apis/gaia/gaia_auth_fetcher.cc net::LOAD_DO_NOT_SAVE_COOKIES; net 170 google_apis/gaia/gaia_auth_fetcher.cc net::URLRequestContextGetter* getter) net 201 google_apis/gaia/gaia_auth_fetcher.cc net::URLFetcher* GaiaAuthFetcher::CreateGaiaFetcher( net 202 google_apis/gaia/gaia_auth_fetcher.cc net::URLRequestContextGetter* getter, net 207 google_apis/gaia/gaia_auth_fetcher.cc net::URLFetcherDelegate* delegate) { net 208 google_apis/gaia/gaia_auth_fetcher.cc net::URLFetcher* to_return = net::URLFetcher::Create( net 210 google_apis/gaia/gaia_auth_fetcher.cc body == "" ? net::URLFetcher::GET : net::URLFetcher::POST, net 247 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_username = net::EscapeUrlEncodedData(username, true); net 248 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_password = net::EscapeUrlEncodedData(password, true); net 249 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_login_token = net::EscapeUrlEncodedData(login_token, net 251 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_login_captcha = net::EscapeUrlEncodedData(login_captcha, net 284 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_sid = net::EscapeUrlEncodedData(sid, true); net 285 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_lsid = net::EscapeUrlEncodedData(lsid, true); net 301 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_scope = net::EscapeUrlEncodedData( net 303 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_client_id = net::EscapeUrlEncodedData( net 313 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_scope = net::EscapeUrlEncodedData( net 315 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_client_id = net::EscapeUrlEncodedData( net 317 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_client_secret = net::EscapeUrlEncodedData( net 319 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_auth_code = net::EscapeUrlEncodedData(auth_code, true); net 335 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_lsid = net::EscapeUrlEncodedData(lsid, true); net 344 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_auth_token = net::EscapeUrlEncodedData(auth_token, true); net 345 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_continue_url = net::EscapeUrlEncodedData(continue_url, net 347 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_source = net::EscapeUrlEncodedData(source, true); net 393 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_service = net::EscapeUrlEncodedData(service, true); net 394 google_apis/gaia/gaia_auth_fetcher.cc std::string encoded_source = net::EscapeUrlEncodedData(source, true); net 428 google_apis/gaia/gaia_auth_fetcher.cc const net::ResponseCookies& cookies, net 431 google_apis/gaia/gaia_auth_fetcher.cc net::ResponseCookies::const_iterator iter; net 572 google_apis/gaia/gaia_auth_fetcher.cc net::LOAD_NORMAL, net 629 google_apis/gaia/gaia_auth_fetcher.cc net::LOAD_NORMAL, net 647 google_apis/gaia/gaia_auth_fetcher.cc net::LOAD_NORMAL, net 664 google_apis/gaia/gaia_auth_fetcher.cc net::LOAD_NORMAL, net 677 google_apis/gaia/gaia_auth_fetcher.cc net::LOAD_NORMAL, net 686 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status) { net 688 google_apis/gaia/gaia_auth_fetcher.cc if (status.status() == net::URLRequestStatus::CANCELED) { net 730 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 732 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 747 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 749 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 761 google_apis/gaia/gaia_auth_fetcher.cc const net::ResponseCookies& cookies, net 762 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 764 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 782 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 789 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 810 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 816 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 818 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 827 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 829 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 844 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 846 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 854 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 856 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 864 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status, net 866 google_apis/gaia/gaia_auth_fetcher.cc if (status.is_success() && response_code == net::HTTP_OK) { net 879 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::OnURLFetchComplete(const net::URLFetcher* source) { net 885 google_apis/gaia/gaia_auth_fetcher.cc const net::URLRequestStatus& status = source->GetStatus(); net 30 google_apis/gaia/gaia_auth_fetcher.h namespace net { net 36 google_apis/gaia/gaia_auth_fetcher.h class GaiaAuthFetcher : public net::URLFetcherDelegate { net 51 google_apis/gaia/gaia_auth_fetcher.h net::URLRequestContextGetter* getter); net 174 google_apis/gaia/gaia_auth_fetcher.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 187 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status); net 248 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 252 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 256 google_apis/gaia/gaia_auth_fetcher.h const net::ResponseCookies& cookies, net 257 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 261 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 265 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 269 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 273 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 277 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 281 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 285 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status, net 302 google_apis/gaia/gaia_auth_fetcher.h const net::ResponseCookies& cookies, net 351 google_apis/gaia/gaia_auth_fetcher.h static net::URLFetcher* CreateGaiaFetcher( net 352 google_apis/gaia/gaia_auth_fetcher.h net::URLRequestContextGetter* getter, net 357 google_apis/gaia/gaia_auth_fetcher.h net::URLFetcherDelegate* delegate); net 364 google_apis/gaia/gaia_auth_fetcher.h const net::URLRequestStatus& status); net 368 google_apis/gaia/gaia_auth_fetcher.h net::URLRequestContextGetter* const getter_; net 381 google_apis/gaia/gaia_auth_fetcher.h scoped_ptr<net::URLFetcher> fetcher_; net 52 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::RequestType request_type, net 53 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcherDelegate* d) net 56 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus::Status code; net 59 google_apis/gaia/gaia_auth_fetcher_unittest.cc set_response_code(net::HTTP_OK); net 60 google_apis/gaia/gaia_auth_fetcher_unittest.cc code = net::URLRequestStatus::SUCCESS; net 62 google_apis/gaia/gaia_auth_fetcher_unittest.cc set_response_code(net::HTTP_FORBIDDEN); net 63 google_apis/gaia/gaia_auth_fetcher_unittest.cc code = net::URLRequestStatus::FAILED; net 66 google_apis/gaia/gaia_auth_fetcher_unittest.cc set_status(net::URLRequestStatus(code, 0)); net 71 google_apis/gaia/gaia_auth_fetcher_unittest.cc const net::URLRequestStatus& status, net 73 google_apis/gaia/gaia_auth_fetcher_unittest.cc const net::ResponseCookies& cookies, net 75 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::RequestType request_type, net 76 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcherDelegate* d) net 145 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies_; net 156 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLRequestContextGetter* GetRequestContext() { net 158 google_apis/gaia/gaia_auth_fetcher_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 165 google_apis/gaia/gaia_auth_fetcher_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 226 google_apis/gaia/gaia_auth_fetcher_unittest.cc int error_no = net::ERR_CONNECTION_RESET; net 227 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::FAILED, error_no); net 239 google_apis/gaia/gaia_auth_fetcher_unittest.cc client_login_source_, status, 0, net::ResponseCookies(), std::string(), net 240 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 245 google_apis/gaia/gaia_auth_fetcher_unittest.cc int error_no = net::ERR_CONNECTION_RESET; net 246 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::FAILED, error_no); net 259 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 266 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 278 google_apis/gaia/gaia_auth_fetcher_unittest.cc client_login_source_, status, net::HTTP_FORBIDDEN, cookies_, data, net 279 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 323 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 325 google_apis/gaia/gaia_auth_fetcher_unittest.cc client_login_source_, status, net::HTTP_OK, cookies_, data, net 326 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 336 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 338 google_apis/gaia/gaia_auth_fetcher_unittest.cc issue_auth_token_source_, status, net::HTTP_OK, cookies_, "token", net 339 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 367 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 369 google_apis/gaia/gaia_auth_fetcher_unittest.cc client_login_source_, status, net::HTTP_FORBIDDEN, cookies_, response, net 370 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 375 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 394 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 402 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 410 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 418 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 426 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 471 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 484 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 485 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, cookies_, "SID=sid\nLSID=lsid\nAuth=auth\n", net 486 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 496 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 503 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 504 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, cookies_, "token", net 505 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 515 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 523 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 524 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_FORBIDDEN, net 527 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, net 538 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 541 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 543 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_EQ(net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES, net 546 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 551 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 552 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, net 555 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, net 561 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 562 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, cookies_, kGetTokenPairValidResponse, net 563 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, &auth); net 570 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 573 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 575 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_EQ(net::LOAD_NORMAL, fetcher->GetLoadFlags()); net 583 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 587 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 591 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 592 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_FORBIDDEN, net 595 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, net 606 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 610 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 615 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 616 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, net 619 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, net 625 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 626 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_FORBIDDEN, net 629 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, net 639 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 643 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcher* fetcher = factory.GetFetcherByID(0); net 645 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_EQ(net::LOAD_NORMAL, fetcher->GetLoadFlags()); net 648 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 652 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 653 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, net 656 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, net 670 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 673 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 674 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_FORBIDDEN, net 677 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::POST, net 688 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 696 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 697 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, cookies_, "<html></html>", net::URLFetcher::GET, net 708 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 715 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcher* test_fetcher = factory.GetFetcherByID(0); net 717 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_TRUE(test_fetcher->GetLoadFlags() == net::LOAD_NORMAL); net 723 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0)); net 724 google_apis/gaia/gaia_auth_fetcher_unittest.cc test_fetcher->set_response_code(net::HTTP_OK); net 737 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::TestURLFetcherFactory factory; net 745 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0), net 746 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::HTTP_OK, cookies_, "uberToken", net::URLFetcher::POST, net 755 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 762 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 772 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 783 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::ResponseCookies cookies; net 807 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 809 google_apis/gaia/gaia_auth_fetcher_unittest.cc oauth_login_gurl_, status, net::HTTP_OK, cookies_, data, net 810 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLFetcher::GET, &auth); net 822 google_apis/gaia/gaia_auth_fetcher_unittest.cc net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); net 824 google_apis/gaia/gaia_auth_fetcher_unittest.cc status, net::HTTP_OK, cookies_, data, net::URLFetcher::GET, &auth); net 35 google_apis/gaia/gaia_oauth_client.cc public net::URLFetcherDelegate { net 37 google_apis/gaia/gaia_oauth_client.cc Core(net::URLRequestContextGetter* request_context_getter) net 64 google_apis/gaia/gaia_oauth_client.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 87 google_apis/gaia/gaia_oauth_client.cc void HandleResponse(const net::URLFetcher* source, net 91 google_apis/gaia/gaia_oauth_client.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 93 google_apis/gaia/gaia_oauth_client.cc scoped_ptr<net::URLFetcher> request_; net 105 google_apis/gaia/gaia_oauth_client.cc "code=" + net::EscapeUrlEncodedData(auth_code, true) + net 106 google_apis/gaia/gaia_oauth_client.cc "&client_id=" + net::EscapeUrlEncodedData(oauth_client_info.client_id, net 109 google_apis/gaia/gaia_oauth_client.cc net::EscapeUrlEncodedData(oauth_client_info.client_secret, true) + net 111 google_apis/gaia/gaia_oauth_client.cc net::EscapeUrlEncodedData(oauth_client_info.redirect_uri, true) + net 126 google_apis/gaia/gaia_oauth_client.cc "refresh_token=" + net::EscapeUrlEncodedData(refresh_token, true) + net 127 google_apis/gaia/gaia_oauth_client.cc "&client_id=" + net::EscapeUrlEncodedData(oauth_client_info.client_id, net 130 google_apis/gaia/gaia_oauth_client.cc net::EscapeUrlEncodedData(oauth_client_info.client_secret, true) + net 135 google_apis/gaia/gaia_oauth_client.cc post_body += "&scope=" + net::EscapeUrlEncodedData(scopes_string, true); net 165 google_apis/gaia/gaia_oauth_client.cc request_.reset(net::URLFetcher::Create( net 167 google_apis/gaia/gaia_oauth_client.cc net::URLFetcher::GET, this)); net 171 google_apis/gaia/gaia_oauth_client.cc request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 172 google_apis/gaia/gaia_oauth_client.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 189 google_apis/gaia/gaia_oauth_client.cc "access_token=" + net::EscapeUrlEncodedData(oauth_access_token, true); net 204 google_apis/gaia/gaia_oauth_client.cc request_.reset(net::URLFetcher::Create( net 205 google_apis/gaia/gaia_oauth_client.cc kUrlFetcherId, url, net::URLFetcher::POST, this)); net 209 google_apis/gaia/gaia_oauth_client.cc request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 210 google_apis/gaia/gaia_oauth_client.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 218 google_apis/gaia/gaia_oauth_client.cc const net::URLFetcher* source) { net 236 google_apis/gaia/gaia_oauth_client.cc const net::URLFetcher* source, net 241 google_apis/gaia/gaia_oauth_client.cc scoped_ptr<net::URLFetcher> old_request = request_.Pass(); net 248 google_apis/gaia/gaia_oauth_client.cc if (response_code == net::HTTP_BAD_REQUEST || net 249 google_apis/gaia/gaia_oauth_client.cc response_code == net::HTTP_UNAUTHORIZED) { net 255 google_apis/gaia/gaia_oauth_client.cc if (source->GetResponseCode() == net::HTTP_OK) { net 332 google_apis/gaia/gaia_oauth_client.cc GaiaOAuthClient::GaiaOAuthClient(net::URLRequestContextGetter* context_getter) { net 16 google_apis/gaia/gaia_oauth_client.h namespace net { net 64 google_apis/gaia/gaia_oauth_client.h GaiaOAuthClient(net::URLRequestContextGetter* context_getter); net 32 google_apis/gaia/gaia_oauth_client_unittest.cc class MockOAuthFetcher : public net::TestURLFetcher { net 39 google_apis/gaia/gaia_oauth_client_unittest.cc net::URLFetcher::RequestType request_type, net 40 google_apis/gaia/gaia_oauth_client_unittest.cc net::URLFetcherDelegate* d) net 41 google_apis/gaia/gaia_oauth_client_unittest.cc : net::TestURLFetcher(0, url, d), net 53 google_apis/gaia/gaia_oauth_client_unittest.cc if ((GetResponseCode() != net::HTTP_OK) && (max_failure_count_ != -1) && net 55 google_apis/gaia/gaia_oauth_client_unittest.cc set_response_code(net::HTTP_OK); net 58 google_apis/gaia/gaia_oauth_client_unittest.cc net::URLRequestStatus::Status code = net::URLRequestStatus::SUCCESS; net 59 google_apis/gaia/gaia_oauth_client_unittest.cc if (GetResponseCode() != net::HTTP_OK) { net 60 google_apis/gaia/gaia_oauth_client_unittest.cc code = net::URLRequestStatus::FAILED; net 63 google_apis/gaia/gaia_oauth_client_unittest.cc set_status(net::URLRequestStatus(code, 0)); net 81 google_apis/gaia/gaia_oauth_client_unittest.cc class MockOAuthFetcherFactory : public net::URLFetcherFactory, net 82 google_apis/gaia/gaia_oauth_client_unittest.cc public net::ScopedURLFetcherFactory { net 85 google_apis/gaia/gaia_oauth_client_unittest.cc : net::ScopedURLFetcherFactory(this), net 86 google_apis/gaia/gaia_oauth_client_unittest.cc response_code_(net::HTTP_OK), net 90 google_apis/gaia/gaia_oauth_client_unittest.cc virtual net::URLFetcher* CreateURLFetcher( net 93 google_apis/gaia/gaia_oauth_client_unittest.cc net::URLFetcher::RequestType request_type, net 94 google_apis/gaia/gaia_oauth_client_unittest.cc net::URLFetcherDelegate* d) OVERRIDE { net 169 google_apis/gaia/gaia_oauth_client_unittest.cc net::TestURLRequestContextGetter* GetRequestContext() { net 171 google_apis/gaia/gaia_oauth_client_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 178 google_apis/gaia/gaia_oauth_client_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 215 google_apis/gaia/gaia_oauth_client_unittest.cc int response_code = net::HTTP_INTERNAL_SERVER_ERROR; net 230 google_apis/gaia/gaia_oauth_client_unittest.cc int response_code = net::HTTP_INTERNAL_SERVER_ERROR; net 246 google_apis/gaia/gaia_oauth_client_unittest.cc int response_code = net::HTTP_BAD_REQUEST; net 72 google_apis/gaia/google_service_auth_error.cc network_error_ = net::ERR_FAILED; net 188 google_apis/gaia/google_service_auth_error.cc value->SetString("networkError", net::ErrorToString(network_error_)); net 48 google_apis/gaia/google_service_auth_error_unittest.cc GoogleServiceAuthError::FromConnectionError(net::OK)); net 16 google_apis/gaia/merge_session_helper.cc net::URLRequestContextGetter* request_context, net 102 google_apis/gaia/merge_session_helper.cc net::URLFetcher* fetcher = net 103 google_apis/gaia/merge_session_helper.cc net::URLFetcher::Create(logout_url, net::URLFetcher::GET, this); net 151 google_apis/gaia/merge_session_helper.cc void MergeSessionHelper::OnURLFetchComplete(const net::URLFetcher* source) { net 19 google_apis/gaia/merge_session_helper.h namespace net { net 31 google_apis/gaia/merge_session_helper.h public net::URLFetcherDelegate { net 45 google_apis/gaia/merge_session_helper.h net::URLRequestContextGetter* request_context, net 96 google_apis/gaia/merge_session_helper.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 99 google_apis/gaia/merge_session_helper.h net::URLRequestContextGetter* request_context_; net 52 google_apis/gaia/merge_session_helper_unittest.cc net::URLRequestContextGetter* request_context) : net 74 google_apis/gaia/merge_session_helper_unittest.cc request_context_getter_(new net::TestURLRequestContextGetter( net 78 google_apis/gaia/merge_session_helper_unittest.cc net::URLRequestContextGetter* request_context() { net 97 google_apis/gaia/merge_session_helper_unittest.cc void SimulateLogoutSuccess(net::URLFetcherDelegate* consumer) { net 107 google_apis/gaia/merge_session_helper_unittest.cc net::TestURLFetcherFactory factory_; net 112 google_apis/gaia/merge_session_helper_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 18 google_apis/gaia/mock_url_fetcher_factory.h class MockFetcher : public net::TestURLFetcher { net 23 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcher::RequestType request_type, net 24 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcherDelegate* d); net 27 google_apis/gaia/mock_url_fetcher_factory.h const net::URLRequestStatus& status, net 29 google_apis/gaia/mock_url_fetcher_factory.h const net::ResponseCookies& cookies, net 31 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcher::RequestType request_type, net 32 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcherDelegate* d); net 43 google_apis/gaia/mock_url_fetcher_factory.h class MockURLFetcherFactory : public net::URLFetcherFactory, net 44 google_apis/gaia/mock_url_fetcher_factory.h public net::ScopedURLFetcherFactory { net 47 google_apis/gaia/mock_url_fetcher_factory.h : net::ScopedURLFetcherFactory(this), net 51 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcher* CreateURLFetcher( net 54 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcher::RequestType request_type, net 55 google_apis/gaia/mock_url_fetcher_factory.h net::URLFetcherDelegate* d) OVERRIDE { net 27 google_apis/gaia/oauth2_access_token_fetcher_impl.cc using net::ResponseCookies; net 28 google_apis/gaia/oauth2_access_token_fetcher_impl.cc using net::URLFetcher; net 29 google_apis/gaia/oauth2_access_token_fetcher_impl.cc using net::URLFetcherDelegate; net 30 google_apis/gaia/oauth2_access_token_fetcher_impl.cc using net::URLRequestContextGetter; net 31 google_apis/gaia/oauth2_access_token_fetcher_impl.cc using net::URLRequestStatus; net 98 google_apis/gaia/oauth2_access_token_fetcher_impl.cc URLFetcher* result = net::URLFetcher::Create( net 102 google_apis/gaia/oauth2_access_token_fetcher_impl.cc result->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 103 google_apis/gaia/oauth2_access_token_fetcher_impl.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 117 google_apis/gaia/oauth2_access_token_fetcher_impl.cc const net::URLFetcher* source) { net 134 google_apis/gaia/oauth2_access_token_fetcher_impl.cc net::URLRequestContextGetter* getter, net 168 google_apis/gaia/oauth2_access_token_fetcher_impl.cc const net::URLFetcher* source) { net 183 google_apis/gaia/oauth2_access_token_fetcher_impl.cc case net::HTTP_OK: net 185 google_apis/gaia/oauth2_access_token_fetcher_impl.cc case net::HTTP_FORBIDDEN: net 186 google_apis/gaia/oauth2_access_token_fetcher_impl.cc case net::HTTP_INTERNAL_SERVER_ERROR: net 192 google_apis/gaia/oauth2_access_token_fetcher_impl.cc case net::HTTP_BAD_REQUEST: { net 252 google_apis/gaia/oauth2_access_token_fetcher_impl.cc const net::URLFetcher* source) { net 269 google_apis/gaia/oauth2_access_token_fetcher_impl.cc std::string enc_client_id = net::EscapeUrlEncodedData(client_id, true); net 271 google_apis/gaia/oauth2_access_token_fetcher_impl.cc net::EscapeUrlEncodedData(client_secret, true); net 273 google_apis/gaia/oauth2_access_token_fetcher_impl.cc net::EscapeUrlEncodedData(refresh_token, true); net 286 google_apis/gaia/oauth2_access_token_fetcher_impl.cc net::EscapeUrlEncodedData(scopes_string, true).c_str()); net 292 google_apis/gaia/oauth2_access_token_fetcher_impl.cc const net::URLFetcher* source, net 306 google_apis/gaia/oauth2_access_token_fetcher_impl.cc const net::URLFetcher* source, net 24 google_apis/gaia/oauth2_access_token_fetcher_impl.h namespace net { net 49 google_apis/gaia/oauth2_access_token_fetcher_impl.h public net::URLFetcherDelegate { net 52 google_apis/gaia/oauth2_access_token_fetcher_impl.h net::URLRequestContextGetter* getter, net 64 google_apis/gaia/oauth2_access_token_fetcher_impl.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 76 google_apis/gaia/oauth2_access_token_fetcher_impl.h void EndGetAccessToken(const net::URLFetcher* source); net 91 google_apis/gaia/oauth2_access_token_fetcher_impl.h static bool ParseGetAccessTokenSuccessResponse(const net::URLFetcher* source, net 95 google_apis/gaia/oauth2_access_token_fetcher_impl.h static bool ParseGetAccessTokenFailureResponse(const net::URLFetcher* source, net 99 google_apis/gaia/oauth2_access_token_fetcher_impl.h net::URLRequestContextGetter* const getter_; net 104 google_apis/gaia/oauth2_access_token_fetcher_impl.h scoped_ptr<net::URLFetcher> fetcher_; net 27 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::ResponseCookies; net 28 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::ScopedURLFetcherFactory; net 29 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::TestURLFetcher; net 30 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::URLFetcher; net 31 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::URLFetcherDelegate; net 32 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::URLFetcherFactory; net 33 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc using net::URLRequestStatus; net 87 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc : request_context_getter_(new net::TestURLRequestContextGetter( net 119 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 135 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc SetupGetAccessToken(true, net::HTTP_FORBIDDEN, std::string()); net 143 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc SetupGetAccessToken(true, net::HTTP_OK, kValidTokenResponse); net 21 google_apis/gaia/oauth2_api_call_flow.cc using net::ResponseCookies; net 22 google_apis/gaia/oauth2_api_call_flow.cc using net::URLFetcher; net 23 google_apis/gaia/oauth2_api_call_flow.cc using net::URLFetcherDelegate; net 24 google_apis/gaia/oauth2_api_call_flow.cc using net::URLRequestContextGetter; net 25 google_apis/gaia/oauth2_api_call_flow.cc using net::URLRequestStatus; net 37 google_apis/gaia/oauth2_api_call_flow.cc net::URLRequestContextGetter* context, net 68 google_apis/gaia/oauth2_api_call_flow.cc void OAuth2ApiCallFlow::EndApiCall(const net::URLFetcher* source) { net 81 google_apis/gaia/oauth2_api_call_flow.cc if (source->GetResponseCode() == net::HTTP_UNAUTHORIZED) { net 93 google_apis/gaia/oauth2_api_call_flow.cc if (source->GetResponseCode() != net::HTTP_OK) { net 132 google_apis/gaia/oauth2_api_call_flow.cc void OAuth2ApiCallFlow::OnURLFetchComplete(const net::URLFetcher* source) { net 152 google_apis/gaia/oauth2_api_call_flow.cc URLFetcher* result = net::URLFetcher::Create( net 159 google_apis/gaia/oauth2_api_call_flow.cc result->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | net 160 google_apis/gaia/oauth2_api_call_flow.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 20 google_apis/gaia/oauth2_api_call_flow.h namespace net { net 38 google_apis/gaia/oauth2_api_call_flow.h : public net::URLFetcherDelegate, net 45 google_apis/gaia/oauth2_api_call_flow.h net::URLRequestContextGetter* context, net 61 google_apis/gaia/oauth2_api_call_flow.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 73 google_apis/gaia/oauth2_api_call_flow.h virtual void ProcessApiCallSuccess(const net::URLFetcher* source) = 0; net 75 google_apis/gaia/oauth2_api_call_flow.h virtual void ProcessApiCallFailure(const net::URLFetcher* source) = 0; net 105 google_apis/gaia/oauth2_api_call_flow.h virtual net::URLFetcher* CreateURLFetcher(); net 109 google_apis/gaia/oauth2_api_call_flow.h void EndApiCall(const net::URLFetcher* source); net 113 google_apis/gaia/oauth2_api_call_flow.h net::URLRequestContextGetter* context_; net 122 google_apis/gaia/oauth2_api_call_flow.h scoped_ptr<net::URLFetcher> url_fetcher_; net 30 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::HttpRequestHeaders; net 31 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::ScopedURLFetcherFactory; net 32 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::TestURLFetcher; net 33 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::URLFetcher; net 34 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::URLFetcherDelegate; net 35 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::URLFetcherFactory; net 36 google_apis/gaia/oauth2_api_call_flow_unittest.cc using net::URLRequestStatus; net 76 google_apis/gaia/oauth2_api_call_flow_unittest.cc net::URLRequestContextGetter* getter, net 89 google_apis/gaia/oauth2_api_call_flow_unittest.cc MockApiCallFlow(net::URLRequestContextGetter* context, net 142 google_apis/gaia/oauth2_api_call_flow_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter = net 143 google_apis/gaia/oauth2_api_call_flow_unittest.cc new net::TestURLRequestContextGetter( net 151 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* SetupApiCall(bool succeeds, net::HttpStatusCode status) { net 175 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_OK); net 187 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher1 = SetupApiCall(true, net::HTTP_UNAUTHORIZED); net 191 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher2 = SetupApiCall(true, net::HTTP_OK); net 205 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher1 = SetupApiCall(true, net::HTTP_UNAUTHORIZED); net 209 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher2 = SetupApiCall(false, net::HTTP_UNAUTHORIZED); net 223 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_UNAUTHORIZED); net 240 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_OK); net 256 google_apis/gaia/oauth2_api_call_flow_unittest.cc TestURLFetcher* url_fetcher = SetupApiCall(false, net::HTTP_BAD_GATEWAY); net 287 google_apis/gaia/oauth2_api_call_flow_unittest.cc scoped_ptr<TestURLFetcher> url_fetcher(SetupApiCall(true, net::HTTP_OK)); net 27 google_apis/gaia/oauth2_mint_token_flow.cc using net::URLFetcher; net 28 google_apis/gaia/oauth2_mint_token_flow.cc using net::URLRequestContextGetter; net 29 google_apis/gaia/oauth2_mint_token_flow.cc using net::URLRequestStatus; net 56 google_apis/gaia/oauth2_mint_token_flow.cc static GoogleServiceAuthError CreateAuthError(const net::URLFetcher* source) { net 167 google_apis/gaia/oauth2_mint_token_flow.cc net::EscapeUrlEncodedData(force_value, true).c_str(), net 168 google_apis/gaia/oauth2_mint_token_flow.cc net::EscapeUrlEncodedData(response_type_value, true).c_str(), net 169 google_apis/gaia/oauth2_mint_token_flow.cc net::EscapeUrlEncodedData( net 171 google_apis/gaia/oauth2_mint_token_flow.cc net::EscapeUrlEncodedData(parameters_.client_id, true).c_str(), net 172 google_apis/gaia/oauth2_mint_token_flow.cc net::EscapeUrlEncodedData(parameters_.extension_id, true).c_str()); net 176 google_apis/gaia/oauth2_mint_token_flow.cc const net::URLFetcher* source) { net 216 google_apis/gaia/oauth2_mint_token_flow.cc const net::URLFetcher* source) { net 28 google_apis/gaia/oauth2_mint_token_flow.h namespace net { net 104 google_apis/gaia/oauth2_mint_token_flow.h OAuth2MintTokenFlow(net::URLRequestContextGetter* context, net 115 google_apis/gaia/oauth2_mint_token_flow.h const net::URLFetcher* source) OVERRIDE; net 117 google_apis/gaia/oauth2_mint_token_flow.h const net::URLFetcher* source) OVERRIDE; net 21 google_apis/gaia/oauth2_mint_token_flow_unittest.cc using net::TestURLFetcher; net 22 google_apis/gaia/oauth2_mint_token_flow_unittest.cc using net::URLFetcher; net 23 google_apis/gaia/oauth2_mint_token_flow_unittest.cc using net::URLRequestStatus; net 115 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 151 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 167 google_apis/gaia/oauth2_token_service.cc scoped_refptr<net::URLRequestContextGetter> getter_; net 194 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 214 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 431 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 446 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 494 google_apis/gaia/oauth2_token_service.cc net::URLRequestContextGetter* getter, net 24 google_apis/gaia/oauth2_token_service.h namespace net { net 166 google_apis/gaia/oauth2_token_service.h net::URLRequestContextGetter* getter, net 269 google_apis/gaia/oauth2_token_service.h net::URLRequestContextGetter* getter, net 281 google_apis/gaia/oauth2_token_service.h net::URLRequestContextGetter* getter, net 316 google_apis/gaia/oauth2_token_service.h virtual net::URLRequestContextGetter* GetRequestContext() = 0; net 329 google_apis/gaia/oauth2_token_service.h net::URLRequestContextGetter* getter, net 46 google_apis/gaia/oauth2_token_service_unittest.cc explicit TestOAuth2TokenService(net::TestURLRequestContextGetter* getter) net 75 google_apis/gaia/oauth2_token_service_unittest.cc virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE { net 81 google_apis/gaia/oauth2_token_service_unittest.cc net::URLRequestContextGetter* getter, net 91 google_apis/gaia/oauth2_token_service_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 98 google_apis/gaia/oauth2_token_service_unittest.cc new TestOAuth2TokenService(new net::TestURLRequestContextGetter( net 110 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcherFactory factory_; net 136 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 138 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_UNAUTHORIZED); net 156 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 158 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 185 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 187 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 213 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 232 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 234 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 253 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_UNAUTHORIZED); net 271 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 273 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 291 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 309 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 314 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 327 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 329 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 356 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 358 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 371 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 373 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 402 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher1 = factory_.GetFetcherByID(0); net 415 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher2 = factory_.GetFetcherByID(0); net 416 google_apis/gaia/oauth2_token_service_unittest.cc fetcher2->set_response_code(net::HTTP_OK); net 423 google_apis/gaia/oauth2_token_service_unittest.cc fetcher1->set_response_code(net::HTTP_OK); net 456 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 458 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_UNAUTHORIZED); net 466 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_UNAUTHORIZED); net 484 google_apis/gaia/oauth2_token_service_unittest.cc net::TestURLFetcher* fetcher = factory_.GetFetcherByID(0); net 486 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 513 google_apis/gaia/oauth2_token_service_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 18 google_apis/gaia/ubertoken_fetcher.cc net::URLRequestContextGetter* request_context) net 24 google_apis/gaia/ubertoken_fetcher.h namespace net { net 43 google_apis/gaia/ubertoken_fetcher.h net::URLRequestContextGetter* request_context); net 64 google_apis/gaia/ubertoken_fetcher.h net::URLRequestContextGetter* request_context_; net 51 google_apis/gaia/ubertoken_fetcher_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 64 google_apis/gaia/ubertoken_fetcher_unittest.cc net::TestURLFetcherFactory factory_; net 66 google_apis/gaia/ubertoken_fetcher_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 23 google_apis/gcm/base/mcs_util.h namespace net { net 22 google_apis/gcm/base/socket_stream.cc SocketInputStream::SocketInputStream(net::StreamSocket* socket) net 24 google_apis/gcm/base/socket_stream.cc io_buffer_(new net::IOBuffer(kDefaultBufferSize)), net 25 google_apis/gcm/base/socket_stream.cc read_buffer_(new net::DrainableIOBuffer(io_buffer_.get(), net 28 google_apis/gcm/base/socket_stream.cc last_error_(net::OK), net 85 google_apis/gcm/base/socket_stream.cc net::Error SocketInputStream::Refresh(const base::Closure& callback, net 93 google_apis/gcm/base/socket_stream.cc CloseStream(net::ERR_UNEXPECTED, base::Closure()); net 94 google_apis/gcm/base/socket_stream.cc return net::OK; net 99 google_apis/gcm/base/socket_stream.cc CloseStream(net::ERR_CONNECTION_CLOSED, base::Closure()); net 100 google_apis/gcm/base/socket_stream.cc return net::OK; net 111 google_apis/gcm/base/socket_stream.cc if (result == net::ERR_IO_PENDING) { net 112 google_apis/gcm/base/socket_stream.cc last_error_ = net::ERR_IO_PENDING; net 113 google_apis/gcm/base/socket_stream.cc return net::ERR_IO_PENDING; net 117 google_apis/gcm/base/socket_stream.cc return net::OK; net 142 google_apis/gcm/base/socket_stream.cc net::Error SocketInputStream::last_error() const { net 147 google_apis/gcm/base/socket_stream.cc if (last_error_ < net::ERR_IO_PENDING) net 150 google_apis/gcm/base/socket_stream.cc if (last_error_ == net::ERR_IO_PENDING) net 153 google_apis/gcm/base/socket_stream.cc DCHECK_EQ(last_error_, net::OK); net 169 google_apis/gcm/base/socket_stream.cc result = net::ERR_CONNECTION_CLOSED; net 171 google_apis/gcm/base/socket_stream.cc DCHECK_NE(result, net::ERR_IO_PENDING); net 173 google_apis/gcm/base/socket_stream.cc if (result < net::OK) { net 175 google_apis/gcm/base/socket_stream.cc CloseStream(static_cast<net::Error>(result), callback); net 180 google_apis/gcm/base/socket_stream.cc last_error_ = net::OK; net 194 google_apis/gcm/base/socket_stream.cc last_error_ = net::OK; net 198 google_apis/gcm/base/socket_stream.cc void SocketInputStream::CloseStream(net::Error error, net 200 google_apis/gcm/base/socket_stream.cc DCHECK_LT(error, net::ERR_IO_PENDING); net 208 google_apis/gcm/base/socket_stream.cc SocketOutputStream::SocketOutputStream(net::StreamSocket* socket) net 210 google_apis/gcm/base/socket_stream.cc io_buffer_(new net::IOBuffer(kDefaultBufferSize)), net 211 google_apis/gcm/base/socket_stream.cc write_buffer_(new net::DrainableIOBuffer(io_buffer_.get(), net 214 google_apis/gcm/base/socket_stream.cc last_error_(net::OK), net 249 google_apis/gcm/base/socket_stream.cc net::Error SocketOutputStream::Flush(const base::Closure& callback) { net 254 google_apis/gcm/base/socket_stream.cc last_error_ = net::ERR_CONNECTION_CLOSED; net 255 google_apis/gcm/base/socket_stream.cc return net::OK; net 266 google_apis/gcm/base/socket_stream.cc if (result == net::ERR_IO_PENDING) { net 267 google_apis/gcm/base/socket_stream.cc last_error_ = net::ERR_IO_PENDING; net 268 google_apis/gcm/base/socket_stream.cc return net::ERR_IO_PENDING; net 272 google_apis/gcm/base/socket_stream.cc return net::OK; net 276 google_apis/gcm/base/socket_stream.cc if (last_error_ < net::ERR_IO_PENDING) net 279 google_apis/gcm/base/socket_stream.cc if (last_error_ == net::ERR_IO_PENDING) net 282 google_apis/gcm/base/socket_stream.cc DCHECK_EQ(last_error_, net::OK); net 289 google_apis/gcm/base/socket_stream.cc net::Error SocketOutputStream::last_error() const { net 302 google_apis/gcm/base/socket_stream.cc result = net::ERR_CONNECTION_CLOSED; net 304 google_apis/gcm/base/socket_stream.cc DCHECK_NE(result, net::ERR_IO_PENDING); net 306 google_apis/gcm/base/socket_stream.cc if (result < net::OK) { net 308 google_apis/gcm/base/socket_stream.cc last_error_ = static_cast<net::Error>(result); net 314 google_apis/gcm/base/socket_stream.cc DCHECK_GT(result, net::OK); net 315 google_apis/gcm/base/socket_stream.cc last_error_ = net::OK; net 20 google_apis/gcm/base/socket_stream.h namespace net { net 65 google_apis/gcm/base/socket_stream.h explicit SocketInputStream(net::StreamSocket* socket); net 84 google_apis/gcm/base/socket_stream.h net::Error Refresh(const base::Closure& callback, int byte_limit); net 94 google_apis/gcm/base/socket_stream.h net::Error last_error() const; net 107 google_apis/gcm/base/socket_stream.h void CloseStream(net::Error error, const base::Closure& callback); net 110 google_apis/gcm/base/socket_stream.h net::StreamSocket* const socket_; net 111 google_apis/gcm/base/socket_stream.h const scoped_refptr<net::IOBuffer> io_buffer_; net 114 google_apis/gcm/base/socket_stream.h const scoped_refptr<net::DrainableIOBuffer> read_buffer_; net 123 google_apis/gcm/base/socket_stream.h net::Error last_error_; net 161 google_apis/gcm/base/socket_stream.h explicit SocketOutputStream(net::StreamSocket* socket); net 170 google_apis/gcm/base/socket_stream.h net::Error Flush(const base::Closure& callback); net 174 google_apis/gcm/base/socket_stream.h net::Error last_error() const; net 183 google_apis/gcm/base/socket_stream.h net::StreamSocket* const socket_; net 184 google_apis/gcm/base/socket_stream.h const scoped_refptr<net::IOBuffer> io_buffer_; net 187 google_apis/gcm/base/socket_stream.h const scoped_refptr<net::DrainableIOBuffer> write_buffer_; net 196 google_apis/gcm/base/socket_stream.h net::Error last_error_; net 19 google_apis/gcm/base/socket_stream_unittest.cc typedef std::vector<net::MockRead> ReadList; net 20 google_apis/gcm/base/socket_stream_unittest.cc typedef std::vector<net::MockWrite> WriteList; net 49 google_apis/gcm/base/socket_stream_unittest.cc net::DelayedSocketData* data_provider() { return data_provider_.get(); } net 52 google_apis/gcm/base/socket_stream_unittest.cc net::StreamSocket* socket() { return socket_.get(); } net 64 google_apis/gcm/base/socket_stream_unittest.cc scoped_ptr<net::DelayedSocketData> data_provider_; net 69 google_apis/gcm/base/socket_stream_unittest.cc scoped_ptr<net::StreamSocket> socket_; net 70 google_apis/gcm/base/socket_stream_unittest.cc net::MockClientSocketFactory socket_factory_; net 71 google_apis/gcm/base/socket_stream_unittest.cc net::AddressList address_list_; net 77 google_apis/gcm/base/socket_stream_unittest.cc net::IPAddressNumber ip_number; net 78 google_apis/gcm/base/socket_stream_unittest.cc net::ParseIPLiteralToNumber("127.0.0.1", &ip_number); net 79 google_apis/gcm/base/socket_stream_unittest.cc address_list_ = net::AddressList::CreateFromIPAddress(ip_number, 5228); net 89 google_apis/gcm/base/socket_stream_unittest.cc new net::DelayedSocketData( net 155 google_apis/gcm/base/socket_stream_unittest.cc net::ERR_IO_PENDING) { net 167 google_apis/gcm/base/socket_stream_unittest.cc net::ERR_IO_PENDING) { net 177 google_apis/gcm/base/socket_stream_unittest.cc address_list_, NULL, net::NetLog::Source()); net 198 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, net 214 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::SYNCHRONOUS, net 218 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::SYNCHRONOUS, net 234 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::SYNCHRONOUS, net::ERR_IO_PENDING)); net 236 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::ASYNC, kReadData, first_read_len)); net 238 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::ASYNC, &kReadData[first_read_len], second_read_len)); net 243 google_apis/gcm/base/socket_stream_unittest.cc base::Bind(&net::DelayedSocketData::ForceNextRead, net 254 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, net 273 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, net 290 google_apis/gcm/base/socket_stream_unittest.cc int result = net::ERR_ABORTED; net 291 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, result)), net 305 google_apis/gcm/base/socket_stream_unittest.cc ASSERT_EQ(net::ERR_CONNECTION_CLOSED, input_stream()->last_error()); net 311 google_apis/gcm/base/socket_stream_unittest.cc WriteList(1, net::MockWrite(net::SYNCHRONOUS, net 322 google_apis/gcm/base/socket_stream_unittest.cc write_list.push_back(net::MockWrite(net::SYNCHRONOUS, net 325 google_apis/gcm/base/socket_stream_unittest.cc write_list.push_back(net::MockWrite(net::SYNCHRONOUS, net 338 google_apis/gcm/base/socket_stream_unittest.cc write_list.push_back(net::MockWrite(net::SYNCHRONOUS, net 341 google_apis/gcm/base/socket_stream_unittest.cc write_list.push_back(net::MockWrite(net::SYNCHRONOUS, net 352 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, net 355 google_apis/gcm/base/socket_stream_unittest.cc WriteList(1, net::MockWrite(net::SYNCHRONOUS, net 370 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, net 373 google_apis/gcm/base/socket_stream_unittest.cc WriteList(1, net::MockWrite(net::SYNCHRONOUS, net 388 google_apis/gcm/base/socket_stream_unittest.cc int result = net::ERR_ABORTED; net 390 google_apis/gcm/base/socket_stream_unittest.cc WriteList(1, net::MockWrite(net::SYNCHRONOUS, result))); net 402 google_apis/gcm/base/socket_stream_unittest.cc ASSERT_EQ(net::ERR_CONNECTION_CLOSED, output_stream()->last_error()); net 51 google_apis/gcm/engine/checkin_request.cc const net::BackoffEntry::Policy& backoff_policy, net 56 google_apis/gcm/engine/checkin_request.cc net::URLRequestContextGetter* request_context_getter) net 96 google_apis/gcm/engine/checkin_request.cc net::URLFetcher::Create(GURL(kCheckinURL), net::URLFetcher::POST, this)); net 124 google_apis/gcm/engine/checkin_request.cc void CheckinRequest::OnURLFetchComplete(const net::URLFetcher* source) { net 134 google_apis/gcm/engine/checkin_request.cc net::HttpStatusCode response_status = static_cast<net::HttpStatusCode>( net 136 google_apis/gcm/engine/checkin_request.cc if (response_status == net::HTTP_BAD_REQUEST || net 137 google_apis/gcm/engine/checkin_request.cc response_status == net::HTTP_UNAUTHORIZED) { net 142 google_apis/gcm/engine/checkin_request.cc RecordCheckinStatusToUMA(response_status == net::HTTP_BAD_REQUEST ? net 148 google_apis/gcm/engine/checkin_request.cc if (response_status != net::HTTP_OK || net 153 google_apis/gcm/engine/checkin_request.cc RecordCheckinStatusToUMA(response_status != net::HTTP_OK ? net 19 google_apis/gcm/engine/checkin_request.h namespace net { net 29 google_apis/gcm/engine/checkin_request.h class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate { net 37 google_apis/gcm/engine/checkin_request.h const net::BackoffEntry::Policy& backoff_policy, net 42 google_apis/gcm/engine/checkin_request.h net::URLRequestContextGetter* request_context_getter); net 48 google_apis/gcm/engine/checkin_request.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 55 google_apis/gcm/engine/checkin_request.h net::URLRequestContextGetter* request_context_getter_; net 58 google_apis/gcm/engine/checkin_request.h net::BackoffEntry backoff_entry_; net 59 google_apis/gcm/engine/checkin_request.h scoped_ptr<net::URLFetcher> url_fetcher_; net 19 google_apis/gcm/engine/checkin_request_unittest.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 73 google_apis/gcm/engine/checkin_request_unittest.cc net::HttpStatusCode status_code, net 86 google_apis/gcm/engine/checkin_request_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 87 google_apis/gcm/engine/checkin_request_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 98 google_apis/gcm/engine/checkin_request_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 139 google_apis/gcm/engine/checkin_request_unittest.cc net::HttpStatusCode status_code, net 141 google_apis/gcm/engine/checkin_request_unittest.cc net::TestURLFetcher* fetcher = net 149 google_apis/gcm/engine/checkin_request_unittest.cc net::TestURLFetcher* fetcher = net 171 google_apis/gcm/engine/checkin_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, response_string); net 179 google_apis/gcm/engine/checkin_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 181 google_apis/gcm/engine/checkin_request_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 209 google_apis/gcm/engine/checkin_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, std::string()); net 226 google_apis/gcm/engine/checkin_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "Corrupted response body"); net 243 google_apis/gcm/engine/checkin_request_unittest.cc SetResponseStatusAndString(net::HTTP_UNAUTHORIZED, std::string()); net 255 google_apis/gcm/engine/checkin_request_unittest.cc SetResponseStatusAndString(net::HTTP_BAD_REQUEST, std::string()); net 267 google_apis/gcm/engine/checkin_request_unittest.cc SetResponseStatusAndString(net::HTTP_INTERNAL_SERVER_ERROR, std::string()); net 45 google_apis/gcm/engine/connection_factory_impl.cc const net::BackoffEntry::Policy& backoff_policy, net 46 google_apis/gcm/engine/connection_factory_impl.cc scoped_refptr<net::HttpNetworkSession> network_session, net 47 google_apis/gcm/engine/connection_factory_impl.cc net::NetLog* net_log) net 54 google_apis/gcm/engine/connection_factory_impl.cc net::BoundNetLog::Make(net_log, net::NetLog::SOURCE_SOCKET)), net 80 google_apis/gcm/engine/connection_factory_impl.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 81 google_apis/gcm/engine/connection_factory_impl.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 204 google_apis/gcm/engine/connection_factory_impl.cc net::NetworkChangeNotifier::ConnectionType type) { net 205 google_apis/gcm/engine/connection_factory_impl.cc if (type == net::NetworkChangeNotifier::CONNECTION_NONE) net 241 google_apis/gcm/engine/connection_factory_impl.cc if (status != net::ERR_IO_PENDING) net 256 google_apis/gcm/engine/connection_factory_impl.cc scoped_ptr<net::BackoffEntry> ConnectionFactoryImpl::CreateBackoffEntry( net 257 google_apis/gcm/engine/connection_factory_impl.cc const net::BackoffEntry::Policy* const policy) { net 258 google_apis/gcm/engine/connection_factory_impl.cc return scoped_ptr<net::BackoffEntry>(new net::BackoffEntry(policy)); net 278 google_apis/gcm/engine/connection_factory_impl.cc if (result != net::OK) { net 284 google_apis/gcm/engine/connection_factory_impl.cc DCHECK_NE(result, net::OK); net 285 google_apis/gcm/engine/connection_factory_impl.cc if (result == net::ERR_IO_PENDING) net 323 google_apis/gcm/engine/connection_factory_impl.cc if (result != net::OK) { net 348 google_apis/gcm/engine/connection_factory_impl.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 349 google_apis/gcm/engine/connection_factory_impl.cc if (status == net::OK) { net 352 google_apis/gcm/engine/connection_factory_impl.cc net::ProxyServer::SCHEME_DIRECT | net 353 google_apis/gcm/engine/connection_factory_impl.cc net::ProxyServer::SCHEME_HTTP | net::ProxyServer::SCHEME_HTTPS | net 354 google_apis/gcm/engine/connection_factory_impl.cc net::ProxyServer::SCHEME_SOCKS4 | net::ProxyServer::SCHEME_SOCKS5); net 359 google_apis/gcm/engine/connection_factory_impl.cc status = net::ERR_NO_SUPPORTED_PROXIES; net 363 google_apis/gcm/engine/connection_factory_impl.cc if (status != net::OK) { net 371 google_apis/gcm/engine/connection_factory_impl.cc net::SSLConfig ssl_config; net 373 google_apis/gcm/engine/connection_factory_impl.cc status = net::InitSocketHandleForTlsConnect( net 374 google_apis/gcm/engine/connection_factory_impl.cc net::HostPortPair::FromURL(GetCurrentEndpoint()), net 379 google_apis/gcm/engine/connection_factory_impl.cc net::PRIVACY_MODE_DISABLED, net 384 google_apis/gcm/engine/connection_factory_impl.cc if (status != net::ERR_IO_PENDING) net 396 google_apis/gcm/engine/connection_factory_impl.cc DCHECK_NE(error, net::OK); net 397 google_apis/gcm/engine/connection_factory_impl.cc DCHECK_NE(error, net::ERR_IO_PENDING); net 407 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_PROXY_CONNECTION_FAILED: net 408 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_NAME_NOT_RESOLVED: net 409 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_INTERNET_DISCONNECTED: net 410 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_ADDRESS_UNREACHABLE: net 411 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_CONNECTION_CLOSED: net 412 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_CONNECTION_TIMED_OUT: net 413 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_CONNECTION_RESET: net 414 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_CONNECTION_REFUSED: net 415 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_CONNECTION_ABORTED: net 416 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_TIMED_OUT: net 417 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_TUNNEL_CONNECTION_FAILED: net 418 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_SOCKS_CONNECTION_FAILED: net 421 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_PROXY_CERTIFICATE_INVALID: net 424 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_SSL_PROTOCOL_ERROR: net 426 google_apis/gcm/engine/connection_factory_impl.cc case net::ERR_SOCKS_CONNECTION_HOST_UNREACHABLE: net 435 google_apis/gcm/engine/connection_factory_impl.cc return net::ERR_ADDRESS_UNREACHABLE; net 440 google_apis/gcm/engine/connection_factory_impl.cc net::SSLConfig ssl_config; net 453 google_apis/gcm/engine/connection_factory_impl.cc if (status == net::OK || status == net::ERR_IO_PENDING) { net 464 google_apis/gcm/engine/connection_factory_impl.cc if (status == net::OK) { net 469 google_apis/gcm/engine/connection_factory_impl.cc status = net::ERR_IO_PENDING; net 20 google_apis/gcm/engine/connection_factory_impl.h namespace net { net 31 google_apis/gcm/engine/connection_factory_impl.h public net::NetworkChangeNotifier::ConnectionTypeObserver, net 32 google_apis/gcm/engine/connection_factory_impl.h public net::NetworkChangeNotifier::IPAddressObserver { net 36 google_apis/gcm/engine/connection_factory_impl.h const net::BackoffEntry::Policy& backoff_policy, net 37 google_apis/gcm/engine/connection_factory_impl.h scoped_refptr<net::HttpNetworkSession> network_session, net 38 google_apis/gcm/engine/connection_factory_impl.h net::NetLog* net_log); net 54 google_apis/gcm/engine/connection_factory_impl.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 75 google_apis/gcm/engine/connection_factory_impl.h virtual scoped_ptr<net::BackoffEntry> CreateBackoffEntry( net 76 google_apis/gcm/engine/connection_factory_impl.h const net::BackoffEntry::Policy* const policy); net 117 google_apis/gcm/engine/connection_factory_impl.h const net::BackoffEntry::Policy backoff_policy_; net 121 google_apis/gcm/engine/connection_factory_impl.h const scoped_refptr<net::HttpNetworkSession> network_session_; net 123 google_apis/gcm/engine/connection_factory_impl.h net::BoundNetLog bound_net_log_; net 125 google_apis/gcm/engine/connection_factory_impl.h net::ProxyService::PacRequest* pac_request_; net 127 google_apis/gcm/engine/connection_factory_impl.h net::ProxyInfo proxy_info_; net 129 google_apis/gcm/engine/connection_factory_impl.h net::ClientSocketHandle socket_handle_; net 131 google_apis/gcm/engine/connection_factory_impl.h scoped_ptr<net::BackoffEntry> backoff_entry_; net 134 google_apis/gcm/engine/connection_factory_impl.h scoped_ptr<net::BackoffEntry> previous_backoff_; net 30 google_apis/gcm/engine/connection_factory_impl_unittest.cc const net::BackoffEntry::Policy kTestBackoffPolicy = { net 82 google_apis/gcm/engine/connection_factory_impl_unittest.cc class TestBackoffEntry : public net::BackoffEntry { net 116 google_apis/gcm/engine/connection_factory_impl_unittest.cc virtual scoped_ptr<net::BackoffEntry> CreateBackoffEntry( net 117 google_apis/gcm/engine/connection_factory_impl_unittest.cc const net::BackoffEntry::Policy* const policy) OVERRIDE; net 152 google_apis/gcm/engine/connection_factory_impl_unittest.cc net::BackoffEntry::Policy(), net 155 google_apis/gcm/engine/connection_factory_impl_unittest.cc connect_result_(net::ERR_UNEXPECTED), net 181 google_apis/gcm/engine/connection_factory_impl_unittest.cc connect_result_ = net::ERR_UNEXPECTED; net 188 google_apis/gcm/engine/connection_factory_impl_unittest.cc EXPECT_NE(connect_result_, net::ERR_UNEXPECTED); net 189 google_apis/gcm/engine/connection_factory_impl_unittest.cc ConnectionHandlerCallback(net::OK); net 192 google_apis/gcm/engine/connection_factory_impl_unittest.cc scoped_ptr<net::BackoffEntry> TestConnectionFactoryImpl::CreateBackoffEntry( net 193 google_apis/gcm/engine/connection_factory_impl_unittest.cc const net::BackoffEntry::Policy* const policy) { net 194 google_apis/gcm/engine/connection_factory_impl_unittest.cc return scoped_ptr<net::BackoffEntry>(new TestBackoffEntry(&tick_clock_)); net 214 google_apis/gcm/engine/connection_factory_impl_unittest.cc DCHECK_NE(connect_result, net::ERR_UNEXPECTED); net 228 google_apis/gcm/engine/connection_factory_impl_unittest.cc DCHECK_NE(connect_result, net::ERR_UNEXPECTED); net 290 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 300 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_CONNECTION_FAILED); net 309 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_CONNECTION_FAILED); net 317 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 328 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetMultipleConnectResults(net::ERR_CONNECTION_FAILED, net 340 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 348 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_CONNECTION_FAILED); net 354 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_FAILED); net 366 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_CONNECTION_FAILED); net 372 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_FAILED); net 374 google_apis/gcm/engine/connection_factory_impl_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 386 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_CONNECTION_FAILED); net 392 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 394 google_apis/gcm/engine/connection_factory_impl_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 398 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 407 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 417 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 437 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::ERR_CONNECTION_FAILED); net 444 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 457 google_apis/gcm/engine/connection_factory_impl_unittest.cc factory()->SetConnectResult(net::OK); net 11 google_apis/gcm/engine/connection_handler.h namespace net{ net 51 google_apis/gcm/engine/connection_handler.h net::StreamSocket* socket) = 0; net 55 google_apis/gcm/engine/connection_handler_impl.cc net::StreamSocket* socket) { net 99 google_apis/gcm/engine/connection_handler_impl.cc weak_ptr_factory_.GetWeakPtr())) != net::ERR_IO_PENDING) { net 120 google_apis/gcm/engine/connection_handler_impl.cc weak_ptr_factory_.GetWeakPtr())) != net::ERR_IO_PENDING) { net 146 google_apis/gcm/engine/connection_handler_impl.cc if (last_error == net::OK) net 147 google_apis/gcm/engine/connection_handler_impl.cc last_error = net::ERR_FAILED; net 180 google_apis/gcm/engine/connection_handler_impl.cc if (last_error == net::OK) net 181 google_apis/gcm/engine/connection_handler_impl.cc last_error = net::ERR_FAILED; net 223 google_apis/gcm/engine/connection_handler_impl.cc max_bytes_needed - byte_count) == net::ERR_IO_PENDING) { net 233 google_apis/gcm/engine/connection_handler_impl.cc if (last_error == net::OK) net 234 google_apis/gcm/engine/connection_handler_impl.cc last_error = net::ERR_FAILED; net 268 google_apis/gcm/engine/connection_handler_impl.cc connection_callback_.Run(net::ERR_FAILED); net 361 google_apis/gcm/engine/connection_handler_impl.cc connection_callback_.Run(net::ERR_FAILED); net 371 google_apis/gcm/engine/connection_handler_impl.cc connection_callback_.Run(net::ERR_FAILED); net 387 google_apis/gcm/engine/connection_handler_impl.cc connection_callback_.Run(net::OK); net 396 google_apis/gcm/engine/connection_handler_impl.cc connection_callback_.Run(net::ERR_TIMED_OUT); net 37 google_apis/gcm/engine/connection_handler_impl.h net::StreamSocket* socket) OVERRIDE; net 100 google_apis/gcm/engine/connection_handler_impl.h net::StreamSocket* socket_; net 25 google_apis/gcm/engine/connection_handler_impl_unittest.cc typedef std::vector<net::MockRead> ReadList; net 26 google_apis/gcm/engine/connection_handler_impl_unittest.cc typedef std::vector<net::MockWrite> WriteList; net 110 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::StreamSocket* BuildSocket(const ReadList& read_list, net 120 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::DelayedSocketData* data_provider() { return data_provider_.get(); } net 138 google_apis/gcm/engine/connection_handler_impl_unittest.cc scoped_ptr<net::DelayedSocketData> data_provider_; net 149 google_apis/gcm/engine/connection_handler_impl_unittest.cc scoped_ptr<net::StreamSocket> socket_; net 150 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::MockClientSocketFactory socket_factory_; net 151 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::AddressList address_list_; net 159 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::IPAddressNumber ip_number; net 160 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::ParseIPLiteralToNumber("127.0.0.1", &ip_number); net 161 google_apis/gcm/engine/connection_handler_impl_unittest.cc address_list_ = net::AddressList::CreateFromIPAddress(ip_number, kMCSPort); net 167 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::StreamSocket* GCMConnectionHandlerImplTest::BuildSocket( net 173 google_apis/gcm/engine/connection_handler_impl_unittest.cc new net::DelayedSocketData(0, net 179 google_apis/gcm/engine/connection_handler_impl_unittest.cc address_list_, NULL, net::NetLog::Source()); net 180 google_apis/gcm/engine/connection_handler_impl_unittest.cc socket_->Connect(net::CompletionCallback()); net 236 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 240 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::ASYNC, net 259 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 265 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::ASYNC, net 276 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::ERR_FAILED, last_error()); net 283 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 286 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::SYNCHRONOUS, net 287 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::ERR_IO_PENDING)); net 296 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::ERR_TIMED_OUT, last_error()); net 303 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 308 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 311 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net 312 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::ERR_IO_PENDING)); net 321 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::ERR_TIMED_OUT, last_error()); net 327 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 330 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::SYNCHRONOUS, net 331 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::ERR_IO_PENDING)); net 340 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::ERR_TIMED_OUT, last_error()); net 344 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list[0] = net::MockRead(net::ASYNC, net 360 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 370 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 373 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 390 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 403 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 406 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net 427 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 438 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 441 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 458 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 472 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 475 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net 497 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 508 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 511 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 514 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net 515 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::ERR_IO_PENDING)); net 516 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 530 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::ERR_TIMED_OUT, last_error()); net 540 google_apis/gcm/engine/connection_handler_impl_unittest.cc WriteList write_list(1, net::MockWrite(net::ASYNC, net 548 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 551 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 564 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::OK, last_error()); net 577 google_apis/gcm/engine/connection_handler_impl_unittest.cc write_list.push_back(net::MockWrite(net::ASYNC, net 580 google_apis/gcm/engine/connection_handler_impl_unittest.cc write_list.push_back(net::MockWrite(net::ASYNC, net 585 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 588 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net::ERR_IO_PENDING)); net 606 google_apis/gcm/engine/connection_handler_impl_unittest.cc write_list.push_back(net::MockWrite(net::ASYNC, net 611 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, net 614 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net::ERR_IO_PENDING)); net 615 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::StreamSocket* socket = BuildSocket(read_list, write_list); net 630 google_apis/gcm/engine/connection_handler_impl_unittest.cc EXPECT_EQ(net::ERR_CONNECTION_CLOSED, last_error()); net 42 google_apis/gcm/engine/fake_connection_handler.cc net::StreamSocket* socket) { net 26 google_apis/gcm/engine/fake_connection_handler.h net::StreamSocket* socket) OVERRIDE; net 96 google_apis/gcm/engine/heartbeat_manager.cc } else if (net::NetworkChangeNotifier::GetConnectionType() == net 97 google_apis/gcm/engine/heartbeat_manager.cc net::NetworkChangeNotifier::CONNECTION_WIFI || net 98 google_apis/gcm/engine/heartbeat_manager.cc net::NetworkChangeNotifier::GetConnectionType() == net 99 google_apis/gcm/engine/heartbeat_manager.cc net::NetworkChangeNotifier::CONNECTION_ETHERNET) { net 51 google_apis/gcm/engine/registration_request.cc out->append(key + "=" + net::EscapeUrlEncodedData(value, true)); net 102 google_apis/gcm/engine/registration_request.cc const net::BackoffEntry::Policy& backoff_policy, net 105 google_apis/gcm/engine/registration_request.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) net 125 google_apis/gcm/engine/registration_request.cc url_fetcher_.reset(net::URLFetcher::Create( net 126 google_apis/gcm/engine/registration_request.cc GURL(kRegistrationURL), net::URLFetcher::POST, this)); net 131 google_apis/gcm/engine/registration_request.cc std::string(net::HttpRequestHeaders::kAuthorization) + ": " + net 184 google_apis/gcm/engine/registration_request.cc const net::URLFetcher* source, std::string* token) { net 196 google_apis/gcm/engine/registration_request.cc if (source->GetResponseCode() == net::HTTP_OK) { net 215 google_apis/gcm/engine/registration_request.cc if (source->GetResponseCode() != net::HTTP_OK) { net 224 google_apis/gcm/engine/registration_request.cc void RegistrationRequest::OnURLFetchComplete(const net::URLFetcher* source) { net 20 google_apis/gcm/engine/registration_request.h namespace net { net 30 google_apis/gcm/engine/registration_request.h class GCM_EXPORT RegistrationRequest : public net::URLFetcherDelegate { net 82 google_apis/gcm/engine/registration_request.h const net::BackoffEntry::Policy& backoff_policy, net 85 google_apis/gcm/engine/registration_request.h scoped_refptr<net::URLRequestContextGetter> request_context_getter); net 91 google_apis/gcm/engine/registration_request.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 100 google_apis/gcm/engine/registration_request.h Status ParseResponse(const net::URLFetcher* source, std::string* token); net 105 google_apis/gcm/engine/registration_request.h net::BackoffEntry backoff_entry_; net 106 google_apis/gcm/engine/registration_request.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 107 google_apis/gcm/engine/registration_request.h scoped_ptr<net::URLFetcher> url_fetcher_; net 27 google_apis/gcm/engine/registration_request_unittest.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 66 google_apis/gcm/engine/registration_request_unittest.cc void SetResponseStatusAndString(net::HttpStatusCode status_code, net 81 google_apis/gcm/engine/registration_request_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 82 google_apis/gcm/engine/registration_request_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 89 google_apis/gcm/engine/registration_request_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 121 google_apis/gcm/engine/registration_request_unittest.cc net::HttpStatusCode status_code, net 123 google_apis/gcm/engine/registration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 134 google_apis/gcm/engine/registration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 144 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 157 google_apis/gcm/engine/registration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 161 google_apis/gcm/engine/registration_request_unittest.cc net::HttpRequestHeaders headers; net 164 google_apis/gcm/engine/registration_request_unittest.cc headers.GetHeader(net::HttpRequestHeaders::kAuthorization, &auth_header); net 198 google_apis/gcm/engine/registration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 210 google_apis/gcm/engine/registration_request_unittest.cc std::string senders(net::UnescapeURLComponent(data_tokenizer.token(), net 211 google_apis/gcm/engine/registration_request_unittest.cc net::UnescapeRule::URL_SPECIAL_CHARS)); net 223 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 235 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_UNAUTHORIZED, "token=2501"); net 240 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 252 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, ""); net 257 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "some error in response"); net 263 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 275 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "Error=PHONE_REGISTRATION_ERROR"); net 281 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 293 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_UNAUTHORIZED, net 300 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 312 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "Error=INVALID_PARAMETERS"); net 324 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "Error=INVALID_SENDER"); net 336 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_BAD_REQUEST, "Error=INVALID_SENDER"); net 348 google_apis/gcm/engine/registration_request_unittest.cc net::URLRequestStatus request_status(net::URLRequestStatus::FAILED, 1); net 349 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 350 google_apis/gcm/engine/registration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 359 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 371 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_GATEWAY_TIMEOUT, "token=2501"); net 377 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "token=2501"); net 390 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_GATEWAY_TIMEOUT, "token=2501"); net 402 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_GATEWAY_TIMEOUT, "token=2501"); net 407 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_GATEWAY_TIMEOUT, "token=2501"); net 412 google_apis/gcm/engine/registration_request_unittest.cc SetResponseStatusAndString(net::HTTP_GATEWAY_TIMEOUT, "token=2501"); net 51 google_apis/gcm/engine/unregistration_request.cc out->append(key + "=" + net::EscapeUrlEncodedData(value, true)); net 55 google_apis/gcm/engine/unregistration_request.cc const net::URLFetcher* source, net 62 google_apis/gcm/engine/unregistration_request.cc net::HttpStatusCode response_status = static_cast<net::HttpStatusCode>( net 64 google_apis/gcm/engine/unregistration_request.cc if (response_status != net::HTTP_OK) { net 66 google_apis/gcm/engine/unregistration_request.cc if (response_status == net::HTTP_SERVICE_UNAVAILABLE) net 68 google_apis/gcm/engine/unregistration_request.cc else if (response_status == net::HTTP_INTERNAL_SERVER_ERROR) net 116 google_apis/gcm/engine/unregistration_request.cc const net::BackoffEntry::Policy& backoff_policy, net 118 google_apis/gcm/engine/unregistration_request.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) net 134 google_apis/gcm/engine/unregistration_request.cc url_fetcher_.reset(net::URLFetcher::Create( net 135 google_apis/gcm/engine/unregistration_request.cc GURL(kRegistrationURL), net::URLFetcher::POST, this)); net 142 google_apis/gcm/engine/unregistration_request.cc net::HttpRequestHeaders headers; net 143 google_apis/gcm/engine/unregistration_request.cc headers.SetHeader(net::HttpRequestHeaders::kAuthorization, auth_header); net 185 google_apis/gcm/engine/unregistration_request.cc void UnregistrationRequest::OnURLFetchComplete(const net::URLFetcher* source) { net 17 google_apis/gcm/engine/unregistration_request.h namespace net { net 27 google_apis/gcm/engine/unregistration_request.h class GCM_EXPORT UnregistrationRequest : public net::URLFetcherDelegate { net 74 google_apis/gcm/engine/unregistration_request.h const net::BackoffEntry::Policy& backoff_policy, net 76 google_apis/gcm/engine/unregistration_request.h scoped_refptr<net::URLRequestContextGetter> request_context_getter); net 83 google_apis/gcm/engine/unregistration_request.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 93 google_apis/gcm/engine/unregistration_request.h net::BackoffEntry backoff_entry_; net 94 google_apis/gcm/engine/unregistration_request.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 95 google_apis/gcm/engine/unregistration_request.h scoped_ptr<net::URLFetcher> url_fetcher_; net 26 google_apis/gcm/engine/unregistration_request_unittest.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 63 google_apis/gcm/engine/unregistration_request_unittest.cc void SetResponseStatusAndString(net::HttpStatusCode status_code, net 72 google_apis/gcm/engine/unregistration_request_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 73 google_apis/gcm/engine/unregistration_request_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 79 google_apis/gcm/engine/unregistration_request_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 102 google_apis/gcm/engine/unregistration_request_unittest.cc net::HttpStatusCode status_code, net 104 google_apis/gcm/engine/unregistration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 113 google_apis/gcm/engine/unregistration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 123 google_apis/gcm/engine/unregistration_request_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 127 google_apis/gcm/engine/unregistration_request_unittest.cc net::HttpRequestHeaders headers; net 130 google_apis/gcm/engine/unregistration_request_unittest.cc headers.GetHeader(net::HttpRequestHeaders::kAuthorization, &auth_header); net 168 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); net 179 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_UNAUTHORIZED, ""); net 190 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, ""); net 195 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); net 206 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "Error=INVALID_PARAMETERS"); net 217 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "Error=XXX"); net 228 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_SERVICE_UNAVAILABLE, ""); net 233 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); net 244 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_INTERNAL_SERVER_ERROR, ""); net 249 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); net 260 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "deleted=OtherTestAppId"); net 265 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); net 276 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, "some malformed response"); net 281 google_apis/gcm/engine/unregistration_request_unittest.cc SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); net 26 google_apis/gcm/gcm_client.h namespace net { net 171 google_apis/gcm/gcm_client.h const scoped_refptr<net::URLRequestContextGetter>& net 36 google_apis/gcm/gcm_client_impl.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 149 google_apis/gcm/gcm_client_impl.cc const net::BackoffEntry::Policy& backoff_policy, net 150 google_apis/gcm/gcm_client_impl.cc scoped_refptr<net::HttpNetworkSession> network_session, net 151 google_apis/gcm/gcm_client_impl.cc net::NetLog* net_log) { net 178 google_apis/gcm/gcm_client_impl.cc const scoped_refptr<net::URLRequestContextGetter>& net 186 google_apis/gcm/gcm_client_impl.cc const net::HttpNetworkSession::Params* network_session_params = net 190 google_apis/gcm/gcm_client_impl.cc network_session_ = new net::HttpNetworkSession(*network_session_params); net 33 google_apis/gcm/gcm_client_impl.h namespace net { net 61 google_apis/gcm/gcm_client_impl.h const net::BackoffEntry::Policy& backoff_policy, net 62 google_apis/gcm/gcm_client_impl.h scoped_refptr<net::HttpNetworkSession> network_session, net 63 google_apis/gcm/gcm_client_impl.h net::NetLog* net_log); net 81 google_apis/gcm/gcm_client_impl.h const scoped_refptr<net::URLRequestContextGetter>& net 238 google_apis/gcm/gcm_client_impl.h scoped_refptr<net::HttpNetworkSession> network_session_; net 239 google_apis/gcm/gcm_client_impl.h net::BoundNetLog net_log_; net 241 google_apis/gcm/gcm_client_impl.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 132 google_apis/gcm/gcm_client_impl_unittest.cc const net::BackoffEntry::Policy& backoff_policy, net 133 google_apis/gcm/gcm_client_impl_unittest.cc scoped_refptr<net::HttpNetworkSession> network_session, net 134 google_apis/gcm/gcm_client_impl_unittest.cc net::NetLog* net_log) OVERRIDE; net 167 google_apis/gcm/gcm_client_impl_unittest.cc const net::BackoffEntry::Policy& backoff_policy, net 168 google_apis/gcm/gcm_client_impl_unittest.cc scoped_refptr<net::HttpNetworkSession> network_session, net 169 google_apis/gcm/gcm_client_impl_unittest.cc net::NetLog* net_log) { net 268 google_apis/gcm/gcm_client_impl_unittest.cc net::TestURLFetcherFactory url_fetcher_factory_; net 272 google_apis/gcm/gcm_client_impl_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 278 google_apis/gcm/gcm_client_impl_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 322 google_apis/gcm/gcm_client_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 324 google_apis/gcm/gcm_client_impl_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 334 google_apis/gcm/gcm_client_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 336 google_apis/gcm/gcm_client_impl_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 346 google_apis/gcm/gcm_client_impl_unittest.cc net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); net 348 google_apis/gcm/gcm_client_impl_unittest.cc fetcher->set_response_code(net::HTTP_OK); net 55 google_apis/gcm/tools/mcs_probe.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 129 google_apis/gcm/tools/mcs_probe.cc class MyTestURLRequestContext : public net::TestURLRequestContext { net 133 google_apis/gcm/tools/mcs_probe.cc net::HostResolver::CreateDefaultResolver(NULL)); net 135 google_apis/gcm/tools/mcs_probe.cc new net::TransportSecurityState()); net 142 google_apis/gcm/tools/mcs_probe.cc class MyTestURLRequestContextGetter : public net::TestURLRequestContextGetter { net 148 google_apis/gcm/tools/mcs_probe.cc virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { net 163 google_apis/gcm/tools/mcs_probe.cc class MyTestNetLog : public net::NetLog { net 172 google_apis/gcm/tools/mcs_probe.cc class MyTestCertVerifier : public net::CertVerifier { net 177 google_apis/gcm/tools/mcs_probe.cc virtual int Verify(net::X509Certificate* cert, net 180 google_apis/gcm/tools/mcs_probe.cc net::CRLSet* crl_set, net 181 google_apis/gcm/tools/mcs_probe.cc net::CertVerifyResult* verify_result, net 182 google_apis/gcm/tools/mcs_probe.cc const net::CompletionCallback& callback, net 184 google_apis/gcm/tools/mcs_probe.cc const net::BoundNetLog& net_log) OVERRIDE { net 185 google_apis/gcm/tools/mcs_probe.cc return net::OK; net 197 google_apis/gcm/tools/mcs_probe.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter); net 227 google_apis/gcm/tools/mcs_probe.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 229 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::NetLogLogger> logger_; net 231 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::HostResolver> host_resolver_; net 232 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::CertVerifier> cert_verifier_; net 233 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service_; net 234 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::TransportSecurityState> transport_security_state_; net 235 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::URLSecurityManager> url_security_manager_; net 236 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory_; net 237 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_; net 238 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::HostMappingRules> host_mapping_rules_; net 239 google_apis/gcm/tools/mcs_probe.cc scoped_refptr<net::HttpNetworkSession> network_session_; net 240 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<net::ProxyService> proxy_service_; net 255 google_apis/gcm/tools/mcs_probe.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter) net 295 google_apis/gcm/tools/mcs_probe.cc net::HostPortPair(server_host_, net 358 google_apis/gcm/tools/mcs_probe.cc net_constants_.reset(net::NetLogLogger::GetConstants()); net 360 google_apis/gcm/tools/mcs_probe.cc logger_.reset(new net::NetLogLogger(log_file, *net_constants_)); net 364 google_apis/gcm/tools/mcs_probe.cc host_resolver_ = net::HostResolver::CreateDefaultResolver(&net_log_); net 369 google_apis/gcm/tools/mcs_probe.cc cert_verifier_.reset(net::CertVerifier::CreateDefault()); net 372 google_apis/gcm/tools/mcs_probe.cc new net::ServerBoundCertService( net 373 google_apis/gcm/tools/mcs_probe.cc new net::DefaultServerBoundCertStore(NULL), net 376 google_apis/gcm/tools/mcs_probe.cc transport_security_state_.reset(new net::TransportSecurityState()); net 377 google_apis/gcm/tools/mcs_probe.cc url_security_manager_.reset(net::URLSecurityManager::Create(NULL, NULL)); net 379 google_apis/gcm/tools/mcs_probe.cc net::HttpAuthHandlerRegistryFactory::Create( net 386 google_apis/gcm/tools/mcs_probe.cc http_server_properties_.reset(new net::HttpServerPropertiesImpl()); net 387 google_apis/gcm/tools/mcs_probe.cc host_mapping_rules_.reset(new net::HostMappingRules()); net 388 google_apis/gcm/tools/mcs_probe.cc proxy_service_.reset(net::ProxyService::CreateDirectWithNetLog(&net_log_)); net 392 google_apis/gcm/tools/mcs_probe.cc net::HttpNetworkSession::Params session_params; net 398 google_apis/gcm/tools/mcs_probe.cc session_params.ssl_config_service = new net::SSLConfigServiceDefaults(); net 411 google_apis/gcm/tools/mcs_probe.cc network_session_ = new net::HttpNetworkSession(session_params); net 22 jingle/glue/channel_socket_adapter.cc closed_error_code_(net::OK) { net 44 jingle/glue/channel_socket_adapter.cc net::IOBuffer* buf, net 46 jingle/glue/channel_socket_adapter.cc const net::CompletionCallback& callback) { net 53 jingle/glue/channel_socket_adapter.cc DCHECK(closed_error_code_ != net::OK); net 61 jingle/glue/channel_socket_adapter.cc return net::ERR_IO_PENDING; net 65 jingle/glue/channel_socket_adapter.cc net::IOBuffer* buffer, net 67 jingle/glue/channel_socket_adapter.cc const net::CompletionCallback& callback) { net 74 jingle/glue/channel_socket_adapter.cc DCHECK(closed_error_code_ != net::OK); net 83 jingle/glue/channel_socket_adapter.cc result = net::MapSystemError(channel_->GetError()); net 88 jingle/glue/channel_socket_adapter.cc if (result == net::ERR_IO_PENDING) net 89 jingle/glue/channel_socket_adapter.cc result = net::OK; net 93 jingle/glue/channel_socket_adapter.cc result = net::ERR_IO_PENDING; net 105 jingle/glue/channel_socket_adapter.cc net::OK : net::ERR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR; net 111 jingle/glue/channel_socket_adapter.cc net::OK : net::ERR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR; net 120 jingle/glue/channel_socket_adapter.cc DCHECK(error_code != net::OK); net 127 jingle/glue/channel_socket_adapter.cc net::CompletionCallback callback = read_callback_; net 134 jingle/glue/channel_socket_adapter.cc net::CompletionCallback callback = write_callback_; net 161 jingle/glue/channel_socket_adapter.cc net::CompletionCallback callback = read_callback_; net 182 jingle/glue/channel_socket_adapter.cc result = net::MapSystemError(channel_->GetError()); net 184 jingle/glue/channel_socket_adapter.cc if (result != net::ERR_IO_PENDING) { net 185 jingle/glue/channel_socket_adapter.cc net::CompletionCallback callback = write_callback_; net 197 jingle/glue/channel_socket_adapter.cc Close(net::ERR_CONNECTION_ABORTED); net 28 jingle/glue/channel_socket_adapter.h class TransportChannelSocketAdapter : public net::Socket, net 46 jingle/glue/channel_socket_adapter.h virtual int Read(net::IOBuffer* buf, int buf_len, net 47 jingle/glue/channel_socket_adapter.h const net::CompletionCallback& callback) OVERRIDE; net 48 jingle/glue/channel_socket_adapter.h virtual int Write(net::IOBuffer* buf, int buf_len, net 49 jingle/glue/channel_socket_adapter.h const net::CompletionCallback& callback) OVERRIDE; net 69 jingle/glue/channel_socket_adapter.h net::CompletionCallback read_callback_; net 70 jingle/glue/channel_socket_adapter.h scoped_refptr<net::IOBuffer> read_buffer_; net 73 jingle/glue/channel_socket_adapter.h net::CompletionCallback write_callback_; net 74 jingle/glue/channel_socket_adapter.h scoped_refptr<net::IOBuffer> write_buffer_; net 16 jingle/glue/channel_socket_adapter_unittest.cc using net::IOBuffer; net 79 jingle/glue/channel_socket_adapter_unittest.cc net::CompletionCallback callback_; net 89 jingle/glue/channel_socket_adapter_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, result); net 101 jingle/glue/channel_socket_adapter_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, result); net 134 jingle/glue/channel_socket_adapter_unittest.cc ASSERT_EQ(net::OK, result); net 36 jingle/glue/chrome_async_socket.cc net_error_(net::OK), net 38 jingle/glue/chrome_async_socket.cc read_buf_(new net::IOBufferWithSize(read_buf_size)), net 42 jingle/glue/chrome_async_socket.cc write_buf_(new net::IOBufferWithSize(write_buf_size)), net 72 jingle/glue/chrome_async_socket.cc net_error_ = net::OK; net 75 jingle/glue/chrome_async_socket.cc void ChromeAsyncSocket::DoNetError(net::Error net_error) { net 81 jingle/glue/chrome_async_socket.cc DCHECK_LT(status, net::OK); net 82 jingle/glue/chrome_async_socket.cc DoNetError(static_cast<net::Error>(status)); net 107 jingle/glue/chrome_async_socket.cc net::HostPortPair dest_host_port_pair(address.hostname(), address.port()); net 115 jingle/glue/chrome_async_socket.cc if (status != net::ERR_IO_PENDING) { net 134 jingle/glue/chrome_async_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 138 jingle/glue/chrome_async_socket.cc if (status != net::OK) { net 183 jingle/glue/chrome_async_socket.cc if (status != net::ERR_IO_PENDING) { net 191 jingle/glue/chrome_async_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 203 jingle/glue/chrome_async_socket.cc net_error_ = net::OK; net 268 jingle/glue/chrome_async_socket.cc DoNetError(net::ERR_INSUFFICIENT_RESOURCES); net 316 jingle/glue/chrome_async_socket.cc if (status != net::ERR_IO_PENDING) { net 325 jingle/glue/chrome_async_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 330 jingle/glue/chrome_async_socket.cc if (status < net::OK) { net 339 jingle/glue/chrome_async_socket.cc DoNetError(net::ERR_UNEXPECTED); net 382 jingle/glue/chrome_async_socket.cc net_error_ = net::OK; net 405 jingle/glue/chrome_async_socket.cc scoped_ptr<net::ClientSocketHandle> socket_handle( net 406 jingle/glue/chrome_async_socket.cc new net::ClientSocketHandle()); net 410 jingle/glue/chrome_async_socket.cc socket_handle.Pass(), net::HostPortPair(domain_name, 443)); net 414 jingle/glue/chrome_async_socket.cc if (status != net::ERR_IO_PENDING) { net 431 jingle/glue/chrome_async_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 437 jingle/glue/chrome_async_socket.cc if (status != net::OK) { net 26 jingle/glue/chrome_async_socket.h namespace net { net 161 jingle/glue/chrome_async_socket.h void DoNetError(net::Error net_error); net 188 jingle/glue/chrome_async_socket.h net::Error net_error_; net 191 jingle/glue/chrome_async_socket.h scoped_ptr<net::StreamSocket> transport_socket_; net 197 jingle/glue/chrome_async_socket.h scoped_refptr<net::IOBufferWithSize> read_buf_; net 204 jingle/glue/chrome_async_socket.h scoped_refptr<net::IOBufferWithSize> write_buf_; net 34 jingle/glue/chrome_async_socket_unittest.cc class AsyncSocketDataProvider : public net::SocketDataProvider { net 45 jingle/glue/chrome_async_socket_unittest.cc virtual net::MockRead GetNextRead() OVERRIDE { net 49 jingle/glue/chrome_async_socket_unittest.cc const net::MockRead pending_read(net::SYNCHRONOUS, net::ERR_IO_PENDING); net 52 jingle/glue/chrome_async_socket_unittest.cc net::MockRead mock_read = reads_.front(); net 59 jingle/glue/chrome_async_socket_unittest.cc virtual net::MockWriteResult OnWrite(const std::string& data) OVERRIDE { net 61 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite mock_write = writes_.front(); net 63 jingle/glue/chrome_async_socket_unittest.cc if (mock_write.result != net::OK) { net 64 jingle/glue/chrome_async_socket_unittest.cc return net::MockWriteResult(mock_write.mode, mock_write.result); net 69 jingle/glue/chrome_async_socket_unittest.cc return net::MockWriteResult(net::SYNCHRONOUS, net::ERR_UNEXPECTED); net 71 jingle/glue/chrome_async_socket_unittest.cc return net::MockWriteResult(mock_write.mode, data.size()); net 80 jingle/glue/chrome_async_socket_unittest.cc void AddRead(const net::MockRead& mock_read) { net 81 jingle/glue/chrome_async_socket_unittest.cc DCHECK_NE(mock_read.result, net::ERR_IO_PENDING); net 91 jingle/glue/chrome_async_socket_unittest.cc void AddWrite(const net::MockWrite& mock_write) { net 96 jingle/glue/chrome_async_socket_unittest.cc std::deque<net::MockRead> reads_; net 99 jingle/glue/chrome_async_socket_unittest.cc std::deque<net::MockWrite> writes_; net 107 jingle/glue/chrome_async_socket_unittest.cc net::ClientSocketFactory* mock_client_socket_factory, net 108 jingle/glue/chrome_async_socket_unittest.cc const net::AddressList& address_list) net 111 jingle/glue/chrome_async_socket_unittest.cc cert_verifier_(new net::MockCertVerifier), net 112 jingle/glue/chrome_async_socket_unittest.cc transport_security_state_(new net::TransportSecurityState) { net 116 jingle/glue/chrome_async_socket_unittest.cc virtual scoped_ptr<net::StreamSocket> CreateTransportClientSocket( net 117 jingle/glue/chrome_async_socket_unittest.cc const net::HostPortPair& host_and_port) OVERRIDE { net 119 jingle/glue/chrome_async_socket_unittest.cc address_list_, NULL, net::NetLog::Source()); net 122 jingle/glue/chrome_async_socket_unittest.cc virtual scoped_ptr<net::SSLClientSocket> CreateSSLClientSocket( net 123 jingle/glue/chrome_async_socket_unittest.cc scoped_ptr<net::ClientSocketHandle> transport_socket, net 124 jingle/glue/chrome_async_socket_unittest.cc const net::HostPortPair& host_and_port) OVERRIDE { net 125 jingle/glue/chrome_async_socket_unittest.cc net::SSLClientSocketContext context; net 133 jingle/glue/chrome_async_socket_unittest.cc scoped_ptr<net::ClientSocketFactory> mock_client_socket_factory_; net 134 jingle/glue/chrome_async_socket_unittest.cc net::AddressList address_list_; net 135 jingle/glue/chrome_async_socket_unittest.cc net::SSLConfig ssl_config_; net 136 jingle/glue/chrome_async_socket_unittest.cc scoped_ptr<net::CertVerifier> cert_verifier_; net 137 jingle/glue/chrome_async_socket_unittest.cc scoped_ptr<net::TransportSecurityState> transport_security_state_; net 145 jingle/glue/chrome_async_socket_unittest.cc : ssl_socket_data_provider_(net::ASYNC, net::OK), net 151 jingle/glue/chrome_async_socket_unittest.cc scoped_ptr<net::MockClientSocketFactory> mock_client_socket_factory( net 152 jingle/glue/chrome_async_socket_unittest.cc new net::MockClientSocketFactory()); net 159 jingle/glue/chrome_async_socket_unittest.cc net::IPAddressNumber resolved_addr; net 160 jingle/glue/chrome_async_socket_unittest.cc EXPECT_TRUE(net::ParseIPLiteralToNumber("127.0.0.1", &resolved_addr)); net 161 jingle/glue/chrome_async_socket_unittest.cc const net::AddressList address_list = net 162 jingle/glue/chrome_async_socket_unittest.cc net::AddressList::CreateFromIPAddress(resolved_addr, addr_.port()); net 206 jingle/glue/chrome_async_socket_unittest.cc net_error(net::OK) {} net 212 jingle/glue/chrome_async_socket_unittest.cc net::Error net_error) net 232 jingle/glue/chrome_async_socket_unittest.cc static_cast<net::Error>( net 240 jingle/glue/chrome_async_socket_unittest.cc net::OK); net 246 jingle/glue/chrome_async_socket_unittest.cc net::Error net_error; net 279 jingle/glue/chrome_async_socket_unittest.cc net::Error net_error) { net 286 jingle/glue/chrome_async_socket_unittest.cc ExpectState(state, ChromeAsyncSocket::ERROR_NONE, net::OK); net 291 jingle/glue/chrome_async_socket_unittest.cc ExpectState(state, error, net::OK); net 341 jingle/glue/chrome_async_socket_unittest.cc net::MockConnect(net::SYNCHRONOUS, net::OK)); net 369 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kDummyData)); net 421 jingle/glue/chrome_async_socket_unittest.cc net::SSLSocketDataProvider ssl_socket_data_provider_; net 500 jingle/glue/chrome_async_socket_unittest.cc net::OK)); net 530 jingle/glue/chrome_async_socket_unittest.cc net::MockConnect(net::ASYNC, net::OK)); net 552 jingle/glue/chrome_async_socket_unittest.cc net::MockConnect(net::ASYNC, net::OK)); net 567 jingle/glue/chrome_async_socket_unittest.cc net::MockConnect(net::ASYNC, net::ERR_TIMED_OUT)); net 575 jingle/glue/chrome_async_socket_unittest.cc ChromeAsyncSocket::ERROR_WINSOCK, net::ERR_TIMED_OUT)); net 594 jingle/glue/chrome_async_socket_unittest.cc net::MockConnect(net::ASYNC, net::OK)); net 608 jingle/glue/chrome_async_socket_unittest.cc ChromeAsyncSocket::ERROR_WRONGSTATE, net::OK)); net 624 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 638 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 649 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData2)); net 660 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 671 jingle/glue/chrome_async_socket_unittest.cc net::MockRead(net::SYNCHRONOUS, net::ERR_TIMED_OUT)); net 676 jingle/glue/chrome_async_socket_unittest.cc ChromeAsyncSocket::ERROR_WINSOCK, net::ERR_TIMED_OUT)); net 680 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead("")); net 693 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 712 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead("")); net 725 jingle/glue/chrome_async_socket_unittest.cc net::MockRead(net::ASYNC, net::ERR_TIMED_OUT)); net 730 jingle/glue/chrome_async_socket_unittest.cc ChromeAsyncSocket::ERROR_WINSOCK, net::ERR_TIMED_OUT)); net 749 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::SYNCHRONOUS, kWriteData, 3)); net 751 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::SYNCHRONOUS, kWriteData + 3, 5)); net 753 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::SYNCHRONOUS, net 774 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData, 3)); net 776 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData + 3, 5)); net 778 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData + 8, arraysize(kWriteData) - 8)); net 797 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData, 3)); net 799 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData + 3, 5)); net 801 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, net::ERR_TIMED_OUT)); net 814 jingle/glue/chrome_async_socket_unittest.cc ChromeAsyncSocket::ERROR_WINSOCK, net::ERR_TIMED_OUT)); net 826 jingle/glue/chrome_async_socket_unittest.cc net::ERR_INSUFFICIENT_RESOURCES); net 831 jingle/glue/chrome_async_socket_unittest.cc net::ERR_INSUFFICIENT_RESOURCES)); net 844 jingle/glue/chrome_async_socket_unittest.cc net::ERR_INSUFFICIENT_RESOURCES); net 849 jingle/glue/chrome_async_socket_unittest.cc net::ERR_INSUFFICIENT_RESOURCES)); net 856 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 872 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 887 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 903 jingle/glue/chrome_async_socket_unittest.cc net::OK)); net 909 jingle/glue/chrome_async_socket_unittest.cc net::MockConnect(net::ASYNC, net::ERR_CERT_COMMON_NAME_INVALID), net 911 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 921 jingle/glue/chrome_async_socket_unittest.cc net::ERR_CERT_COMMON_NAME_INVALID)); net 928 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 937 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 958 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 967 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData, 3)); net 994 jingle/glue/chrome_async_socket_unittest.cc net::OK)); net 1003 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData, 3)); net 1014 jingle/glue/chrome_async_socket_unittest.cc net::OK)); net 1022 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); net 1037 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::SYNCHRONOUS, kWriteData, 3)); net 1039 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::SYNCHRONOUS, kWriteData + 3, 5)); net 1041 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::SYNCHRONOUS, net 1062 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData, 3)); net 1064 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData + 3, 5)); net 1066 jingle/glue/chrome_async_socket_unittest.cc net::MockWrite(net::ASYNC, kWriteData + 8, arraysize(kWriteData) - 8)); net 16 jingle/glue/fake_network_manager.cc FakeNetworkManager::FakeNetworkManager(const net::IPAddressNumber& address) net 19 jingle/glue/fake_network_manager.cc net::IPEndPoint endpoint(address, 0); net 22 jingle/glue/fake_network_manager.h FakeNetworkManager(const net::IPAddressNumber& address); net 16 jingle/glue/fake_socket_factory.cc const net::IPEndPoint& address) net 52 jingle/glue/fake_socket_factory.cc net::IPEndPoint destination; net 105 jingle/glue/fake_socket_factory.cc void FakeUDPPacketSocket::DeliverPacket(const net::IPEndPoint& from, net 126 jingle/glue/fake_socket_factory.cc void FakeSocketManager::SendPacket(const net::IPEndPoint& from, net 127 jingle/glue/fake_socket_factory.cc const net::IPEndPoint& to, net 136 jingle/glue/fake_socket_factory.cc void FakeSocketManager::DeliverPacket(const net::IPEndPoint& from, net 137 jingle/glue/fake_socket_factory.cc const net::IPEndPoint& to, net 141 jingle/glue/fake_socket_factory.cc std::map<net::IPEndPoint, FakeUDPPacketSocket*>::iterator it = net 164 jingle/glue/fake_socket_factory.cc const net::IPAddressNumber& address) net 178 jingle/glue/fake_socket_factory.cc socket_manager_.get(), net::IPEndPoint(address_, ++last_allocated_port_)); net 31 jingle/glue/fake_socket_factory.h const net::IPEndPoint& address); net 34 jingle/glue/fake_socket_factory.h const net::IPEndPoint& endpoint() const { return endpoint_; } net 35 jingle/glue/fake_socket_factory.h void DeliverPacket(const net::IPEndPoint& from, net 60 jingle/glue/fake_socket_factory.h net::IPEndPoint endpoint_; net 73 jingle/glue/fake_socket_factory.h void SendPacket(const net::IPEndPoint& from, net 74 jingle/glue/fake_socket_factory.h const net::IPEndPoint& to, net 85 jingle/glue/fake_socket_factory.h void DeliverPacket(const net::IPEndPoint& from, net 86 jingle/glue/fake_socket_factory.h const net::IPEndPoint& to, net 90 jingle/glue/fake_socket_factory.h std::map<net::IPEndPoint, FakeUDPPacketSocket*> endpoints_; net 98 jingle/glue/fake_socket_factory.h const net::IPAddressNumber& address); net 117 jingle/glue/fake_socket_factory.h net::IPAddressNumber address_; net 63 jingle/glue/fake_ssl_client_socket.cc net::DrainableIOBuffer* NewDrainableIOBufferWithSize(int size) { net 64 jingle/glue/fake_ssl_client_socket.cc return new net::DrainableIOBuffer(new net::IOBuffer(size), size); net 80 jingle/glue/fake_ssl_client_socket.cc scoped_ptr<net::StreamSocket> transport_socket) net 92 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::Read(net::IOBuffer* buf, int buf_len, net 93 jingle/glue/fake_ssl_client_socket.cc const net::CompletionCallback& callback) { net 99 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::Write(net::IOBuffer* buf, int buf_len, net 100 jingle/glue/fake_ssl_client_socket.cc const net::CompletionCallback& callback) { net 114 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::Connect(const net::CompletionCallback& callback) { net 126 jingle/glue/fake_ssl_client_socket.cc if (status == net::ERR_IO_PENDING) net 134 jingle/glue/fake_ssl_client_socket.cc int status = net::OK; net 149 jingle/glue/fake_ssl_client_socket.cc status = net::ERR_UNEXPECTED; net 153 jingle/glue/fake_ssl_client_socket.cc } while ((status != net::ERR_IO_PENDING) && net 159 jingle/glue/fake_ssl_client_socket.cc DCHECK_LE(status, net::OK); net 161 jingle/glue/fake_ssl_client_socket.cc net::CompletionCallback user_connect_callback = user_connect_callback_; net 168 jingle/glue/fake_ssl_client_socket.cc if (status != net::ERR_IO_PENDING) { net 176 jingle/glue/fake_ssl_client_socket.cc if (status != net::OK) { net 180 jingle/glue/fake_ssl_client_socket.cc return net::OK; net 184 jingle/glue/fake_ssl_client_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 185 jingle/glue/fake_ssl_client_socket.cc DCHECK_LE(status, net::OK); net 187 jingle/glue/fake_ssl_client_socket.cc if (status != net::OK) { net 207 jingle/glue/fake_ssl_client_socket.cc if (status < net::OK) { net 211 jingle/glue/fake_ssl_client_socket.cc return net::OK; net 215 jingle/glue/fake_ssl_client_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 217 jingle/glue/fake_ssl_client_socket.cc if (status < net::OK) { net 242 jingle/glue/fake_ssl_client_socket.cc if (status < net::OK) { net 250 jingle/glue/fake_ssl_client_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 252 jingle/glue/fake_ssl_client_socket.cc if (status < net::OK) { net 258 jingle/glue/fake_ssl_client_socket.cc if (status < net::OK) { net 263 jingle/glue/fake_ssl_client_socket.cc RunUserConnectCallback(net::OK); net 269 jingle/glue/fake_ssl_client_socket.cc net::Error FakeSSLClientSocket::ProcessVerifyServerHelloDone(size_t read) { net 272 jingle/glue/fake_ssl_client_socket.cc return net::ERR_UNEXPECTED; net 278 jingle/glue/fake_ssl_client_socket.cc return net::ERR_UNEXPECTED; net 287 jingle/glue/fake_ssl_client_socket.cc return net::OK; net 307 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::GetPeerAddress(net::IPEndPoint* address) const { net 311 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::GetLocalAddress(net::IPEndPoint* address) const { net 315 jingle/glue/fake_ssl_client_socket.cc const net::BoundNetLog& FakeSSLClientSocket::NetLog() const { net 339 jingle/glue/fake_ssl_client_socket.cc net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { net 343 jingle/glue/fake_ssl_client_socket.cc bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { net 30 jingle/glue/fake_ssl_client_socket.h namespace net { net 37 jingle/glue/fake_ssl_client_socket.h class FakeSSLClientSocket : public net::StreamSocket { net 39 jingle/glue/fake_ssl_client_socket.h explicit FakeSSLClientSocket(scoped_ptr<net::StreamSocket> transport_socket); net 48 jingle/glue/fake_ssl_client_socket.h virtual int Read(net::IOBuffer* buf, int buf_len, net 49 jingle/glue/fake_ssl_client_socket.h const net::CompletionCallback& callback) OVERRIDE; net 50 jingle/glue/fake_ssl_client_socket.h virtual int Write(net::IOBuffer* buf, int buf_len, net 51 jingle/glue/fake_ssl_client_socket.h const net::CompletionCallback& callback) OVERRIDE; net 54 jingle/glue/fake_ssl_client_socket.h virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; net 58 jingle/glue/fake_ssl_client_socket.h virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; net 59 jingle/glue/fake_ssl_client_socket.h virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; net 60 jingle/glue/fake_ssl_client_socket.h virtual const net::BoundNetLog& NetLog() const OVERRIDE; net 66 jingle/glue/fake_ssl_client_socket.h virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; net 67 jingle/glue/fake_ssl_client_socket.h virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; net 91 jingle/glue/fake_ssl_client_socket.h net::Error ProcessVerifyServerHelloDone(size_t read); net 93 jingle/glue/fake_ssl_client_socket.h scoped_ptr<net::StreamSocket> transport_socket_; net 103 jingle/glue/fake_ssl_client_socket.h net::CompletionCallback user_connect_callback_; net 105 jingle/glue/fake_ssl_client_socket.h scoped_refptr<net::DrainableIOBuffer> write_buf_; net 106 jingle/glue/fake_ssl_client_socket.h scoped_refptr<net::DrainableIOBuffer> read_buf_; net 45 jingle/glue/fake_ssl_client_socket_unittest.cc class MockClientSocket : public net::StreamSocket { net 49 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_METHOD3(Read, int(net::IOBuffer*, int, net 50 jingle/glue/fake_ssl_client_socket_unittest.cc const net::CompletionCallback&)); net 51 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_METHOD3(Write, int(net::IOBuffer*, int, net 52 jingle/glue/fake_ssl_client_socket_unittest.cc const net::CompletionCallback&)); net 55 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_METHOD1(Connect, int(const net::CompletionCallback&)); net 59 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_CONST_METHOD1(GetPeerAddress, int(net::IPEndPoint*)); net 60 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_CONST_METHOD1(GetLocalAddress, int(net::IPEndPoint*)); net 61 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_CONST_METHOD0(NetLog, const net::BoundNetLog&()); net 69 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_CONST_METHOD0(GetNegotiatedProtocol, net::NextProto()); net 70 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_METHOD1(GetSSLInfo, bool(net::SSLInfo*)); net 75 jingle/glue/fake_ssl_client_socket_unittest.cc template <net::MockReadWriteType type> net 76 jingle/glue/fake_ssl_client_socket_unittest.cc void AddChunkedOps(base::StringPiece data, size_t chunk_size, net::IoMode mode, net 77 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockReadWrite<type> >* ops) { net 82 jingle/glue/fake_ssl_client_socket_unittest.cc ops->push_back(net::MockReadWrite<type>(mode, data.data() + offset, net 94 jingle/glue/fake_ssl_client_socket_unittest.cc scoped_ptr<net::StreamSocket> MakeClientSocket() { net 96 jingle/glue/fake_ssl_client_socket_unittest.cc net::AddressList(), NULL, net::NetLog::Source()); net 99 jingle/glue/fake_ssl_client_socket_unittest.cc void SetData(const net::MockConnect& mock_connect, net 100 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockRead>* reads, net 101 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockWrite>* writes) { net 103 jingle/glue/fake_ssl_client_socket_unittest.cc new net::StaticSocketDataProvider( net 112 jingle/glue/fake_ssl_client_socket_unittest.cc net::IoMode mode, int expected_status, int immediate_status, net 113 jingle/glue/fake_ssl_client_socket_unittest.cc net::TestCompletionCallback* test_completion_callback) { net 114 jingle/glue/fake_ssl_client_socket_unittest.cc if (mode == net::ASYNC) { net 115 jingle/glue/fake_ssl_client_socket_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, immediate_status); net 127 jingle/glue/fake_ssl_client_socket_unittest.cc net::IoMode mode, size_t read_chunk_size, size_t write_chunk_size, net 134 jingle/glue/fake_ssl_client_socket_unittest.cc net::MockConnect mock_connect(mode, net::OK); net 135 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockRead> reads; net 136 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockWrite> writes; net 144 jingle/glue/fake_ssl_client_socket_unittest.cc net::MockRead(mode, kReadTestData, arraysize(kReadTestData))); net 146 jingle/glue/fake_ssl_client_socket_unittest.cc net::MockWrite(mode, kWriteTestData, arraysize(kWriteTestData))); net 154 jingle/glue/fake_ssl_client_socket_unittest.cc net::TestCompletionCallback test_completion_callback; net 157 jingle/glue/fake_ssl_client_socket_unittest.cc if (mode == net::ASYNC) { net 160 jingle/glue/fake_ssl_client_socket_unittest.cc ExpectStatus(mode, net::OK, status, &test_completion_callback); net 164 jingle/glue/fake_ssl_client_socket_unittest.cc scoped_refptr<net::IOBuffer> read_buf( net 165 jingle/glue/fake_ssl_client_socket_unittest.cc new net::IOBuffer(read_buf_len)); net 170 jingle/glue/fake_ssl_client_socket_unittest.cc scoped_refptr<net::IOBuffer> write_buf( net 171 jingle/glue/fake_ssl_client_socket_unittest.cc new net::StringIOBuffer(kWriteTestData)); net 189 jingle/glue/fake_ssl_client_socket_unittest.cc net::IoMode mode, int error, HandshakeErrorLocation location) { net 190 jingle/glue/fake_ssl_client_socket_unittest.cc DCHECK_NE(error, net::OK); net 196 jingle/glue/fake_ssl_client_socket_unittest.cc net::MockConnect mock_connect(mode, net::OK); net 197 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockRead> reads; net 198 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockWrite> writes; net 232 jingle/glue/fake_ssl_client_socket_unittest.cc net::ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ) { net 234 jingle/glue/fake_ssl_client_socket_unittest.cc reads.push_back(net::MockRead(mode, kDummyData)); net 246 jingle/glue/fake_ssl_client_socket_unittest.cc ((error == net::ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ) || net 248 jingle/glue/fake_ssl_client_socket_unittest.cc net::ERR_UNEXPECTED : error; net 250 jingle/glue/fake_ssl_client_socket_unittest.cc net::TestCompletionCallback test_completion_callback; net 260 jingle/glue/fake_ssl_client_socket_unittest.cc RunUnsuccessfulHandshakeTestHelper(net::SYNCHRONOUS, error, location); net 261 jingle/glue/fake_ssl_client_socket_unittest.cc RunUnsuccessfulHandshakeTestHelper(net::ASYNC, error, location); net 267 jingle/glue/fake_ssl_client_socket_unittest.cc net::MockClientSocketFactory mock_client_socket_factory_; net 268 jingle/glue/fake_ssl_client_socket_unittest.cc scoped_ptr<net::StaticSocketDataProvider> static_socket_data_provider_; net 275 jingle/glue/fake_ssl_client_socket_unittest.cc net::IPEndPoint ip_endpoint(net::IPAddressNumber(net::kIPv4AddressSize), 80); net 277 jingle/glue/fake_ssl_client_socket_unittest.cc net::BoundNetLog net_log; net 288 jingle/glue/fake_ssl_client_socket_unittest.cc mock_client_socket.PassAs<net::StreamSocket>()); net 303 jingle/glue/fake_ssl_client_socket_unittest.cc RunSuccessfulHandshakeTest(net::SYNCHRONOUS, i, j, 0); net 313 jingle/glue/fake_ssl_client_socket_unittest.cc RunSuccessfulHandshakeTest(net::ASYNC, i, j, 0); net 319 jingle/glue/fake_ssl_client_socket_unittest.cc RunSuccessfulHandshakeTest(net::ASYNC, 1, 2, 3); net 323 jingle/glue/fake_ssl_client_socket_unittest.cc RunUnsuccessfulHandshakeTest(net::ERR_ACCESS_DENIED, CONNECT_ERROR); net 327 jingle/glue/fake_ssl_client_socket_unittest.cc RunUnsuccessfulHandshakeTest(net::ERR_OUT_OF_MEMORY, net 332 jingle/glue/fake_ssl_client_socket_unittest.cc RunUnsuccessfulHandshakeTest(net::ERR_CONNECTION_CLOSED, net 338 jingle/glue/fake_ssl_client_socket_unittest.cc net::ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, net 23 jingle/glue/proxy_resolving_client_socket.cc net::ClientSocketFactory* socket_factory, net 24 jingle/glue/proxy_resolving_client_socket.cc const scoped_refptr<net::URLRequestContextGetter>& request_context_getter, net 25 jingle/glue/proxy_resolving_client_socket.cc const net::SSLConfig& ssl_config, net 26 jingle/glue/proxy_resolving_client_socket.cc const net::HostPortPair& dest_host_port_pair) net 41 jingle/glue/proxy_resolving_client_socket.cc net::BoundNetLog::Make( net 43 jingle/glue/proxy_resolving_client_socket.cc net::NetLog::SOURCE_SOCKET)), net 46 jingle/glue/proxy_resolving_client_socket.cc net::URLRequestContext* request_context = net 53 jingle/glue/proxy_resolving_client_socket.cc net::HttpNetworkSession::Params session_params; net 70 jingle/glue/proxy_resolving_client_socket.cc const net::HttpNetworkSession::Params* reference_params = net 85 jingle/glue/proxy_resolving_client_socket.cc network_session_ = new net::HttpNetworkSession(session_params); net 92 jingle/glue/proxy_resolving_client_socket.cc int ProxyResolvingClientSocket::Read(net::IOBuffer* buf, int buf_len, net 93 jingle/glue/proxy_resolving_client_socket.cc const net::CompletionCallback& callback) { net 97 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 101 jingle/glue/proxy_resolving_client_socket.cc net::IOBuffer* buf, net 103 jingle/glue/proxy_resolving_client_socket.cc const net::CompletionCallback& callback) { net 107 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 114 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 121 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 125 jingle/glue/proxy_resolving_client_socket.cc const net::CompletionCallback& callback) { net 137 jingle/glue/proxy_resolving_client_socket.cc if (status != net::ERR_IO_PENDING) { net 149 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_IO_PENDING; net 153 jingle/glue/proxy_resolving_client_socket.cc DCHECK_LE(status, net::OK); net 154 jingle/glue/proxy_resolving_client_socket.cc net::CompletionCallback user_connect_callback = user_connect_callback_; net 163 jingle/glue/proxy_resolving_client_socket.cc DCHECK_NE(status, net::ERR_IO_PENDING); net 164 jingle/glue/proxy_resolving_client_socket.cc if (status == net::OK) { net 167 jingle/glue/proxy_resolving_client_socket.cc net::ProxyServer::SCHEME_DIRECT | net 168 jingle/glue/proxy_resolving_client_socket.cc net::ProxyServer::SCHEME_HTTP | net::ProxyServer::SCHEME_HTTPS | net 169 jingle/glue/proxy_resolving_client_socket.cc net::ProxyServer::SCHEME_SOCKS4 | net::ProxyServer::SCHEME_SOCKS5); net 174 jingle/glue/proxy_resolving_client_socket.cc status = net::ERR_NO_SUPPORTED_PROXIES; net 180 jingle/glue/proxy_resolving_client_socket.cc if (status != net::OK) { net 191 jingle/glue/proxy_resolving_client_socket.cc transport_.reset(new net::ClientSocketHandle); net 193 jingle/glue/proxy_resolving_client_socket.cc status = net::InitSocketHandleForRawConnect( net 195 jingle/glue/proxy_resolving_client_socket.cc ssl_config_, net::PRIVACY_MODE_DISABLED, bound_net_log_, transport_.get(), net 197 jingle/glue/proxy_resolving_client_socket.cc if (status != net::ERR_IO_PENDING) { net 205 jingle/glue/proxy_resolving_client_socket.cc if (status != net::OK) { net 211 jingle/glue/proxy_resolving_client_socket.cc DCHECK_NE(status, net::OK); net 212 jingle/glue/proxy_resolving_client_socket.cc if (status == net::ERR_IO_PENDING) net 230 jingle/glue/proxy_resolving_client_socket.cc DCHECK_NE(error, net::OK); net 231 jingle/glue/proxy_resolving_client_socket.cc DCHECK_NE(error, net::ERR_IO_PENDING); net 241 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_PROXY_CONNECTION_FAILED: net 242 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_NAME_NOT_RESOLVED: net 243 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_INTERNET_DISCONNECTED: net 244 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_ADDRESS_UNREACHABLE: net 245 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_CONNECTION_CLOSED: net 246 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_CONNECTION_RESET: net 247 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_CONNECTION_REFUSED: net 248 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_CONNECTION_ABORTED: net 249 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_TIMED_OUT: net 250 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_TUNNEL_CONNECTION_FAILED: net 251 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_SOCKS_CONNECTION_FAILED: net 253 jingle/glue/proxy_resolving_client_socket.cc case net::ERR_SOCKS_CONNECTION_HOST_UNREACHABLE: net 262 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_ADDRESS_UNREACHABLE; net 275 jingle/glue/proxy_resolving_client_socket.cc if (rv == net::OK || rv == net::ERR_IO_PENDING) { net 287 jingle/glue/proxy_resolving_client_socket.cc if (rv != net::ERR_IO_PENDING) { net 296 jingle/glue/proxy_resolving_client_socket.cc rv = net::ERR_IO_PENDING; net 327 jingle/glue/proxy_resolving_client_socket.cc net::IPEndPoint* address) const { net 331 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 335 jingle/glue/proxy_resolving_client_socket.cc net::IPEndPoint* address) const { net 339 jingle/glue/proxy_resolving_client_socket.cc return net::ERR_SOCKET_NOT_CONNECTED; net 342 jingle/glue/proxy_resolving_client_socket.cc const net::BoundNetLog& ProxyResolvingClientSocket::NetLog() const { net 381 jingle/glue/proxy_resolving_client_socket.cc net::NextProto ProxyResolvingClientSocket::GetNegotiatedProtocol() const { net 385 jingle/glue/proxy_resolving_client_socket.cc return net::kProtoUnknown; net 388 jingle/glue/proxy_resolving_client_socket.cc bool ProxyResolvingClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { net 25 jingle/glue/proxy_resolving_client_socket.h namespace net { net 35 jingle/glue/proxy_resolving_client_socket.h class ProxyResolvingClientSocket : public net::StreamSocket { net 44 jingle/glue/proxy_resolving_client_socket.h net::ClientSocketFactory* socket_factory, net 45 jingle/glue/proxy_resolving_client_socket.h const scoped_refptr<net::URLRequestContextGetter>& request_context_getter, net 46 jingle/glue/proxy_resolving_client_socket.h const net::SSLConfig& ssl_config, net 47 jingle/glue/proxy_resolving_client_socket.h const net::HostPortPair& dest_host_port_pair); net 51 jingle/glue/proxy_resolving_client_socket.h virtual int Read(net::IOBuffer* buf, int buf_len, net 52 jingle/glue/proxy_resolving_client_socket.h const net::CompletionCallback& callback) OVERRIDE; net 53 jingle/glue/proxy_resolving_client_socket.h virtual int Write(net::IOBuffer* buf, int buf_len, net 54 jingle/glue/proxy_resolving_client_socket.h const net::CompletionCallback& callback) OVERRIDE; net 57 jingle/glue/proxy_resolving_client_socket.h virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; net 61 jingle/glue/proxy_resolving_client_socket.h virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; net 62 jingle/glue/proxy_resolving_client_socket.h virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; net 63 jingle/glue/proxy_resolving_client_socket.h virtual const net::BoundNetLog& NetLog() const OVERRIDE; net 69 jingle/glue/proxy_resolving_client_socket.h virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; net 70 jingle/glue/proxy_resolving_client_socket.h virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; net 83 jingle/glue/proxy_resolving_client_socket.h net::CompletionCallback proxy_resolve_callback_; net 84 jingle/glue/proxy_resolving_client_socket.h net::CompletionCallback connect_callback_; net 86 jingle/glue/proxy_resolving_client_socket.h scoped_refptr<net::HttpNetworkSession> network_session_; net 89 jingle/glue/proxy_resolving_client_socket.h scoped_ptr<net::ClientSocketHandle> transport_; net 91 jingle/glue/proxy_resolving_client_socket.h const net::SSLConfig ssl_config_; net 92 jingle/glue/proxy_resolving_client_socket.h net::ProxyService::PacRequest* pac_request_; net 93 jingle/glue/proxy_resolving_client_socket.h net::ProxyInfo proxy_info_; net 94 jingle/glue/proxy_resolving_client_socket.h const net::HostPortPair dest_host_port_pair_; net 97 jingle/glue/proxy_resolving_client_socket.h net::BoundNetLog bound_net_log_; net 100 jingle/glue/proxy_resolving_client_socket.h net::CompletionCallback user_connect_callback_; net 20 jingle/glue/proxy_resolving_client_socket_unittest.cc class MyTestURLRequestContext : public net::TestURLRequestContext { net 24 jingle/glue/proxy_resolving_client_socket_unittest.cc net::ProxyService::CreateFixedFromPacResult( net 38 jingle/glue/proxy_resolving_client_socket_unittest.cc : url_request_context_getter_(new net::TestURLRequestContextGetter( net 40 jingle/glue/proxy_resolving_client_socket_unittest.cc scoped_ptr<net::TestURLRequestContext>( net 52 jingle/glue/proxy_resolving_client_socket_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 57 jingle/glue/proxy_resolving_client_socket_unittest.cc net::HostPortPair dest("0.0.0.0", 0); net 61 jingle/glue/proxy_resolving_client_socket_unittest.cc net::SSLConfig(), net 63 jingle/glue/proxy_resolving_client_socket_unittest.cc net::TestCompletionCallback callback; net 66 jingle/glue/proxy_resolving_client_socket_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, status); net 70 jingle/glue/proxy_resolving_client_socket_unittest.cc EXPECT_EQ(net::ERR_ADDRESS_INVALID, status); net 74 jingle/glue/proxy_resolving_client_socket_unittest.cc net::HostPortPair dest("example.com", 443); net 75 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockClientSocketFactory socket_factory; net 77 jingle/glue/proxy_resolving_client_socket_unittest.cc net::StaticSocketDataProvider socket_data1; net 79 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockConnect(net::ASYNC, net::ERR_ADDRESS_UNREACHABLE)); net 82 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockRead reads[] = { net 83 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockRead("HTTP/1.1 200 Success\r\n\r\n") net 85 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockWrite writes[] = { net 86 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockWrite("CONNECT example.com:443 HTTP/1.1\r\n" net 90 jingle/glue/proxy_resolving_client_socket_unittest.cc net::StaticSocketDataProvider socket_data2(reads, arraysize(reads), net 92 jingle/glue/proxy_resolving_client_socket_unittest.cc socket_data2.set_connect_data(net::MockConnect(net::ASYNC, net::OK)); net 98 jingle/glue/proxy_resolving_client_socket_unittest.cc net::SSLConfig(), net 101 jingle/glue/proxy_resolving_client_socket_unittest.cc net::TestCompletionCallback callback; net 103 jingle/glue/proxy_resolving_client_socket_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, status); net 105 jingle/glue/proxy_resolving_client_socket_unittest.cc EXPECT_EQ(net::OK, status); net 107 jingle/glue/proxy_resolving_client_socket_unittest.cc net::URLRequestContext* context = net 109 jingle/glue/proxy_resolving_client_socket_unittest.cc const net::ProxyRetryInfoMap& retry_info = net 113 jingle/glue/proxy_resolving_client_socket_unittest.cc net::ProxyRetryInfoMap::const_iterator iter = retry_info.find("bad:99"); net 28 jingle/glue/pseudotcp_adapter.cc Core(net::Socket* socket); net 31 jingle/glue/pseudotcp_adapter.cc int Read(net::IOBuffer* buffer, int buffer_size, net 32 jingle/glue/pseudotcp_adapter.cc const net::CompletionCallback& callback); net 33 jingle/glue/pseudotcp_adapter.cc int Write(net::IOBuffer* buffer, int buffer_size, net 34 jingle/glue/pseudotcp_adapter.cc const net::CompletionCallback& callback); net 35 jingle/glue/pseudotcp_adapter.cc int Connect(const net::CompletionCallback& callback); net 80 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback connect_callback_; net 81 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback read_callback_; net 82 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback write_callback_; net 85 jingle/glue/pseudotcp_adapter.cc scoped_ptr<net::Socket> socket_; net 87 jingle/glue/pseudotcp_adapter.cc scoped_refptr<net::IOBuffer> read_buffer_; net 89 jingle/glue/pseudotcp_adapter.cc scoped_refptr<net::IOBuffer> write_buffer_; net 105 jingle/glue/pseudotcp_adapter.cc scoped_refptr<net::IOBuffer> socket_read_buffer_; net 113 jingle/glue/pseudotcp_adapter.cc PseudoTcpAdapter::Core::Core(net::Socket* socket) net 126 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Core::Read(net::IOBuffer* buffer, int buffer_size, net 127 jingle/glue/pseudotcp_adapter.cc const net::CompletionCallback& callback) { net 135 jingle/glue/pseudotcp_adapter.cc result = net::MapSystemError(pseudo_tcp_.GetError()); net 139 jingle/glue/pseudotcp_adapter.cc if (result == net::ERR_IO_PENDING) { net 150 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Core::Write(net::IOBuffer* buffer, int buffer_size, net 151 jingle/glue/pseudotcp_adapter.cc const net::CompletionCallback& callback) { net 159 jingle/glue/pseudotcp_adapter.cc result = net::MapSystemError(pseudo_tcp_.GetError()); net 165 jingle/glue/pseudotcp_adapter.cc if (result == net::ERR_IO_PENDING) { net 184 jingle/glue/pseudotcp_adapter.cc return net::ERR_IO_PENDING; net 190 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Core::Connect(const net::CompletionCallback& callback) { net 199 jingle/glue/pseudotcp_adapter.cc return net::ERR_FAILED; net 206 jingle/glue/pseudotcp_adapter.cc return net::ERR_IO_PENDING; net 235 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = connect_callback_; net 237 jingle/glue/pseudotcp_adapter.cc callback.Run(net::OK); net 251 jingle/glue/pseudotcp_adapter.cc result = net::MapSystemError(pseudo_tcp_.GetError()); net 253 jingle/glue/pseudotcp_adapter.cc if (result == net::ERR_IO_PENDING) net 259 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = read_callback_; net 277 jingle/glue/pseudotcp_adapter.cc result = net::MapSystemError(pseudo_tcp_.GetError()); net 279 jingle/glue/pseudotcp_adapter.cc if (result == net::ERR_IO_PENDING) net 292 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = write_callback_; net 302 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = connect_callback_; net 304 jingle/glue/pseudotcp_adapter.cc callback.Run(net::MapSystemError(error)); net 308 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = read_callback_; net 310 jingle/glue/pseudotcp_adapter.cc callback.Run(net::MapSystemError(error)); net 314 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = write_callback_; net 316 jingle/glue/pseudotcp_adapter.cc callback.Run(net::MapSystemError(error)); net 356 jingle/glue/pseudotcp_adapter.cc scoped_refptr<net::IOBuffer> write_buffer = new net::IOBuffer(len); net 368 jingle/glue/pseudotcp_adapter.cc result = net::ERR_CONNECTION_CLOSED; net 370 jingle/glue/pseudotcp_adapter.cc if (result == net::ERR_IO_PENDING) { net 373 jingle/glue/pseudotcp_adapter.cc } else if (result == net::ERR_MSG_TOO_BIG) { net 384 jingle/glue/pseudotcp_adapter.cc socket_read_buffer_ = new net::IOBuffer(kReadBufferSize); net 392 jingle/glue/pseudotcp_adapter.cc if (result != net::ERR_IO_PENDING) net 454 jingle/glue/pseudotcp_adapter.cc net::CompletionCallback callback = write_callback_; net 464 jingle/glue/pseudotcp_adapter.cc PseudoTcpAdapter::PseudoTcpAdapter(net::Socket* socket) net 475 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Read(net::IOBuffer* buffer, int buffer_size, net 476 jingle/glue/pseudotcp_adapter.cc const net::CompletionCallback& callback) { net 481 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Write(net::IOBuffer* buffer, int buffer_size, net 482 jingle/glue/pseudotcp_adapter.cc const net::CompletionCallback& callback) { net 491 jingle/glue/pseudotcp_adapter.cc return net::OK; net 498 jingle/glue/pseudotcp_adapter.cc return net::OK; net 501 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Connect(const net::CompletionCallback& callback) { net 506 jingle/glue/pseudotcp_adapter.cc return net::OK; net 526 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::GetPeerAddress(net::IPEndPoint* address) const { net 531 jingle/glue/pseudotcp_adapter.cc net::IPAddressNumber ip_address(net::kIPv4AddressSize); net 532 jingle/glue/pseudotcp_adapter.cc *address = net::IPEndPoint(ip_address, 0); net 533 jingle/glue/pseudotcp_adapter.cc return net::OK; net 536 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::GetLocalAddress(net::IPEndPoint* address) const { net 539 jingle/glue/pseudotcp_adapter.cc return net::ERR_FAILED; net 542 jingle/glue/pseudotcp_adapter.cc const net::BoundNetLog& PseudoTcpAdapter::NetLog() const { net 573 jingle/glue/pseudotcp_adapter.cc net::NextProto PseudoTcpAdapter::GetNegotiatedProtocol() const { net 575 jingle/glue/pseudotcp_adapter.cc return net::kProtoUnknown; net 578 jingle/glue/pseudotcp_adapter.cc bool PseudoTcpAdapter::GetSSLInfo(net::SSLInfo* ssl_info) { net 25 jingle/glue/pseudotcp_adapter.h class PseudoTcpAdapter : public net::StreamSocket, base::NonThreadSafe { net 29 jingle/glue/pseudotcp_adapter.h PseudoTcpAdapter(net::Socket* socket); net 33 jingle/glue/pseudotcp_adapter.h virtual int Read(net::IOBuffer* buffer, int buffer_size, net 34 jingle/glue/pseudotcp_adapter.h const net::CompletionCallback& callback) OVERRIDE; net 35 jingle/glue/pseudotcp_adapter.h virtual int Write(net::IOBuffer* buffer, int buffer_size, net 36 jingle/glue/pseudotcp_adapter.h const net::CompletionCallback& callback) OVERRIDE; net 41 jingle/glue/pseudotcp_adapter.h virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; net 45 jingle/glue/pseudotcp_adapter.h virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; net 46 jingle/glue/pseudotcp_adapter.h virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; net 47 jingle/glue/pseudotcp_adapter.h virtual const net::BoundNetLog& NetLog() const OVERRIDE; net 53 jingle/glue/pseudotcp_adapter.h virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; net 54 jingle/glue/pseudotcp_adapter.h virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; net 85 jingle/glue/pseudotcp_adapter.h net::BoundNetLog net_log_; net 75 jingle/glue/pseudotcp_adapter_unittest.cc class FakeSocket : public net::Socket { net 90 jingle/glue/pseudotcp_adapter_unittest.cc net::CompletionCallback cb = read_callback_; net 110 jingle/glue/pseudotcp_adapter_unittest.cc virtual int Read(net::IOBuffer* buf, int buf_len, net 111 jingle/glue/pseudotcp_adapter_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 116 jingle/glue/pseudotcp_adapter_unittest.cc scoped_refptr<net::IOBuffer> buffer(buf); net 126 jingle/glue/pseudotcp_adapter_unittest.cc return net::ERR_IO_PENDING; net 130 jingle/glue/pseudotcp_adapter_unittest.cc virtual int Write(net::IOBuffer* buf, int buf_len, net 131 jingle/glue/pseudotcp_adapter_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 147 jingle/glue/pseudotcp_adapter_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 151 jingle/glue/pseudotcp_adapter_unittest.cc return net::ERR_NOT_IMPLEMENTED; net 155 jingle/glue/pseudotcp_adapter_unittest.cc scoped_refptr<net::IOBuffer> read_buffer_; net 157 jingle/glue/pseudotcp_adapter_unittest.cc net::CompletionCallback read_callback_; net 169 jingle/glue/pseudotcp_adapter_unittest.cc net::Socket* client_socket, net 170 jingle/glue/pseudotcp_adapter_unittest.cc net::Socket* host_socket) net 211 jingle/glue/pseudotcp_adapter_unittest.cc output_buffer_ = new net::DrainableIOBuffer( net 212 jingle/glue/pseudotcp_adapter_unittest.cc new net::IOBuffer(kTestDataSize), kTestDataSize); net 215 jingle/glue/pseudotcp_adapter_unittest.cc input_buffer_ = new net::GrowableIOBuffer(); net 242 jingle/glue/pseudotcp_adapter_unittest.cc if (result <= 0 && result != net::ERR_IO_PENDING) { net 270 jingle/glue/pseudotcp_adapter_unittest.cc if (result <= 0 && result != net::ERR_IO_PENDING) { net 288 jingle/glue/pseudotcp_adapter_unittest.cc net::Socket* host_socket_; net 289 jingle/glue/pseudotcp_adapter_unittest.cc net::Socket* client_socket_; net 292 jingle/glue/pseudotcp_adapter_unittest.cc scoped_refptr<net::DrainableIOBuffer> output_buffer_; net 293 jingle/glue/pseudotcp_adapter_unittest.cc scoped_refptr<net::GrowableIOBuffer> input_buffer_; net 323 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback host_connect_cb; net 324 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback client_connect_cb; net 329 jingle/glue/pseudotcp_adapter_unittest.cc if (rv1 == net::ERR_IO_PENDING) net 331 jingle/glue/pseudotcp_adapter_unittest.cc if (rv2 == net::ERR_IO_PENDING) net 333 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(net::OK, rv1); net 334 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(net::OK, rv2); net 358 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback host_connect_cb; net 359 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback client_connect_cb; net 364 jingle/glue/pseudotcp_adapter_unittest.cc if (rv1 == net::ERR_IO_PENDING) net 366 jingle/glue/pseudotcp_adapter_unittest.cc if (rv2 == net::ERR_IO_PENDING) net 368 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(net::OK, rv1); net 369 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(net::OK, rv2); net 397 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback client_connect_cb; net 411 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback host_connect_cb; net 412 jingle/glue/pseudotcp_adapter_unittest.cc net::TestCompletionCallback client_connect_cb; net 424 jingle/glue/pseudotcp_adapter_unittest.cc if (rv1 == net::ERR_IO_PENDING) net 426 jingle/glue/pseudotcp_adapter_unittest.cc if (rv2 == net::ERR_IO_PENDING) net 428 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(net::OK, rv1); net 429 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(net::OK, rv2); net 10 jingle/glue/resolving_client_socket_factory.h namespace net { net 27 jingle/glue/resolving_client_socket_factory.h virtual scoped_ptr<net::StreamSocket> CreateTransportClientSocket( net 28 jingle/glue/resolving_client_socket_factory.h const net::HostPortPair& host_and_port) = 0; net 30 jingle/glue/resolving_client_socket_factory.h virtual scoped_ptr<net::SSLClientSocket> CreateSSLClientSocket( net 31 jingle/glue/resolving_client_socket_factory.h scoped_ptr<net::ClientSocketHandle> transport_socket, net 32 jingle/glue/resolving_client_socket_factory.h const net::HostPortPair& host_and_port) = 0; net 20 jingle/glue/utils.cc bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint, net 29 jingle/glue/utils.cc net::IPEndPoint* ip_endpoint) { net 10 jingle/glue/utils.h namespace net { net 27 jingle/glue/utils.h bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint, net 30 jingle/glue/utils.h net::IPEndPoint* ip_endpoint); net 19 jingle/glue/xmpp_client_socket_factory.cc net::ClientSocketFactory* client_socket_factory, net 20 jingle/glue/xmpp_client_socket_factory.cc const net::SSLConfig& ssl_config, net 21 jingle/glue/xmpp_client_socket_factory.cc const scoped_refptr<net::URLRequestContextGetter>& request_context_getter, net 32 jingle/glue/xmpp_client_socket_factory.cc scoped_ptr<net::StreamSocket> net 34 jingle/glue/xmpp_client_socket_factory.cc const net::HostPortPair& host_and_port) { net 36 jingle/glue/xmpp_client_socket_factory.cc scoped_ptr<net::StreamSocket> transport_socket( net 43 jingle/glue/xmpp_client_socket_factory.cc scoped_ptr<net::StreamSocket>( net 48 jingle/glue/xmpp_client_socket_factory.cc scoped_ptr<net::SSLClientSocket> net 50 jingle/glue/xmpp_client_socket_factory.cc scoped_ptr<net::ClientSocketHandle> transport_socket, net 51 jingle/glue/xmpp_client_socket_factory.cc const net::HostPortPair& host_and_port) { net 52 jingle/glue/xmpp_client_socket_factory.cc net::SSLClientSocketContext context; net 15 jingle/glue/xmpp_client_socket_factory.h namespace net { net 30 jingle/glue/xmpp_client_socket_factory.h net::ClientSocketFactory* client_socket_factory, net 31 jingle/glue/xmpp_client_socket_factory.h const net::SSLConfig& ssl_config, net 32 jingle/glue/xmpp_client_socket_factory.h const scoped_refptr<net::URLRequestContextGetter>& request_context_getter, net 38 jingle/glue/xmpp_client_socket_factory.h virtual scoped_ptr<net::StreamSocket> CreateTransportClientSocket( net 39 jingle/glue/xmpp_client_socket_factory.h const net::HostPortPair& host_and_port) OVERRIDE; net 41 jingle/glue/xmpp_client_socket_factory.h virtual scoped_ptr<net::SSLClientSocket> CreateSSLClientSocket( net 42 jingle/glue/xmpp_client_socket_factory.h scoped_ptr<net::ClientSocketHandle> transport_socket, net 43 jingle/glue/xmpp_client_socket_factory.h const net::HostPortPair& host_and_port) OVERRIDE; net 46 jingle/glue/xmpp_client_socket_factory.h net::ClientSocketFactory* const client_socket_factory_; net 47 jingle/glue/xmpp_client_socket_factory.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 48 jingle/glue/xmpp_client_socket_factory.h const net::SSLConfig ssl_config_; net 35 jingle/notifier/base/notifier_options.h net::HostPortPair xmpp_host_port; net 45 jingle/notifier/base/notifier_options.h scoped_refptr<net::URLRequestContextGetter> request_context_getter; net 54 jingle/notifier/base/notifier_options_util.cc net::HostPortPair("talk.google.com", net 59 jingle/notifier/base/notifier_options_util.cc net::HostPortPair("talkx.l.google.com", net 12 jingle/notifier/base/server_information.cc const net::HostPortPair& server, SslTcpSupport ssltcp_support) net 19 jingle/notifier/base/server_information.h ServerInformation(const net::HostPortPair& server, net 26 jingle/notifier/base/server_information.h net::HostPortPair server; net 28 jingle/notifier/base/xmpp_connection.cc const scoped_refptr<net::URLRequestContextGetter>& request_context_getter) { net 32 jingle/notifier/base/xmpp_connection.cc const net::SSLConfig ssl_config; net 39 jingle/notifier/base/xmpp_connection.cc net::ClientSocketFactory::GetDefaultFactory(), net 51 jingle/notifier/base/xmpp_connection.cc const scoped_refptr<net::URLRequestContextGetter>& request_context_getter, net 72 jingle/notifier/base/xmpp_connection.h const scoped_refptr<net::URLRequestContextGetter>& net 78 jingle/notifier/base/xmpp_connection_unittest.cc url_request_context_getter_(new net::TestURLRequestContextGetter( net 92 jingle/notifier/base/xmpp_connection_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_; net 19 jingle/notifier/communicator/connection_settings_unittest.cc net::HostPortPair("supports_ssltcp.com", 100), net 23 jingle/notifier/communicator/connection_settings_unittest.cc net::HostPortPair("does_not_support_ssltcp.com", 200), net 31 jingle/notifier/communicator/login.cc const scoped_refptr<net::URLRequestContextGetter>& net 42 jingle/notifier/communicator/login.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 43 jingle/notifier/communicator/login.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 49 jingle/notifier/communicator/login.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 50 jingle/notifier/communicator/login.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 100 jingle/notifier/communicator/login.cc net::NetworkChangeNotifier::ConnectionType type) { net 28 jingle/notifier/communicator/login.h namespace net { net 41 jingle/notifier/communicator/login.h class Login : public net::NetworkChangeNotifier::IPAddressObserver, net 42 jingle/notifier/communicator/login.h public net::NetworkChangeNotifier::ConnectionTypeObserver, net 43 jingle/notifier/communicator/login.h public net::NetworkChangeNotifier::DNSObserver, net 70 jingle/notifier/communicator/login.h const scoped_refptr<net::URLRequestContextGetter>& net 90 jingle/notifier/communicator/login.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 18 jingle/notifier/communicator/login_settings.cc const scoped_refptr<net::URLRequestContextGetter>& net 20 jingle/notifier/communicator/login_settings.h const scoped_refptr<net::URLRequestContextGetter>& net 36 jingle/notifier/communicator/login_settings.h scoped_refptr<net::URLRequestContextGetter> request_context_getter() const { net 61 jingle/notifier/communicator/login_settings.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 23 jingle/notifier/communicator/login_settings_unittest.cc net::HostPortPair("default.com", 100), net 51 jingle/notifier/communicator/login_settings_unittest.cc net::HostPortPair("redirect.com", 200), net 59 jingle/notifier/communicator/single_login_attempt.cc net::HostPortPair ParseRedirectText(const std::string& redirect_text) { net 62 jingle/notifier/communicator/single_login_attempt.cc net::HostPortPair redirect_server; net 121 jingle/notifier/communicator/single_login_attempt.cc const net::HostPortPair& redirect_server = net 73 jingle/notifier/communicator/single_login_attempt_unittest.cc class MyTestURLRequestContext : public net::TestURLRequestContext { net 77 jingle/notifier/communicator/single_login_attempt_unittest.cc scoped_ptr<net::HostResolver>(new net::HangingHostResolver())); net 88 jingle/notifier/communicator/single_login_attempt_unittest.cc new net::TestURLRequestContextGetter( net 90 jingle/notifier/communicator/single_login_attempt_unittest.cc scoped_ptr<net::TestURLRequestContext>( net 95 jingle/notifier/communicator/single_login_attempt_unittest.cc net::HostPortPair("example.com", 100), SUPPORTS_SSLTCP)), net 168 jingle/notifier/communicator/single_login_attempt_unittest.cc net::HostPortPair("example.com", 1000), net 183 jingle/notifier/communicator/single_login_attempt_unittest.cc net::HostPortPair("example.com", kDefaultXmppPort), net 198 jingle/notifier/communicator/single_login_attempt_unittest.cc net::HostPortPair("example.com", kDefaultXmppPort), net 213 jingle/notifier/communicator/single_login_attempt_unittest.cc net::HostPortPair("example.com", kDefaultXmppPort), net 25 jingle/notifier/listener/push_client_unittest.cc new net::TestURLRequestContextGetter( net 37 jingle/notifier/listener/xmpp_push_client_unittest.cc new net::TestURLRequestContextGetter( net 9 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java import android.net.Uri; net 74 media/cast/audio_sender/audio_sender_unittest.cc net::IPEndPoint dummy_endpoint; net 158 media/cast/rtcp/rtcp_unittest.cc net::IPEndPoint dummy_endpoint; net 527 media/cast/test/end2end_unittest.cc net::IPEndPoint dummy_endpoint; net 134 media/cast/test/receiver.cc const net::IPEndPoint& local_end_point, net 135 media/cast/test/receiver.cc const net::IPEndPoint& remote_end_point, net 210 media/cast/test/receiver.cc net::IPAddressNumber remote_ip_number; net 211 media/cast/test/receiver.cc net::IPAddressNumber local_ip_number; net 213 media/cast/test/receiver.cc if (!net::ParseIPLiteralToNumber(remote_ip_address, &remote_ip_number)) { net 218 media/cast/test/receiver.cc if (!net::ParseIPLiteralToNumber(local_ip_address, &local_ip_number)) { net 223 media/cast/test/receiver.cc net::IPEndPoint remote_end_point(remote_ip_number, remote_port); net 224 media/cast/test/receiver.cc net::IPEndPoint local_end_point(local_ip_number, local_port); net 368 media/cast/test/sender.cc net::IPEndPoint CreateUDPAddress(std::string ip_str, int port) { net 369 media/cast/test/sender.cc net::IPAddressNumber ip_number; net 370 media/cast/test/sender.cc CHECK(net::ParseIPLiteralToNumber(ip_str, &ip_number)); net 371 media/cast/test/sender.cc return net::IPEndPoint(ip_number, port); net 468 media/cast/test/sender.cc net::IPEndPoint remote_endpoint = net 25 media/cast/test/utility/in_process_receiver.cc const net::IPEndPoint& local_end_point, net 26 media/cast/test/utility/in_process_receiver.cc const net::IPEndPoint& remote_end_point, net 20 media/cast/test/utility/in_process_receiver.h namespace net { net 47 media/cast/test/utility/in_process_receiver.h const net::IPEndPoint& local_end_point, net 48 media/cast/test/utility/in_process_receiver.h const net::IPEndPoint& remote_end_point, net 109 media/cast/test/utility/in_process_receiver.h const net::IPEndPoint local_end_point_; net 110 media/cast/test/utility/in_process_receiver.h const net::IPEndPoint remote_end_point_; net 302 media/cast/test/utility/udp_proxy.cc PacketSender(net::UDPSocket* udp_socket, net 303 media/cast/test/utility/udp_proxy.cc const net::IPEndPoint* destination) : net 318 media/cast/test/utility/udp_proxy.cc scoped_refptr<net::IOBuffer> buf = net 319 media/cast/test/utility/udp_proxy.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&packet->front())); net 324 media/cast/test/utility/udp_proxy.cc result = net::ERR_INVALID_ARGUMENT; net 335 media/cast/test/utility/udp_proxy.cc if (result == net::ERR_IO_PENDING) { net 346 media/cast/test/utility/udp_proxy.cc void AllowWrite(scoped_refptr<net::IOBuffer> buf, net 353 media/cast/test/utility/udp_proxy.cc net::UDPSocket* udp_socket_; net 354 media/cast/test/utility/udp_proxy.cc const net::IPEndPoint* destination_; // not owned net 404 media/cast/test/utility/udp_proxy.cc UDPProxyImpl(const net::IPEndPoint& local_port, net 405 media/cast/test/utility/udp_proxy.cc const net::IPEndPoint& destination, net 408 media/cast/test/utility/udp_proxy.cc net::NetLog* net_log) : net 425 media/cast/test/utility/udp_proxy.cc void Start(net::NetLog* net_log) { net 426 media/cast/test/utility/udp_proxy.cc socket_.reset(new net::UDPSocket(net::DatagramSocket::DEFAULT_BIND, net 427 media/cast/test/utility/udp_proxy.cc net::RandIntCallback(), net 429 media/cast/test/utility/udp_proxy.cc net::NetLog::Source())); net 449 media/cast/test/utility/udp_proxy.cc void ProcessPacket(scoped_refptr<net::IOBuffer> recv_buf, net 451 media/cast/test/utility/udp_proxy.cc DCHECK_NE(len, net::ERR_IO_PENDING); net 467 media/cast/test/utility/udp_proxy.cc void ReadCallback(scoped_refptr<net::IOBuffer> recv_buf, net 476 media/cast/test/utility/udp_proxy.cc scoped_refptr<net::IOBuffer> recv_buf = net 477 media/cast/test/utility/udp_proxy.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&packet_->front())); net 485 media/cast/test/utility/udp_proxy.cc if (len == net::ERR_IO_PENDING) net 492 media/cast/test/utility/udp_proxy.cc net::IPEndPoint local_port_; net 493 media/cast/test/utility/udp_proxy.cc net::IPEndPoint destination_; net 494 media/cast/test/utility/udp_proxy.cc net::IPEndPoint recv_address_; net 495 media/cast/test/utility/udp_proxy.cc net::IPEndPoint return_address_; net 497 media/cast/test/utility/udp_proxy.cc scoped_ptr<net::UDPSocket> socket_; net 505 media/cast/test/utility/udp_proxy.cc const net::IPEndPoint& local_port, net 506 media/cast/test/utility/udp_proxy.cc const net::IPEndPoint& destination, net 509 media/cast/test/utility/udp_proxy.cc net::NetLog* net_log) { net 17 media/cast/test/utility/udp_proxy.h namespace net { net 49 media/cast/test/utility/udp_proxy.h static scoped_ptr<UDPProxy> Create(const net::IPEndPoint& local_port, net 50 media/cast/test/utility/udp_proxy.h const net::IPEndPoint& destination, net 53 media/cast/test/utility/udp_proxy.h net::NetLog* net_log); net 29 media/cast/test/utility/udp_proxy_main.cc net::IPAddressNumber remote_ip_number; net 30 media/cast/test/utility/udp_proxy_main.cc net::IPAddressNumber local_ip_number; net 32 media/cast/test/utility/udp_proxy_main.cc CHECK(net::ParseIPLiteralToNumber(argv[2], &remote_ip_number)); net 33 media/cast/test/utility/udp_proxy_main.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &local_ip_number)); net 34 media/cast/test/utility/udp_proxy_main.cc net::IPEndPoint remote_endpoint(remote_ip_number, remote_port); net 35 media/cast/test/utility/udp_proxy_main.cc net::IPEndPoint local_endpoint(local_ip_number, local_port); net 36 media/cast/transport/cast_transport_sender.h namespace net { net 60 media/cast/transport/cast_transport_sender.h net::NetLog* net_log, net 62 media/cast/transport/cast_transport_sender.h const net::IPEndPoint& remote_end_point, net 16 media/cast/transport/cast_transport_sender_impl.cc net::NetLog* net_log, net 18 media/cast/transport/cast_transport_sender_impl.cc const net::IPEndPoint& remote_end_point, net 35 media/cast/transport/cast_transport_sender_impl.cc net::NetLog* net_log, net 37 media/cast/transport/cast_transport_sender_impl.cc const net::IPEndPoint& remote_end_point, net 49 media/cast/transport/cast_transport_sender_impl.cc net::IPEndPoint(), net 38 media/cast/transport/cast_transport_sender_impl.h net::NetLog* net_log, net 40 media/cast/transport/cast_transport_sender_impl.h const net::IPEndPoint& remote_end_point, net 49 media/cast/transport/cast_transport_sender_impl_unittest.cc net::IPEndPoint(), net 62 media/cast/transport/cast_transport_sender_impl_unittest.cc net::IPEndPoint(), net 27 media/cast/transport/transport/udp_transport.cc bool IsEmpty(const net::IPEndPoint& addr) { net 28 media/cast/transport/transport/udp_transport.cc net::IPAddressNumber empty_addr(addr.address().size()); net 34 media/cast/transport/transport/udp_transport.cc bool IsEqual(const net::IPEndPoint& addr1, const net::IPEndPoint& addr2) { net 42 media/cast/transport/transport/udp_transport.cc net::NetLog* net_log, net 44 media/cast/transport/transport/udp_transport.cc const net::IPEndPoint& local_end_point, net 45 media/cast/transport/transport/udp_transport.cc const net::IPEndPoint& remote_end_point, net 50 media/cast/transport/transport/udp_transport.cc udp_socket_(new net::UDPSocket(net::DatagramSocket::DEFAULT_BIND, net 51 media/cast/transport/transport/udp_transport.cc net::RandIntCallback(), net 53 media/cast/transport/transport/udp_transport.cc net::NetLog::Source())), net 87 media/cast/transport/transport/udp_transport.cc ReceiveNextPacket(net::ERR_IO_PENDING); net 97 media/cast/transport/transport/udp_transport.cc if (length_or_status == net::ERR_IO_PENDING) { net 99 media/cast/transport/transport/udp_transport.cc recv_buf_ = new net::WrappedIOBuffer( net 107 media/cast/transport/transport/udp_transport.cc if (length_or_status == net::ERR_IO_PENDING) net 132 media/cast/transport/transport/udp_transport.cc length_or_status = net::ERR_IO_PENDING; net 138 media/cast/transport/transport/udp_transport.cc length_or_status = net::ERR_IO_PENDING; net 152 media/cast/transport/transport/udp_transport.cc scoped_refptr<net::IOBuffer> buf = net 153 media/cast/transport/transport/udp_transport.cc new net::IOBuffer(static_cast<int>(packet.size())); net 174 media/cast/transport/transport/udp_transport.cc if (ret == net::ERR_IO_PENDING) net 177 media/cast/transport/transport/udp_transport.cc return ret >= net::OK; net 180 media/cast/transport/transport/udp_transport.cc void UdpTransport::OnSent(const scoped_refptr<net::IOBuffer>& buf, int result) { net 17 media/cast/transport/transport/udp_transport.h namespace net { net 39 media/cast/transport/transport/udp_transport.h net::NetLog* net_log, net 41 media/cast/transport/transport/udp_transport.h const net::IPEndPoint& local_end_point, net 42 media/cast/transport/transport/udp_transport.h const net::IPEndPoint& remote_end_point, net 59 media/cast/transport/transport/udp_transport.h void OnSent(const scoped_refptr<net::IOBuffer>& buf, int result); net 62 media/cast/transport/transport/udp_transport.h const net::IPEndPoint local_addr_; net 63 media/cast/transport/transport/udp_transport.h net::IPEndPoint remote_addr_; net 64 media/cast/transport/transport/udp_transport.h const scoped_ptr<net::UDPSocket> udp_socket_; net 68 media/cast/transport/transport/udp_transport.h scoped_refptr<net::WrappedIOBuffer> recv_buf_; net 69 media/cast/transport/transport/udp_transport.h net::IPEndPoint recv_addr_; net 58 media/cast/transport/transport/udp_transport_unittest.cc net::IPAddressNumber local_addr_number; net 59 media/cast/transport/transport/udp_transport_unittest.cc net::IPAddressNumber empty_addr_number; net 60 media/cast/transport/transport/udp_transport_unittest.cc net::ParseIPLiteralToNumber("127.0.0.1", &local_addr_number); net 61 media/cast/transport/transport/udp_transport_unittest.cc net::ParseIPLiteralToNumber("0.0.0.0", &empty_addr_number); net 65 media/cast/transport/transport/udp_transport_unittest.cc net::IPEndPoint(local_addr_number, 2344), net 66 media/cast/transport/transport/udp_transport_unittest.cc net::IPEndPoint(local_addr_number, 2345), net 70 media/cast/transport/transport/udp_transport_unittest.cc net::IPEndPoint(local_addr_number, 2345), net 71 media/cast/transport/transport/udp_transport_unittest.cc net::IPEndPoint(empty_addr_number, 0), net 112 media/cast/video_sender/video_sender_unittest.cc net::IPEndPoint dummy_endpoint; net 39 mojo/shell/android/library_loader.cc if (!net::android::RegisterJni(env)) net 25 mojo/shell/context.cc scoped_ptr<net::NetworkDelegate>(new NetworkDelegate()), net 25 mojo/shell/loader.cc fetcher_.reset(net::URLFetcher::Create(app_url, net::URLFetcher::GET, this)); net 31 mojo/shell/loader.cc void Loader::Job::OnURLFetchComplete(const net::URLFetcher* source) { net 32 mojo/shell/loader.cc net::URLRequestStatus status = source->GetStatus(); net 52 mojo/shell/loader.cc scoped_ptr<net::NetworkDelegate> network_delegate, net 81 mojo/shell/loader.cc job->fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE); net 17 mojo/shell/loader.h namespace net { net 37 mojo/shell/loader.h class Job : public net::URLFetcherDelegate { net 47 mojo/shell/loader.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 49 mojo/shell/loader.h scoped_ptr<net::URLFetcher> fetcher_; net 58 mojo/shell/loader.h scoped_ptr<net::NetworkDelegate> network_delegate, net 16 mojo/shell/network_delegate.cc bool NetworkDelegate::OnCanAccessFile(const net::URLRequest& request, net 14 mojo/shell/network_delegate.h class NetworkDelegate : public net::NetworkDelegate { net 17 mojo/shell/network_delegate.h virtual bool OnCanAccessFile(const net::URLRequest& request, net 36 mojo/shell/url_request_context_getter.cc scoped_ptr<net::NetworkDelegate> network_delegate) net 42 mojo/shell/url_request_context_getter.cc net_log_(new net::NetLog()) { net 48 mojo/shell/url_request_context_getter.cc net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { net 50 mojo/shell/url_request_context_getter.cc url_request_context_.reset(new net::URLRequestContext()); net 55 mojo/shell/url_request_context_getter.cc new net::URLRequestContextStorage(url_request_context_.get())); net 57 mojo/shell/url_request_context_getter.cc storage_->set_cookie_store(new net::CookieMonster(NULL, NULL)); net 59 mojo/shell/url_request_context_getter.cc new net::StaticHttpUserAgentSettings("en-us,en", "Mojo/0.1")); net 61 mojo/shell/url_request_context_getter.cc storage_->set_proxy_service(net::ProxyService::CreateDirect()); net 62 mojo/shell/url_request_context_getter.cc storage_->set_ssl_config_service(new net::SSLConfigServiceDefaults); net 63 mojo/shell/url_request_context_getter.cc storage_->set_cert_verifier(net::CertVerifier::CreateDefault()); net 65 mojo/shell/url_request_context_getter.cc net::TransportSecurityState* transport_security_state = net 66 mojo/shell/url_request_context_getter.cc new net::TransportSecurityState(); net 70 mojo/shell/url_request_context_getter.cc new net::TransportSecurityPersister( net 76 mojo/shell/url_request_context_getter.cc storage_->set_server_bound_cert_service(new net::ServerBoundCertService( net 77 mojo/shell/url_request_context_getter.cc new net::DefaultServerBoundCertStore(NULL), file_task_runner_)); net 79 mojo/shell/url_request_context_getter.cc scoped_ptr<net::HttpServerProperties>( net 80 mojo/shell/url_request_context_getter.cc new net::HttpServerPropertiesImpl())); net 81 mojo/shell/url_request_context_getter.cc storage_->set_host_resolver(net::HostResolver::CreateDefaultResolver( net 84 mojo/shell/url_request_context_getter.cc net::HttpNetworkSession::Params network_session_params; net 104 mojo/shell/url_request_context_getter.cc net::HttpCache::DefaultBackend* main_backend = net 105 mojo/shell/url_request_context_getter.cc new net::HttpCache::DefaultBackend( net 106 mojo/shell/url_request_context_getter.cc net::DISK_CACHE, net 107 mojo/shell/url_request_context_getter.cc net::CACHE_BACKEND_DEFAULT, net 112 mojo/shell/url_request_context_getter.cc net::HttpCache* main_cache = new net::HttpCache( net 116 mojo/shell/url_request_context_getter.cc scoped_ptr<net::URLRequestJobFactoryImpl> job_factory( net 117 mojo/shell/url_request_context_getter.cc new net::URLRequestJobFactoryImpl()); net 120 mojo/shell/url_request_context_getter.cc new net::FileProtocolHandler(file_task_runner_)); net 19 mojo/shell/url_request_context_getter.h class URLRequestContextGetter : public net::URLRequestContextGetter { net 26 mojo/shell/url_request_context_getter.h scoped_ptr<net::NetworkDelegate> network_delegate); net 28 mojo/shell/url_request_context_getter.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 40 mojo/shell/url_request_context_getter.h scoped_ptr<net::NetworkDelegate> network_delegate_; net 41 mojo/shell/url_request_context_getter.h scoped_ptr<net::NetLog> net_log_; net 42 mojo/shell/url_request_context_getter.h scoped_ptr<net::URLRequestContextStorage> storage_; net 43 mojo/shell/url_request_context_getter.h scoped_ptr<net::URLRequestContext> url_request_context_; net 44 mojo/shell/url_request_context_getter.h scoped_ptr<net::TransportSecurityPersister> transport_security_persister_; net 15 net/android/android_private_key.h namespace net { net 15 net/android/cert_verify_result_android.h namespace net { net 10 net/android/gurl_utils.h namespace net { net 5 net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/AndroidKeyStore.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java package org.chromium.net; net 16 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.net.Inet6Address; net 17 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.net.InetAddress; net 18 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.net.InterfaceAddress; net 19 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.net.NetworkInterface; net 20 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.net.SocketException; net 21 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.net.URLConnection; net 5 net/android/java/src/org/chromium/net/AndroidPrivateKey.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/DefaultAndroidKeyStore.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/GURLUtils.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java package org.chromium.net; net 11 net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java import android.net.ConnectivityManager; net 12 net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java import android.net.wifi.WifiInfo; net 13 net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java import android.net.wifi.WifiManager; net 5 net/android/java/src/org/chromium/net/ProxyChangeListener.java package org.chromium.net; net 11 net/android/java/src/org/chromium/net/ProxyChangeListener.java import android.net.Proxy; net 5 net/android/java/src/org/chromium/net/RemoteAndroidKeyStore.java package org.chromium.net; net 5 net/android/java/src/org/chromium/net/X509Util.java package org.chromium.net; net 12 net/android/java/src/org/chromium/net/X509Util.java import android.net.http.X509TrustManagerExtensions; net 39 net/android/java/src/org/chromium/net/X509Util.java import javax.net.ssl.TrustManager; net 40 net/android/java/src/org/chromium/net/X509Util.java import javax.net.ssl.TrustManagerFactory; net 41 net/android/java/src/org/chromium/net/X509Util.java import javax.net.ssl.X509TrustManager; net 5 net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java package org.chromium.net; net 15 net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java package org.chromium.net; net 22 net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java import java.net.Proxy; net 23 net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java import java.net.ProxySelector; net 24 net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java import java.net.URI; net 25 net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java import java.net.URISyntaxException; net 9 net/android/javatests/src/org/chromium/net/NetErrorsTest.java package org.chromium.net; net 5 net/android/javatests/src/org/chromium/net/NetworkChangeNotifierTest.java package org.chromium.net; net 9 net/android/javatests/src/org/chromium/net/NetworkChangeNotifierTest.java import android.net.ConnectivityManager; net 5 net/android/javatests/src/org/chromium/net/X509UtilTest.java package org.chromium.net; net 23 net/android/keystore.h namespace net { net 18 net/android/keystore_openssl.h namespace net { net 22 net/android/net_jni_registrar.cc { "AndroidCertVerifyResult", net::android::RegisterCertVerifyResult }, net 23 net/android/net_jni_registrar.cc { "AndroidPrivateKey", net::android::RegisterAndroidPrivateKey}, net 24 net/android/net_jni_registrar.cc { "AndroidKeyStore", net::android::RegisterKeyStore }, net 25 net/android/net_jni_registrar.cc { "AndroidNetworkLibrary", net::android::RegisterNetworkLibrary }, net 26 net/android/net_jni_registrar.cc { "GURLUtils", net::RegisterGURLUtils }, net 28 net/android/net_jni_registrar.cc net::NetworkChangeNotifierAndroid::Register }, net 29 net/android/net_jni_registrar.cc { "ProxyConfigService", net::ProxyConfigServiceAndroid::Register }, net 30 net/android/net_jni_registrar.cc { "X509Util", net::RegisterX509Util }, net 12 net/android/net_jni_registrar.h namespace net { net 14 net/android/network_change_notifier_android.h namespace net { net 16 net/android/network_change_notifier_delegate_android.h namespace net { net 14 net/android/network_change_notifier_factory_android.h namespace net { net 81 net/android/network_library.cc void StoreCertificate(net::CertificateMimeType cert_type, net 18 net/android/network_library.h namespace net { net 54 net/android/network_library.h NET_EXPORT void StoreCertificate(net::CertificateMimeType cert_type, net 8 net/base/address_family.h namespace net { net 20 net/base/address_list.h namespace net { net 26 net/base/address_tracker_linux.h namespace net { net 15 net/base/auth.h namespace net { net 12 net/base/backoff_entry.h namespace net { net 12 net/base/backoff_entry_unittest.cc using net::BackoffEntry; net 8 net/base/bandwidth_metrics.cc static base::LazyInstance<net::BandwidthMetrics> g_bandwidth_metrics = net 14 net/base/bandwidth_metrics.h namespace net { net 8 net/base/cache_type.h namespace net { net 110 net/base/capturing_net_log.cc void CapturingNetLog::Observer::OnAddEntry(const net::NetLog::Entry& entry) { net 164 net/base/capturing_net_log.cc net::NetLog::SOURCE_NONE)) { net 25 net/base/capturing_net_log.h namespace net { net 11 net/base/completion_callback.h namespace net { net 15 net/base/connection_type_histograms.h namespace net { net 18 net/base/crypto_module.h namespace net { net 14 net/base/data_url.h namespace net { net 173 net/base/data_url_unittest.cc net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data); net 16 net/base/directory_lister.h namespace net { net 42 net/base/dns_reloader.cc class DnsReloader : public net::NetworkChangeNotifier::DNSObserver { net 84 net/base/dns_reloader.cc net::NetworkChangeNotifier::AddDNSObserver(this); net 11 net/base/dns_reloader.h namespace net { net 14 net/base/dns_util.h namespace net { net 143 net/base/escape.cc net::internal::AdjustEncodingOffset::Adjustments adjustments; net 232 net/base/escape.cc net::internal::AdjustEncodingOffset(adjustments)); net 15 net/base/escape.h namespace net { net 15 net/base/expiring_cache.h namespace net { net 54 net/base/file_stream.cc net::NetLog* net_log, net 61 net/base/file_stream.cc FileStream::FileStream(base::File file, net::NetLog* net_log) net 25 net/base/file_stream.h namespace net { net 34 net/base/file_stream.h FileStream(net::NetLog* net_log, net 38 net/base/file_stream.h explicit FileStream(net::NetLog* net_log); net 53 net/base/file_stream.h net::NetLog* net_log, net 58 net/base/file_stream.h FileStream(base::PlatformFile file, int flags, net::NetLog* net_log); net 62 net/base/file_stream.h net::NetLog* net_log, net 64 net/base/file_stream.h FileStream(base::File file, net::NetLog* net_log); net 249 net/base/file_stream.h void SetBoundNetLogSource(const net::BoundNetLog& owner_bound_net_log); net 257 net/base/file_stream.h net::BoundNetLog bound_net_log_; net 20 net/base/file_stream_context.cc void CallInt64ToInt(const net::CompletionCallback& callback, int64 result) { net 208 net/base/file_stream_context.cc static_cast<net::Error>(result.result))); net 48 net/base/file_stream_context.h namespace net { net 10 net/base/file_stream_metrics.h namespace net { net 14 net/base/file_stream_net_log_parameters.cc net::Error net_error, net 16 net/base/file_stream_net_log_parameters.h namespace net { net 22 net/base/file_stream_net_log_parameters.h net::Error net_error, net 8 net/base/file_stream_whence.h namespace net { net 18 net/base/hash_value.h namespace net { net 13 net/base/host_mapping_rules.h namespace net { net 14 net/base/host_port_pair.h namespace net { net 15 net/base/io_buffer.h namespace net { net 18 net/base/ip_endpoint.h namespace net { net 16 net/base/ip_pattern.h namespace net { net 20 net/base/keygen_handler.h namespace net { net 8 net/base/load_flags.h namespace net { net 10 net/base/load_states.h namespace net { net 12 net/base/load_timing_info.h namespace net { net 10 net/base/load_timing_info_test_util.h namespace net { net 14 net/base/mime_sniffer.h namespace net { net 996 net/base/mime_util.cc if (mime_type == net::supported_certificate_types[i].mime_type) net 997 net/base/mime_util.cc return net::supported_certificate_types[i].cert_type; net 14 net/base/mime_util.h namespace net { net 14 net/base/mock_file_stream.cc MockFileStream::MockFileStream(net::NetLog* net_log) net 15 net/base/mock_file_stream.cc : net::FileStream(net_log), net 16 net/base/mock_file_stream.cc forced_error_(net::OK), net 22 net/base/mock_file_stream.cc MockFileStream::MockFileStream(base::File file, net::NetLog* net_log) net 23 net/base/mock_file_stream.cc : net::FileStream(file.Pass(), net_log), net 24 net/base/mock_file_stream.cc forced_error_(net::OK), net 32 net/base/mock_file_stream.cc net::NetLog* net_log, net 34 net/base/mock_file_stream.cc : net::FileStream(file.Pass(), net_log, task_runner), net 35 net/base/mock_file_stream.cc forced_error_(net::OK), net 54 net/base/mock_file_stream.cc if (forced_error_ == net::OK) net 73 net/base/mock_file_stream.cc if (forced_error_ == net::OK) net 92 net/base/mock_file_stream.cc if (forced_error_ == net::OK) net 109 net/base/mock_file_stream.cc if (forced_error_ == net::OK) net 155 net/base/mock_file_stream.cc CHECK_NE(net::OK, forced_error_); net 160 net/base/mock_file_stream.cc return net::ERR_IO_PENDING; net 168 net/base/mock_file_stream.cc CHECK_NE(net::OK, forced_error_); net 173 net/base/mock_file_stream.cc return net::ERR_IO_PENDING; net 17 net/base/mock_file_stream.h namespace net { net 23 net/base/mock_file_stream.h class MockFileStream : public net::FileStream { net 25 net/base/mock_file_stream.h explicit MockFileStream(net::NetLog* net_log); net 26 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log); net 27 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log, net 33 net/base/mock_file_stream.h virtual int Seek(net::Whence whence, int64 offset, net 35 net/base/mock_file_stream.h virtual int64 SeekSync(net::Whence whence, int64 offset) OVERRIDE; net 59 net/base/mock_file_stream.h forced_error_ = net::OK; net 74 net/base/mock_file_stream.h if (forced_error_ != net::OK) { net 84 net/base/mock_file_stream.h if (forced_error_ != net::OK) { net 50 net/base/net_errors.cc return net::OK; net 52 net/base/net_errors.cc return net::ERR_ACCESS_DENIED; net 54 net/base/net_errors.cc return net::ERR_INVALID_URL; net 56 net/base/net_errors.cc return net::ERR_FILE_NOT_FOUND; net 58 net/base/net_errors.cc return net::ERR_FAILED; net 14 net/base/net_errors.h namespace net { net 212 net/base/net_log.cc Source(net::NetLog::SOURCE_NONE, NextID()), net 213 net/base/net_log.cc net::NetLog::PHASE_NONE, net 221 net/base/net_log.cc Source(net::NetLog::SOURCE_NONE, NextID()), net 222 net/base/net_log.cc net::NetLog::PHASE_NONE, net 240 net/base/net_log.cc return static_cast<net::NetLog::LogLevel>(log_level); net 244 net/base/net_log.cc net::NetLog::ThreadSafeObserver* observer, net 258 net/base/net_log.cc net::NetLog::ThreadSafeObserver* observer, net 271 net/base/net_log.cc net::NetLog::ThreadSafeObserver* observer) { net 25 net/base/net_log.h namespace net { net 43 net/base/net_log_logger.cc void NetLogLogger::set_log_level(net::NetLog::LogLevel log_level) { net 48 net/base/net_log_logger.cc void NetLogLogger::StartObserving(net::NetLog* net_log) { net 56 net/base/net_log_logger.cc void NetLogLogger::OnAddEntry(const net::NetLog::Entry& entry) { net 77 net/base/net_log_logger.cc constants_dict->Set("logEventTypes", net::NetLog::GetEventTypesAsValue()); net 98 net/base/net_log_logger.cc dict->SetInteger(# label, net::LOAD_STATE_ ## label); net 123 net/base/net_log_logger.cc for (net::QuicErrorCode error = net::QUIC_NO_ERROR; net 124 net/base/net_log_logger.cc error < net::QUIC_LAST_ERROR; net 125 net/base/net_log_logger.cc error = static_cast<net::QuicErrorCode>(error + 1)) { net 126 net/base/net_log_logger.cc dict->SetInteger(net::QuicUtils::ErrorToString(error), net 138 net/base/net_log_logger.cc for (net::QuicRstStreamErrorCode error = net::QUIC_STREAM_NO_ERROR; net 139 net/base/net_log_logger.cc error < net::QUIC_STREAM_LAST_ERROR; net 140 net/base/net_log_logger.cc error = static_cast<net::QuicRstStreamErrorCode>(error + 1)) { net 141 net/base/net_log_logger.cc dict->SetInteger(net::QuicUtils::StreamErrorToString(error), net 153 net/base/net_log_logger.cc dict->SetInteger("PHASE_BEGIN", net::NetLog::PHASE_BEGIN); net 154 net/base/net_log_logger.cc dict->SetInteger("PHASE_END", net::NetLog::PHASE_END); net 155 net/base/net_log_logger.cc dict->SetInteger("PHASE_NONE", net::NetLog::PHASE_NONE); net 162 net/base/net_log_logger.cc constants_dict->Set("logSourceType", net::NetLog::GetSourceTypesAsValue()); net 169 net/base/net_log_logger.cc dict->SetInteger("LOG_ALL", net::NetLog::LOG_ALL); net 170 net/base/net_log_logger.cc dict->SetInteger("LOG_ALL_BUT_BYTES", net::NetLog::LOG_ALL_BUT_BYTES); net 172 net/base/net_log_logger.cc net::NetLog::LOG_STRIP_PRIVATE_DATA); net 183 net/base/net_log_logger.cc net::ADDRESS_FAMILY_UNSPECIFIED); net 185 net/base/net_log_logger.cc net::ADDRESS_FAMILY_IPV4); net 187 net/base/net_log_logger.cc net::ADDRESS_FAMILY_IPV6); net 18 net/base/net_log_logger.h namespace net { net 13 net/base/net_log_unittest.h namespace net { net 12 net/base/net_module.h namespace net { net 919 net/base/net_util.cc net::GetPreferredExtensionForMimeType(mime_type, &preferred_mime_extension); net 920 net/base/net_util.cc net::GetExtensionsForMimeType(mime_type, &all_mime_extensions); net 43 net/base/net_util.h namespace net { net 3279 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("localhost")); net 3280 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("localhost.localdomain")); net 3281 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("localhost6")); net 3282 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("localhost6.localdomain6")); net 3283 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("127.0.0.1")); net 3284 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("127.0.1.0")); net 3285 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("127.1.0.0")); net 3286 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("127.0.0.255")); net 3287 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("127.0.255.0")); net 3288 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("127.255.0.0")); net 3289 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("::1")); net 3290 net/base/net_util_unittest.cc EXPECT_TRUE(net::IsLocalhost("0:0:0:0:0:0:0:1")); net 3292 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("localhostx")); net 3293 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("foo.localdomain")); net 3294 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("localhost6x")); net 3295 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("localhost.localdomain6")); net 3296 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("localhost6.localdomain")); net 3297 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("127.0.0.1.1")); net 3298 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost(".127.0.0.255")); net 3299 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("::2")); net 3300 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("::1:1")); net 3301 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("0:0:0:0:1:0:0:1")); net 3302 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("::1:1")); net 3303 net/base/net_util_unittest.cc EXPECT_FALSE(net::IsLocalhost("0:0:0:0:0:0:0:0:1")); net 15 net/base/network_change_notifier.h namespace net { net 10 net/base/network_change_notifier_factory.h namespace net { net 14 net/base/network_change_notifier_linux.h namespace net { net 19 net/base/network_change_notifier_mac.h namespace net { net 20 net/base/network_change_notifier_win.h namespace net { net 47 net/base/network_change_notifier_win_unittest.cc : public net::NetworkChangeNotifier::IPAddressObserver { net 18 net/base/network_config_watcher_mac.h namespace net { net 112 net/base/network_delegate.cc DCHECK(!(request.load_flags() & net::LOAD_DO_NOT_SEND_COOKIES)); net 120 net/base/network_delegate.cc DCHECK(!(request.load_flags() & net::LOAD_DO_NOT_SAVE_COOKIES)); net 23 net/base/network_delegate.h namespace net { net 19 net/base/network_time_notifier.h namespace net { net 18 net/base/openssl_private_key_store.h namespace net { net 40 net/base/openssl_private_key_store_android.cc ret = net::android::StoreKeyPair( net 13 net/base/platform_mime_util.h namespace net { net 13 net/base/prioritized_dispatcher.h namespace net { net 20 net/base/priority_queue.h namespace net { net 8 net/base/privacy_mode.h namespace net { net 10 net/base/rand_callback.h namespace net { net 125 net/base/registry_controlled_domains/registry_controlled_domain.h namespace net { net 10 net/base/request_priority.h namespace net { net 35 net/base/sdch_manager.h namespace net { net 49 net/base/sdch_manager_unittest.cc net::SdchManager::EnableSdchSupport(false); net 51 net/base/sdch_manager_unittest.cc net::SdchManager::EnableSdchSupport(true); net 13 net/base/static_cookie_policy.h namespace net { net 65 net/base/test_completion_callback.cc result = net::ERR_FAILED; net 25 net/base/test_completion_callback.h namespace net { net 59 net/base/test_completion_callback.h if (net::ERR_IO_PENDING != result) net 31 net/base/test_completion_callback_unittest.cc bool DoSomething(const net::CompletionCallback& callback); net 45 net/base/test_completion_callback_unittest.cc const net::CompletionCallback& callback) net 58 net/base/test_completion_callback_unittest.cc net::CompletionCallback callback_; net 96 net/base/test_completion_callback_unittest.cc bool ExampleEmployer::DoSomething(const net::CompletionCallback& callback) { net 116 net/base/test_completion_callback_unittest.cc net::TestCompletionCallback callback; net 10 net/base/test_data_directory.h namespace net { net 15 net/base/test_data_stream.h namespace net { net 15 net/base/upload_bytes_element_reader.h namespace net { net 103 net/base/upload_data_stream.cc const int rv = reader->Init(net::CompletionCallback()); net 15 net/base/upload_data_stream.h namespace net { net 15 net/base/upload_element.h namespace net { net 12 net/base/upload_element_reader.h namespace net { net 22 net/base/upload_file_element_reader.h namespace net { net 10 net/base/upload_progress.h namespace net { net 16 net/base/url_util.h namespace net { net 13 net/base/winsock_init.h namespace net { net 12 net/base/winsock_util.h namespace net { net 11 net/base/zap.h namespace net { net 13 net/cert/asn1_util.h namespace net { net 17 net/cert/cert_database.h namespace net { net 11 net/cert/cert_status_flags.h namespace net { net 13 net/cert/cert_trust_anchor_provider.h namespace net { net 8 net/cert/cert_type.h namespace net { net 14 net/cert/cert_verifier.h namespace net { net 16 net/cert/cert_verify_proc.h namespace net { net 10 net/cert/cert_verify_proc_android.h namespace net { net 10 net/cert/cert_verify_proc_mac.h namespace net { net 13 net/cert/cert_verify_proc_nss.h namespace net { net 10 net/cert/cert_verify_proc_openssl.h namespace net { net 10 net/cert/cert_verify_proc_win.h namespace net { net 15 net/cert/cert_verify_result.h namespace net { net 22 net/cert/crl_set.h namespace net { net 188 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 189 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 192 net/cert/crl_set_unittest.cc const net::CRLSet::CRLList& crls = set->crls(); net 205 net/cert/crl_set_unittest.cc EXPECT_EQ(net::CRLSet::REVOKED, set->CheckSerial( net 208 net/cert/crl_set_unittest.cc EXPECT_EQ(net::CRLSet::GOOD, set->CheckSerial( net 218 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 219 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 222 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> delta_set; net 235 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 236 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 239 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> delta_set; net 245 net/cert/crl_set_unittest.cc const net::CRLSet::CRLList& crls = delta_set->crls(); net 257 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 258 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 261 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> delta_set; net 267 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> delta2_set; net 273 net/cert/crl_set_unittest.cc const net::CRLSet::CRLList& crls = delta2_set->crls(); net 282 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 283 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 286 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> delta_set; net 292 net/cert/crl_set_unittest.cc const net::CRLSet::CRLList& crls = delta_set->crls(); net 301 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 302 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 311 net/cert/crl_set_unittest.cc EXPECT_EQ(net::CRLSet::GOOD, set->CheckSPKI("")); net 312 net/cert/crl_set_unittest.cc EXPECT_EQ(net::CRLSet::REVOKED, set->CheckSPKI( net 321 net/cert/crl_set_unittest.cc scoped_refptr<net::CRLSet> set; net 322 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); net 11 net/cert/ct_known_logs.h namespace net { net 24 net/cert/ct_log_verifier.h namespace net { net 13 net/cert/ct_objects_extractor.h namespace net { net 15 net/cert/ct_serialization.h namespace net { net 10 net/cert/ct_signed_certificate_timestamp_log_param.h namespace net { net 10 net/cert/ct_verifier.h namespace net { net 12 net/cert/ct_verify_result.h namespace net { net 27 net/cert/ev_root_ca_metadata.h namespace net { net 15 net/cert/jwk_serializer.h namespace net { net 13 net/cert/mock_cert_verifier.h namespace net { net 17 net/cert/multi_log_ct_verifier.h namespace net { net 521 net/cert/multi_threaded_cert_verifier.cc net::SHA1HashValueLessThan()); net 25 net/cert/multi_threaded_cert_verifier.h namespace net { net 140 net/cert/nss_cert_database.cc net::CertificateList* imported_certs) { net 149 net/cert/nss_cert_database.cc if (result == net::OK) net 26 net/cert/nss_cert_database.h namespace net { net 15 net/cert/nss_cert_database_chromeos.h namespace net { net 13 net/cert/nss_profile_filter_chromeos.h namespace net { net 14 net/cert/pem_tokenizer.h namespace net { net 12 net/cert/scoped_nss_types.h namespace net { net 8 net/cert/sct_status_flags.h namespace net { net 19 net/cert/signed_certificate_timestamp.h namespace net { net 10 net/cert/single_request_cert_verifier.h namespace net { net 36 net/cert/test_root_certs.h namespace net { net 30 net/cert/x509_cert_types.h namespace net { net 40 net/cert/x509_certificate.h namespace net { net 10 net/cert/x509_certificate_net_log_param.h namespace net { net 20 net/cert/x509_util.h namespace net { net 10 net/cert/x509_util_android.h namespace net { net 19 net/cert/x509_util_ios.h namespace net { net 16 net/cert/x509_util_mac.h namespace net { net 23 net/cert/x509_util_nss.h namespace net { net 20 net/cert/x509_util_openssl.h namespace net { net 19 net/cookies/canonical_cookie.h namespace net { net 12 net/cookies/cookie_constants.h namespace net { net 1107 net/cookies/cookie_monster.cc for (net::CookieList::const_iterator iter = list.begin(); net 1110 net/cookies/cookie_monster.cc net::CookieOptions options; net 38 net/cookies/cookie_monster.h namespace net { net 75 net/cookies/cookie_monster_perftest.cc net::CookieOptions options_; net 93 net/cookies/cookie_monster_perftest.cc net::CookieOptions options_; net 24 net/cookies/cookie_monster_store_test.h namespace net { net 2172 net/cookies/cookie_monster_unittest.cc base::Bind(&net::LoadedCallbackTask::Run, net 2173 net/cookies/cookie_monster_unittest.cc new net::LoadedCallbackTask(loaded_callback, out_cookies))); net 2431 net/cookies/cookie_monster_unittest.cc base::Bind(&net::MultiThreadedCookieMonsterTest::GetAllCookiesTask, net 2454 net/cookies/cookie_monster_unittest.cc base::Bind(&net::MultiThreadedCookieMonsterTest::GetAllCookiesForURLTask, net 2479 net/cookies/cookie_monster_unittest.cc &net::MultiThreadedCookieMonsterTest::GetAllCookiesForURLWithOptionsTask, net 2505 net/cookies/cookie_monster_unittest.cc &net::MultiThreadedCookieMonsterTest::SetCookieWithDetailsTask, net 2524 net/cookies/cookie_monster_unittest.cc &net::MultiThreadedCookieMonsterTest::DeleteAllCreatedBetweenTask, net 2541 net/cookies/cookie_monster_unittest.cc &net::MultiThreadedCookieMonsterTest::DeleteAllForHostTask, net 2584 net/cookies/cookie_monster_unittest.cc &net::MultiThreadedCookieMonsterTest::DeleteAllCreatedBetweenForHostTask, net 2606 net/cookies/cookie_monster_unittest.cc &net::MultiThreadedCookieMonsterTest::DeleteCanonicalCookieTask, net 10 net/cookies/cookie_options.h namespace net { net 23 net/cookies/cookie_store.h namespace net { net 18 net/cookies/cookie_store_test_callbacks.h namespace net { net 16 net/cookies/cookie_store_test_helpers.h namespace net { net 22 net/cookies/cookie_store_unittest.h namespace net { net 1109 net/cookies/cookie_store_unittest.h &net::MultiThreadedCookieStoreTest<TypeParam>::GetCookiesTask, net 1127 net/cookies/cookie_store_unittest.h &net::MultiThreadedCookieStoreTest<TypeParam>::GetCookiesWithOptionsTask, net 1144 net/cookies/cookie_store_unittest.h &net::MultiThreadedCookieStoreTest<TypeParam>::SetCookieWithOptionsTask, net 1164 net/cookies/cookie_store_unittest.h &net::MultiThreadedCookieStoreTest<TypeParam>::DeleteCookieTask, net 1189 net/cookies/cookie_store_unittest.h &net::MultiThreadedCookieStoreTest<TypeParam>::DeleteSessionCookiesTask, net 15 net/cookies/cookie_util.h namespace net { net 21 net/cookies/cookie_util_unittest.cc net::cookie_util::DomainIsHostOnly(tests[i].str)); net 103 net/cookies/cookie_util_unittest.cc parsed_time = net::cookie_util::ParseCookieTime(tests[i].str); net 15 net/cookies/parsed_cookie.h namespace net { net 5 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestFactory.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java package org.chromium.net; net 16 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java import java.net.HttpURLConnection; net 17 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java import java.net.URL; net 5 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequestFactory.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/HttpUrlRequestListener.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/ResponseTooLargeException.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/UrlRequest.java package org.chromium.net; net 12 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import java.net.MalformedURLException; net 13 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import java.net.URL; net 14 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import java.net.UnknownHostException; net 5 net/cronet/android/java/src/org/chromium/net/UrlRequestContext.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/UsedByReflection.java package org.chromium.net; net 5 net/cronet/android/java/src/org/chromium/net/UserAgent.java package org.chromium.net; net 18 net/cronet/android/org_chromium_net_UrlRequest.cc net::RequestPriority ConvertRequestPriority(jint request_priority) { net 21 net/cronet/android/org_chromium_net_UrlRequest.cc return net::IDLE; net 23 net/cronet/android/org_chromium_net_UrlRequest.cc return net::LOWEST; net 25 net/cronet/android/org_chromium_net_UrlRequest.cc return net::LOW; net 27 net/cronet/android/org_chromium_net_UrlRequest.cc return net::MEDIUM; net 29 net/cronet/android/org_chromium_net_UrlRequest.cc return net::HIGHEST; net 31 net/cronet/android/org_chromium_net_UrlRequest.cc return net::LOWEST; net 62 net/cronet/android/org_chromium_net_UrlRequest.cc net::Java_UrlRequest_onAppendChunkCompleted(env, owner_); net 67 net/cronet/android/org_chromium_net_UrlRequest.cc net::Java_UrlRequest_onResponseStarted(env, owner_); net 75 net/cronet/android/org_chromium_net_UrlRequest.cc net::Java_UrlRequest_onBytesRead(env, owner_, bytebuf); net 82 net/cronet/android/org_chromium_net_UrlRequest.cc net::Java_UrlRequest_finish(env, owner_); net 226 net/cronet/android/org_chromium_net_UrlRequest.cc case net::OK: net 237 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_CONTENT_LENGTH_MISMATCH: net 238 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_INCOMPLETE_CHUNKED_ENCODING: net 241 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_INVALID_URL: net 242 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_DISALLOWED_URL_SCHEME: net 243 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_UNKNOWN_URL_SCHEME: net 246 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_CONNECTION_TIMED_OUT: net 249 net/cronet/android/org_chromium_net_UrlRequest.cc case net::ERR_NAME_NOT_RESOLVED: net 264 net/cronet/android/org_chromium_net_UrlRequest.cc net::ErrorToString(error_code), net 10 net/cronet/android/org_chromium_net_UrlRequest.h namespace net { net 25 net/cronet/android/org_chromium_net_UrlRequestContext.cc {"NetAndroid", net::android::RegisterJni}, net 26 net/cronet/android/org_chromium_net_UrlRequestContext.cc {"UrlRequest", net::UrlRequestRegisterJni}, net 27 net/cronet/android/org_chromium_net_UrlRequestContext.cc {"UrlRequestContext", net::RegisterNativesImpl}, net 42 net/cronet/android/org_chromium_net_UrlRequestContext.cc net::Java_UrlRequestContext_initNetworkThread(env, owner_); net 11 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java import org.chromium.net.ChunkedWritableByteChannel; net 9 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleTestBase.java import android.net.Uri; net 16 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import org.chromium.net.HttpUrlRequest; net 17 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import org.chromium.net.HttpUrlRequestFactory; net 18 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import org.chromium.net.HttpUrlRequestListener; net 19 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import org.chromium.net.UrlRequest; net 20 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import org.chromium.net.UrlRequestContext; net 21 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import org.chromium.net.UrlRequestPriority; net 21 net/cronet/android/url_request_context_peer.cc class BasicNetworkDelegate : public net::NetworkDelegate { net 28 net/cronet/android/url_request_context_peer.cc virtual int OnBeforeURLRequest(net::URLRequest* request, net 29 net/cronet/android/url_request_context_peer.cc const net::CompletionCallback& callback, net 31 net/cronet/android/url_request_context_peer.cc return net::OK; net 34 net/cronet/android/url_request_context_peer.cc virtual int OnBeforeSendHeaders(net::URLRequest* request, net 35 net/cronet/android/url_request_context_peer.cc const net::CompletionCallback& callback, net 36 net/cronet/android/url_request_context_peer.cc net::HttpRequestHeaders* headers) OVERRIDE { net 37 net/cronet/android/url_request_context_peer.cc return net::OK; net 40 net/cronet/android/url_request_context_peer.cc virtual void OnSendHeaders(net::URLRequest* request, net 41 net/cronet/android/url_request_context_peer.cc const net::HttpRequestHeaders& headers) OVERRIDE {} net 44 net/cronet/android/url_request_context_peer.cc net::URLRequest* request, net 45 net/cronet/android/url_request_context_peer.cc const net::CompletionCallback& callback, net 46 net/cronet/android/url_request_context_peer.cc const net::HttpResponseHeaders* original_response_headers, net 47 net/cronet/android/url_request_context_peer.cc scoped_refptr<net::HttpResponseHeaders>* _response_headers, net 49 net/cronet/android/url_request_context_peer.cc return net::OK; net 52 net/cronet/android/url_request_context_peer.cc virtual void OnBeforeRedirect(net::URLRequest* request, net 55 net/cronet/android/url_request_context_peer.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE {} net 57 net/cronet/android/url_request_context_peer.cc virtual void OnRawBytesRead(const net::URLRequest& request, net 60 net/cronet/android/url_request_context_peer.cc virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE {} net 62 net/cronet/android/url_request_context_peer.cc virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE {} net 68 net/cronet/android/url_request_context_peer.cc net::URLRequest* request, net 69 net/cronet/android/url_request_context_peer.cc const net::AuthChallengeInfo& auth_info, net 71 net/cronet/android/url_request_context_peer.cc net::AuthCredentials* credentials) OVERRIDE { net 72 net/cronet/android/url_request_context_peer.cc return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION; net 75 net/cronet/android/url_request_context_peer.cc virtual bool OnCanGetCookies(const net::URLRequest& request, net 76 net/cronet/android/url_request_context_peer.cc const net::CookieList& cookie_list) OVERRIDE { net 80 net/cronet/android/url_request_context_peer.cc virtual bool OnCanSetCookie(const net::URLRequest& request, net 82 net/cronet/android/url_request_context_peer.cc net::CookieOptions* options) OVERRIDE { net 86 net/cronet/android/url_request_context_peer.cc virtual bool OnCanAccessFile(const net::URLRequest& request, net 91 net/cronet/android/url_request_context_peer.cc virtual bool OnCanThrottleRequest(const net::URLRequest& request) net 97 net/cronet/android/url_request_context_peer.cc net::SocketStream* stream, net 98 net/cronet/android/url_request_context_peer.cc const net::CompletionCallback& callback) OVERRIDE { net 99 net/cronet/android/url_request_context_peer.cc return net::OK; net 105 net/cronet/android/url_request_context_peer.cc class BasicURLRequestContext : public net::URLRequestContext { net 109 net/cronet/android/url_request_context_peer.cc net::URLRequestContextStorage* storage() { return &storage_; } net 115 net/cronet/android/url_request_context_peer.cc net::URLRequestContextStorage storage_; net 146 net/cronet/android/url_request_context_peer.cc net::URLRequestContextStorage* storage = context->storage(); net 148 net/cronet/android/url_request_context_peer.cc net::NetworkDelegate* network_delegate = new BasicNetworkDelegate; net 151 net/cronet/android/url_request_context_peer.cc storage->set_host_resolver(net::HostResolver::CreateDefaultResolver(NULL)); net 153 net/cronet/android/url_request_context_peer.cc net::ProxyConfigService* proxy_config_service = net 154 net/cronet/android/url_request_context_peer.cc new net::ProxyConfigServiceFixed(net::ProxyConfig()); net 155 net/cronet/android/url_request_context_peer.cc storage->set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver( net 159 net/cronet/android/url_request_context_peer.cc storage->set_ssl_config_service(new net::SSLConfigServiceDefaults); net 161 net/cronet/android/url_request_context_peer.cc net::HttpAuthHandlerRegistryFactory::CreateDefault( net 163 net/cronet/android/url_request_context_peer.cc storage->set_transport_security_state(new net::TransportSecurityState()); net 164 net/cronet/android/url_request_context_peer.cc storage->set_http_server_properties(scoped_ptr<net::HttpServerProperties>( net 165 net/cronet/android/url_request_context_peer.cc new net::HttpServerPropertiesImpl())); net 166 net/cronet/android/url_request_context_peer.cc storage->set_cert_verifier(net::CertVerifier::CreateDefault()); net 168 net/cronet/android/url_request_context_peer.cc net::HttpNetworkSession::Params network_session_params; net 182 net/cronet/android/url_request_context_peer.cc scoped_refptr<net::HttpNetworkSession> network_session( net 183 net/cronet/android/url_request_context_peer.cc new net::HttpNetworkSession(network_session_params)); net 185 net/cronet/android/url_request_context_peer.cc net::HttpTransactionFactory* http_transaction_factory = net 186 net/cronet/android/url_request_context_peer.cc new net::HttpNetworkLayer(network_session.get()); net 189 net/cronet/android/url_request_context_peer.cc net::URLRequestJobFactoryImpl* job_factory = net 190 net/cronet/android/url_request_context_peer.cc new net::URLRequestJobFactoryImpl; net 196 net/cronet/android/url_request_context_peer.cc context_->set_net_log(new net::NetLog); net 199 net/cronet/android/url_request_context_peer.cc net::NetLog::LOG_ALL_BUT_BYTES); net 202 net/cronet/android/url_request_context_peer.cc net::HttpStreamFactory::EnableNpnSpdy31(); net 213 net/cronet/android/url_request_context_peer.cc net::URLRequestContext* URLRequestContextPeer::GetURLRequestContext() { net 225 net/cronet/android/url_request_context_peer.cc void NetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) { net 19 net/cronet/android/url_request_context_peer.h class NetLogObserver : public net::NetLog::ThreadSafeObserver { net 25 net/cronet/android/url_request_context_peer.h virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 34 net/cronet/android/url_request_context_peer.h class URLRequestContextPeer : public net::URLRequestContextGetter { net 60 net/cronet/android/url_request_context_peer.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 66 net/cronet/android/url_request_context_peer.h scoped_ptr<net::URLRequestContext> context_; net 71 net/cronet/android/url_request_context_peer.h scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 20 net/cronet/android/url_request_peer.cc net::RequestPriority priority) net 23 net/cronet/android/url_request_peer.cc read_buffer_(new net::GrowableIOBuffer()), net 49 net/cronet/android/url_request_peer.cc new net::UploadDataStream(net::UploadDataStream::CHUNKED, 0)); net 107 net/cronet/android/url_request_peer.cc url_request_ = new net::URLRequest( net 108 net/cronet/android/url_request_peer.cc url_, net::DEFAULT_PRIORITY, this, context_->GetURLRequestContext()); net 109 net/cronet/android/url_request_peer.cc url_request_->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 110 net/cronet/android/url_request_peer.cc net::LOAD_DO_NOT_SAVE_COOKIES | net 111 net/cronet/android/url_request_peer.cc net::LOAD_DO_NOT_SEND_COOKIES); net 115 net/cronet/android/url_request_peer.cc if (headers_.HasHeader(net::HttpRequestHeaders::kUserAgent)) { net 116 net/cronet/android/url_request_peer.cc headers_.GetHeader(net::HttpRequestHeaders::kUserAgent, &user_agent); net 126 net/cronet/android/url_request_peer.cc net::HttpRequestHeaders::kUserAgent, user_agent, true /* override */); net 180 net/cronet/android/url_request_peer.cc void URLRequestPeer::OnResponseStarted(net::URLRequest* request) { net 181 net/cronet/android/url_request_peer.cc if (request->status().status() != net::URLRequestStatus::SUCCESS) { net 217 net/cronet/android/url_request_peer.cc net::URLRequestStatus::IO_PENDING) { net 235 net/cronet/android/url_request_peer.cc void URLRequestPeer::OnReadCompleted(net::URLRequest* request, int bytes_read) { net 276 net/cronet/android/url_request_peer.cc << " and error: " << net::ErrorToString(error_code_); net 19 net/cronet/android/url_request_peer.h class URLRequestPeer : public net::URLRequest::Delegate { net 38 net/cronet/android/url_request_peer.h net::RequestPriority priority); net 91 net/cronet/android/url_request_peer.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 93 net/cronet/android/url_request_peer.h virtual void OnReadCompleted(net::URLRequest* request, net 100 net/cronet/android/url_request_peer.h net::RequestPriority priority_; net 102 net/cronet/android/url_request_peer.h net::HttpRequestHeaders headers_; net 103 net/cronet/android/url_request_peer.h net::URLRequest* url_request_; net 104 net/cronet/android/url_request_peer.h scoped_ptr<net::UploadDataStream> upload_data_stream_; net 105 net/cronet/android/url_request_peer.h scoped_refptr<net::GrowableIOBuffer> read_buffer_; net 50 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 55 net/disk_cache/backend_unittest.cc if (cb.GetResult(rv) != net::OK) net 60 net/disk_cache/backend_unittest.cc if (cb.GetResult(rv) != net::OK) net 75 net/disk_cache/backend_unittest.cc int GeneratePendingIO(net::TestCompletionCallback* cb); net 132 net/disk_cache/backend_unittest.cc int DiskCacheBackendTest::GeneratePendingIO(net::TestCompletionCallback* cb) { net 135 net/disk_cache/backend_unittest.cc return net::ERR_FAILED; net 140 net/disk_cache/backend_unittest.cc if (cb->GetResult(rv) != net::OK) net 141 net/disk_cache/backend_unittest.cc return net::ERR_CACHE_CREATE_FAILURE; net 144 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 158 net/disk_cache/backend_unittest.cc if (rv == net::ERR_IO_PENDING) net 161 net/disk_cache/backend_unittest.cc rv = net::ERR_FAILED; net 186 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 189 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("zeroth", &entry0)); net 202 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("first", &entry1)); net 208 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("second", &entry2)); net 223 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry3)); net 225 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry4)); net 246 net/disk_cache/backend_unittest.cc if (CreateEntry(key, &entry) != net::OK) net 265 net/disk_cache/backend_unittest.cc while (OpenNextEntry(iter, &entry) == net::OK) { net 281 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("the first key", &entry1)); net 282 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); net 287 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); net 292 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, CreateEntry("the first key", &entry1)); net 293 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); net 294 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); net 295 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); net 301 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("some other key", &entry3)); net 306 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntry("some other key")); net 312 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntry("the first key")); net 315 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); net 316 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); net 319 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntry("some other key")); net 339 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 344 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 353 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(kName1, &entry1)); net 355 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(kName2, &entry2)); net 361 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(buffer, &entry2)); net 366 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(buffer + 1, &entry2)); net 371 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(buffer + 3, &entry2)); net 379 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(buffer2, &entry2)) << "key on block file"; net 384 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(buffer2, &entry2)) << "key on external file"; net 404 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 409 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 414 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 430 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, net 431 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_DEFAULT, net 439 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 443 net/disk_cache/backend_unittest.cc rv = disk_cache::CreateCacheBackend(net::MEMORY_CACHE, net 444 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_DEFAULT, net 448 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 464 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 470 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::ERR_FAILED, cb.GetResult(rv)); net 483 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 489 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("key", &entry)); net 494 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 509 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 515 net/disk_cache/backend_unittest.cc if (rv == net::ERR_IO_PENDING) { net 559 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 562 net/disk_cache/backend_unittest.cc net::DISK_CACHE, net::CACHE_BACKEND_DEFAULT, store.path(), 0, net 565 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 578 net/disk_cache/backend_unittest.cc if (rv == net::ERR_IO_PENDING) net 591 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 607 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 634 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 648 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 682 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 686 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, net 687 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_BLOCKFILE, net 695 net/disk_cache/backend_unittest.cc ASSERT_NE(net::OK, cb.GetResult(rv)); net 709 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 711 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(cache_size)); net 717 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::ERR_FAILED, net 737 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 742 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("an extra key", &entry2)); net 747 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(first, &entry2)); net 753 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(second, &entry)); net 780 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entries[i])); net 794 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(entries[i]->GetKey(), &entry)); net 826 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 834 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 848 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("The first key", &entry)); net 850 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("The Second key", &entry)); net 864 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 869 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 880 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(name, &entry)); net 884 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(name, &entry)); net 892 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("Key 0", &entry)); net 894 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("Key 90", &entry)); net 897 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("Key 1", &entry)); net 899 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("Key 91", &entry)); net 909 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 912 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 919 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 921 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 945 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 948 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 954 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(key, &entry)); net 972 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 978 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 989 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 992 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 997 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1002 net/disk_cache/backend_unittest.cc if (type_ == net::APP_CACHE) { net 1004 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1008 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(key, &entry)); net 1026 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 1032 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 1050 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entries[i])); net 1073 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(keys[i], &entry)); net 1078 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(keys[i], &entry)); net 1098 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 1104 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 1117 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 1119 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 1126 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 1146 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(first, &entry)); net 1168 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 1175 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1178 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1185 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("Something else", &entry)); net 1195 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 1231 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1242 net/disk_cache/backend_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 1259 net/disk_cache/backend_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 1286 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 1291 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 1301 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry1)); net 1303 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry2)); net 1309 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(second, &entry1)); net 1311 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry2)); net 1319 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry2)); net 1325 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(first, &entry1)); net 1327 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry2)); net 1328 net/disk_cache/backend_unittest.cc if (type_ == net::APP_CACHE) { net 1355 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 1360 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 1367 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 1373 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 1375 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry1)); net 1380 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry2)); net 1393 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry2)); net 1407 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry1)); net 1410 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 1415 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry1)); net 1419 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2, &entry2)); net 1427 net/disk_cache/backend_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 1461 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1469 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter1, &entry1)); net 1478 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter1, &entry1)); net 1481 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter2, &entry2)); net 1488 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter2, &entry2)); net 1497 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter2, &entry2)); net 1518 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("first", &entry)); net 1520 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("second", &entry)); net 1527 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry)); net 1529 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry)); net 1537 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntriesSince(final)); net 1540 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntriesSince(middle)); net 1543 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("second", &entry)); net 1582 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 1588 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 1596 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("first", &entry)); net 1603 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("second", &entry)); net 1605 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry)); net 1613 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry)); net 1615 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("fourth", &entry)); net 1623 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntriesBetween(middle_start, middle_end)); net 1626 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("fourth", &entry)); net 1629 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomEntriesBetween(middle_start, final)); net 1632 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("first", &entry)); net 1697 net/disk_cache/backend_unittest.cc ASSERT_NE(net::OK, OpenEntry(key, &entry1)); net 1824 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 1829 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::ERR_FAILED, cb.GetResult(rv)); net 1862 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 1865 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, net 1866 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_BLOCKFILE, net 1874 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 1896 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 1903 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 1908 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 1937 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 1944 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 1949 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 1966 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 1970 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, net 1971 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_BLOCKFILE, net 1980 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 1994 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); net 1995 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); net 2020 net/disk_cache/backend_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 2090 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("The first key", &entry)); net 2095 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("The first key", &entry)); net 2112 net/disk_cache/backend_unittest.cc ASSERT_NE(net::OK, OpenEntry("Not present key", &entry)); net 2123 net/disk_cache/backend_unittest.cc ASSERT_NE(net::OK, OpenEntry("the second key", &entry)); net 2124 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("the first key", &entry)); net 2131 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("some other key", &entry)); net 2145 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 2147 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 2160 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(second, &entry)); net 2165 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2189 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 2191 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 2204 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(second, &entry)); net 2209 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2211 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2236 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 2238 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 2259 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2262 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2264 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2267 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry(second, &entry)); net 2301 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 2303 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(first, &entry)); net 2306 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 2315 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry)); net 2336 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2338 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2341 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2364 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 2366 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(first, &entry)); net 2369 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 2371 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(second, &entry)); net 2381 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry)); net 2403 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2405 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2408 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2410 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2412 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2434 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(first, &entry)); net 2436 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(second, &entry)); net 2445 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry)); net 2447 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry)); net 2470 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("the first key", &entry1)); net 2471 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("some other key", &entry2)); net 2491 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry)); net 2495 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); net 2536 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry1)); net 2538 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry2)); net 2540 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, CreateEntry("Something new", &entry2)); net 2588 net/disk_cache/backend_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 2636 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry1)); net 2639 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry2)); net 2642 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("Something new", &entry2)); net 2669 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenNextEntry(&iter, &entry1)); net 2677 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2, &entry2)); net 2678 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key3, &entry3)); net 2681 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kBufSize)); net 2687 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry4)); net 2690 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, CreateEntry("cache is disabled", &entry4)); net 2738 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cache->SyncInit()); net 2753 net/disk_cache/backend_unittest.cc ASSERT_NE(net::OK, cache->SyncInit()); net 2763 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("key", &entry)); net 2792 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("first", &entry1)); net 2793 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("second", &entry2)); net 2797 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry1)); net 2798 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry2)); net 2801 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2808 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("third", &entry3)); net 2809 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry3)); net 2810 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry4)); net 2812 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2822 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("third", &entry1)); net 2823 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fourth", &entry2)); net 2828 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2831 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2849 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 2854 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 2861 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2864 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("Something new", &entry)); net 2897 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 2903 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, net 2904 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_DEFAULT, net 2912 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 2913 net/disk_cache/backend_unittest.cc rv = disk_cache::CreateCacheBackend(net::MEDIA_CACHE, net 2914 net/disk_cache/backend_unittest.cc net::CACHE_BACKEND_DEFAULT, net 2922 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 2930 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 3001 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3004 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3023 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3103 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3114 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("key0", &entry)); net 3119 net/disk_cache/backend_unittest.cc SetCacheType(net::SHADER_CACHE); net 3126 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3137 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("key0", &entry)); net 3145 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::DISK_CACHE, cache_->GetCacheType()); net 3150 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 3152 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, OpenEntry("key", &entry)); net 3155 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("key", &entry)); net 3159 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry("key", &same_entry)); net 3181 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 3187 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 3198 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 3210 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 3234 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 3256 net/disk_cache/backend_unittest.cc SetCacheType(net::APP_CACHE); net 3275 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3282 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3294 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::ERR_FAILED, OpenEntry(key, &entry)); net 3311 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3319 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3334 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::ERR_FAILED, OpenEntry(key, &entry)); net 3344 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3346 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("key", &entry)); net 3358 net/disk_cache/backend_unittest.cc net::DISK_CACHE, net 3361 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 3363 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, cb.GetResult(rv)); net 3376 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3378 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry("key", &entry)); net 3390 net/disk_cache/backend_unittest.cc net::TestCompletionCallback cb; net 3392 net/disk_cache/backend_unittest.cc EXPECT_NE(net::OK, cb.GetResult(rv)); net 3424 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(*(key_pool.begin()), &entry_opened_before)); net 3431 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, net 3483 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &corrupted_entry)); net 3486 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 113 net/disk_cache/blockfile/backend_impl.cc net::NetLog* net_log) net 120 net/disk_cache/blockfile/backend_impl.cc cache_type_(net::DISK_CACHE), net 139 net/disk_cache/blockfile/backend_impl.cc net::NetLog* net_log) net 146 net/disk_cache/blockfile/backend_impl.cc cache_type_(net::DISK_CACHE), net 187 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 197 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 202 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 219 net/disk_cache/blockfile/backend_impl.cc cache_type_ != net::DISK_CACHE) { net 221 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 226 net/disk_cache/blockfile/backend_impl.cc new_eviction_ = (cache_type_ == net::DISK_CACHE); net 231 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 237 net/disk_cache/blockfile/backend_impl.cc if (!(user_flags_ & kNoRandom) && cache_type_ == net::DISK_CACHE && net 239 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 254 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 257 net/disk_cache/blockfile/backend_impl.cc if (cache_type() == net::APP_CACHE) { net 260 net/disk_cache/blockfile/backend_impl.cc } else if (cache_type() == net::SHADER_CACHE) { net 269 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 297 net/disk_cache/blockfile/backend_impl.cc return disabled_ ? net::ERR_FAILED : net::OK; net 331 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 337 net/disk_cache/blockfile/backend_impl.cc return (*entry) ? net::OK : net::ERR_FAILED; net 343 net/disk_cache/blockfile/backend_impl.cc return (*entry) ? net::OK : net::ERR_FAILED; net 348 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 352 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 356 net/disk_cache/blockfile/backend_impl.cc return net::OK; net 365 net/disk_cache/blockfile/backend_impl.cc return disabled_ ? net::ERR_FAILED : net::OK; net 368 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 371 net/disk_cache/blockfile/backend_impl.cc return net::OK; net 377 net/disk_cache/blockfile/backend_impl.cc DCHECK_NE(net::APP_CACHE, cache_type_); net 384 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 390 net/disk_cache/blockfile/backend_impl.cc return net::OK; net 409 net/disk_cache/blockfile/backend_impl.cc return net::OK; net 415 net/disk_cache/blockfile/backend_impl.cc DCHECK_NE(net::APP_CACHE, cache_type_); net 417 net/disk_cache/blockfile/backend_impl.cc return net::ERR_FAILED; net 424 net/disk_cache/blockfile/backend_impl.cc return net::OK; net 429 net/disk_cache/blockfile/backend_impl.cc return net::OK; net 440 net/disk_cache/blockfile/backend_impl.cc return (*next_entry) ? net::OK : net::ERR_FAILED; net 445 net/disk_cache/blockfile/backend_impl.cc return (*prev_entry) ? net::OK : net::ERR_FAILED; net 462 net/disk_cache/blockfile/backend_impl.cc UpdateRank(cache_entry, cache_type() == net::SHADER_CACHE); net 637 net/disk_cache/blockfile/backend_impl.cc void BackendImpl::SetType(net::CacheType type) { net 638 net/disk_cache/blockfile/backend_impl.cc DCHECK_NE(net::MEMORY_CACHE, type); net 711 net/disk_cache/blockfile/backend_impl.cc if (read_only_ || (!modified && cache_type() == net::SHADER_CACHE)) net 843 net/disk_cache/blockfile/backend_impl.cc return cache_type() == net::PNACL_CACHE ? max_size_ : max_size_ / 8; net 1079 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1085 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1133 net/disk_cache/blockfile/backend_impl.cc net::CacheType BackendImpl::GetCacheType() const { net 1156 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1163 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1170 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1176 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1184 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1191 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1198 net/disk_cache/blockfile/backend_impl.cc return net::ERR_IO_PENDING; net 1366 net/disk_cache/blockfile/backend_impl.cc if (cache_type_ == net::DISK_CACHE && ShouldReportAgain()) net 1408 net/disk_cache/blockfile/backend_impl.cc else if (SyncInit() == net::OK) { net 1946 net/disk_cache/blockfile/backend_impl.cc if (cache_type_ == net::DISK_CACHE) net 22 net/disk_cache/blockfile/backend_impl.h namespace net { net 48 net/disk_cache/blockfile/backend_impl.h net::NetLog* net_log); net 51 net/disk_cache/blockfile/backend_impl.h base::MessageLoopProxy* cache_thread, net::NetLog* net_log); net 88 net/disk_cache/blockfile/backend_impl.h void SetType(net::CacheType type); net 179 net/disk_cache/blockfile/backend_impl.h net::CacheType cache_type() const { net 260 net/disk_cache/blockfile/backend_impl.h virtual net::CacheType GetCacheType() const OVERRIDE; net 375 net/disk_cache/blockfile/backend_impl.h net::CacheType cache_type_; net 387 net/disk_cache/blockfile/backend_impl.h net::NetLog* net_log_; net 58 net/disk_cache/blockfile/backend_impl_v3.cc net::NetLog* net_log) net 64 net/disk_cache/blockfile/backend_impl_v3.cc cache_type_(net::DISK_CACHE), net 85 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 87 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_IO_PENDING; net 118 net/disk_cache/blockfile/backend_impl_v3.cc void BackendImplV3::SetType(net::CacheType type) { net 119 net/disk_cache/blockfile/backend_impl_v3.cc DCHECK_NE(net::MEMORY_CACHE, type); net 130 net/disk_cache/blockfile/backend_impl_v3.cc if (read_only_ || (!modified && cache_type() == net::SHADER_CACHE)) net 240 net/disk_cache/blockfile/backend_impl_v3.cc DCHECK_NE(cache_type_, net::MEMORY_CACHE); net 383 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_IO_PENDING; net 422 net/disk_cache/blockfile/backend_impl_v3.cc net::CacheType BackendImplV3::GetCacheType() const { net 580 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 584 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 588 net/disk_cache/blockfile/backend_impl_v3.cc return net::OK; net 597 net/disk_cache/blockfile/backend_impl_v3.cc return disabled_ ? net::ERR_FAILED : net::OK; net 600 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 603 net/disk_cache/blockfile/backend_impl_v3.cc return net::OK; net 610 net/disk_cache/blockfile/backend_impl_v3.cc DCHECK_NE(net::APP_CACHE, cache_type_); net 617 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 623 net/disk_cache/blockfile/backend_impl_v3.cc return net::OK; net 642 net/disk_cache/blockfile/backend_impl_v3.cc return net::OK; net 647 net/disk_cache/blockfile/backend_impl_v3.cc DCHECK_NE(net::APP_CACHE, cache_type_); net 649 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 656 net/disk_cache/blockfile/backend_impl_v3.cc return net::OK; net 661 net/disk_cache/blockfile/backend_impl_v3.cc return net::OK; net 674 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_IO_PENDING; net 721 net/disk_cache/blockfile/backend_impl_v3.cc UpdateRank(cache_entry, cache_type() == net::SHADER_CACHE); net 797 net/disk_cache/blockfile/backend_impl_v3.cc if (cache_type_ == net::DISK_CACHE && ShouldReportAgain()) net 839 net/disk_cache/blockfile/backend_impl_v3.cc else if (SyncInit() == net::OK) { net 969 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1089 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1094 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1114 net/disk_cache/blockfile/backend_impl_v3.cc cache_type_ != net::DISK_CACHE) { net 1116 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1121 net/disk_cache/blockfile/backend_impl_v3.cc new_eviction_ = (cache_type_ == net::DISK_CACHE); net 1126 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1132 net/disk_cache/blockfile/backend_impl_v3.cc if (!(user_flags_ & kNoRandom) && cache_type_ == net::DISK_CACHE && net 1134 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1149 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1152 net/disk_cache/blockfile/backend_impl_v3.cc if (cache_type() == net::APP_CACHE) { net 1155 net/disk_cache/blockfile/backend_impl_v3.cc } else if (cache_type() == net::SHADER_CACHE) { net 1164 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1184 net/disk_cache/blockfile/backend_impl_v3.cc return disabled_ ? net::ERR_FAILED : net::OK; net 1391 net/disk_cache/blockfile/backend_impl_v3.cc if (cache_type_ == net::DISK_CACHE) net 1549 net/disk_cache/blockfile/backend_impl_v3.cc net::CacheType BackendImplV3::GetCacheType() const { net 1559 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1564 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1569 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1573 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1579 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1584 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 1589 net/disk_cache/blockfile/backend_impl_v3.cc return net::ERR_FAILED; net 22 net/disk_cache/blockfile/backend_impl_v3.h namespace net { net 47 net/disk_cache/blockfile/backend_impl_v3.h net::NetLog* net_log); net 61 net/disk_cache/blockfile/backend_impl_v3.h void SetType(net::CacheType type); net 117 net/disk_cache/blockfile/backend_impl_v3.h net::CacheType cache_type() const { net 174 net/disk_cache/blockfile/backend_impl_v3.h virtual net::CacheType GetCacheType() const OVERRIDE; net 261 net/disk_cache/blockfile/backend_impl_v3.h net::CacheType cache_type_; net 272 net/disk_cache/blockfile/backend_impl_v3.h net::NetLog* net_log_; net 112 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 117 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 137 net/disk_cache/blockfile/backend_worker_v3.cc cache_type_ != net::DISK_CACHE) { net 139 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 144 net/disk_cache/blockfile/backend_worker_v3.cc new_eviction_ = (cache_type_ == net::DISK_CACHE); net 149 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 155 net/disk_cache/blockfile/backend_worker_v3.cc if (!(user_flags_ & kNoRandom) && cache_type_ == net::DISK_CACHE && net 157 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 172 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 175 net/disk_cache/blockfile/backend_worker_v3.cc if (cache_type() == net::APP_CACHE) { net 178 net/disk_cache/blockfile/backend_worker_v3.cc } else if (cache_type() == net::SHADER_CACHE) { net 187 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 207 net/disk_cache/blockfile/backend_worker_v3.cc return disabled_ ? net::ERR_FAILED : net::OK; net 454 net/disk_cache/blockfile/backend_worker_v3.cc if (cache_type_ == net::DISK_CACHE && ShouldReportAgain()) net 462 net/disk_cache/blockfile/backend_worker_v3.cc return net::ERR_FAILED; net 45 net/disk_cache/blockfile/disk_cache_perftest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 46 net/disk_cache/blockfile/disk_cache_perftest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); net 65 net/disk_cache/blockfile/disk_cache_perftest.cc net::TestCompletionCallback cb; net 67 net/disk_cache/blockfile/disk_cache_perftest.cc if (net::OK != cb.GetResult(rv)) net 72 net/disk_cache/blockfile/disk_cache_perftest.cc if (net::ERR_IO_PENDING == ret) net 80 net/disk_cache/blockfile/disk_cache_perftest.cc if (net::ERR_IO_PENDING == ret) net 97 net/disk_cache/blockfile/disk_cache_perftest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 98 net/disk_cache/blockfile/disk_cache_perftest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); net 114 net/disk_cache/blockfile/disk_cache_perftest.cc net::TestCompletionCallback cb; net 116 net/disk_cache/blockfile/disk_cache_perftest.cc if (net::OK != cb.GetResult(rv)) net 121 net/disk_cache/blockfile/disk_cache_perftest.cc if (net::ERR_IO_PENDING == ret) net 129 net/disk_cache/blockfile/disk_cache_perftest.cc if (net::ERR_IO_PENDING == ret) net 167 net/disk_cache/blockfile/disk_cache_perftest.cc net::TestCompletionCallback cb; net 170 net/disk_cache/blockfile/disk_cache_perftest.cc net::DISK_CACHE, net::CACHE_BACKEND_BLOCKFILE, cache_path_, 0, false, net 173 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 198 net/disk_cache/blockfile/disk_cache_perftest.cc net::DISK_CACHE, net::CACHE_BACKEND_BLOCKFILE, cache_path_, 0, false, net 200 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 39 net/disk_cache/blockfile/entry_impl.cc SyncCallback(disk_cache::EntryImpl* entry, net::IOBuffer* buffer, net 40 net/disk_cache/blockfile/entry_impl.cc const net::CompletionCallback& callback, net 41 net/disk_cache/blockfile/entry_impl.cc net::NetLog::EventType end_event_type) net 54 net/disk_cache/blockfile/entry_impl.cc net::CompletionCallback callback_; net 55 net/disk_cache/blockfile/entry_impl.cc scoped_refptr<net::IOBuffer> buf_; net 57 net/disk_cache/blockfile/entry_impl.cc const net::NetLog::EventType end_event_type_; net 320 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_ENTRY_READ_DATA, net 326 net/disk_cache/blockfile/entry_impl.cc if (result != net::ERR_IO_PENDING && net_log_.IsLogging()) { net 328 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_ENTRY_READ_DATA, net 339 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_ENTRY_WRITE_DATA, net 346 net/disk_cache/blockfile/entry_impl.cc if (result != net::ERR_IO_PENDING && net_log_.IsLogging()) { net 348 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_ENTRY_WRITE_DATA, net 358 net/disk_cache/blockfile/entry_impl.cc if (net::OK != result) net 372 net/disk_cache/blockfile/entry_impl.cc if (net::OK != result) net 384 net/disk_cache/blockfile/entry_impl.cc if (net::OK != result) net 462 net/disk_cache/blockfile/entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_ENTRY_DOOM); net 725 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::BeginLogging(net::NetLog* net_log, bool created) { net 727 net/disk_cache/blockfile/entry_impl.cc net_log_ = net::BoundNetLog::Make( net 728 net/disk_cache/blockfile/entry_impl.cc net_log, net::NetLog::SOURCE_DISK_CACHE_ENTRY); net 730 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_DISK_CACHE_ENTRY_IMPL, net 734 net/disk_cache/blockfile/entry_impl.cc const net::BoundNetLog& EntryImpl::net_log() const { net 819 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 826 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 829 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 832 net/disk_cache/blockfile/entry_impl.cc return net::ERR_IO_PENDING; net 842 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 845 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 848 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 852 net/disk_cache/blockfile/entry_impl.cc return net::ERR_IO_PENDING; net 861 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 864 net/disk_cache/blockfile/entry_impl.cc return net::ERR_IO_PENDING; net 873 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 876 net/disk_cache/blockfile/entry_impl.cc return net::ERR_IO_PENDING; net 882 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 885 net/disk_cache/blockfile/entry_impl.cc return net::ERR_IO_PENDING; net 904 net/disk_cache/blockfile/entry_impl.cc return net::OK; net 907 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 910 net/disk_cache/blockfile/entry_impl.cc return net::ERR_IO_PENDING; net 941 net/disk_cache/blockfile/entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_ENTRY_CLOSE); net 967 net/disk_cache/blockfile/entry_impl.cc net_log_.EndEvent(net::NetLog::TYPE_DISK_CACHE_ENTRY_IMPL); net 979 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 986 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 989 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 1015 net/disk_cache/blockfile/entry_impl.cc return net::ERR_FAILED; net 1022 net/disk_cache/blockfile/entry_impl.cc return net::ERR_FILE_NOT_FOUND; net 1035 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_ENTRY_READ_DATA); net 1045 net/disk_cache/blockfile/entry_impl.cc return net::ERR_CACHE_READ_FAILURE; net 1055 net/disk_cache/blockfile/entry_impl.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; net 1065 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 1068 net/disk_cache/blockfile/entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 1071 net/disk_cache/blockfile/entry_impl.cc return net::ERR_UNEXPECTED; net 1082 net/disk_cache/blockfile/entry_impl.cc return net::ERR_FAILED; net 1093 net/disk_cache/blockfile/entry_impl.cc return net::ERR_FAILED; net 1121 net/disk_cache/blockfile/entry_impl.cc return net::ERR_FILE_NOT_FOUND; net 1130 net/disk_cache/blockfile/entry_impl.cc return net::ERR_FAILED; net 1139 net/disk_cache/blockfile/entry_impl.cc net::NetLog::TYPE_ENTRY_WRITE_DATA); net 1149 net/disk_cache/blockfile/entry_impl.cc return net::ERR_CACHE_WRITE_FAILURE; net 1159 net/disk_cache/blockfile/entry_impl.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; net 1491 net/disk_cache/blockfile/entry_impl.cc return net::OK; net 1496 net/disk_cache/blockfile/entry_impl.cc if (net::OK == result) net 142 net/disk_cache/blockfile/entry_impl.h void BeginLogging(net::NetLog* net_log, bool created); net 144 net/disk_cache/blockfile/entry_impl.h const net::BoundNetLog& net_log() const; net 271 net/disk_cache/blockfile/entry_impl.h net::BoundNetLog net_log_; net 321 net/disk_cache/blockfile/entry_impl_v3.cc net_log_.AddEvent(net::NetLog::TYPE_ENTRY_DOOM); net 442 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImplV3::BeginLogging(net::NetLog* net_log, bool created) { net 444 net/disk_cache/blockfile/entry_impl_v3.cc net_log_ = net::BoundNetLog::Make( net 445 net/disk_cache/blockfile/entry_impl_v3.cc net_log, net::NetLog::SOURCE_DISK_CACHE_ENTRY); net 447 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_DISK_CACHE_ENTRY_IMPL, net 451 net/disk_cache/blockfile/entry_impl_v3.cc const net::BoundNetLog& EntryImplV3::net_log() const { net 532 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 539 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 542 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 545 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_IO_PENDING; net 552 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_ENTRY_READ_DATA, net 558 net/disk_cache/blockfile/entry_impl_v3.cc if (result != net::ERR_IO_PENDING && net_log_.IsLogging()) { net 560 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_ENTRY_READ_DATA, net 573 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 576 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 579 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 583 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_IO_PENDING; net 591 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_ENTRY_WRITE_DATA, net 598 net/disk_cache/blockfile/entry_impl_v3.cc if (result != net::ERR_IO_PENDING && net_log_.IsLogging()) { net 600 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_ENTRY_WRITE_DATA, net 612 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 615 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_IO_PENDING; net 622 net/disk_cache/blockfile/entry_impl_v3.cc if (net::OK != result) net 638 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 641 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_IO_PENDING; net 648 net/disk_cache/blockfile/entry_impl_v3.cc if (net::OK != result) net 661 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 664 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_IO_PENDING; net 669 net/disk_cache/blockfile/entry_impl_v3.cc if (net::OK != result) net 698 net/disk_cache/blockfile/entry_impl_v3.cc return net::OK; net 701 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 704 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_IO_PENDING; net 742 net/disk_cache/blockfile/entry_impl_v3.cc net_log_.AddEvent(net::NetLog::TYPE_ENTRY_CLOSE); net 768 net/disk_cache/blockfile/entry_impl_v3.cc net_log_.EndEvent(net::NetLog::TYPE_DISK_CACHE_ENTRY_IMPL); net 778 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 785 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 788 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 814 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 821 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FILE_NOT_FOUND; net 834 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_ENTRY_READ_DATA); net 844 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_CACHE_READ_FAILURE; net 854 net/disk_cache/blockfile/entry_impl_v3.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; net 864 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 867 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_INVALID_ARGUMENT; net 870 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_UNEXPECTED; net 881 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 892 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 920 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FILE_NOT_FOUND; net 929 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 938 net/disk_cache/blockfile/entry_impl_v3.cc net::NetLog::TYPE_ENTRY_WRITE_DATA); net 948 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_CACHE_WRITE_FAILURE; net 958 net/disk_cache/blockfile/entry_impl_v3.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; net 1313 net/disk_cache/blockfile/entry_impl_v3.cc return net::OK; net 1318 net/disk_cache/blockfile/entry_impl_v3.cc if (net::OK == result) net 1425 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 1430 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 1435 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 1440 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 1445 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 1457 net/disk_cache/blockfile/entry_impl_v3.cc return net::ERR_FAILED; net 75 net/disk_cache/blockfile/entry_impl_v3.h void BeginLogging(net::NetLog* net_log, bool created); net 77 net/disk_cache/blockfile/entry_impl_v3.h const net::BoundNetLog& net_log() const; net 201 net/disk_cache/blockfile/entry_impl_v3.h net::BoundNetLog net_log_; net 96 net/disk_cache/blockfile/file_ios.cc result_ = net::ERR_CACHE_READ_FAILURE; net 105 net/disk_cache/blockfile/file_ios.cc result_ = rv ? static_cast<int>(buf_len_) : net::ERR_CACHE_WRITE_FAILURE; net 170 net/disk_cache/blockfile/file_posix.cc return net::ERR_CACHE_READ_FAILURE; net 178 net/disk_cache/blockfile/file_posix.cc return net::ERR_CACHE_WRITE_FAILURE; net 49 net/disk_cache/blockfile/file_win.cc actual_bytes = static_cast<DWORD>(net::ERR_CACHE_READ_FAILURE); net 95 net/disk_cache/blockfile/histogram_macros.h case net::DISK_CACHE:\ net 96 net/disk_cache/blockfile/histogram_macros.h case net::MEDIA_CACHE:\ net 97 net/disk_cache/blockfile/histogram_macros.h case net::APP_CACHE:\ net 98 net/disk_cache/blockfile/histogram_macros.h case net::SHADER_CACHE:\ net 99 net/disk_cache/blockfile/histogram_macros.h case net::PNACL_CACHE:\ net 97 net/disk_cache/blockfile/histogram_macros_v3.h case net::DISK_CACHE:\ net 98 net/disk_cache/blockfile/histogram_macros_v3.h case net::MEDIA_CACHE:\ net 99 net/disk_cache/blockfile/histogram_macros_v3.h case net::APP_CACHE:\ net 100 net/disk_cache/blockfile/histogram_macros_v3.h case net::SHADER_CACHE:\ net 101 net/disk_cache/blockfile/histogram_macros_v3.h case net::PNACL_CACHE:\ net 22 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) net 51 net/disk_cache/blockfile/in_flight_backend_io.cc DCHECK_NE(result, net::ERR_IO_PENDING); net 65 net/disk_cache/blockfile/in_flight_backend_io.cc if (result() == net::OK) { net 160 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len) { net 170 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len, bool truncate) { net 181 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len) { net 190 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len) { net 260 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 264 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 268 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 272 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 275 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 279 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 283 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::ERR_UNEXPECTED; net 285 net/disk_cache/blockfile/in_flight_backend_io.cc DCHECK_NE(net::ERR_IO_PENDING, result_); net 318 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::OK; net 326 net/disk_cache/blockfile/in_flight_backend_io.cc result_ = net::ERR_UNEXPECTED; net 329 net/disk_cache/blockfile/in_flight_backend_io.cc if (result_ != net::ERR_IO_PENDING) net 343 net/disk_cache/blockfile/in_flight_backend_io.cc void InFlightBackendIO::Init(const net::CompletionCallback& callback) { net 350 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 357 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 364 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 371 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 379 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 386 net/disk_cache/blockfile/in_flight_backend_io.cc const base::Time initial_time, const net::CompletionCallback& callback) { net 393 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 400 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 408 net/disk_cache/blockfile/in_flight_backend_io.cc new BackendIO(this, backend_, net::CompletionCallback())); net 415 net/disk_cache/blockfile/in_flight_backend_io.cc new BackendIO(this, backend_, net::CompletionCallback())); net 422 net/disk_cache/blockfile/in_flight_backend_io.cc new BackendIO(this, backend_, net::CompletionCallback())); net 429 net/disk_cache/blockfile/in_flight_backend_io.cc new BackendIO(this, backend_, net::CompletionCallback())); net 434 net/disk_cache/blockfile/in_flight_backend_io.cc void InFlightBackendIO::FlushQueue(const net::CompletionCallback& callback) { net 441 net/disk_cache/blockfile/in_flight_backend_io.cc const base::Closure& task, const net::CompletionCallback& callback) { net 448 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len, net 449 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 456 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len, net 458 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 465 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, net 466 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 473 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, net 474 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 482 net/disk_cache/blockfile/in_flight_backend_io.cc const net::CompletionCallback& callback) { net 490 net/disk_cache/blockfile/in_flight_backend_io.cc new BackendIO(this, backend_, net::CompletionCallback())); net 496 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, const net::CompletionCallback& callback) { net 28 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 43 net/disk_cache/blockfile/in_flight_backend_io.h net::CompletionCallback callback() const { return callback_; } net 65 net/disk_cache/blockfile/in_flight_backend_io.h void ReadData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, net 67 net/disk_cache/blockfile/in_flight_backend_io.h void WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, net 69 net/disk_cache/blockfile/in_flight_backend_io.h void ReadSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, net 71 net/disk_cache/blockfile/in_flight_backend_io.h void WriteSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, net 122 net/disk_cache/blockfile/in_flight_backend_io.h net::CompletionCallback callback_; net 135 net/disk_cache/blockfile/in_flight_backend_io.h scoped_refptr<net::IOBuffer> buf_; net 154 net/disk_cache/blockfile/in_flight_backend_io.h void Init(const net::CompletionCallback& callback); net 156 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 158 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 160 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 161 net/disk_cache/blockfile/in_flight_backend_io.h void DoomAllEntries(const net::CompletionCallback& callback); net 164 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 166 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 168 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 170 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 175 net/disk_cache/blockfile/in_flight_backend_io.h void FlushQueue(const net::CompletionCallback& callback); net 177 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 178 net/disk_cache/blockfile/in_flight_backend_io.h void ReadData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, net 179 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, const net::CompletionCallback& callback); net 181 net/disk_cache/blockfile/in_flight_backend_io.h EntryImpl* entry, int index, int offset, net::IOBuffer* buf, net 182 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, bool truncate, const net::CompletionCallback& callback); net 183 net/disk_cache/blockfile/in_flight_backend_io.h void ReadSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, net 184 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, const net::CompletionCallback& callback); net 185 net/disk_cache/blockfile/in_flight_backend_io.h void WriteSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, net 186 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, const net::CompletionCallback& callback); net 188 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 191 net/disk_cache/blockfile/in_flight_backend_io.h const net::CompletionCallback& callback); net 785 net/disk_cache/blockfile/index_table_v3.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(num_bytes)); net 32 net/disk_cache/blockfile/index_table_v3.h namespace net { net 146 net/disk_cache/blockfile/index_table_v3.h virtual void SaveIndex(net::IOBuffer* buffer, int buffer_len) = 0; net 39 net/disk_cache/blockfile/index_table_v3_unittest.cc virtual void SaveIndex(net::IOBuffer* buffer, int buffer_len) OVERRIDE { net 144 net/disk_cache/blockfile/sparse_control.cc net::NetLog::EventType GetSparseEventType( net 148 net/disk_cache/blockfile/sparse_control.cc return net::NetLog::TYPE_SPARSE_READ; net 150 net/disk_cache/blockfile/sparse_control.cc return net::NetLog::TYPE_SPARSE_WRITE; net 152 net/disk_cache/blockfile/sparse_control.cc return net::NetLog::TYPE_SPARSE_GET_RANGE; net 155 net/disk_cache/blockfile/sparse_control.cc return net::NetLog::TYPE_CANCELLED; net 161 net/disk_cache/blockfile/sparse_control.cc void LogChildOperationEnd(const net::BoundNetLog& net_log, net 165 net/disk_cache/blockfile/sparse_control.cc net::NetLog::EventType event_type; net 168 net/disk_cache/blockfile/sparse_control.cc event_type = net::NetLog::TYPE_SPARSE_READ_CHILD_DATA; net 171 net/disk_cache/blockfile/sparse_control.cc event_type = net::NetLog::TYPE_SPARSE_WRITE_CHILD_DATA; net 218 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 221 net/disk_cache/blockfile/sparse_control.cc int rv = net::OK; net 229 net/disk_cache/blockfile/sparse_control.cc if (rv == net::OK) net 244 net/disk_cache/blockfile/sparse_control.cc int SparseControl::StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, net 249 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 252 net/disk_cache/blockfile/sparse_control.cc return net::ERR_INVALID_ARGUMENT; net 257 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 269 net/disk_cache/blockfile/sparse_control.cc user_buf_ = buf ? new net::DrainableIOBuffer(buf, buf_len) : NULL; net 293 net/disk_cache/blockfile/sparse_control.cc return net::ERR_IO_PENDING; net 300 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 325 net/disk_cache/blockfile/sparse_control.cc return net::OK; net 332 net/disk_cache/blockfile/sparse_control.cc return net::ERR_IO_PENDING; net 353 net/disk_cache/blockfile/sparse_control.cc entry->net_log().AddEvent(net::NetLog::TYPE_SPARSE_DELETE_CHILDREN); net 376 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 385 net/disk_cache/blockfile/sparse_control.cc scoped_refptr<net::IOBuffer> buf( net 386 net/disk_cache/blockfile/sparse_control.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&sparse_header_))); net 392 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 396 net/disk_cache/blockfile/sparse_control.cc return net::OK; net 402 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 405 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 408 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 413 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 415 net/disk_cache/blockfile/sparse_control.cc scoped_refptr<net::IOBuffer> buf( net 416 net/disk_cache/blockfile/sparse_control.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&sparse_header_))); net 422 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_READ_FAILURE; net 429 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 432 net/disk_cache/blockfile/sparse_control.cc buf = new net::IOBuffer(map_len); net 436 net/disk_cache/blockfile/sparse_control.cc return net::ERR_CACHE_READ_FAILURE; net 441 net/disk_cache/blockfile/sparse_control.cc return net::OK; net 472 net/disk_cache/blockfile/sparse_control.cc scoped_refptr<net::WrappedIOBuffer> buf( net 473 net/disk_cache/blockfile/sparse_control.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&child_data_))); net 496 net/disk_cache/blockfile/sparse_control.cc scoped_refptr<net::WrappedIOBuffer> buf( net 497 net/disk_cache/blockfile/sparse_control.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&child_data_))); net 520 net/disk_cache/blockfile/sparse_control.cc result_ = net::ERR_CACHE_READ_FAILURE; net 539 net/disk_cache/blockfile/sparse_control.cc result_ = net::ERR_CACHE_READ_FAILURE; net 566 net/disk_cache/blockfile/sparse_control.cc scoped_refptr<net::IOBuffer> buf(new net::WrappedIOBuffer( net 671 net/disk_cache/blockfile/sparse_control.cc scoped_refptr<net::WrappedIOBuffer> buf( net 672 net/disk_cache/blockfile/sparse_control.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&child_data_))); net 689 net/disk_cache/blockfile/sparse_control.cc net::NetLog::TYPE_SPARSE_GET_RANGE, net 726 net/disk_cache/blockfile/sparse_control.cc net::NetLog::TYPE_SPARSE_READ_CHILD_DATA, net 736 net/disk_cache/blockfile/sparse_control.cc net::NetLog::TYPE_SPARSE_WRITE_CHILD_DATA, net 750 net/disk_cache/blockfile/sparse_control.cc if (rv == net::ERR_IO_PENDING) { net 835 net/disk_cache/blockfile/sparse_control.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 843 net/disk_cache/blockfile/sparse_control.cc entry_->net_log().AddEvent(net::NetLog::TYPE_CANCELLED); net 882 net/disk_cache/blockfile/sparse_control.cc cb.Run(net::OK); net 17 net/disk_cache/blockfile/sparse_control.h namespace net { net 34 net/disk_cache/blockfile/sparse_control.h typedef net::CompletionCallback CompletionCallback; net 62 net/disk_cache/blockfile/sparse_control.h int StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, net 166 net/disk_cache/blockfile/sparse_control.h scoped_refptr<net::DrainableIOBuffer> user_buf_; net 146 net/disk_cache/blockfile/sparse_control_v3.cc net::NetLog::EventType GetSparseEventType( net 150 net/disk_cache/blockfile/sparse_control_v3.cc return net::NetLog::TYPE_SPARSE_READ; net 152 net/disk_cache/blockfile/sparse_control_v3.cc return net::NetLog::TYPE_SPARSE_WRITE; net 154 net/disk_cache/blockfile/sparse_control_v3.cc return net::NetLog::TYPE_SPARSE_GET_RANGE; net 157 net/disk_cache/blockfile/sparse_control_v3.cc return net::NetLog::TYPE_CANCELLED; net 163 net/disk_cache/blockfile/sparse_control_v3.cc void LogChildOperationEnd(const net::BoundNetLog& net_log, net 167 net/disk_cache/blockfile/sparse_control_v3.cc net::NetLog::EventType event_type; net 170 net/disk_cache/blockfile/sparse_control_v3.cc event_type = net::NetLog::TYPE_SPARSE_READ_CHILD_DATA; net 173 net/disk_cache/blockfile/sparse_control_v3.cc event_type = net::NetLog::TYPE_SPARSE_WRITE_CHILD_DATA; net 225 net/disk_cache/blockfile/sparse_control_v3.cc int SparseControl::StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, net 230 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 233 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_INVALID_ARGUMENT; net 237 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 248 net/disk_cache/blockfile/sparse_control_v3.cc user_buf_ = buf ? new net::DrainableIOBuffer(buf, buf_len) : NULL; net 272 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_IO_PENDING; net 279 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 304 net/disk_cache/blockfile/sparse_control_v3.cc return net::OK; net 311 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_IO_PENDING; net 332 net/disk_cache/blockfile/sparse_control_v3.cc entry->net_log().AddEvent(net::NetLog::TYPE_SPARSE_DELETE_CHILDREN); net 358 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 361 net/disk_cache/blockfile/sparse_control_v3.cc int rv = net::OK; net 369 net/disk_cache/blockfile/sparse_control_v3.cc if (rv == net::OK) net 378 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 387 net/disk_cache/blockfile/sparse_control_v3.cc scoped_refptr<net::IOBuffer> buf( net 388 net/disk_cache/blockfile/sparse_control_v3.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&sparse_header_))); net 394 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 398 net/disk_cache/blockfile/sparse_control_v3.cc return net::OK; net 404 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 407 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 410 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 415 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 417 net/disk_cache/blockfile/sparse_control_v3.cc scoped_refptr<net::IOBuffer> buf( net 418 net/disk_cache/blockfile/sparse_control_v3.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&sparse_header_))); net 424 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_READ_FAILURE; net 431 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 434 net/disk_cache/blockfile/sparse_control_v3.cc buf = new net::IOBuffer(map_len); net 438 net/disk_cache/blockfile/sparse_control_v3.cc return net::ERR_CACHE_READ_FAILURE; net 443 net/disk_cache/blockfile/sparse_control_v3.cc return net::OK; net 474 net/disk_cache/blockfile/sparse_control_v3.cc scoped_refptr<net::WrappedIOBuffer> buf( net 475 net/disk_cache/blockfile/sparse_control_v3.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&child_data_))); net 498 net/disk_cache/blockfile/sparse_control_v3.cc scoped_refptr<net::WrappedIOBuffer> buf( net 499 net/disk_cache/blockfile/sparse_control_v3.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&child_data_))); net 524 net/disk_cache/blockfile/sparse_control_v3.cc result_ = net::ERR_CACHE_READ_FAILURE; net 533 net/disk_cache/blockfile/sparse_control_v3.cc scoped_refptr<net::IOBuffer> buf(new net::WrappedIOBuffer( net 568 net/disk_cache/blockfile/sparse_control_v3.cc net::NetLog::TYPE_SPARSE_READ_CHILD_DATA, net 578 net/disk_cache/blockfile/sparse_control_v3.cc net::NetLog::TYPE_SPARSE_WRITE_CHILD_DATA, net 592 net/disk_cache/blockfile/sparse_control_v3.cc if (rv == net::ERR_IO_PENDING) { net 641 net/disk_cache/blockfile/sparse_control_v3.cc result_ = net::ERR_CACHE_READ_FAILURE; net 759 net/disk_cache/blockfile/sparse_control_v3.cc scoped_refptr<net::WrappedIOBuffer> buf( net 760 net/disk_cache/blockfile/sparse_control_v3.cc new net::WrappedIOBuffer(reinterpret_cast<char*>(&child_data_))); net 837 net/disk_cache/blockfile/sparse_control_v3.cc cb.Run(net::OK); net 842 net/disk_cache/blockfile/sparse_control_v3.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 850 net/disk_cache/blockfile/sparse_control_v3.cc entry_->net_log().AddEvent(net::NetLog::TYPE_CANCELLED); net 17 net/disk_cache/blockfile/sparse_control_v3.h namespace net { net 34 net/disk_cache/blockfile/sparse_control_v3.h typedef net::CompletionCallback CompletionCallback; net 57 net/disk_cache/blockfile/sparse_control_v3.h int StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, net 164 net/disk_cache/blockfile/sparse_control_v3.h scoped_refptr<net::DrainableIOBuffer> user_buf_; net 123 net/disk_cache/blockfile/stress_cache.cc net::TestCompletionCallback cb; net 126 net/disk_cache/blockfile/stress_cache.cc if (cb.GetResult(rv) != net::OK) { net 152 net/disk_cache/blockfile/stress_cache.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 164 net/disk_cache/blockfile/stress_cache.cc net::TestCompletionCallback cb; net 166 net/disk_cache/blockfile/stress_cache.cc if (cb.GetResult(rv) != net::OK) { net 168 net/disk_cache/blockfile/stress_cache.cc CHECK_EQ(net::OK, cb.GetResult(rv)); net 180 net/disk_cache/blockfile/stress_cache.cc net::TestCompletionCallback cb2; net 28 net/disk_cache/cache_creator.cc net::CacheType type, net::BackendType backend_type, uint32 flags, net 29 net/disk_cache/cache_creator.cc base::MessageLoopProxy* thread, net::NetLog* net_log, net 31 net/disk_cache/cache_creator.cc const net::CompletionCallback& callback); net 47 net/disk_cache/cache_creator.cc net::CacheType type_; net 48 net/disk_cache/cache_creator.cc net::BackendType backend_type_; net 52 net/disk_cache/cache_creator.cc net::CompletionCallback callback_; net 54 net/disk_cache/cache_creator.cc net::NetLog* net_log_; net 61 net/disk_cache/cache_creator.cc net::CacheType type, net::BackendType backend_type, uint32 flags, net 62 net/disk_cache/cache_creator.cc base::MessageLoopProxy* thread, net::NetLog* net_log, net 64 net/disk_cache/cache_creator.cc const net::CompletionCallback& callback) net 87 net/disk_cache/cache_creator.cc if (backend_type_ == net::CACHE_BACKEND_SIMPLE || net 88 net/disk_cache/cache_creator.cc (backend_type_ == net::CACHE_BACKEND_DEFAULT && net 100 net/disk_cache/cache_creator.cc return net::ERR_FAILED; net 110 net/disk_cache/cache_creator.cc DCHECK_EQ(net::ERR_IO_PENDING, rv); net 116 net/disk_cache/cache_creator.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 117 net/disk_cache/cache_creator.cc if (result == net::OK) { net 135 net/disk_cache/cache_creator.cc if (result == net::OK || !force_ || retry_) net 148 net/disk_cache/cache_creator.cc DCHECK_EQ(net::ERR_IO_PENDING, rv); net 155 net/disk_cache/cache_creator.cc int CreateCacheBackend(net::CacheType type, net 156 net/disk_cache/cache_creator.cc net::BackendType backend_type, net 160 net/disk_cache/cache_creator.cc net::NetLog* net_log, scoped_ptr<Backend>* backend, net 161 net/disk_cache/cache_creator.cc const net::CompletionCallback& callback) { net 163 net/disk_cache/cache_creator.cc if (type == net::MEMORY_CACHE) { net 165 net/disk_cache/cache_creator.cc return *backend ? net::OK : net::ERR_FAILED; net 25 net/disk_cache/disk_cache.h namespace net { net 50 net/disk_cache/disk_cache.h NET_EXPORT int CreateCacheBackend(net::CacheType type, net 51 net/disk_cache/disk_cache.h net::BackendType backend_type, net 56 net/disk_cache/disk_cache.h net::NetLog* net_log, net 58 net/disk_cache/disk_cache.h const net::CompletionCallback& callback); net 63 net/disk_cache/disk_cache.h typedef net::CompletionCallback CompletionCallback; net 74 net/disk_cache/disk_cache.h virtual net::CacheType GetCacheType() const = 0; net 160 net/disk_cache/disk_cache.h typedef net::CompletionCallback CompletionCallback; net 161 net/disk_cache/disk_cache.h typedef net::IOBuffer IOBuffer; net 59 net/disk_cache/disk_cache_test_base.cc type_(net::DISK_CACHE), net 87 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 89 net/disk_cache/disk_cache_test_base.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 117 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 124 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 130 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 136 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 143 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 149 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 156 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 165 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 167 net/disk_cache/disk_cache_test_base.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 176 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 178 net/disk_cache/disk_cache_test_base.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 182 net/disk_cache/disk_cache_test_base.cc int offset, net::IOBuffer* buf, int len) { net 183 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 189 net/disk_cache/disk_cache_test_base.cc int offset, net::IOBuffer* buf, int len, net 191 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 197 net/disk_cache/disk_cache_test_base.cc int64 offset, net::IOBuffer* buf, net 199 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 206 net/disk_cache/disk_cache_test_base.cc net::IOBuffer* buf, int len) { net 207 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 290 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 295 net/disk_cache/disk_cache_test_base.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 299 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback wait_for_index_cb; net 302 net/disk_cache/disk_cache_test_base.cc ASSERT_EQ(net::OK, wait_for_index_cb.GetResult(rv)); net 319 net/disk_cache/disk_cache_test_base.cc net::TestCompletionCallback cb; net 321 net/disk_cache/disk_cache_test_base.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 17 net/disk_cache/disk_cache_test_base.h namespace net { net 108 net/disk_cache/disk_cache_test_base.h void SetCacheType(net::CacheType type) { net 124 net/disk_cache/disk_cache_test_base.h net::IOBuffer* buf, int len); net 126 net/disk_cache/disk_cache_test_base.h net::IOBuffer* buf, int len, bool truncate); net 127 net/disk_cache/disk_cache_test_base.h int ReadSparseData(disk_cache::Entry* entry, int64 offset, net::IOBuffer* buf, net 130 net/disk_cache/disk_cache_test_base.h net::IOBuffer* buf, int len); net 156 net/disk_cache/disk_cache_test_base.h net::CacheType type_; net 71 net/disk_cache/disk_cache_test_util.cc if (cache->SyncInit() != net::OK) net 75 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 79 net/disk_cache/entry_unittest.cc entry->ReadData(0, 0, buffer1.get(), kSize1, net::CompletionCallback())); net 83 net/disk_cache/entry_unittest.cc 0, 0, buffer1.get(), kSize1, net::CompletionCallback(), false)); net 87 net/disk_cache/entry_unittest.cc entry->ReadData(0, 0, buffer1.get(), kSize1, net::CompletionCallback())); net 92 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 93 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer3(new net::IOBuffer(kSize3)); net 100 net/disk_cache/entry_unittest.cc 1, 1500, buffer2.get(), kSize2, net::CompletionCallback(), false)); net 104 net/disk_cache/entry_unittest.cc 1, 1511, buffer2.get(), kSize2, net::CompletionCallback())); net 108 net/disk_cache/entry_unittest.cc entry->ReadData(1, 0, buffer2.get(), kSize2, net::CompletionCallback())); net 112 net/disk_cache/entry_unittest.cc 1, 5000, buffer2.get(), kSize2, net::CompletionCallback())); net 116 net/disk_cache/entry_unittest.cc 1, 6500, buffer2.get(), kSize2, net::CompletionCallback())); net 119 net/disk_cache/entry_unittest.cc entry->ReadData(1, 0, buffer3.get(), kSize3, net::CompletionCallback())); net 122 net/disk_cache/entry_unittest.cc 1, 0, buffer3.get(), 8192, net::CompletionCallback(), false)); net 125 net/disk_cache/entry_unittest.cc entry->ReadData(1, 0, buffer3.get(), kSize3, net::CompletionCallback())); net 130 net/disk_cache/entry_unittest.cc 0, 0, NULL, 0, net::CompletionCallback(), true)); net 132 net/disk_cache/entry_unittest.cc 1, 0, NULL, 0, net::CompletionCallback(), true)); net 141 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); net 169 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); net 180 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry("the first key", &entry)); net 201 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 202 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 203 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer3(new net::IOBuffer(kSize3)); net 224 net/disk_cache/entry_unittest.cc EXPECT_TRUE(10 == ret || net::ERR_IO_PENDING == ret); net 225 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 236 net/disk_cache/entry_unittest.cc EXPECT_TRUE(10 == ret || net::ERR_IO_PENDING == ret); net 237 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 251 net/disk_cache/entry_unittest.cc EXPECT_TRUE(5000 == ret || net::ERR_IO_PENDING == ret); net 252 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 263 net/disk_cache/entry_unittest.cc EXPECT_TRUE(4989 == ret || net::ERR_IO_PENDING == ret); net 264 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 275 net/disk_cache/entry_unittest.cc EXPECT_TRUE(5000 == ret || net::ERR_IO_PENDING == ret); net 276 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 289 net/disk_cache/entry_unittest.cc EXPECT_TRUE(1500 == ret || net::ERR_IO_PENDING == ret); net 290 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 299 net/disk_cache/entry_unittest.cc EXPECT_TRUE(6500 == ret || net::ERR_IO_PENDING == ret); net 300 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 310 net/disk_cache/entry_unittest.cc EXPECT_TRUE(8192 == ret || net::ERR_IO_PENDING == ret); net 311 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 321 net/disk_cache/entry_unittest.cc EXPECT_TRUE(8192 == ret || net::ERR_IO_PENDING == ret); net 322 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 333 net/disk_cache/entry_unittest.cc EXPECT_TRUE(10 == ret || net::ERR_IO_PENDING == ret); net 334 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 343 net/disk_cache/entry_unittest.cc EXPECT_TRUE(5000 == ret || net::ERR_IO_PENDING == ret); net 344 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 372 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 373 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 379 net/disk_cache/entry_unittest.cc 0, 0, buffer1.get(), kSize1, net::CompletionCallback(), false)); net 383 net/disk_cache/entry_unittest.cc entry->ReadData(0, 0, buffer1.get(), kSize1, net::CompletionCallback())); net 390 net/disk_cache/entry_unittest.cc 1, 10000, buffer2.get(), kSize2, net::CompletionCallback(), false)); net 394 net/disk_cache/entry_unittest.cc 1, 10011, buffer2.get(), kSize2, net::CompletionCallback())); net 398 net/disk_cache/entry_unittest.cc entry->ReadData(1, 0, buffer2.get(), kSize2, net::CompletionCallback())); net 401 net/disk_cache/entry_unittest.cc 1, 30000, buffer2.get(), kSize2, net::CompletionCallback())); net 405 net/disk_cache/entry_unittest.cc 1, 35000, buffer2.get(), kSize2, net::CompletionCallback())); net 408 net/disk_cache/entry_unittest.cc entry->ReadData(1, 0, buffer1.get(), kSize1, net::CompletionCallback())); net 412 net/disk_cache/entry_unittest.cc 1, 20000, buffer1.get(), kSize1, net::CompletionCallback(), false)); net 417 net/disk_cache/entry_unittest.cc 0, 0, NULL, 0, net::CompletionCallback(), true)); net 419 net/disk_cache/entry_unittest.cc 1, 0, NULL, 0, net::CompletionCallback(), true)); net 424 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); net 456 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); net 475 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 476 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 477 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer3(new net::IOBuffer(kSize3)); net 489 net/disk_cache/entry_unittest.cc EXPECT_TRUE(17000 == ret || net::ERR_IO_PENDING == ret); net 490 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 502 net/disk_cache/entry_unittest.cc EXPECT_TRUE(17000 == ret || net::ERR_IO_PENDING == ret); net 503 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 517 net/disk_cache/entry_unittest.cc EXPECT_TRUE(25000 == ret || net::ERR_IO_PENDING == ret); net 518 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 530 net/disk_cache/entry_unittest.cc EXPECT_TRUE(24989 == ret || net::ERR_IO_PENDING == ret); net 531 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 542 net/disk_cache/entry_unittest.cc EXPECT_TRUE(25000 == ret || net::ERR_IO_PENDING == ret); net 543 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 555 net/disk_cache/entry_unittest.cc EXPECT_TRUE(5000 == ret || net::ERR_IO_PENDING == ret); net 556 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 572 net/disk_cache/entry_unittest.cc EXPECT_TRUE(17000 == ret || net::ERR_IO_PENDING == ret); net 573 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 582 net/disk_cache/entry_unittest.cc EXPECT_TRUE(17000 == ret || net::ERR_IO_PENDING == ret); net 583 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 617 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); net 621 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 624 net/disk_cache/entry_unittest.cc net::ReleaseBufferCompletionCallback cb(buffer.get()); net 645 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); net 650 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> reference_buffers[kNumStreams]; net 652 net/disk_cache/entry_unittest.cc reference_buffers[i] = new net::IOBuffer(kBufferSize); net 655 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kBufferSize)); net 665 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_INVALID_ARGUMENT, net 670 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry("the first key", &entry)); net 675 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kReadBufferSize)); net 711 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 723 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 730 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 738 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 746 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 767 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 775 net/disk_cache/entry_unittest.cc if (type_ == net::APP_CACHE) { net 786 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 788 net/disk_cache/entry_unittest.cc if (type_ == net::APP_CACHE) { net 791 net/disk_cache/entry_unittest.cc } else if (type_ == net::SHADER_CACHE) { net 813 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); net 819 net/disk_cache/entry_unittest.cc SetCacheType(net::SHADER_CACHE); net 827 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key1, &entry)); net 830 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 831 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 856 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2, &entry)); net 862 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); net 872 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); net 881 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); net 889 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); net 914 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 918 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 919 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 936 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 996 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1014 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 1053 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1056 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 1057 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 1065 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1075 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1092 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1141 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1165 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1169 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 1170 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 1183 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1242 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1272 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key1, &entry)); net 1276 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2, &entry)); net 1278 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(size)); net 1286 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); net 1290 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key1, &entry)) << "have not evicted this entry"; net 1324 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1329 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 1330 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 1331 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer3(new net::IOBuffer(kSize3)); net 1343 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1352 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1413 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1416 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 1419 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 1420 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 1429 net/disk_cache/entry_unittest.cc buffer = new net::IOBuffer(kSize); net 1433 net/disk_cache/entry_unittest.cc net::ERR_IO_PENDING, net 1449 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1454 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 1459 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1484 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("fixed", &entry1)); net 1486 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("foo", &entry1)); net 1488 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("bar", &entry1)); net 1491 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry("foo", &entry1)); net 1492 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry("bar", &entry2)); net 1496 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry("foo", &entry2)); net 1501 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry("fixed", &entry1)); net 1517 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); net 1526 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1536 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 1537 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 1569 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1573 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 1584 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1585 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, net 1590 net/disk_cache/entry_unittest.cc ASSERT_NE(net::OK, OpenEntry(key, &entry)); net 1600 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 1605 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &parent_entry)); net 1610 net/disk_cache/entry_unittest.cc 0, buf.get(), kSize, net::CompletionCallback())); net 1615 net/disk_cache/entry_unittest.cc 8192, buf.get(), kSize, net::CompletionCallback())); net 1623 net/disk_cache/entry_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 1636 net/disk_cache/entry_unittest.cc net::IOBuffer* buf_1, int size, net::IOBuffer* buf_2) { net 1637 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 1656 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 1658 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(size)); net 1668 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1671 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(kSize)); net 1672 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_2(new net::IOBuffer(kSize)); net 1687 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1708 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1712 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(kSize)); net 1713 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_2(new net::IOBuffer(kSize)); net 1721 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1740 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1743 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 1752 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 1805 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1808 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 1817 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1823 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1833 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 1854 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(kSize)); net 1855 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_2(new net::IOBuffer(kSize)); net 1860 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1864 net/disk_cache/entry_unittest.cc scoped_refptr<net::WrappedIOBuffer> buf_3( net 1865 net/disk_cache/entry_unittest.cc new net::WrappedIOBuffer(buf_1->data() + i)); net 1885 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 1890 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 1895 net/disk_cache/entry_unittest.cc entry->WriteSparseData(0, buf.get(), 1024, net::CompletionCallback())); net 1898 net/disk_cache/entry_unittest.cc entry->WriteSparseData(5120, buf.get(), 1024, net::CompletionCallback())); net 1901 net/disk_cache/entry_unittest.cc 10000, buf.get(), 1024, net::CompletionCallback())); net 1906 net/disk_cache/entry_unittest.cc 50000, buf.get(), 8192, net::CompletionCallback())); net 1909 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 1949 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry1)); net 1952 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(kSize)); net 1953 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf_2(new net::IOBuffer(kSize)); net 1961 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry1)); net 1965 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry("the second key", &entry2)); net 1977 net/disk_cache/entry_unittest.cc SetCacheType(net::MEDIA_CACHE); net 1984 net/disk_cache/entry_unittest.cc SetCacheType(net::MEDIA_CACHE); net 1993 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key1, &entry1)); net 1994 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2, &entry2)); net 1997 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 2022 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomEntry(key2)); net 2059 net/disk_cache/entry_unittest.cc class SparseTestCompletionCallback: public net::TestCompletionCallback { net 2082 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 2085 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 2093 net/disk_cache/entry_unittest.cc offset, buf.get(), kSize, net::CompletionCallback())); net 2102 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 2103 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cb.WaitForResult()); net 2109 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 2115 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf1(new net::IOBuffer(kSize)); net 2126 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 2128 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf2(new net::IOBuffer(kSize)); net 2143 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 2207 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 2210 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf1(new net::IOBuffer(kSize)); net 2223 net/disk_cache/entry_unittest.cc while (OpenNextEntry(&iter, &entry) == net::OK) { net 2231 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(child_key[i], &entry)); net 2238 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 2258 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 2261 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 2265 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb1, cb2, cb3, cb4, cb5; net 2268 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 2276 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_CACHE_OPERATION_NOT_SUPPORTED, rv); net 2281 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, entry->ReadyForSparseIO(cb2.callback())); net 2282 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, entry->ReadyForSparseIO(cb3.callback())); net 2284 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, entry->ReadyForSparseIO(cb4.callback())); net 2287 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_CACHE_OPERATION_NOT_SUPPORTED, net 2289 net/disk_cache/entry_unittest.cc offset, buf.get(), kSize, net::CompletionCallback())); net 2290 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_CACHE_OPERATION_NOT_SUPPORTED, net 2292 net/disk_cache/entry_unittest.cc offset, buf.get(), kSize, net::CompletionCallback())); net 2299 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cb2.WaitForResult()); net 2300 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cb3.WaitForResult()); net 2301 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cb4.WaitForResult()); net 2315 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 2330 net/disk_cache/entry_unittest.cc ASSERT_NE(net::OK, OpenEntry(key, &entry)); net 2355 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2376 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2385 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2394 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2403 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2419 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2429 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2438 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2447 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2457 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); net 2461 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2484 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomAllEntries()); net 2495 net/disk_cache/entry_unittest.cc if (CreateEntry(key, &entry) != net::OK || !entry) { net 2502 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kDataSize)); net 2536 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 2541 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer(new net::IOBuffer(kReadBufferSize)); net 2542 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_CACHE_CHECKSUM_MISMATCH, net 2558 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 2563 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer(new net::IOBuffer(kReadBufferSize)); net 2564 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_CACHE_CHECKSUM_MISMATCH, net 2584 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 2592 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 2605 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_FAILED, OpenEntry(key, &entry)); net 2612 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); // APP_CACHE doesn't use optimistic operations. net 2618 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, CreateEntry("my key", &entry)); net 2623 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBufferWithSize> write_buffer( net 2624 net/disk_cache/entry_unittest.cc new net::IOBufferWithSize(kBufferSize)); net 2630 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBufferWithSize> read_buffer( net 2631 net/disk_cache/entry_unittest.cc new net::IOBufferWithSize(kBufferSize)); net 2639 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); // APP_CACHE doesn't use optimistic operations. net 2649 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBufferWithSize> write_buffer( net 2650 net/disk_cache/entry_unittest.cc new net::IOBufferWithSize(kBufferSize)); net 2653 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, CreateEntry("my key", &entry)); net 2666 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, ret); net 2674 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); // APP_CACHE doesn't use optimistic operations. net 2683 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, CreateEntry("my key", &entry)); net 2688 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBufferWithSize> write_buffer( net 2689 net/disk_cache/entry_unittest.cc new net::IOBufferWithSize(kBufferSize)); net 2699 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, ret); net 2702 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBufferWithSize> read_buffer( net 2703 net/disk_cache/entry_unittest.cc new net::IOBufferWithSize(kBufferSize)); net 2711 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, ret); net 2739 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 2740 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read(new net::IOBuffer(kSize1)); net 2741 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); net 2742 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2_read(new net::IOBuffer(kSize2)); net 2748 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 2764 net/disk_cache/entry_unittest.cc EXPECT_TRUE(kSize1 == ret || net::ERR_IO_PENDING == ret); net 2765 net/disk_cache/entry_unittest.cc if (net::ERR_IO_PENDING == ret) net 2769 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 2793 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 2824 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 2832 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 2858 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 2859 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 2863 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 2865 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 2867 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(net::ERR_IO_PENDING)); net 2886 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 2888 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 2892 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 2893 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 2900 net/disk_cache/entry_unittest.cc net::ERR_IO_PENDING, net 2902 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_FAILED, cb.GetResult(net::ERR_IO_PENDING)); net 2911 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 2913 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(net::ERR_IO_PENDING)); net 2917 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, net 2919 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(net::ERR_IO_PENDING)); net 2930 net/disk_cache/entry_unittest.cc 1, 0, buffer1.get(), kSize1, net::CompletionCallback(), false)); net 2934 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 2936 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize1, cb.GetResult(net::ERR_IO_PENDING)); net 2952 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 2954 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 2958 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 2959 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 2965 net/disk_cache/entry_unittest.cc net::ERR_IO_PENDING, net 2967 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize1, cb.GetResult(net::ERR_IO_PENDING)); net 2969 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 2971 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize1, cb.GetResult(net::ERR_IO_PENDING)); net 2986 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 2988 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 2989 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read(new net::IOBuffer(kSize1)); net 2993 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 2994 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 2999 net/disk_cache/entry_unittest.cc net::ERR_IO_PENDING, net 3001 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize1, cb.GetResult(net::ERR_IO_PENDING)); net 3007 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 3009 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize1, cb.GetResult(net::ERR_IO_PENDING)); net 3025 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 3026 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 3031 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kWriteSize)); net 3047 net/disk_cache/entry_unittest.cc 1, 0, buffer1.get(), kWriteSize, net::CompletionCallback(), false)); net 3059 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 3061 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); net 3065 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 3066 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 3069 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, cache_->DoomEntry(key, cb.callback())); net 3070 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(net::ERR_IO_PENDING)); net 3094 net/disk_cache/entry_unittest.cc SetCacheType(net::APP_CACHE); net 3100 net/disk_cache/entry_unittest.cc net::TestCompletionCallback create_callback; net 3103 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 3109 net/disk_cache/entry_unittest.cc net::TestCompletionCallback doom_callback; net 3110 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 3114 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 3118 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, doom_callback.GetResult(net::ERR_IO_PENDING)); net 3131 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry1)); net 3135 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, DoomEntry(key)); net 3138 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry2)); net 3145 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 3146 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, net 3150 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry3)); net 3166 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry1)); net 3173 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry2)); net 3190 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb; net 3196 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cache_->CreateEntry(key, &entry, cb.callback())); net 3199 net/disk_cache/entry_unittest.cc ASSERT_NE(net::OK, OpenEntry(key, &entry2)); net 3222 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key1, &entry)); net 3223 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kWriteSize)); net 3232 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2 + base::StringPrintf("%d", i), &entry)); net 3240 net/disk_cache/entry_unittest.cc ASSERT_NE(net::OK, OpenEntry(key1, &entry)) net 3247 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2 + base::StringPrintf("%d", entry_no), net 3264 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> write_buffer(new net::IOBuffer(kBufferSize)); net 3268 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3275 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3283 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer(new net::IOBuffer(kReadBufferSize)); net 3285 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 3295 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> net 3296 net/disk_cache/entry_unittest.cc truncate_buffer(new net::IOBuffer(kReadBufferSize)); net 3299 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 3327 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, net 3328 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); net 3332 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> write_buffer(new net::IOBuffer(kBufferSize)); net 3339 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 3349 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer(new net::IOBuffer(kBufferSize)); net 3351 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 3375 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb1; net 3377 net/disk_cache/entry_unittest.cc net::TestCompletionCallback cb2; net 3381 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_FAILED, cb1.GetResult(rv1)); net 3382 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, cb2.GetResult(rv2)); net 3397 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer1(new net::IOBuffer(size)); net 3398 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer2(new net::IOBuffer(size)); net 3402 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3407 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, OpenEntry(key, &entry2)); net 3429 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer1(new net::IOBuffer(size)); net 3430 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> read_buffer2(new net::IOBuffer(size)); net 3434 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3440 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, OpenEntry(key, &entry2)); net 3465 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 3469 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3476 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry2)); net 3482 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read1(new net::IOBuffer(buf_len)); net 3489 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read2(new net::IOBuffer(buf_len)); net 3515 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 3516 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 3522 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3525 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3539 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3541 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read1(new net::IOBuffer(kSize)); net 3559 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3560 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer_read(new net::IOBuffer(kSize)); net 3563 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3573 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3584 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3604 net/disk_cache/entry_unittest.cc buffer_read = new net::IOBuffer(kSize); net 3615 net/disk_cache/entry_unittest.cc buffer_read = new net::IOBuffer(kSize); net 3616 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3636 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 3637 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kHalfSize)); net 3642 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3647 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3659 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3661 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read1(new net::IOBuffer(kSize)); net 3682 net/disk_cache/entry_unittest.cc net::TestCompletionCallback callback; net 3699 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3716 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3724 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3741 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 3742 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 3750 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3755 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3775 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 3776 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 3786 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3792 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3811 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3819 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3837 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); net 3838 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); net 3844 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, DoomAllEntries()); net 3847 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3852 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, DoomAllEntries()); net 3853 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3868 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key, &entry)); net 3930 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key, &entry)); net 3933 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); net 3935 net/disk_cache/entry_unittest.cc net::TestCompletionCallback callback; net 31 net/disk_cache/memory/mem_backend_impl.cc MemBackendImpl::MemBackendImpl(net::NetLog* net_log) net 45 net/disk_cache/memory/mem_backend_impl.cc net::NetLog* net_log) { net 127 net/disk_cache/memory/mem_backend_impl.cc net::CacheType MemBackendImpl::GetCacheType() const { net 128 net/disk_cache/memory/mem_backend_impl.cc return net::MEMORY_CACHE; net 138 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 140 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 146 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 148 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 154 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 156 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 161 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 163 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 170 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 172 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 178 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 180 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 186 net/disk_cache/memory/mem_backend_impl.cc return net::OK; net 188 net/disk_cache/memory/mem_backend_impl.cc return net::ERR_FAILED; net 15 net/disk_cache/memory/mem_backend_impl.h namespace net { net 27 net/disk_cache/memory/mem_backend_impl.h explicit MemBackendImpl(net::NetLog* net_log); net 35 net/disk_cache/memory/mem_backend_impl.h static scoped_ptr<Backend> CreateBackend(int max_bytes, net::NetLog* net_log); net 65 net/disk_cache/memory/mem_backend_impl.h virtual net::CacheType GetCacheType() const OVERRIDE; net 113 net/disk_cache/memory/mem_backend_impl.h net::NetLog* net_log_; net 51 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::LogLevel /* log_level */) { net 77 net/disk_cache/memory/mem_entry_impl.cc bool MemEntryImpl::CreateEntry(const std::string& key, net::NetLog* net_log) { net 83 net/disk_cache/memory/mem_entry_impl.cc net_log_ = net::BoundNetLog::Make(net_log, net 84 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::SOURCE_MEMORY_CACHE_ENTRY); net 87 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_DISK_CACHE_MEM_ENTRY_IMPL, net 96 net/disk_cache/memory/mem_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_ENTRY_DOOM); net 190 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_ENTRY_READ_DATA, net 198 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_ENTRY_READ_DATA, net 208 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_ENTRY_WRITE_DATA, net 216 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_ENTRY_WRITE_DATA, net 226 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_READ, net 231 net/disk_cache/memory/mem_entry_impl.cc net_log_.EndEvent(net::NetLog::TYPE_SPARSE_READ); net 239 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_WRITE, net 244 net/disk_cache/memory/mem_entry_impl.cc net_log_.EndEvent(net::NetLog::TYPE_SPARSE_WRITE); net 252 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_GET_RANGE, net 258 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_GET_RANGE, net 270 net/disk_cache/memory/mem_entry_impl.cc return net::OK; net 279 net/disk_cache/memory/mem_entry_impl.cc net_log_.EndEvent(net::NetLog::TYPE_DISK_CACHE_MEM_ENTRY_IMPL); net 287 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 294 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 310 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 313 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 320 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_FAILED; net 352 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 355 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 358 net/disk_cache/memory/mem_entry_impl.cc scoped_refptr<net::DrainableIOBuffer> io_buf( net 359 net/disk_cache/memory/mem_entry_impl.cc new net::DrainableIOBuffer(buf, buf_len)); net 378 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_READ_CHILD_DATA, net 386 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_READ_CHILD_DATA, ret); net 409 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 412 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 414 net/disk_cache/memory/mem_entry_impl.cc scoped_refptr<net::DrainableIOBuffer> io_buf( net 415 net/disk_cache/memory/mem_entry_impl.cc new net::DrainableIOBuffer(buf, buf_len)); net 435 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_WRITE_CHILD_DATA, net 448 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_SPARSE_WRITE_CHILD_DATA, ret); net 475 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 478 net/disk_cache/memory/mem_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 560 net/disk_cache/memory/mem_entry_impl.cc net::NetLog* net_log) { net 564 net/disk_cache/memory/mem_entry_impl.cc net_log_ = net::BoundNetLog::Make(net_log, net 565 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::SOURCE_MEMORY_CACHE_ENTRY); net 567 net/disk_cache/memory/mem_entry_impl.cc net::NetLog::TYPE_DISK_CACHE_MEM_ENTRY_IMPL, net 57 net/disk_cache/memory/mem_entry_impl.h bool CreateEntry(const std::string& key, net::NetLog* net_log); net 85 net/disk_cache/memory/mem_entry_impl.h const net::BoundNetLog& net_log() { net 144 net/disk_cache/memory/mem_entry_impl.h bool InitChildEntry(MemEntryImpl* parent, int child_id, net::NetLog* net_log); net 178 net/disk_cache/memory/mem_entry_impl.h net::BoundNetLog net_log_; net 19 net/disk_cache/net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 31 net/disk_cache/net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 43 net/disk_cache/net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 44 net/disk_cache/net_log_parameters.cc DCHECK_NE(bytes_copied, net::ERR_IO_PENDING); net 57 net/disk_cache/net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 67 net/disk_cache/net_log_parameters.cc const net::NetLog::Source& source, net 69 net/disk_cache/net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 79 net/disk_cache/net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 94 net/disk_cache/net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogEntryCreationCallback( net 101 net/disk_cache/net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogReadWriteDataCallback( net 110 net/disk_cache/net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogReadWriteCompleteCallback( net 115 net/disk_cache/net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogSparseOperationCallback( net 121 net/disk_cache/net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogSparseReadWriteCallback( net 122 net/disk_cache/net_log_parameters.cc const net::NetLog::Source& source, net 127 net/disk_cache/net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogGetAvailableRangeResultCallback( net 22 net/disk_cache/net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogEntryCreationCallback( net 28 net/disk_cache/net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogReadWriteDataCallback( net 39 net/disk_cache/net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogReadWriteCompleteCallback( net 44 net/disk_cache/net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogSparseOperationCallback( net 50 net/disk_cache/net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogSparseReadWriteCallback( net 51 net/disk_cache/net_log_parameters.h const net::NetLog::Source& source, net 56 net/disk_cache/net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogGetAvailableRangeResultCallback( net 84 net/disk_cache/simple/simple_backend_impl.cc void MaybeHistogramFdLimit(net::CacheType cache_type) { net 148 net/disk_cache/simple/simple_backend_impl.cc const net::CompletionCallback& final_callback, net 153 net/disk_cache/simple/simple_backend_impl.cc if (result != net::OK) { net 160 net/disk_cache/simple/simple_backend_impl.cc final_callback.Run(net::OK); net 167 net/disk_cache/simple/simple_backend_impl.cc net::CompletionCallback MakeBarrierCompletionCallback( net 169 net/disk_cache/simple/simple_backend_impl.cc const net::CompletionCallback& final_callback) { net 178 net/disk_cache/simple/simple_backend_impl.cc const Callback<int(const net::CompletionCallback&)>& operation, net 179 net/disk_cache/simple/simple_backend_impl.cc const net::CompletionCallback& operation_callback) { net 181 net/disk_cache/simple/simple_backend_impl.cc if (operation_result != net::ERR_IO_PENDING) net 185 net/disk_cache/simple/simple_backend_impl.cc void RecordIndexLoad(net::CacheType cache_type, net 190 net/disk_cache/simple/simple_backend_impl.cc if (result == net::OK) { net 202 net/disk_cache/simple/simple_backend_impl.cc net::CacheType cache_type, net 204 net/disk_cache/simple/simple_backend_impl.cc net::NetLog* net_log) net 210 net/disk_cache/simple/simple_backend_impl.cc cache_type == net::DISK_CACHE ? net 241 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 278 net/disk_cache/simple/simple_backend_impl.cc const net::CompletionCallback& callback) { net 308 net/disk_cache/simple/simple_backend_impl.cc net::CompletionCallback barrier_callback = net 316 net/disk_cache/simple/simple_backend_impl.cc CHECK_EQ(net::ERR_IO_PENDING, doom_result); net 340 net/disk_cache/simple/simple_backend_impl.cc net::CacheType SimpleBackendImpl::GetCacheType() const { net 341 net/disk_cache/simple/simple_backend_impl.cc return net::DISK_CACHE; net 359 net/disk_cache/simple/simple_backend_impl.cc Callback<int(const net::CompletionCallback&)> operation = net 364 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 387 net/disk_cache/simple/simple_backend_impl.cc Callback<int(const net::CompletionCallback&)> operation = net 392 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 400 net/disk_cache/simple/simple_backend_impl.cc const net::CompletionCallback& callback) { net 406 net/disk_cache/simple/simple_backend_impl.cc Callback<int(const net::CompletionCallback&)> operation = net 410 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 425 net/disk_cache/simple/simple_backend_impl.cc if (result != net::OK) { net 479 net/disk_cache/simple/simple_backend_impl.cc if (result.net_error == net::OK) { net 491 net/disk_cache/simple/simple_backend_impl.cc result.net_error = net::OK; net 495 net/disk_cache/simple/simple_backend_impl.cc result.net_error = net::ERR_FAILED; net 542 net/disk_cache/simple/simple_backend_impl.cc Callback<int(const net::CompletionCallback&)> operation = net 547 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 571 net/disk_cache/simple/simple_backend_impl.cc Callback<int(const net::CompletionCallback&)> operation = net 576 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 588 net/disk_cache/simple/simple_backend_impl.cc return net::ERR_IO_PENDING; net 596 net/disk_cache/simple/simple_backend_impl.cc if (error_code != net::OK) { net 619 net/disk_cache/simple/simple_backend_impl.cc if (error_code_open == net::ERR_IO_PENDING) net 621 net/disk_cache/simple/simple_backend_impl.cc if (error_code_open != net::ERR_FAILED) { net 627 net/disk_cache/simple/simple_backend_impl.cc callback.Run(net::ERR_FAILED); net 636 net/disk_cache/simple/simple_backend_impl.cc if (error_code != net::OK) { net 667 net/disk_cache/simple/simple_backend_impl.cc if (final_code == net::OK) { net 674 net/disk_cache/simple/simple_backend_impl.cc final_code = net::ERR_FAILED; net 688 net/disk_cache/simple/simple_backend_impl.cc if (error_code == net::ERR_FAILED) { net 697 net/disk_cache/simple/simple_backend_impl.cc const net::CompletionCallback& callback, net 48 net/disk_cache/simple/simple_backend_impl.h net::CacheType cache_type, net 50 net/disk_cache/simple/simple_backend_impl.h net::NetLog* net_log); net 54 net/disk_cache/simple/simple_backend_impl.h net::CacheType cache_type() const { return cache_type_; } net 88 net/disk_cache/simple/simple_backend_impl.h virtual net::CacheType GetCacheType() const OVERRIDE; net 198 net/disk_cache/simple/simple_backend_impl.h const net::CacheType cache_type_; net 214 net/disk_cache/simple/simple_backend_impl.h net::NetLog* const net_log_; net 71 net/disk_cache/simple/simple_entry_impl.cc void RecordReadResult(net::CacheType cache_type, ReadResult result) { net 76 net/disk_cache/simple/simple_entry_impl.cc void RecordWriteResult(net::CacheType cache_type, WriteResult result) { net 83 net/disk_cache/simple/simple_entry_impl.cc void RecordHeaderSizeChange(net::CacheType cache_type, net 116 net/disk_cache/simple/simple_entry_impl.cc void RecordUnexpectedStream0Write(net::CacheType cache_type) { net 124 net/disk_cache/simple/simple_entry_impl.cc void AdjustOpenEntryCountBy(net::CacheType cache_type, int offset) { net 132 net/disk_cache/simple/simple_entry_impl.cc const net::CompletionCallback& completion_callback, net 163 net/disk_cache/simple/simple_entry_impl.cc SimpleEntryImpl::SimpleEntryImpl(net::CacheType cache_type, net 168 net/disk_cache/simple/simple_entry_impl.cc net::NetLog* net_log) net 182 net/disk_cache/simple/simple_entry_impl.cc net_log_(net::BoundNetLog::Make( net 183 net/disk_cache/simple/simple_entry_impl.cc net_log, net::NetLog::SOURCE_DISK_CACHE_ENTRY)), net 184 net/disk_cache/simple/simple_entry_impl.cc stream_0_data_(new net::GrowableIOBuffer()) { net 194 net/disk_cache/simple/simple_entry_impl.cc net_log_.BeginEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY, net 202 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_OPEN_CALL); net 226 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_OPEN_END, net 227 net/disk_cache/simple/simple_entry_impl.cc net::ERR_FAILED); net 228 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_FAILED; net 234 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_IO_PENDING; net 242 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CREATE_CALL); net 245 net/disk_cache/simple/simple_entry_impl.cc int ret_value = net::ERR_FAILED; net 248 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CREATE_OPTIMISTIC); net 253 net/disk_cache/simple/simple_entry_impl.cc ret_value = net::OK; net 257 net/disk_cache/simple/simple_entry_impl.cc ret_value = net::ERR_IO_PENDING; net 273 net/disk_cache/simple/simple_entry_impl.cc return net::OK; net 274 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_DOOM_CALL); net 275 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_DOOM_BEGIN); net 282 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_IO_PENDING; net 287 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_SET_KEY, net 288 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::StringCallback("key", &key)); net 299 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CLOSE_CALL); net 336 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 342 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_CALL, net 350 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_END, net 351 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteCompleteCallback(net::ERR_INVALID_ARGUMENT)); net 355 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 360 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_END, net 377 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_IO_PENDING; net 382 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 390 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_CALL, net 399 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_END, net 400 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteCompleteCallback(net::ERR_INVALID_ARGUMENT)); net 403 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_INVALID_ARGUMENT; net 408 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_END, net 409 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteCompleteCallback(net::ERR_FAILED)); net 412 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_FAILED; net 432 net/disk_cache/simple/simple_entry_impl.cc scoped_refptr<net::IOBuffer> op_buf; net 433 net/disk_cache/simple/simple_entry_impl.cc int ret_value = net::ERR_FAILED; net 437 net/disk_cache/simple/simple_entry_impl.cc ret_value = net::ERR_IO_PENDING; net 450 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_OPTIMISTIC, net 467 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 475 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_IO_PENDING; net 479 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 487 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_IO_PENDING; net 499 net/disk_cache/simple/simple_entry_impl.cc return net::ERR_IO_PENDING; net 520 net/disk_cache/simple/simple_entry_impl.cc return net::OK; net 529 net/disk_cache/simple/simple_entry_impl.cc net_log_.EndEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY); net 661 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_OPEN_BEGIN); net 665 net/disk_cache/simple/simple_entry_impl.cc PostClientCallback(callback, net::OK); net 667 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_OPEN_END, net 668 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogSimpleEntryCreationCallback(this, net::OK)); net 672 net/disk_cache/simple/simple_entry_impl.cc PostClientCallback(callback, net::ERR_FAILED); net 674 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_OPEN_END, net 675 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogSimpleEntryCreationCallback(this, net::ERR_FAILED)); net 699 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_OPEN_END); net 708 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CREATE_BEGIN); net 713 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CREATE_END, net 714 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogSimpleEntryCreationCallback(this, net::ERR_FAILED)); net 715 net/disk_cache/simple/simple_entry_impl.cc PostClientCallback(callback, net::ERR_FAILED); net 749 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CREATE_END); net 759 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CLOSE_BEGIN); net 804 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 812 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_BEGIN, net 824 net/disk_cache/simple/simple_entry_impl.cc FROM_HERE, base::Bind(callback, net::ERR_FAILED)); net 828 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_END, net 829 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteCompleteCallback(net::ERR_FAILED)); net 885 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 894 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_BEGIN, net 903 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_END, net 904 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteCompleteCallback(net::ERR_FAILED)); net 908 net/disk_cache/simple/simple_entry_impl.cc FROM_HERE, base::Bind(callback, net::ERR_FAILED)); net 985 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 1013 net/disk_cache/simple/simple_entry_impl.cc net::IOBuffer* buf, net 1091 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::EventType end_event_type) { net 1098 net/disk_cache/simple/simple_entry_impl.cc in_results->result == net::OK); net 1099 net/disk_cache/simple/simple_entry_impl.cc if (in_results->result != net::OK) { net 1100 net/disk_cache/simple/simple_entry_impl.cc if (in_results->result != net::ERR_FILE_EXISTS) net 1103 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEventWithNetErrorCode(end_event_type, net::ERR_FAILED); net 1104 net/disk_cache/simple/simple_entry_impl.cc PostClientCallback(completion_callback, net::ERR_FAILED); net 1136 net/disk_cache/simple/simple_entry_impl.cc PostClientCallback(completion_callback, net::OK); net 1197 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CHECKSUM_BEGIN); net 1231 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_END, net 1248 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_WRITE_END, net 1319 net/disk_cache/simple/simple_entry_impl.cc net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CHECKSUM_END, net 1323 net/disk_cache/simple/simple_entry_impl.cc if (*result == net::OK) { net 1333 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_READ_END, net 1347 net/disk_cache/simple/simple_entry_impl.cc net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_CLOSE_END); net 1450 net/disk_cache/simple/simple_entry_impl.cc int SimpleEntryImpl::ReadStream0Data(net::IOBuffer* buf, net 1465 net/disk_cache/simple/simple_entry_impl.cc int SimpleEntryImpl::SetStream0Data(net::IOBuffer* buf, net 1504 net/disk_cache/simple/simple_entry_impl.cc void SimpleEntryImpl::AdvanceCrc(net::IOBuffer* buffer, net 27 net/disk_cache/simple/simple_entry_impl.h namespace net { net 52 net/disk_cache/simple/simple_entry_impl.h SimpleEntryImpl(net::CacheType cache_type, net 57 net/disk_cache/simple/simple_entry_impl.h net::NetLog* net_log); net 82 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 87 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 92 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 96 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 180 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 186 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 192 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 197 net/disk_cache/simple/simple_entry_impl.h net::IOBuffer* buf, net 217 net/disk_cache/simple/simple_entry_impl.h net::NetLog::EventType end_event_type); net 284 net/disk_cache/simple/simple_entry_impl.h int ReadStream0Data(net::IOBuffer* buf, int offset, int buf_len); net 289 net/disk_cache/simple/simple_entry_impl.h int SetStream0Data(net::IOBuffer* buf, net 295 net/disk_cache/simple/simple_entry_impl.h void AdvanceCrc(net::IOBuffer* buffer, net 305 net/disk_cache/simple/simple_entry_impl.h const net::CacheType cache_type_; net 354 net/disk_cache/simple/simple_entry_impl.h net::BoundNetLog net_log_; net 367 net/disk_cache/simple/simple_entry_impl.h scoped_refptr<net::GrowableIOBuffer> stream_0_data_; net 123 net/disk_cache/simple/simple_entry_operation.cc net::IOBuffer* buf, net 148 net/disk_cache/simple/simple_entry_operation.cc net::IOBuffer* buf, net 173 net/disk_cache/simple/simple_entry_operation.cc net::IOBuffer* buf, net 196 net/disk_cache/simple/simple_entry_operation.cc net::IOBuffer* buf, net 241 net/disk_cache/simple/simple_entry_operation.cc net::IOBuffer* const buf = NULL; net 311 net/disk_cache/simple/simple_entry_operation.cc net::IOBuffer* buf, net 12 net/disk_cache/simple/simple_entry_operation.h namespace net { net 26 net/disk_cache/simple/simple_entry_operation.h typedef net::CompletionCallback CompletionCallback; net 57 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf, net 65 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf, net 73 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf, net 79 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf, net 107 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf() { return buf_.get(); } net 114 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf, net 130 net/disk_cache/simple/simple_entry_operation.h scoped_refptr<net::IOBuffer> buf_; net 25 net/disk_cache/simple/simple_histogram_macros.h case net::DISK_CACHE: \ net 29 net/disk_cache/simple/simple_histogram_macros.h case net::APP_CACHE: \ net 33 net/disk_cache/simple/simple_histogram_macros.h case net::MEDIA_CACHE: \ net 37 net/disk_cache/simple/simple_histogram_macros.h case net::SHADER_CACHE: \ net 140 net/disk_cache/simple/simple_index.cc net::CacheType cache_type, net 163 net/disk_cache/simple/simple_index.cc it->Run(net::ERR_ABORTED); net 218 net/disk_cache/simple/simple_index.cc int SimpleIndex::ExecuteWhenReady(const net::CompletionCallback& task) { net 221 net/disk_cache/simple/simple_index.cc io_thread_->PostTask(FROM_HERE, base::Bind(task, net::OK)); net 224 net/disk_cache/simple/simple_index.cc return net::ERR_IO_PENDING; net 370 net/disk_cache/simple/simple_index.cc SIMPLE_CACHE_UMA(BOOLEAN, "Eviction.Result", cache_type_, result == net::OK); net 452 net/disk_cache/simple/simple_index.cc io_thread_->PostTask(FROM_HERE, base::Bind((*it), net::OK)); net 82 net/disk_cache/simple/simple_index.h net::CacheType cache_type, net 116 net/disk_cache/simple/simple_index.h int ExecuteWhenReady(const net::CompletionCallback& callback); net 162 net/disk_cache/simple/simple_index.h const net::CacheType cache_type_; net 191 net/disk_cache/simple/simple_index.h typedef std::list<net::CompletionCallback> CallbackList; net 23 net/disk_cache/simple/simple_index_delegate.h const net::CompletionCallback& callback) = 0; net 48 net/disk_cache/simple/simple_index_file.cc void UmaRecordIndexFileState(IndexFileState state, net::CacheType cache_type) { net 62 net/disk_cache/simple/simple_index_file.cc net::CacheType cache_type) { net 186 net/disk_cache/simple/simple_index_file.cc void SimpleIndexFile::SyncWriteToDisk(net::CacheType cache_type, net 239 net/disk_cache/simple/simple_index_file.cc net::CacheType cache_type, net 282 net/disk_cache/simple/simple_index_file.cc net::CacheType cache_type, net 79 net/disk_cache/simple/simple_index_file.h net::CacheType cache_type, net 105 net/disk_cache/simple/simple_index_file.h static void SyncLoadIndexEntries(net::CacheType cache_type, net 146 net/disk_cache/simple/simple_index_file.h static void SyncWriteToDisk(net::CacheType cache_type, net 173 net/disk_cache/simple/simple_index_file.h const net::CacheType cache_type_; net 80 net/disk_cache/simple/simple_index_file_unittest.cc net::DISK_CACHE, net 303 net/disk_cache/simple/simple_index_file_unittest.cc net::DISK_CACHE, net 306 net/disk_cache/simple/simple_index_file_unittest.cc net::TestCompletionCallback cb; net 308 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 310 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 320 net/disk_cache/simple/simple_index_file_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&cb_shutdown), net::OK)); net 55 net/disk_cache/simple/simple_index_unittest.cc : SimpleIndexFile(NULL, NULL, net::DISK_CACHE, base::FilePath()), net 108 net/disk_cache/simple/simple_index_unittest.cc index_.reset(new SimpleIndex(NULL, this, net::DISK_CACHE, net 124 net/disk_cache/simple/simple_index_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 20 net/disk_cache/simple/simple_net_log_parameters.cc net::NetLog::LogLevel log_level ALLOW_UNUSED) { net 30 net/disk_cache/simple/simple_net_log_parameters.cc net::NetLog::LogLevel /* log_level */) { net 33 net/disk_cache/simple/simple_net_log_parameters.cc if (net_error == net::OK) net 42 net/disk_cache/simple/simple_net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogSimpleEntryConstructionCallback( net 48 net/disk_cache/simple/simple_net_log_parameters.cc net::NetLog::ParametersCallback CreateNetLogSimpleEntryCreationCallback( net 19 net/disk_cache/simple/simple_net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogSimpleEntryConstructionCallback( net 26 net/disk_cache/simple/simple_net_log_parameters.h net::NetLog::ParametersCallback CreateNetLogSimpleEntryCreationCallback( net 73 net/disk_cache/simple/simple_synchronous_entry.cc void RecordSyncOpenResult(net::CacheType cache_type, net 90 net/disk_cache/simple/simple_synchronous_entry.cc void RecordWriteResult(net::CacheType cache_type, WriteResult result) { net 95 net/disk_cache/simple/simple_synchronous_entry.cc void RecordCheckEOFResult(net::CacheType cache_type, CheckEOFResult result) { net 101 net/disk_cache/simple/simple_synchronous_entry.cc void RecordCloseResult(net::CacheType cache_type, CloseResult result) { net 168 net/disk_cache/simple/simple_synchronous_entry.cc result(net::OK) { net 212 net/disk_cache/simple/simple_synchronous_entry.cc net::CacheType cache_type, net 224 net/disk_cache/simple/simple_synchronous_entry.cc if (out_results->result != net::OK) { net 236 net/disk_cache/simple/simple_synchronous_entry.cc net::CacheType cache_type, net 247 net/disk_cache/simple/simple_synchronous_entry.cc if (out_results->result != net::OK) { net 248 net/disk_cache/simple/simple_synchronous_entry.cc if (out_results->result != net::ERR_FILE_EXISTS) net 262 net/disk_cache/simple/simple_synchronous_entry.cc return deleted_well ? net::OK : net::ERR_FAILED; net 272 net/disk_cache/simple/simple_synchronous_entry.cc return (did_delete_count == key_hashes->size()) ? net::OK : net::ERR_FAILED; net 276 net/disk_cache/simple/simple_synchronous_entry.cc net::IOBuffer* out_buf, net 301 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_READ_FAILURE; net 307 net/disk_cache/simple/simple_synchronous_entry.cc net::IOBuffer* in_buf, net 329 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 336 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 343 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 356 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 365 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 378 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 392 net/disk_cache/simple/simple_synchronous_entry.cc net::IOBuffer* out_buf, net 424 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_READ_FAILURE; net 443 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_READ_FAILURE; net 455 net/disk_cache/simple/simple_synchronous_entry.cc net::IOBuffer* in_buf, net 468 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 500 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 517 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 530 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 542 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_WRITE_FAILURE; net 607 net/disk_cache/simple/simple_synchronous_entry.cc if (*out_result != net::OK) { net 613 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = net::ERR_CACHE_CHECKSUM_MISMATCH; net 624 net/disk_cache/simple/simple_synchronous_entry.cc net::GrowableIOBuffer* stream_0_data) { net 699 net/disk_cache/simple/simple_synchronous_entry.cc SimpleSynchronousEntry::SimpleSynchronousEntry(net::CacheType cache_type, net 900 net/disk_cache/simple/simple_synchronous_entry.cc scoped_refptr<net::GrowableIOBuffer>* stream_0_data, net 905 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 917 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 926 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 932 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 941 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 951 net/disk_cache/simple/simple_synchronous_entry.cc if (ret_value_stream_0 != net::OK) net 958 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 966 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 974 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 995 net/disk_cache/simple/simple_synchronous_entry.cc return net::OK; net 1031 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FILE_EXISTS; net 1040 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 1045 net/disk_cache/simple/simple_synchronous_entry.cc return net::OK; net 1051 net/disk_cache/simple/simple_synchronous_entry.cc scoped_refptr<net::GrowableIOBuffer>* stream_0_data, net 1063 net/disk_cache/simple/simple_synchronous_entry.cc if (ret_value_crc32 != net::OK) net 1067 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 1075 net/disk_cache/simple/simple_synchronous_entry.cc *stream_0_data = new net::GrowableIOBuffer(); net 1082 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 1094 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_FAILED; net 1098 net/disk_cache/simple/simple_synchronous_entry.cc return net::OK; net 1114 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_CACHE_CHECKSUM_READ_FAILURE; net 1120 net/disk_cache/simple/simple_synchronous_entry.cc return net::ERR_CACHE_CHECKSUM_READ_FAILURE; net 1128 net/disk_cache/simple/simple_synchronous_entry.cc return net::OK; net 23 net/disk_cache/simple/simple_synchronous_entry.h namespace net { net 78 net/disk_cache/simple/simple_synchronous_entry.h scoped_refptr<net::GrowableIOBuffer> stream_0_data; net 115 net/disk_cache/simple/simple_synchronous_entry.h static void OpenEntry(net::CacheType cache_type, net 121 net/disk_cache/simple/simple_synchronous_entry.h static void CreateEntry(net::CacheType cache_type, net 142 net/disk_cache/simple/simple_synchronous_entry.h net::IOBuffer* out_buf, net 147 net/disk_cache/simple/simple_synchronous_entry.h net::IOBuffer* in_buf, net 156 net/disk_cache/simple/simple_synchronous_entry.h net::IOBuffer* out_buf, net 160 net/disk_cache/simple/simple_synchronous_entry.h net::IOBuffer* in_buf, net 172 net/disk_cache/simple/simple_synchronous_entry.h net::GrowableIOBuffer* stream_0_data); net 203 net/disk_cache/simple/simple_synchronous_entry.h net::CacheType cache_type, net 235 net/disk_cache/simple/simple_synchronous_entry.h scoped_refptr<net::GrowableIOBuffer>* stream_0_data, net 254 net/disk_cache/simple/simple_synchronous_entry.h scoped_refptr<net::GrowableIOBuffer>* stream_0_data, net 311 net/disk_cache/simple/simple_synchronous_entry.h const net::CacheType cache_type_; net 105 net/disk_cache/tracing/tracing_cache_backend.cc if (rv != net::ERR_IO_PENDING) { net 124 net/disk_cache/tracing/tracing_cache_backend.cc if (rv != net::ERR_IO_PENDING) { net 186 net/disk_cache/tracing/tracing_cache_backend.cc net::CacheType TracingCacheBackend::GetCacheType() const { net 235 net/disk_cache/tracing/tracing_cache_backend.cc net::CompletionCallback TracingCacheBackend::BindCompletion( net 237 net/disk_cache/tracing/tracing_cache_backend.cc Entry **entry, const net::CompletionCallback& cb) { net 249 net/disk_cache/tracing/tracing_cache_backend.cc if (rv != net::ERR_IO_PENDING) { net 264 net/disk_cache/tracing/tracing_cache_backend.cc if (rv != net::ERR_IO_PENDING) { net 279 net/disk_cache/tracing/tracing_cache_backend.cc if (rv != net::ERR_IO_PENDING) { net 27 net/disk_cache/tracing/tracing_cache_backend.h virtual net::CacheType GetCacheType() const OVERRIDE; net 70 net/disk_cache/tracing/tracing_cache_backend.h net::CompletionCallback BindCompletion(Operation op, net 73 net/disk_cache/tracing/tracing_cache_backend.h const net::CompletionCallback& cb); net 13 net/dns/address_sorter.h namespace net { net 19 net/dns/address_sorter_posix.h namespace net { net 11 net/dns/dns_client.h namespace net { net 29 net/dns/dns_config_service.h namespace net { net 53 net/dns/dns_config_service.h const std::vector<net::IPEndPoint>& nameservers) const; net 18 net/dns/dns_config_service_posix.h namespace net { net 33 net/dns/dns_config_service_win.h namespace net { net 9 net/dns/dns_config_watcher_mac.h namespace net { net 20 net/dns/dns_hosts.h namespace net { net 28 net/dns/dns_hosts.h struct hash<net::DnsHostsKey> { net 29 net/dns/dns_hosts.h std::size_t operator()(const net::DnsHostsKey& key) const { net 37 net/dns/dns_hosts.h inline size_t hash_value(const net::DnsHostsKey& key) { net 45 net/dns/dns_hosts.h namespace net { net 11 net/dns/dns_protocol.h namespace net { net 13 net/dns/dns_query.h namespace net { net 17 net/dns/dns_response.h namespace net { net 26 net/dns/dns_session.h namespace net { net 32 net/dns/dns_session_unittest.cc net::NetLog* net_log, net 33 net/dns/dns_session_unittest.cc const net::NetLog::Source& source) OVERRIDE; net 188 net/dns/dns_session_unittest.cc net::NetLog* net_log, net 189 net/dns/dns_session_unittest.cc const net::NetLog::Source& source) { net 14 net/dns/dns_socket_pool.h namespace net { net 113 net/dns/dns_test_util.cc size_t rdata_size = qtype_ == net::dns_protocol::kTypeA ? net 114 net/dns/dns_test_util.cc net::kIPv4AddressSize : net::kIPv6AddressSize; net 125 net/dns/dns_test_util.cc writer.WriteU16(net::dns_protocol::kClassIN); net 128 net/dns/dns_test_util.cc if (qtype_ == net::dns_protocol::kTypeA) { net 17 net/dns/dns_test_util.h namespace net { net 15 net/dns/dns_transaction.h namespace net { net 147 net/dns/dns_transaction_unittest.cc net::NetLog* net_log) net 164 net/dns/dns_transaction_unittest.cc net::NetLog* net_log) net 185 net/dns/dns_transaction_unittest.cc net::NetLog* net_log, net 186 net/dns/dns_transaction_unittest.cc const net::NetLog::Source& source) OVERRIDE { net 20 net/dns/host_cache.h namespace net { net 22 net/dns/host_resolver.h namespace net { net 25 net/dns/host_resolver_impl.h namespace net { net 14 net/dns/host_resolver_proc.h namespace net { net 15 net/dns/mapped_host_resolver.h namespace net { net 17 net/dns/mdns_cache.h namespace net { net 17 net/dns/mdns_client.h namespace net { net 43 net/dns/mdns_client_impl.cc DCHECK(interfaces[i].second == net::ADDRESS_FAMILY_IPV4 || net 44 net/dns/mdns_client_impl.cc interfaces[i].second == net::ADDRESS_FAMILY_IPV6); net 421 net/dns/mdns_client_impl.cc return scoped_ptr<net::MDnsListener>( net 24 net/dns/mdns_client_impl.h namespace net { net 375 net/dns/mock_host_resolver.cc net::EnsureWinsockInit(); net 17 net/dns/mock_host_resolver.h namespace net { net 13 net/dns/mock_mdns_socket_factory.h namespace net { net 11 net/dns/notify_watcher_mac.h namespace net { net 14 net/dns/record_parsed.h namespace net { net 19 net/dns/record_rdata.h namespace net { net 19 net/dns/serial_worker.h namespace net { net 15 net/dns/single_request_host_resolver.h namespace net { net 44 net/filter/filter.h namespace net { net 24 net/filter/gzip_filter.h namespace net { net 20 net/filter/gzip_header.h namespace net { net 13 net/filter/mock_filter_context.h namespace net { net 28 net/filter/sdch_filter.h namespace net { net 14 net/ftp/ftp_auth_cache.h namespace net { net 15 net/ftp/ftp_auth_cache_unittest.cc using net::FtpAuthCache; net 43 net/ftp/ftp_auth_cache_unittest.cc cache.Add(origin1, net::AuthCredentials(kUsername1, kPassword1)); net 51 net/ftp/ftp_auth_cache_unittest.cc cache.Add(origin2, net::AuthCredentials(kUsername2, kPassword2)); net 62 net/ftp/ftp_auth_cache_unittest.cc cache.Add(origin1, net::AuthCredentials(kUsername3, kPassword3)); net 70 net/ftp/ftp_auth_cache_unittest.cc cache.Remove(origin1, net::AuthCredentials(kUsername3, kPassword3)); net 74 net/ftp/ftp_auth_cache_unittest.cc cache.Remove(origin1, net::AuthCredentials(kUsername3, kPassword3)); net 86 net/ftp/ftp_auth_cache_unittest.cc cache.Add(origin1, net::AuthCredentials(kUsername, kPassword)); net 87 net/ftp/ftp_auth_cache_unittest.cc cache.Add(origin2, net::AuthCredentials(kUsername, kPassword)); net 100 net/ftp/ftp_auth_cache_unittest.cc cache.Add(GURL("ftp://HoSt:21"), net::AuthCredentials(kUsername, kPassword)); net 109 net/ftp/ftp_auth_cache_unittest.cc cache.Add(GURL("ftp://host"), net::AuthCredentials(kOthername, kOtherword)); net 118 net/ftp/ftp_auth_cache_unittest.cc net::AuthCredentials(kOthername, kOtherword)); net 125 net/ftp/ftp_auth_cache_unittest.cc cache.Add(GURL("ftp://host"), net::AuthCredentials(kUsername, kPassword)); net 129 net/ftp/ftp_auth_cache_unittest.cc cache.Remove(GURL("ftp://host"), net::AuthCredentials(kBogus, kBogus)); net 133 net/ftp/ftp_auth_cache_unittest.cc cache.Remove(GURL("ftp://host"), net::AuthCredentials(kUsername, kPassword)); net 142 net/ftp/ftp_auth_cache_unittest.cc net::AuthCredentials(kUsername, kPassword)); net 152 net/ftp/ftp_auth_cache_unittest.cc net::AuthCredentials(kUsername, kPassword)); net 17 net/ftp/ftp_ctrl_response_buffer.h namespace net { net 16 net/ftp/ftp_ctrl_response_buffer_unittest.cc FtpCtrlResponseBufferTest() : buffer_(net::BoundNetLog()) { net 24 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponseBuffer buffer_; net 30 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("200 Status Text\r\n")); net 33 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 41 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("20")); net 43 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("0 Status")); net 45 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer(" Text")); net 47 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("\r")); net 49 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("\n")); net 52 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 60 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-FirstLine\r\n")); net 63 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-SecondLine\r\n")); net 66 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230 LastLine\r\n")); net 69 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 79 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-FirstLine\r\n")); net 82 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("Continued\r\n")); net 85 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-SecondLine\r\n")); net 88 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("215 Continued\r\n")); net 91 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230 LastLine\r\n")); net 94 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 105 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-\r\n")); net 108 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("example.com\r\n")); net 111 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230 LastLine\r\n")); net 114 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 123 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-FirstLine\r\n")); net 128 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer(" 230 Continued\r\n")); net 131 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230 TrueLastLine\r\n")); net 134 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 144 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230-FirstLine\r\n")); net 147 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("300-Continuation\r\n")); net 150 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("300 Still continuation\r\n")); net 153 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::OK, PushDataToBuffer("230 Real End\r\n")); net 156 net/ftp/ftp_ctrl_response_buffer_unittest.cc net::FtpCtrlResponse response = buffer_.PopResponse(); net 166 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::ERR_INVALID_RESPONSE, PushDataToBuffer("Non-numeric\r\n")); net 171 net/ftp/ftp_ctrl_response_buffer_unittest.cc EXPECT_EQ(net::ERR_INVALID_RESPONSE, PushDataToBuffer("777 OK?\r\n")); net 16 net/ftp/ftp_directory_listing_parser.h namespace net { net 81 net/ftp/ftp_directory_listing_parser_ls.cc if (net::FtpUtil::LsDateListingToTime(columns[i - 2], net 96 net/ftp/ftp_directory_listing_parser_ls.cc if (net::FtpUtil::LsDateListingToTime(columns[i - 1], net 17 net/ftp/ftp_directory_listing_parser_ls.h namespace net { net 17 net/ftp/ftp_directory_listing_parser_netware.h namespace net { net 13 net/ftp/ftp_directory_listing_parser_os2.h namespace net { net 14 net/ftp/ftp_directory_listing_parser_unittest.h namespace net { net 13 net/ftp/ftp_directory_listing_parser_vms.h namespace net { net 13 net/ftp/ftp_directory_listing_parser_windows.h namespace net { net 14 net/ftp/ftp_network_layer.h namespace net { net 11 net/ftp/ftp_network_session.h namespace net { net 97 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_SERVICE_UNAVAILABLE; net 99 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_TRANSFER_ABORTED; net 101 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_FILE_BUSY; net 104 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_SYNTAX_ERROR; net 107 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_COMMAND_NOT_SUPPORTED; net 109 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_BAD_COMMAND_SEQUENCE; net 111 net/ftp/ftp_network_transaction.cc return net::ERR_FTP_FAILED; net 119 net/ftp/ftp_network_transaction.cc bool ExtractPortFromEPSVResponse(const net::FtpCtrlResponse& response, net 149 net/ftp/ftp_network_transaction.cc bool ExtractPortFromPASVResponse(const net::FtpCtrlResponse& response, net 506 net/ftp/ftp_network_transaction.cc path = net::UnescapeURLComponent(path, unescape_rules); net 23 net/ftp/ftp_network_transaction.h namespace net { net 10 net/ftp/ftp_request_info.h namespace net { net 11 net/ftp/ftp_response_info.h namespace net { net 11 net/ftp/ftp_server_type_histograms.h namespace net { net 13 net/ftp/ftp_transaction.h namespace net { net 10 net/ftp/ftp_transaction_factory.h namespace net { net 17 net/ftp/ftp_util.h namespace net { net 39 net/ftp/ftp_util_unittest.cc net::FtpUtil::UnixFilePathToVMS(kTestCases[i].input)) net 72 net/ftp/ftp_util_unittest.cc net::FtpUtil::UnixDirectoryPathToVMS(kTestCases[i].input)) net 112 net/ftp/ftp_util_unittest.cc net::FtpUtil::VMSPathToUnix(kTestCases[i].input)) net 172 net/ftp/ftp_util_unittest.cc ASSERT_TRUE(net::FtpUtil::LsDateListingToTime( net 212 net/ftp/ftp_util_unittest.cc ASSERT_TRUE(net::FtpUtil::WindowsDateListingToTime( net 251 net/ftp/ftp_util_unittest.cc net::FtpUtil::GetStringPartAfterColumns( net 11 net/http/des.h namespace net { net 17 net/http/disk_cache_based_quic_server_info.h namespace net { net 58 net/http/failing_http_transaction_factory.cc net::QuicServerInfo* quic_server_info) OVERRIDE; net 141 net/http/failing_http_transaction_factory.cc net::QuicServerInfo* quic_server_info) {} net 14 net/http/failing_http_transaction_factory.h namespace net { net 18 net/http/http_auth.h namespace net { net 18 net/http/http_auth_cache.h namespace net { net 13 net/http/http_auth_challenge_tokenizer.h namespace net { net 21 net/http/http_auth_controller.h namespace net { net 17 net/http/http_auth_filter.h namespace net { net 13 net/http/http_auth_filter_win.h namespace net { net 23 net/http/http_auth_gssapi_posix.h namespace net { net 15 net/http/http_auth_handler.h namespace net { net 14 net/http/http_auth_handler_basic.h namespace net { net 17 net/http/http_auth_handler_digest.h namespace net { net 19 net/http/http_auth_handler_factory.h namespace net { net 16 net/http/http_auth_handler_mock.h namespace net { net 22 net/http/http_auth_handler_negotiate.h namespace net { net 23 net/http/http_auth_handler_negotiate_unittest.cc typedef net::MockSSPILibrary MockAuthLibrary; net 25 net/http/http_auth_handler_negotiate_unittest.cc typedef net::test::MockGSSAPILibrary MockAuthLibrary; net 32 net/http/http_auth_handler_ntlm.h namespace net { net 43 net/http/http_auth_handler_unittest.cc net::NetLog::SOURCE_NONE)); net 23 net/http/http_auth_sspi_win.h namespace net { net 20 net/http/http_basic_state.h namespace net { net 18 net/http/http_basic_stream.h namespace net { net 13 net/http/http_byte_range.h namespace net { net 27 net/http/http_byte_range_unittest.cc net::HttpByteRange range; net 59 net/http/http_byte_range_unittest.cc net::HttpByteRange range; net 82 net/http/http_byte_range_unittest.cc net::HttpByteRange range; net 84 net/http/http_byte_range_unittest.cc } tests[] = {{net::HttpByteRange::Bounded(0, 0), "bytes=0-0"}, net 85 net/http/http_byte_range_unittest.cc {net::HttpByteRange::Bounded(0, 100), "bytes=0-100"}, net 86 net/http/http_byte_range_unittest.cc {net::HttpByteRange::Bounded(0, -1), "bytes=0-"}, net 87 net/http/http_byte_range_unittest.cc {net::HttpByteRange::RightUnbounded(100), "bytes=100-"}, net 88 net/http/http_byte_range_unittest.cc {net::HttpByteRange::Suffix(100), "bytes=-100"}, }; net 73 net/http/http_cache.cc return new DefaultBackend(MEMORY_CACHE, net::CACHE_BACKEND_DEFAULT, net 143 net/http/http_cache.cc const net::CompletionCallback& cb, disk_cache::Backend** backend) net 183 net/http/http_cache.cc net::CompletionCallback callback_; // User callback. net 288 net/http/http_cache.cc HttpCache::HttpCache(const net::HttpNetworkSession::Params& params, net 403 net/http/http_cache.cc CreateBackend(NULL, net::CompletionCallback()); net 415 net/http/http_cache.cc net::HttpNetworkLayer* network = net 416 net/http/http_cache.cc static_cast<net::HttpNetworkLayer*>(network_layer_.get()); net 423 net/http/http_cache.cc net::HttpNetworkLayer* network = net 424 net/http/http_cache.cc static_cast<net::HttpNetworkLayer*>(network_layer_.get()); net 453 net/http/http_cache.cc CreateBackend(NULL, net::CompletionCallback()); net 465 net/http/http_cache.cc net::HttpNetworkLayer* network = net 466 net/http/http_cache.cc static_cast<net::HttpNetworkLayer*>(network_layer_.get()); net 481 net/http/http_cache.cc const net::CompletionCallback& callback) { net 523 net/http/http_cache.cc WI_CREATE_BACKEND, trans, net::CompletionCallback(), NULL); net 44 net/http/http_cache.h namespace net { net 125 net/http/http_cache.h HttpCache(const net::HttpNetworkSession::Params& params, net 153 net/http/http_cache.h const net::CompletionCallback& callback); net 252 net/http/http_cache.h const net::CompletionCallback& callback); net 61 net/http/http_cache_transaction.cc return (error == net::ERR_NAME_NOT_RESOLVED || net 62 net/http/http_cache_transaction.cc error == net::ERR_INTERNET_DISCONNECTED || net 63 net/http/http_cache_transaction.cc error == net::ERR_ADDRESS_UNREACHABLE || net 64 net/http/http_cache_transaction.cc error == net::ERR_CONNECTION_TIMED_OUT); net 97 net/http/http_cache_transaction.cc if (load_flags & net::LOAD_MAIN_FRAME) { net 104 net/http/http_cache_transaction.cc void RecordVaryHeaderHistogram(const net::HttpResponseInfo* response) { net 1982 net/http/http_cache_transaction.cc if (cache_->mode() == net::HttpCache::PLAYBACK) net 2280 net/http/http_cache_transaction.cc net::IsCertStatusError(response_.ssl_info.cert_status)) { net 22 net/http/http_cache_transaction.h namespace net { net 134 net/http/http_cache_transaction.h net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; net 46 net/http/http_cache_unittest.cc void TestLoadTimingNetworkRequest(const net::LoadTimingInfo& load_timing_info) { net 48 net/http/http_cache_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 53 net/http/http_cache_unittest.cc net::ExpectConnectTimingHasTimes(load_timing_info.connect_timing, net 54 net/http/http_cache_unittest.cc net::CONNECT_TIMING_HAS_CONNECT_TIMES_ONLY); net 67 net/http/http_cache_unittest.cc void TestLoadTimingCachedResponse(const net::LoadTimingInfo& load_timing_info) { net 69 net/http/http_cache_unittest.cc EXPECT_EQ(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 74 net/http/http_cache_unittest.cc net::ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); net 87 net/http/http_cache_unittest.cc class DeleteCacheCompletionCallback : public net::TestCompletionCallbackBase { net 95 net/http/http_cache_unittest.cc const net::CompletionCallback& callback() const { return callback_; } net 104 net/http/http_cache_unittest.cc net::CompletionCallback callback_; net 112 net/http/http_cache_unittest.cc void ReadAndVerifyTransaction(net::HttpTransaction* trans, net 117 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, rv); net 122 net/http/http_cache_unittest.cc void RunTransactionTestBase(net::HttpCache* cache, net 125 net/http/http_cache_unittest.cc net::HttpResponseInfo* response_info, net 126 net/http/http_cache_unittest.cc const net::BoundNetLog& net_log, net 127 net/http/http_cache_unittest.cc net::LoadTimingInfo* load_timing_info, net 129 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 133 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 134 net/http/http_cache_unittest.cc int rv = cache->CreateTransaction(net::DEFAULT_PRIORITY, &trans); net 135 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, rv); net 139 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 143 net/http/http_cache_unittest.cc if (net::OK != rv) net 146 net/http/http_cache_unittest.cc const net::HttpResponseInfo* response = trans->GetResponseInfo(); net 156 net/http/http_cache_unittest.cc *load_timing_info = net::LoadTimingInfo(); net 166 net/http/http_cache_unittest.cc void RunTransactionTestWithRequest(net::HttpCache* cache, net 169 net/http/http_cache_unittest.cc net::HttpResponseInfo* response_info) { net 171 net/http/http_cache_unittest.cc net::BoundNetLog(), NULL, NULL); net 174 net/http/http_cache_unittest.cc void RunTransactionTestAndGetTiming(net::HttpCache* cache, net 176 net/http/http_cache_unittest.cc const net::BoundNetLog& log, net 177 net/http/http_cache_unittest.cc net::LoadTimingInfo* load_timing_info) { net 182 net/http/http_cache_unittest.cc void RunTransactionTest(net::HttpCache* cache, net 184 net/http/http_cache_unittest.cc RunTransactionTestAndGetTiming(cache, trans_info, net::BoundNetLog(), NULL); net 187 net/http/http_cache_unittest.cc void RunTransactionTestWithResponseInfo(net::HttpCache* cache, net 189 net/http/http_cache_unittest.cc net::HttpResponseInfo* response) { net 195 net/http/http_cache_unittest.cc net::HttpCache* cache, net 197 net/http/http_cache_unittest.cc net::HttpResponseInfo* response, net 198 net/http/http_cache_unittest.cc const net::BoundNetLog& log, net 199 net/http/http_cache_unittest.cc net::LoadTimingInfo* load_timing_info) { net 204 net/http/http_cache_unittest.cc void RunTransactionTestWithResponse(net::HttpCache* cache, net 207 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 213 net/http/http_cache_unittest.cc net::HttpCache* cache, net 216 net/http/http_cache_unittest.cc const net::BoundNetLog& log, net 217 net/http/http_cache_unittest.cc net::LoadTimingInfo* load_timing_info) { net 218 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 235 net/http/http_cache_unittest.cc static void FastNoStoreHandler(const net::HttpRequestInfo* request, net 254 net/http/http_cache_unittest.cc net::LOAD_VALIDATE_CACHE, net 262 net/http/http_cache_unittest.cc net::OK net 289 net/http/http_cache_unittest.cc static void RangeHandler(const net::HttpRequestInfo* request, net 317 net/http/http_cache_unittest.cc void RangeTransactionServer::RangeHandler(const net::HttpRequestInfo* request, net 343 net/http/http_cache_unittest.cc std::vector<net::HttpByteRange> ranges; net 346 net/http/http_cache_unittest.cc net::HttpRequestHeaders::kRange, &range_header) || net 347 net/http/http_cache_unittest.cc !net::HttpUtil::ParseRangeHeader(range_header, &ranges) || bad_200_ || net 357 net/http/http_cache_unittest.cc net::HttpByteRange byte_range = ranges[0]; net 408 net/http/http_cache_unittest.cc net::LOAD_NORMAL, net 419 net/http/http_cache_unittest.cc net::OK net 425 net/http/http_cache_unittest.cc std::string raw_headers(net::HttpUtil::AssembleRawHeaders(response.data(), net 427 net/http/http_cache_unittest.cc scoped_refptr<net::HttpResponseHeaders> headers( net 428 net/http/http_cache_unittest.cc new net::HttpResponseHeaders(raw_headers)); net 450 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), net 453 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 456 net/http/http_cache_unittest.cc response.headers = new net::HttpResponseHeaders(raw_headers); net 460 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(100)); net 463 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 488 net/http/http_cache_unittest.cc Context() : result(net::ERR_IO_PENDING) {} net 491 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 492 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 496 net/http/http_cache_unittest.cc : public net::WebSocketHandshakeStreamBase::CreateHelper { net 499 net/http/http_cache_unittest.cc virtual net::WebSocketHandshakeStreamBase* CreateBasicStream( net 500 net/http/http_cache_unittest.cc scoped_ptr<net::ClientSocketHandle> connect, bool using_proxy) OVERRIDE { net 503 net/http/http_cache_unittest.cc virtual net::WebSocketHandshakeStreamBase* CreateSpdyStream( net 504 net/http/http_cache_unittest.cc const base::WeakPtr<net::SpdySession>& session, net 513 net/http/http_cache_unittest.cc bool ShouldIgnoreLogEntry(const net::CapturingNetLog::CapturedEntry& entry) { net 515 net/http/http_cache_unittest.cc case net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND: net 516 net/http/http_cache_unittest.cc case net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY: net 517 net/http/http_cache_unittest.cc case net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY: net 518 net/http/http_cache_unittest.cc case net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY: net 519 net/http/http_cache_unittest.cc case net::NetLog::TYPE_HTTP_CACHE_DOOM_ENTRY: net 520 net/http/http_cache_unittest.cc case net::NetLog::TYPE_HTTP_CACHE_READ_INFO: net 529 net/http/http_cache_unittest.cc void FilterLogEntries(net::CapturingNetLog::CapturedEntryList* entries) { net 544 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 545 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, cache.CreateTransaction(&trans)); net 550 net/http/http_cache_unittest.cc MockHttpCache cache(net::HttpCache::DefaultBackend::InMemory(0)); net 553 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 556 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 561 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 562 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 579 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 580 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 588 net/http/http_cache_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 593 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 594 net/http/http_cache_unittest.cc entries, 0, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 595 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 596 net/http/http_cache_unittest.cc entries, 1, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 597 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 598 net/http/http_cache_unittest.cc entries, 2, net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY)); net 599 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 600 net/http/http_cache_unittest.cc entries, 3, net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY)); net 601 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 602 net/http/http_cache_unittest.cc entries, 4, net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY)); net 603 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 604 net/http/http_cache_unittest.cc entries, 5, net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY)); net 634 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 635 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 638 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); net 639 net/http/http_cache_unittest.cc net::ReleaseBufferCompletionCallback cb(buffer.get()); net 641 net/http/http_cache_unittest.cc int rv = trans->Start(&request, cb.callback(), net::BoundNetLog()); net 642 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, cb.GetResult(rv)); net 677 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 679 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 680 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 722 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 725 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 726 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 745 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 746 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 753 net/http/http_cache_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 758 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 759 net/http/http_cache_unittest.cc entries, 0, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 760 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 761 net/http/http_cache_unittest.cc entries, 1, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 762 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 763 net/http/http_cache_unittest.cc entries, 2, net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY)); net 764 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 765 net/http/http_cache_unittest.cc entries, 3, net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY)); net 766 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 767 net/http/http_cache_unittest.cc entries, 4, net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY)); net 768 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 769 net/http/http_cache_unittest.cc entries, 5, net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY)); net 770 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 771 net/http/http_cache_unittest.cc entries, 6, net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY)); net 772 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 773 net/http/http_cache_unittest.cc entries, 7, net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY)); net 779 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 791 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 792 net/http/http_cache_unittest.cc entries, 0, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 793 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 794 net/http/http_cache_unittest.cc entries, 1, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 795 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 796 net/http/http_cache_unittest.cc entries, 2, net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY)); net 797 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 798 net/http/http_cache_unittest.cc entries, 3, net::NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY)); net 799 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 800 net/http/http_cache_unittest.cc entries, 4, net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY)); net 801 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 802 net/http/http_cache_unittest.cc entries, 5, net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY)); net 803 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 804 net/http/http_cache_unittest.cc entries, 6, net::NetLog::TYPE_HTTP_CACHE_READ_INFO)); net 805 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 806 net/http/http_cache_unittest.cc entries, 7, net::NetLog::TYPE_HTTP_CACHE_READ_INFO)); net 819 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 822 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 824 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 825 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 827 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 828 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 830 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_CACHE_MISS, rv); net 847 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_PREFERRING_CACHE; net 861 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_PREFERRING_CACHE; net 883 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_PREFERRING_CACHE; net 906 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_PREFERRING_CACHE; net 908 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 909 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 927 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_FROM_CACHE_IF_OFFLINE; net 940 net/http/http_cache_unittest.cc net::HttpResponseInfo response_info; net 958 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_FROM_CACHE_IF_OFFLINE; net 969 net/http/http_cache_unittest.cc transaction.return_code = net::ERR_NAME_NOT_RESOLVED; net 973 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 974 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 975 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 976 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 977 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 979 net/http/http_cache_unittest.cc const net::HttpResponseInfo* response_info = trans->GetResponseInfo(); net 997 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_FROM_CACHE_IF_OFFLINE; net 1007 net/http/http_cache_unittest.cc transaction.return_code = net::ERR_PROXY_CONNECTION_FAILED; net 1010 net/http/http_cache_unittest.cc net::HttpResponseInfo response_info2; net 1036 net/http/http_cache_unittest.cc transaction.return_code = net::ERR_FAILED; net 1040 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 1041 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 1042 net/http/http_cache_unittest.cc int rv = cache.http_cache()->CreateTransaction(net::DEFAULT_PRIORITY, &trans); net 1043 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, rv); net 1045 net/http/http_cache_unittest.cc rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 1046 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_FAILED, callback.GetResult(rv)); net 1048 net/http/http_cache_unittest.cc const net::HttpResponseInfo* response_info = trans->GetResponseInfo(); net 1061 net/http/http_cache_unittest.cc net::HttpResponseInfo response_info; net 1084 net/http/http_cache_unittest.cc net::HttpResponseInfo response_info; net 1101 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_BYPASS_CACHE; net 1103 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 1104 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 1111 net/http/http_cache_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 1116 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 1117 net/http/http_cache_unittest.cc entries, 0, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 1118 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 1119 net/http/http_cache_unittest.cc entries, 1, net::NetLog::TYPE_HTTP_CACHE_GET_BACKEND)); net 1120 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 1121 net/http/http_cache_unittest.cc entries, 2, net::NetLog::TYPE_HTTP_CACHE_DOOM_ENTRY)); net 1122 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 1123 net/http/http_cache_unittest.cc entries, 3, net::NetLog::TYPE_HTTP_CACHE_DOOM_ENTRY)); net 1124 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 1125 net/http/http_cache_unittest.cc entries, 4, net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY)); net 1126 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 1127 net/http/http_cache_unittest.cc entries, 5, net::NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY)); net 1128 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 1129 net/http/http_cache_unittest.cc entries, 6, net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY)); net 1130 net/http/http_cache_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 1131 net/http/http_cache_unittest.cc entries, 7, net::NetLog::TYPE_HTTP_CACHE_ADD_TO_ENTRY)); net 1184 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 1186 net/http/http_cache_unittest.cc net::HttpResponseInfo response_info; net 1187 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 1188 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 1221 net/http/http_cache_unittest.cc const net::HttpRequestInfo* request, net 1282 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1283 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOAD_STATE_IDLE, c->trans->GetLoadState()); net 1286 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1292 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOAD_STATE_WAITING_FOR_CACHE, c->trans->GetLoadState()); net 1309 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOAD_STATE_IDLE, c->trans->GetLoadState()); net 1314 net/http/http_cache_unittest.cc if (c->result == net::ERR_IO_PENDING) net 1340 net/http/http_cache_unittest.cc reader_request.load_flags = net::LOAD_ONLY_FROM_CACHE; net 1350 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1357 net/http/http_cache_unittest.cc this_request, c->callback.callback(), net::BoundNetLog()); net 1371 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, c->result); net 1377 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOAD_STATE_IDLE, net 1379 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOAD_STATE_WAITING_FOR_CACHE, net 1383 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, c->result); net 1385 net/http/http_cache_unittest.cc if (c->result == net::OK) net 1398 net/http/http_cache_unittest.cc if (c->result == net::ERR_IO_PENDING) net 1400 net/http/http_cache_unittest.cc if (c->result == net::OK) net 1421 net/http/http_cache_unittest.cc MockHttpCache cache(net::HttpCache::DefaultBackend::InMemory(1024 * 1024)); net 1425 net/http/http_cache_unittest.cc writer_request.load_flags = net::LOAD_BYPASS_CACHE; net 1435 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1442 net/http/http_cache_unittest.cc this_request, c->callback.callback(), net::BoundNetLog()); net 1458 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, c->result); net 1483 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1486 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1504 net/http/http_cache_unittest.cc if (c->result == net::ERR_IO_PENDING) net 1530 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1533 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1548 net/http/http_cache_unittest.cc if (c->result == net::ERR_IO_PENDING) net 1590 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1593 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1641 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1644 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1645 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, c->result); net 1661 net/http/http_cache_unittest.cc request.load_flags = net::LOAD_BYPASS_CACHE; net 1671 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1674 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1709 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 1711 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 1712 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 1713 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 1714 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 1716 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 1718 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 1720 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 1747 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1750 net/http/http_cache_unittest.cc &request, c->callback.callback(), net::BoundNetLog()); net 1786 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1790 net/http/http_cache_unittest.cc &request0, context_list[0]->callback.callback(), net::BoundNetLog()); net 1792 net/http/http_cache_unittest.cc &request1, context_list[1]->callback.callback(), net::BoundNetLog()); net 1794 net/http/http_cache_unittest.cc &request2, context_list[2]->callback.callback(), net::BoundNetLog()); net 1832 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1836 net/http/http_cache_unittest.cc &request0, context_list[0]->callback.callback(), net::BoundNetLog()); net 1838 net/http/http_cache_unittest.cc &request1, context_list[1]->callback.callback(), net::BoundNetLog()); net 1840 net/http/http_cache_unittest.cc &request2, context_list[2]->callback.callback(), net::BoundNetLog()); net 1878 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1880 net/http/http_cache_unittest.cc c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 1890 net/http/http_cache_unittest.cc net::CompletionCallback callback = factory->callback(); net 1897 net/http/http_cache_unittest.cc callback.Run(net::ERR_ABORTED); net 1909 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 1916 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, c->result); net 1918 net/http/http_cache_unittest.cc c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 1921 net/http/http_cache_unittest.cc net::TestCompletionCallback cb2; net 1923 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 1937 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(c->result)); net 1953 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 1954 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 1965 net/http/http_cache_unittest.cc const net::HttpRequestInfo* request, net 1970 net/http/http_cache_unittest.cc request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); net 1990 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 1992 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 1993 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 2013 net/http/http_cache_unittest.cc static void Handler(const net::HttpRequestInfo* request, net 2025 net/http/http_cache_unittest.cc void RevalidationServer::Handler(const net::HttpRequestInfo* request, net 2029 net/http/http_cache_unittest.cc if (request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)) net 2033 net/http/http_cache_unittest.cc net::HttpRequestHeaders::kIfModifiedSince)) { net 2067 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 2068 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 2101 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 2102 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 2134 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 2135 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 2149 net/http/http_cache_unittest.cc const net::HttpRequestInfo* request, net 2154 net/http/http_cache_unittest.cc request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); net 2171 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 2194 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 2205 net/http/http_cache_unittest.cc const net::HttpRequestInfo* request, net 2210 net/http/http_cache_unittest.cc request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); net 2230 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 2302 net/http/http_cache_unittest.cc request.load_flags = net::LOAD_ONLY_FROM_CACHE; net 2321 net/http/http_cache_unittest.cc request.load_flags = net::LOAD_NORMAL; net 2340 net/http/http_cache_unittest.cc request.load_flags = net::LOAD_ONLY_FROM_CACHE; net 2694 net/http/http_cache_unittest.cc trans.load_flags = net::LOAD_ONLY_FROM_CACHE; net 2719 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 2722 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 2724 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 2725 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 2728 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 2729 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_CACHE_MISS, callback.GetResult(rv)); net 2747 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2748 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2749 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); net 2761 net/http/http_cache_unittest.cc request.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 2778 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2779 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2780 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); net 2797 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2798 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2799 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); net 2836 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2837 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2838 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); net 2875 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2876 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2877 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 2906 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2907 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2908 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 2935 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2936 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2937 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); net 2965 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2966 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2967 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 2994 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 2995 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 2996 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 3030 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 3031 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 3032 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 3068 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 3069 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 3070 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 3098 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 3099 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 3100 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 3127 net/http/http_cache_unittest.cc ScopedVector<net::UploadElementReader> element_readers; net 3128 net/http/http_cache_unittest.cc element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); net 3129 net/http/http_cache_unittest.cc net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); net 3223 net/http/http_cache_unittest.cc transaction.return_code = net::ERR_FAILED; net 3224 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 3231 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_ONLY_FROM_CACHE; net 3232 net/http/http_cache_unittest.cc transaction.return_code = net::OK; net 3452 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 3453 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 3485 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 3489 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cb.GetResult(rv)); net 3510 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_CACHE_OPEN_FAILURE, cb.GetResult(rv)); net 3531 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 3535 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_CACHE_OPEN_FAILURE, cb.GetResult(rv)); net 3584 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 3585 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 3621 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 3622 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 3634 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 3699 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 3729 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 3878 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 3879 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 3918 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 3919 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 3944 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 3985 net/http/http_cache_unittest.cc transaction2.load_flags |= net::LOAD_VALIDATE_CACHE; net 3989 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 3990 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 4020 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), net 4023 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 4024 net/http/http_cache_unittest.cc response.headers = new net::HttpResponseHeaders(raw_headers); net 4027 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(500)); net 4030 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 4037 net/http/http_cache_unittest.cc net::CapturingBoundNetLog log; net 4038 net/http/http_cache_unittest.cc net::LoadTimingInfo load_timing_info; net 4068 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), net 4071 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 4072 net/http/http_cache_unittest.cc response.headers = new net::HttpResponseHeaders(raw_headers); net 4075 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(500)); net 4078 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 4110 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), net 4113 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 4114 net/http/http_cache_unittest.cc response.headers = new net::HttpResponseHeaders(raw_headers); net 4117 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(500)); net 4120 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 4178 net/http/http_cache_unittest.cc transaction3.load_flags = net::LOAD_PREFERRING_CACHE; net 4292 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4294 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4295 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4303 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(10)); net 4305 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4327 net/http/http_cache_unittest.cc request.load_flags |= net::LOAD_VALIDATE_CACHE; net 4331 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4333 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4334 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4343 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(5)); net 4347 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 4372 net/http/http_cache_unittest.cc request.load_flags |= net::LOAD_VALIDATE_CACHE; net 4376 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4378 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4379 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 4388 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(5)); net 4392 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 4403 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4405 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4406 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 4518 net/http/http_cache_unittest.cc net::TestCompletionCallback cb; net 4530 net/http/http_cache_unittest.cc MockHttpCache cache(net::HttpCache::DefaultBackend::InMemory(1024 * 1024)); net 4604 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 4677 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 4680 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 4682 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 4683 net/http/http_cache_unittest.cc int rv = cache.http_cache()->CreateTransaction(net::DEFAULT_PRIORITY, &trans); net 4684 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, rv); net 4687 net/http/http_cache_unittest.cc rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 4688 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4690 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_CACHE_MISS, rv); net 4710 net/http/http_cache_unittest.cc headers = net::HttpUtil::AssembleRawHeaders(headers.data(), headers.size()); net 4711 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 4712 net/http/http_cache_unittest.cc response.headers = new net::HttpResponseHeaders(headers); net 4731 net/http/http_cache_unittest.cc net::HttpResponseInfo response1; net 4733 net/http/http_cache_unittest.cc response1.socket_address = net::HostPortPair("1.2.3.4", 80); net 4734 net/http/http_cache_unittest.cc response1.headers = new net::HttpResponseHeaders("HTTP/1.1 200 OK"); net 4741 net/http/http_cache_unittest.cc net::HttpResponseInfo response2; net 4762 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4764 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4765 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4792 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4794 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4795 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4803 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(10)); net 4805 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4835 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4837 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4838 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4846 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(10)); net 4848 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4879 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4881 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4882 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4890 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(10)); net 4892 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 4898 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, rv); net 4917 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 4940 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 4942 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 4943 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 4946 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(22)); net 4956 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5003 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5084 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 5091 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&pending->trans)); net 5093 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 5094 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 5096 net/http/http_cache_unittest.cc net::BoundNetLog())); net 5097 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 5100 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(5)); net 5176 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 5179 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 5180 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 5212 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 5215 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 5216 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 5218 net/http/http_cache_unittest.cc const net::HttpResponseInfo* response = c->trans->GetResponseInfo(); net 5221 net/http/http_cache_unittest.cc rv = c->trans->RestartWithAuth(net::AuthCredentials(), net 5223 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 5270 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5298 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 5300 net/http/http_cache_unittest.cc rv = c->trans->Start(&request, c->callback.callback(), net::BoundNetLog()); net 5301 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c->callback.GetResult(rv)); net 5304 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(100)); net 5323 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5371 net/http/http_cache_unittest.cc TestTransactionConsumer c1(net::DEFAULT_PRIORITY, cache.http_cache()), net 5372 net/http/http_cache_unittest.cc c2(net::DEFAULT_PRIORITY, cache.http_cache()), net 5373 net/http/http_cache_unittest.cc c3(net::DEFAULT_PRIORITY, cache.http_cache()); net 5375 net/http/http_cache_unittest.cc c1.Start(&r1, net::BoundNetLog()); net 5377 net/http/http_cache_unittest.cc r2.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 5378 net/http/http_cache_unittest.cc c2.Start(&r2, net::BoundNetLog()); net 5380 net/http/http_cache_unittest.cc r3.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 5381 net/http/http_cache_unittest.cc c3.Start(&r3, net::BoundNetLog()); net 5389 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c1.error()); net 5390 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c2.error()); net 5391 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, c3.error()); net 5405 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_VALIDATE_CACHE; net 5420 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 5424 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5425 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 5427 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 5428 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 5430 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 5432 net/http/http_cache_unittest.cc const net::HttpResponseInfo* info = trans->GetResponseInfo(); net 5458 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5459 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 5461 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 5462 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 5464 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, rv); net 5466 net/http/http_cache_unittest.cc const net::HttpResponseInfo* info = trans->GetResponseInfo(); net 5529 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_PREFERRING_CACHE; net 5581 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 5609 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 5627 net/http/http_cache_unittest.cc transaction.cert_status = net::CERT_STATUS_REVOKED; net 5634 net/http/http_cache_unittest.cc transaction.load_flags |= net::LOAD_ONLY_FROM_CACHE; net 5637 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 5639 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5640 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 5642 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 5643 net/http/http_cache_unittest.cc if (rv == net::ERR_IO_PENDING) net 5645 net/http/http_cache_unittest.cc ASSERT_EQ(net::ERR_CACHE_MISS, rv); net 5652 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5653 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, cache->CreateTransaction(&trans)); net 5667 net/http/http_cache_unittest.cc cache.http_cache()->set_mode(net::HttpCache::DISABLE); net 5717 net/http/http_cache_unittest.cc request.load_flags = net::LOAD_VALIDATE_CACHE; net 5733 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5758 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5764 net/http/http_cache_unittest.cc cache.http_cache()->WriteMetadata(GURL("foo"), net::DEFAULT_PRIORITY, net 5768 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(50)); net 5772 net/http/http_cache_unittest.cc net::DEFAULT_PRIORITY, net 5799 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5805 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(50)); net 5811 net/http/http_cache_unittest.cc net::DEFAULT_PRIORITY, net 5834 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 5840 net/http/http_cache_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(50)); net 5844 net/http/http_cache_unittest.cc net::DEFAULT_PRIORITY, net 5854 net/http/http_cache_unittest.cc trans1.load_flags = net::LOAD_ONLY_FROM_CACHE; net 5867 net/http/http_cache_unittest.cc trans1.load_flags = net::LOAD_VALIDATE_CACHE; net 5883 net/http/http_cache_unittest.cc trans2.load_flags = net::LOAD_VALIDATE_CACHE; net 5896 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 5899 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5900 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 5903 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 5904 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 5906 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 5930 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 5935 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5936 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 5939 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 5940 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 5959 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 5963 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 5964 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 5966 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 5967 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 5969 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 5997 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6001 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6002 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 6004 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 6005 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 6007 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 6037 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6044 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6045 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 6047 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 6048 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 6052 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 6072 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6076 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6077 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 6086 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 6087 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 6089 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 6107 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 6117 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6132 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6133 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.CreateTransaction(&trans)); net 6135 net/http/http_cache_unittest.cc int rv = trans->Start(&request, callback.callback(), net::BoundNetLog()); net 6136 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.GetResult(rv)); net 6138 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 6159 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 6171 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6192 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6205 net/http/http_cache_unittest.cc net::HttpResponseInfo response; net 6217 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6218 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.http_cache()->CreateTransaction(net::IDLE, &trans)); net 6221 net/http/http_cache_unittest.cc trans->SetPriority(net::LOW); net 6224 net/http/http_cache_unittest.cc EXPECT_EQ(net::DEFAULT_PRIORITY, net 6227 net/http/http_cache_unittest.cc net::HttpRequestInfo info; net 6229 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6230 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 6231 net/http/http_cache_unittest.cc trans->Start(&info, callback.callback(), net::BoundNetLog())); net 6235 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOW, net 6237 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOW, net 6241 net/http/http_cache_unittest.cc trans->SetPriority(net::HIGHEST); net 6244 net/http/http_cache_unittest.cc EXPECT_EQ(net::LOW, net 6246 net/http/http_cache_unittest.cc EXPECT_EQ(net::HIGHEST, net 6250 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.WaitForResult()); net 6259 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6260 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, cache.http_cache()->CreateTransaction(net::IDLE, &trans)); net 6264 net/http/http_cache_unittest.cc net::HttpRequestInfo info; net 6266 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6267 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 6268 net/http/http_cache_unittest.cc trans->Start(&info, callback.callback(), net::BoundNetLog())); net 6277 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.WaitForResult()); net 6300 net/http/http_cache_unittest.cc scoped_ptr<net::HttpTransaction> trans; net 6301 net/http/http_cache_unittest.cc ASSERT_EQ(net::OK, net 6302 net/http/http_cache_unittest.cc cache.http_cache()->CreateTransaction(net::MEDIUM, &trans)); net 6303 net/http/http_cache_unittest.cc EXPECT_EQ(net::DEFAULT_PRIORITY, net 6307 net/http/http_cache_unittest.cc net::TestCompletionCallback callback; net 6308 net/http/http_cache_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 6309 net/http/http_cache_unittest.cc trans->Start(&info, callback.callback(), net::BoundNetLog())); net 6310 net/http/http_cache_unittest.cc EXPECT_EQ(net::OK, callback.WaitForResult()); net 6312 net/http/http_cache_unittest.cc EXPECT_EQ(net::MEDIUM, net 6315 net/http/http_cache_unittest.cc trans->SetPriority(net::HIGHEST); net 6320 net/http/http_cache_unittest.cc EXPECT_EQ(net::HIGHEST, net 6331 net/http/http_cache_unittest.cc MockHttpRequest(trans_info), NULL, net::BoundNetLog(), net 6359 net/http/http_cache_unittest.cc transaction.load_flags = net::LOAD_VALIDATE_CACHE; net 52 net/http/http_chunked_decoder.h namespace net { net 122 net/http/http_content_disposition.cc *parse_result_flags |= net::HttpContentDisposition::HAS_NON_ASCII_STRINGS; net 194 net/http/http_content_disposition.cc net::HttpContentDisposition::HAS_RFC2047_ENCODED_STRINGS; net 207 net/http/http_content_disposition.cc decoded_word = net::UnescapeURLComponent(encoded_word, net 208 net/http/http_content_disposition.cc net::UnescapeRule::SPACES); net 211 net/http/http_content_disposition.cc net::HttpContentDisposition::HAS_PERCENT_ENCODED_STRINGS; net 343 net/http/http_content_disposition.cc std::string unescaped = net::UnescapeURLComponent( net 344 net/http/http_content_disposition.cc value, net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS); net 13 net/http/http_content_disposition.h namespace net { net 210 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::Type expected_type; net 215 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 220 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 225 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 230 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 235 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 240 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 245 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 252 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 257 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 262 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 267 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 272 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 277 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 282 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 287 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 292 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 298 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 304 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 310 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 315 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 321 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 328 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 333 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 338 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 343 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 348 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 354 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 360 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 365 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 371 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 377 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 384 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 391 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 397 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 403 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 409 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 415 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 421 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 427 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 433 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 439 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 445 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 451 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 457 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 462 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 468 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::INLINE, net 473 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 478 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 483 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 488 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 493 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 498 net/http/http_content_disposition_unittest.cc net::HttpContentDisposition::ATTACHMENT, net 13 net/http/http_log_util.h namespace net { net 13 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "Cookie", "name=value")); net 15 net/http/http_log_util_unittest.cc net::NetLog::LOG_ALL_BUT_BYTES, "Cookie", "name=value")); net 19 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "cOoKiE", "name=value")); net 23 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "Set-Cookie", "name=value")); net 25 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "Set-Cookie2", "name=value")); net 27 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "Authorization", "Basic 1234")); net 30 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, net 36 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "Boring", "value")); net 40 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, net 43 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, net 47 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, net 50 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, net 56 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "WWW-Authenticate", "NTLM 1234")); net 59 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "Proxy-Authenticate", "NTLM 1234")); net 64 net/http/http_log_util_unittest.cc net::NetLog::LOG_STRIP_PRIVATE_DATA, "WWW-Authenticate", "NTLM 1234 ")); net 69 net/http/http_log_util_unittest.cc net::NetLog::LOG_ALL_BUT_BYTES, net 72 net/http/http_log_util_unittest.cc net::NetLog::LOG_ALL_BUT_BYTES, "Proxy-Authorization", "Basic 1234")); net 19 net/http/http_network_layer.h namespace net { net 31 net/http/http_network_session.cc net::ClientSocketPoolManager* CreateSocketPoolManager( net 32 net/http/http_network_session.cc net::HttpNetworkSession::SocketPoolType pool_type, net 33 net/http/http_network_session.cc const net::HttpNetworkSession::Params& params) { net 36 net/http/http_network_session.cc return new net::ClientSocketPoolManagerImpl( net 40 net/http/http_network_session.cc net::ClientSocketFactory::GetDefaultFactory(), net 114 net/http/http_network_session.cc net::ClientSocketFactory::GetDefaultFactory(), net 28 net/http/http_network_session.h namespace net { net 12 net/http/http_network_session_peer.h namespace net { net 1009 net/http/http_network_transaction.cc net::HttpResponseHeaders::ChromeProxyInfo chrome_proxy_info; net 26 net/http/http_network_transaction.h namespace net { net 93 net/http/http_network_transaction_unittest.cc int GetIdleSocketCountInTransportSocketPool(net::HttpNetworkSession* session) { net 95 net/http/http_network_transaction_unittest.cc net::HttpNetworkSession::NORMAL_SOCKET_POOL)->IdleSocketCount(); net 98 net/http/http_network_transaction_unittest.cc int GetIdleSocketCountInSSLSocketPool(net::HttpNetworkSession* session) { net 100 net/http/http_network_transaction_unittest.cc net::HttpNetworkSession::NORMAL_SOCKET_POOL)->IdleSocketCount(); net 103 net/http/http_network_transaction_unittest.cc bool IsTransportSocketPoolStalled(net::HttpNetworkSession* session) { net 105 net/http/http_network_transaction_unittest.cc net::HttpNetworkSession::NORMAL_SOCKET_POOL)->IsStalled(); net 125 net/http/http_network_transaction_unittest.cc void TestLoadTimingReused(const net::LoadTimingInfo& load_timing_info) { net 127 net/http/http_network_transaction_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 132 net/http/http_network_transaction_unittest.cc net::ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); net 145 net/http/http_network_transaction_unittest.cc void TestLoadTimingNotReused(const net::LoadTimingInfo& load_timing_info, net 148 net/http/http_network_transaction_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 153 net/http/http_network_transaction_unittest.cc net::ExpectConnectTimingHasTimes(load_timing_info.connect_timing, net 168 net/http/http_network_transaction_unittest.cc void TestLoadTimingReusedWithPac(const net::LoadTimingInfo& load_timing_info) { net 170 net/http/http_network_transaction_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 172 net/http/http_network_transaction_unittest.cc net::ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); net 189 net/http/http_network_transaction_unittest.cc void TestLoadTimingNotReusedWithPac(const net::LoadTimingInfo& load_timing_info, net 192 net/http/http_network_transaction_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 199 net/http/http_network_transaction_unittest.cc net::ExpectConnectTimingHasTimes(load_timing_info.connect_timing, net 345 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 1390 net/http/http_network_transaction_unittest.cc net::SSLConfig ssl_config; net 1919 net/http/http_network_transaction_unittest.cc request.load_flags = net::LOAD_DO_NOT_SEND_AUTH_DATA; net 2312 net/http/http_network_transaction_unittest.cc request.load_flags = net::LOAD_DO_NOT_SEND_AUTH_DATA; net 2371 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 2429 net/http/http_network_transaction_unittest.cc request.load_flags = net::LOAD_DO_NOT_SEND_AUTH_DATA; net 2482 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 2678 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 3480 net/http/http_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 3612 net/http/http_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 3723 net/http/http_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 3757 net/http/http_network_transaction_unittest.cc request.load_flags = net::LOAD_DO_NOT_SEND_AUTH_DATA; net 6068 net/http/http_network_transaction_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 6260 net/http/http_network_transaction_unittest.cc request.load_flags = net::LOAD_DO_NOT_SEND_AUTH_DATA; net 6355 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 10270 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 10340 net/http/http_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 10405 net/http/http_network_transaction_unittest.cc net::HttpRequestInfo request_info; net 10408 net/http/http_network_transaction_unittest.cc request_info.load_flags = net::LOAD_NORMAL; net 10411 net/http/http_network_transaction_unittest.cc net::MockWrite data_writes[] = { net 10412 net/http/http_network_transaction_unittest.cc net::MockWrite(mode, error), net 10414 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data(NULL, 0, net 10424 net/http/http_network_transaction_unittest.cc int rv = trans->Start(&request_info, callback.callback(), net::BoundNetLog()); net 10425 net/http/http_network_transaction_unittest.cc if (rv == net::ERR_IO_PENDING) net 10451 net/http/http_network_transaction_unittest.cc net::HttpRequestInfo request_info; net 10454 net/http/http_network_transaction_unittest.cc request_info.load_flags = net::LOAD_NORMAL; net 10462 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data1(ASYNC, net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED); net 10465 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data1(NULL, 0, NULL, 0); net 10474 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data2(ASYNC, net::ERR_SSL_PROTOCOL_ERROR); net 10477 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data2(NULL, 0, NULL, 0); net 10487 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data3(ASYNC, net::ERR_SSL_PROTOCOL_ERROR); net 10490 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data3(NULL, 0, NULL, 0); net 10500 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data4(ASYNC, net::ERR_SSL_PROTOCOL_ERROR); net 10503 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data4(NULL, 0, NULL, 0); net 10507 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data5(ASYNC, net::ERR_SSL_PROTOCOL_ERROR); net 10510 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data5(NULL, 0, NULL, 0); net 10519 net/http/http_network_transaction_unittest.cc int rv = trans->Start(&request_info, callback.callback(), net::BoundNetLog()); net 10520 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 10525 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED, rv); net 10532 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 10545 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_SSL_PROTOCOL_ERROR, rv); net 10561 net/http/http_network_transaction_unittest.cc net::HttpRequestInfo request_info; net 10564 net/http/http_network_transaction_unittest.cc request_info.load_flags = net::LOAD_NORMAL; net 10584 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data1(ASYNC, net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED); net 10587 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data1(NULL, 0, NULL, 0); net 10597 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data2(ASYNC, net::OK); net 10600 net/http/http_network_transaction_unittest.cc net::MockRead data2_reads[] = { net 10601 net/http/http_network_transaction_unittest.cc net::MockRead(ASYNC /* async */, net::ERR_SSL_PROTOCOL_ERROR), net 10603 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data2( net 10610 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data3(ASYNC, net::OK); net 10613 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data3( net 10619 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data4(ASYNC, net::OK); net 10622 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data4( net 10627 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data5(ASYNC, net::OK); net 10630 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data5( net 10640 net/http/http_network_transaction_unittest.cc int rv = trans->Start(&request_info, callback.callback(), net::BoundNetLog()); net 10641 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 10646 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED, rv); net 10653 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 10666 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_SSL_PROTOCOL_ERROR, rv); net 10695 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data1(ASYNC, net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED); net 10698 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data1(NULL, 0, NULL, 0); net 10701 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data2(ASYNC, net::ERR_SSL_PROTOCOL_ERROR); net 10704 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data2(NULL, 0, NULL, 0); net 10709 net/http/http_network_transaction_unittest.cc SSLSocketDataProvider ssl_data3(ASYNC, net::ERR_SSL_PROTOCOL_ERROR); net 10712 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data3(NULL, 0, NULL, 0); net 10716 net/http/http_network_transaction_unittest.cc net::HttpRequestInfo requests[2]; net 10719 net/http/http_network_transaction_unittest.cc requests[0].load_flags = net::LOAD_NORMAL; net 10723 net/http/http_network_transaction_unittest.cc requests[1].load_flags = net::LOAD_NORMAL; net 10734 net/http/http_network_transaction_unittest.cc &requests[i], callback.callback(), net::BoundNetLog()); net 10735 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 10740 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED, rv); net 10747 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv); net 10764 net/http/http_network_transaction_unittest.cc ASSERT_EQ(net::ERR_PROXY_CONNECTION_FAILED, rv); net 10982 net/http/http_network_transaction_unittest.cc class OneTimeCachingHostResolver : public net::HostResolver { net 12590 net/http/http_network_transaction_unittest.cc net::HttpStreamFactory* http_stream_factory = session->http_stream_factory(); net 12591 net/http/http_network_transaction_unittest.cc net::SSLConfig ssl_config; net 12 net/http/http_pipelined_connection.h namespace net { net 25 net/http/http_pipelined_connection_impl.h namespace net { net 17 net/http/http_pipelined_host.h namespace net { net 8 net/http/http_pipelined_host_capability.h namespace net { net 22 net/http/http_pipelined_host_forced.h namespace net { net 23 net/http/http_pipelined_host_impl.h namespace net { net 21 net/http/http_pipelined_host_pool.h namespace net { net 9 net/http/http_pipelined_host_test_util.h namespace net { net 15 net/http/http_pipelined_stream.h namespace net { net 25 net/http/http_proxy_client_socket.h namespace net { net 26 net/http/http_proxy_client_socket_pool.h namespace net { net 21 net/http/http_request_headers.h namespace net { net 16 net/http/http_request_info.h namespace net { net 16 net/http/http_response_body_drainer.h namespace net { net 31 net/http/http_response_headers.h namespace net { net 26 net/http/http_response_headers_unittest.cc net::HttpVersion expected_parsed_version; net 27 net/http/http_response_headers_unittest.cc net::HttpVersion expected_version; net 56 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 57 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(raw_headers)); net 89 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 90 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 109 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 110 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 131 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 132 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 147 net/http/http_response_headers_unittest.cc net::HttpVersion(0,9), net 148 net/http/http_response_headers_unittest.cc net::HttpVersion(1,0) net 162 net/http/http_response_headers_unittest.cc net::HttpVersion(0,9), net 163 net/http/http_response_headers_unittest.cc net::HttpVersion(0,9) net 177 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 178 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 192 net/http/http_response_headers_unittest.cc net::HttpVersion(0,0), // Parse error net 193 net/http/http_response_headers_unittest.cc net::HttpVersion(1,0) net 205 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 206 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 218 net/http/http_response_headers_unittest.cc net::HttpVersion(0,0), // Parse Error net 219 net/http/http_response_headers_unittest.cc net::HttpVersion(1,0) net 237 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 238 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 258 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 259 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 271 net/http/http_response_headers_unittest.cc net::HttpVersion(0,0), // Parse error net 272 net/http/http_response_headers_unittest.cc net::HttpVersion(1,0) net 287 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1), net 288 net/http/http_response_headers_unittest.cc net::HttpVersion(1,1) net 299 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 300 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 309 net/http/http_response_headers_unittest.cc net::HttpResponseHeaders::PersistOptions options; net 313 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_ALL, net 321 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_HOP_BY_HOP, net 329 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE | net 330 net/http/http_response_headers_unittest.cc net::HttpResponseHeaders::PERSIST_SANS_HOP_BY_HOP, net 341 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 351 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 361 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 371 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 381 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 391 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 401 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE, net 410 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_ALL, net 421 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_ALL, net 432 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_COOKIES, net 443 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_ALL, net 453 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_RAW, net 463 net/http/http_response_headers_unittest.cc { net::HttpResponseHeaders::PERSIST_SANS_SECURITY_STATE, net 479 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed1( net 480 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 486 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed2( net 487 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(pickle, &iter)); net 503 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 504 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 525 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 526 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 545 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 546 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 564 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 565 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 720 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 721 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 871 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 872 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 969 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 970 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(orig_headers)); net 974 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> new_parsed( net 975 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(new_headers)); net 1015 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1016 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1099 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1100 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1185 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1186 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1436 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1437 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1518 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1519 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1577 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1578 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1588 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1589 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1596 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1597 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1605 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1606 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1613 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1614 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1653 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1654 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(orig_headers)); net 1698 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1699 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(orig_headers)); net 1791 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1792 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(orig_headers)); net 1847 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1848 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(orig_headers)); net 1888 net/http/http_response_headers_unittest.cc const net::HttpByteRange range = net::HttpByteRange::Bounded(3, 5); net 1893 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1894 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(orig_headers + '\0')); net 1916 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 1917 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 1920 net/http/http_response_headers_unittest.cc parsed->NetLogCallback(net::NetLog::LOG_ALL_BUT_BYTES)); net 1921 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> recreated; net 1923 net/http/http_response_headers_unittest.cc ASSERT_TRUE(net::HttpResponseHeaders::FromNetLogParam(event_param.get(), net 2093 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 2094 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 2096 net/http/http_response_headers_unittest.cc net::HttpResponseHeaders::ChromeProxyInfo chrome_proxy_info; net 2173 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 2174 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 2183 net/http/http_response_headers_unittest.cc net::ProxyService::DataReductionProxyBypassEventType expected_result; net 2188 net/http/http_response_headers_unittest.cc net::ProxyService::SHORT_BYPASS, net 2193 net/http/http_response_headers_unittest.cc net::ProxyService::SHORT_BYPASS, net 2198 net/http/http_response_headers_unittest.cc net::ProxyService::LONG_BYPASS, net 2202 net/http/http_response_headers_unittest.cc net::ProxyService::INTERNAL_SERVER_ERROR_BYPASS, net 2206 net/http/http_response_headers_unittest.cc net::ProxyService::BYPASS_EVENT_TYPE_MAX, net 2210 net/http/http_response_headers_unittest.cc net::ProxyService::INTERNAL_SERVER_ERROR_BYPASS, net 2214 net/http/http_response_headers_unittest.cc net::ProxyService::INTERNAL_SERVER_ERROR_BYPASS, net 2218 net/http/http_response_headers_unittest.cc net::ProxyService::BYPASS_EVENT_TYPE_MAX, net 2222 net/http/http_response_headers_unittest.cc net::ProxyService::BYPASS_EVENT_TYPE_MAX, net 2225 net/http/http_response_headers_unittest.cc net::ProxyService::BYPASS_EVENT_TYPE_MAX, net 2228 net/http/http_response_headers_unittest.cc net::ProxyService::MISSING_VIA_HEADER, net 2232 net/http/http_response_headers_unittest.cc net::ProxyService::SHORT_BYPASS, net 2235 net/http/http_response_headers_unittest.cc net::ProxyService::INTERNAL_SERVER_ERROR_BYPASS, net 2239 net/http/http_response_headers_unittest.cc net::ProxyService::SHORT_BYPASS, net 2245 net/http/http_response_headers_unittest.cc scoped_refptr<net::HttpResponseHeaders> parsed( net 2246 net/http/http_response_headers_unittest.cc new net::HttpResponseHeaders(headers)); net 2247 net/http/http_response_headers_unittest.cc net::HttpResponseHeaders::ChromeProxyInfo chrome_proxy_info; net 316 net/http/http_response_info.cc net::HttpResponseHeaders::PersistOptions persist_options = net 317 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_RAW; net 321 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_SANS_COOKIES | net 322 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_SANS_CHALLENGES | net 323 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_SANS_HOP_BY_HOP | net 324 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_SANS_NON_CACHEABLE | net 325 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_SANS_RANGES | net 326 net/http/http_response_info.cc net::HttpResponseHeaders::PERSIST_SANS_SECURITY_STATE; net 19 net/http/http_response_info.h namespace net { net 17 net/http/http_security_headers.h namespace net { net 20 net/http/http_server_properties.h namespace net { net 132 net/http/http_server_properties_impl.cc const net::HostPortPair& host_port_pair) { net 170 net/http/http_server_properties_impl.cc const net::HostPortPair& host_port_pair) const { net 184 net/http/http_server_properties_impl.cc const net::HostPortPair& host_port_pair, net 27 net/http/http_server_properties_impl.h namespace net { net 58 net/http/http_server_properties_impl.h const net::HostPortPair& host_port_pair); net 223 net/http/http_server_properties_impl_unittest.cc const net::AlternateProtocolMap& map = impl_.alternate_protocol_map(); net 224 net/http/http_server_properties_impl_unittest.cc net::AlternateProtocolMap::const_iterator it = map.begin(); net 247 net/http/http_server_properties_impl_unittest.cc const net::AlternateProtocolMap& map = impl_.alternate_protocol_map(); net 248 net/http/http_server_properties_impl_unittest.cc net::AlternateProtocolMap::const_iterator it = map.begin(); net 267 net/http/http_server_properties_impl_unittest.cc const net::AlternateProtocolMap& map = impl_.alternate_protocol_map(); net 268 net/http/http_server_properties_impl_unittest.cc net::AlternateProtocolMap::const_iterator it = map.begin(); net 520 net/http/http_server_properties_impl_unittest.cc const net::SpdySettingsMap& map = impl_.spdy_settings_map(); net 521 net/http/http_server_properties_impl_unittest.cc net::SpdySettingsMap::const_iterator it = map.begin(); net 10 net/http/http_status_code.h namespace net { net 20 net/http/http_stream.h namespace net { net 22 net/http/http_stream_base.h namespace net { net 32 net/http/http_stream_factory.h namespace net { net 22 net/http/http_stream_factory_impl.h namespace net { net 1470 net/http/http_stream_factory_impl_job.cc (net::LOAD_MAIN_FRAME | net::LOAD_SUB_FRAME | net::LOAD_PREFETCH | net 1471 net/http/http_stream_factory_impl_job.cc net::LOAD_IS_DOWNLOAD)) { net 26 net/http/http_stream_factory_impl_job.h namespace net { net 16 net/http/http_stream_factory_impl_request.h namespace net { net 27 net/http/http_stream_parser.cc std::string GetResponseHeaderLines(const net::HttpResponseHeaders& headers) { net 43 net/http/http_stream_parser.cc const net::HttpResponseHeaders& headers, net 63 net/http/http_stream_parser.cc net::NetLog::LogLevel /* log_level */) { net 104 net/http/http_stream_parser.cc class HttpStreamParser::SeekableIOBuffer : public net::IOBuffer { net 20 net/http/http_stream_parser.h namespace net { net 15 net/http/http_transaction.h namespace net { net 12 net/http/http_transaction_factory.h namespace net { net 36 net/http/http_transaction_unittest.cc net::LOAD_NORMAL, net 44 net/http/http_transaction_unittest.cc net::OK net 52 net/http/http_transaction_unittest.cc net::LOAD_NORMAL, net 60 net/http/http_transaction_unittest.cc net::OK net 68 net/http/http_transaction_unittest.cc net::LOAD_NORMAL, net 77 net/http/http_transaction_unittest.cc net::OK net 85 net/http/http_transaction_unittest.cc net::LOAD_NORMAL, net 94 net/http/http_transaction_unittest.cc net::OK net 102 net/http/http_transaction_unittest.cc net::LOAD_NORMAL, net 110 net/http/http_transaction_unittest.cc net::OK net 156 net/http/http_transaction_unittest.cc net::RequestPriority priority, net 157 net/http/http_transaction_unittest.cc net::HttpTransactionFactory* factory) net 158 net/http/http_transaction_unittest.cc : state_(IDLE), error_(net::OK) { net 167 net/http/http_transaction_unittest.cc void TestTransactionConsumer::Start(const net::HttpRequestInfo* request, net 168 net/http/http_transaction_unittest.cc const net::BoundNetLog& net_log) { net 173 net/http/http_transaction_unittest.cc if (result != net::ERR_IO_PENDING) net 178 net/http/http_transaction_unittest.cc if (result != net::OK) { net 203 net/http/http_transaction_unittest.cc read_buf_ = new net::IOBuffer(1024); net 208 net/http/http_transaction_unittest.cc if (result != net::ERR_IO_PENDING) net 226 net/http/http_transaction_unittest.cc net::RequestPriority priority, net 235 net/http/http_transaction_unittest.cc socket_log_id_(net::NetLog::Source::kInvalidId) { net 240 net/http/http_transaction_unittest.cc int MockNetworkTransaction::Start(const net::HttpRequestInfo* request, net 241 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback, net 242 net/http/http_transaction_unittest.cc const net::BoundNetLog& net_log) { net 244 net/http/http_transaction_unittest.cc return net::ERR_FAILED; net 251 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback) { net 252 net/http/http_transaction_unittest.cc return net::ERR_FAILED; net 256 net/http/http_transaction_unittest.cc net::X509Certificate* client_cert, net 257 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback) { net 258 net/http/http_transaction_unittest.cc return net::ERR_FAILED; net 262 net/http/http_transaction_unittest.cc const net::AuthCredentials& credentials, net 263 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback) { net 265 net/http/http_transaction_unittest.cc return net::ERR_FAILED; net 267 net/http/http_transaction_unittest.cc net::HttpRequestInfo auth_request_info = *request_; net 273 net/http/http_transaction_unittest.cc return StartInternal(&auth_request_info, callback, net::BoundNetLog()); net 284 net/http/http_transaction_unittest.cc int MockNetworkTransaction::Read(net::IOBuffer* buf, int buf_len, net 285 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback) { net 296 net/http/http_transaction_unittest.cc return net::ERR_IO_PENDING; net 305 net/http/http_transaction_unittest.cc net::HttpRequestHeaders* headers) const { net 318 net/http/http_transaction_unittest.cc const net::HttpResponseInfo* MockNetworkTransaction::GetResponseInfo() const { net 322 net/http/http_transaction_unittest.cc net::LoadState MockNetworkTransaction::GetLoadState() const { net 324 net/http/http_transaction_unittest.cc return net::LOAD_STATE_READING_RESPONSE; net 325 net/http/http_transaction_unittest.cc return net::LOAD_STATE_IDLE; net 328 net/http/http_transaction_unittest.cc net::UploadProgress MockNetworkTransaction::GetUploadProgress() const { net 329 net/http/http_transaction_unittest.cc return net::UploadProgress(); net 333 net/http/http_transaction_unittest.cc net::QuicServerInfo* quic_server_info) {} net 336 net/http/http_transaction_unittest.cc net::LoadTimingInfo* load_timing_info) const { net 337 net/http/http_transaction_unittest.cc if (socket_log_id_ != net::NetLog::Source::kInvalidId) { net 357 net/http/http_transaction_unittest.cc void MockNetworkTransaction::SetPriority(net::RequestPriority priority) { net 362 net/http/http_transaction_unittest.cc net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) { net 367 net/http/http_transaction_unittest.cc const net::HttpRequestInfo* request, net 368 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback, net 369 net/http/http_transaction_unittest.cc const net::BoundNetLog& net_log) { net 372 net/http/http_transaction_unittest.cc return net::ERR_FAILED; net 377 net/http/http_transaction_unittest.cc if (net::OK != t->return_code) { net 381 net/http/http_transaction_unittest.cc return net::ERR_IO_PENDING; net 406 net/http/http_transaction_unittest.cc response_.headers = new net::HttpResponseHeaders(header_data); net 415 net/http/http_transaction_unittest.cc return net::OK; net 417 net/http/http_transaction_unittest.cc CallbackLater(callback, net::OK); net 418 net/http/http_transaction_unittest.cc return net::ERR_IO_PENDING; net 427 net/http/http_transaction_unittest.cc return net::ERR_FAILED; net 431 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback, int result) { net 438 net/http/http_transaction_unittest.cc const net::CompletionCallback& callback, int result) { net 446 net/http/http_transaction_unittest.cc last_create_transaction_priority_(net::DEFAULT_PRIORITY) {} net 459 net/http/http_transaction_unittest.cc net::RequestPriority priority, net 460 net/http/http_transaction_unittest.cc scoped_ptr<net::HttpTransaction>* trans) { net 467 net/http/http_transaction_unittest.cc return net::OK; net 470 net/http/http_transaction_unittest.cc net::HttpCache* MockNetworkLayer::GetCache() { net 474 net/http/http_transaction_unittest.cc net::HttpNetworkSession* MockNetworkLayer::GetSession() { net 481 net/http/http_transaction_unittest.cc int ReadTransaction(net::HttpTransaction* trans, std::string* result) { net 484 net/http/http_transaction_unittest.cc net::TestCompletionCallback callback; net 488 net/http/http_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(256)); net 490 net/http/http_transaction_unittest.cc if (rv == net::ERR_IO_PENDING) net 500 net/http/http_transaction_unittest.cc return net::OK; net 28 net/http/http_transaction_unittest.h namespace net { net 49 net/http/http_transaction_unittest.h typedef void (*MockTransactionHandler)(const net::HttpRequestInfo* request, net 68 net/http/http_transaction_unittest.h net::CertStatus cert_status; net 71 net/http/http_transaction_unittest.h net::Error return_code; net 104 net/http/http_transaction_unittest.h class MockHttpRequest : public net::HttpRequestInfo { net 114 net/http/http_transaction_unittest.h TestTransactionConsumer(net::RequestPriority priority, net 115 net/http/http_transaction_unittest.h net::HttpTransactionFactory* factory); net 118 net/http/http_transaction_unittest.h void Start(const net::HttpRequestInfo* request, net 119 net/http/http_transaction_unittest.h const net::BoundNetLog& net_log); net 124 net/http/http_transaction_unittest.h const net::HttpResponseInfo* response_info() const { net 145 net/http/http_transaction_unittest.h scoped_ptr<net::HttpTransaction> trans_; net 147 net/http/http_transaction_unittest.h scoped_refptr<net::IOBuffer> read_buf_; net 163 net/http/http_transaction_unittest.h : public net::HttpTransaction, net 165 net/http/http_transaction_unittest.h typedef net::WebSocketHandshakeStreamBase::CreateHelper CreateHelper; net 167 net/http/http_transaction_unittest.h MockNetworkTransaction(net::RequestPriority priority, net 171 net/http/http_transaction_unittest.h virtual int Start(const net::HttpRequestInfo* request, net 172 net/http/http_transaction_unittest.h const net::CompletionCallback& callback, net 173 net/http/http_transaction_unittest.h const net::BoundNetLog& net_log) OVERRIDE; net 176 net/http/http_transaction_unittest.h const net::CompletionCallback& callback) OVERRIDE; net 179 net/http/http_transaction_unittest.h net::X509Certificate* client_cert, net 180 net/http/http_transaction_unittest.h const net::CompletionCallback& callback) OVERRIDE; net 183 net/http/http_transaction_unittest.h const net::AuthCredentials& credentials, net 184 net/http/http_transaction_unittest.h const net::CompletionCallback& callback) OVERRIDE; net 188 net/http/http_transaction_unittest.h virtual int Read(net::IOBuffer* buf, int buf_len, net 189 net/http/http_transaction_unittest.h const net::CompletionCallback& callback) OVERRIDE; net 194 net/http/http_transaction_unittest.h net::HttpRequestHeaders* headers) const OVERRIDE; net 200 net/http/http_transaction_unittest.h virtual const net::HttpResponseInfo* GetResponseInfo() const OVERRIDE; net 202 net/http/http_transaction_unittest.h virtual net::LoadState GetLoadState() const OVERRIDE; net 204 net/http/http_transaction_unittest.h virtual net::UploadProgress GetUploadProgress() const OVERRIDE; net 207 net/http/http_transaction_unittest.h net::QuicServerInfo* quic_server_info) OVERRIDE; net 210 net/http/http_transaction_unittest.h net::LoadTimingInfo* load_timing_info) const OVERRIDE; net 212 net/http/http_transaction_unittest.h virtual void SetPriority(net::RequestPriority priority) OVERRIDE; net 225 net/http/http_transaction_unittest.h net::RequestPriority priority() const { return priority_; } net 228 net/http/http_transaction_unittest.h int StartInternal(const net::HttpRequestInfo* request, net 229 net/http/http_transaction_unittest.h const net::CompletionCallback& callback, net 230 net/http/http_transaction_unittest.h const net::BoundNetLog& net_log); net 231 net/http/http_transaction_unittest.h void CallbackLater(const net::CompletionCallback& callback, int result); net 232 net/http/http_transaction_unittest.h void RunCallback(const net::CompletionCallback& callback, int result); net 235 net/http/http_transaction_unittest.h const net::HttpRequestInfo* request_; net 236 net/http/http_transaction_unittest.h net::HttpResponseInfo response_; net 240 net/http/http_transaction_unittest.h net::RequestPriority priority_; net 251 net/http/http_transaction_unittest.h class MockNetworkLayer : public net::HttpTransactionFactory, net 265 net/http/http_transaction_unittest.h net::RequestPriority last_create_transaction_priority() const { net 286 net/http/http_transaction_unittest.h net::RequestPriority priority, net 287 net/http/http_transaction_unittest.h scoped_ptr<net::HttpTransaction>* trans) OVERRIDE; net 288 net/http/http_transaction_unittest.h virtual net::HttpCache* GetCache() OVERRIDE; net 289 net/http/http_transaction_unittest.h virtual net::HttpNetworkSession* GetSession() OVERRIDE; net 295 net/http/http_transaction_unittest.h net::RequestPriority last_create_transaction_priority_; net 303 net/http/http_transaction_unittest.h int ReadTransaction(net::HttpTransaction* trans, std::string* result); net 347 net/http/http_util.cc net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n"); net 678 net/http/http_util.cc if (net::HttpUtil::HasHeader(*headers, header_name)) net 22 net/http/http_util.h namespace net { net 12 net/http/http_util_unittest.cc using net::HttpUtil; net 733 net/http/http_util_unittest.cc net::HttpUtil::ParseContentType(tests[i].content_type, &mime_type, net 857 net/http/http_util_unittest.cc std::vector<net::HttpByteRange> ranges; net 14 net/http/http_vary_data.h namespace net { net 17 net/http/http_vary_data_unittest.cc net::HttpRequestInfo request; net 18 net/http/http_vary_data_unittest.cc scoped_refptr<net::HttpResponseHeaders> response; net 24 net/http/http_vary_data_unittest.cc response = new net::HttpResponseHeaders(temp); net 46 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 54 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 76 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 89 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 102 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 115 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 128 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 143 net/http/http_vary_data_unittest.cc net::HttpVaryData v; net 10 net/http/http_version.h namespace net { net 49 net/http/md4.h namespace net { net 10 net/http/mock_allow_url_security_manager.h namespace net { net 22 net/http/mock_gssapi_library_posix.h namespace net { net 39 net/http/mock_http_cache.cc void CallbackForwader(const net::CompletionCallback& callback, int result) { net 49 net/http/mock_http_cache.cc net::CompletionCallback callback; net 86 net/http/mock_http_cache.cc int index, int offset, net::IOBuffer* buf, int buf_len, net 87 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 92 net/http/mock_http_cache.cc return net::ERR_CACHE_READ_FAILURE; net 95 net/http/mock_http_cache.cc return net::ERR_FAILED; net 106 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 110 net/http/mock_http_cache.cc int index, int offset, net::IOBuffer* buf, int buf_len, net 111 net/http/mock_http_cache.cc const net::CompletionCallback& callback, bool truncate) { net 117 net/http/mock_http_cache.cc CallbackLater(callback, net::ERR_CACHE_READ_FAILURE); net 118 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 122 net/http/mock_http_cache.cc return net::ERR_FAILED; net 132 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 135 net/http/mock_http_cache.cc int MockDiskEntry::ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, net 136 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 139 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 141 net/http/mock_http_cache.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 143 net/http/mock_http_cache.cc return net::ERR_FAILED; net 146 net/http/mock_http_cache.cc return net::ERR_CACHE_READ_FAILURE; net 163 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 166 net/http/mock_http_cache.cc int MockDiskEntry::WriteSparseData(int64 offset, net::IOBuffer* buf, net 168 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 171 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 173 net/http/mock_http_cache.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 176 net/http/mock_http_cache.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 180 net/http/mock_http_cache.cc return net::ERR_FAILED; net 185 net/http/mock_http_cache.cc return net::ERR_CACHE_READ_FAILURE; net 198 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 202 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 205 net/http/mock_http_cache.cc return net::ERR_CACHE_OPERATION_NOT_SUPPORTED; net 207 net/http/mock_http_cache.cc return net::ERR_FAILED; net 210 net/http/mock_http_cache.cc return net::ERR_CACHE_READ_FAILURE; net 236 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 249 net/http/mock_http_cache.cc int MockDiskEntry::ReadyForSparseIO(const net::CompletionCallback& callback) { net 251 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 253 net/http/mock_http_cache.cc return net::OK; net 258 net/http/mock_http_cache.cc return net::OK; net 263 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 275 net/http/mock_http_cache.cc StoreAndDeliverCallbacks(false, NULL, net::CompletionCallback(), 0); net 284 net/http/mock_http_cache.cc void MockDiskEntry::CallbackLater(const net::CompletionCallback& callback, net 294 net/http/mock_http_cache.cc const net::CompletionCallback& callback, int result) { net 317 net/http/mock_http_cache.cc bool store, MockDiskEntry* entry, const net::CompletionCallback& callback, net 348 net/http/mock_http_cache.cc net::CacheType MockDiskCache::GetCacheType() const { net 349 net/http/mock_http_cache.cc return net::DISK_CACHE; net 357 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 360 net/http/mock_http_cache.cc return net::ERR_CACHE_OPEN_FAILURE; net 364 net/http/mock_http_cache.cc return net::ERR_CACHE_OPEN_FAILURE; net 369 net/http/mock_http_cache.cc return net::ERR_CACHE_OPEN_FAILURE; net 381 net/http/mock_http_cache.cc return net::OK; net 383 net/http/mock_http_cache.cc CallbackLater(callback, net::OK); net 384 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 389 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 392 net/http/mock_http_cache.cc return net::ERR_CACHE_CREATE_FAILURE; net 400 net/http/mock_http_cache.cc return net::ERR_CACHE_CREATE_FAILURE; net 423 net/http/mock_http_cache.cc return net::OK; net 425 net/http/mock_http_cache.cc CallbackLater(callback, net::OK); net 426 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 430 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 439 net/http/mock_http_cache.cc return net::OK; net 441 net/http/mock_http_cache.cc CallbackLater(callback, net::OK); net 442 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 445 net/http/mock_http_cache.cc int MockDiskCache::DoomAllEntries(const net::CompletionCallback& callback) { net 446 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 451 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 452 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 456 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 457 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 461 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 462 net/http/mock_http_cache.cc return net::ERR_NOT_IMPLEMENTED; net 482 net/http/mock_http_cache.cc void MockDiskCache::CallbackLater(const net::CompletionCallback& callback, net 490 net/http/mock_http_cache.cc int MockBackendFactory::CreateBackend(net::NetLog* net_log, net 492 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 494 net/http/mock_http_cache.cc return net::OK; net 503 net/http/mock_http_cache.cc MockHttpCache::MockHttpCache(net::HttpCache::BackendFactory* disk_cache_factory) net 508 net/http/mock_http_cache.cc net::TestCompletionCallback cb; net 512 net/http/mock_http_cache.cc return (rv == net::OK) ? static_cast<MockDiskCache*>(backend) : NULL; net 515 net/http/mock_http_cache.cc int MockHttpCache::CreateTransaction(scoped_ptr<net::HttpTransaction>* trans) { net 516 net/http/mock_http_cache.cc return http_cache_.CreateTransaction(net::DEFAULT_PRIORITY, trans); net 520 net/http/mock_http_cache.cc net::HttpResponseInfo* response_info, net 524 net/http/mock_http_cache.cc net::TestCompletionCallback cb; net 525 net/http/mock_http_cache.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(size)); net 530 net/http/mock_http_cache.cc return net::HttpCache::ParseResponseInfo(buffer->data(), size, net 536 net/http/mock_http_cache.cc disk_cache::Entry* disk_entry, const net::HttpResponseInfo* response_info, net 542 net/http/mock_http_cache.cc net::TestCompletionCallback cb; net 543 net/http/mock_http_cache.cc scoped_refptr<net::WrappedIOBuffer> data(new net::WrappedIOBuffer( net 554 net/http/mock_http_cache.cc net::TestCompletionCallback cb; net 556 net/http/mock_http_cache.cc return (cb.GetResult(rv) == net::OK); net 561 net/http/mock_http_cache.cc net::NetLog* net_log) { net 562 net/http/mock_http_cache.cc net::TestCompletionCallback cb; net 564 net/http/mock_http_cache.cc return (cb.GetResult(rv) == net::OK); net 584 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 585 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 591 net/http/mock_http_cache.cc net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, net 592 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 594 net/http/mock_http_cache.cc return net::OK; net 609 net/http/mock_http_cache.cc net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, net 610 net/http/mock_http_cache.cc const net::CompletionCallback& callback) { net 619 net/http/mock_http_cache.cc return net::ERR_IO_PENDING; net 627 net/http/mock_http_cache.cc net::CompletionCallback cb = callback_; net 34 net/http/mock_http_cache.h virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, net 35 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 36 net/http/mock_http_cache.h virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, net 37 net/http/mock_http_cache.h const net::CompletionCallback& callback, net 39 net/http/mock_http_cache.h virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, net 40 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 42 net/http/mock_http_cache.h int64 offset, net::IOBuffer* buf, int buf_len, net 43 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 46 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 50 net/http/mock_http_cache.h const net::CompletionCallback& completion_callback) OVERRIDE; net 71 net/http/mock_http_cache.h void CallbackLater(const net::CompletionCallback& callback, int result); net 73 net/http/mock_http_cache.h void RunCallback(const net::CompletionCallback& callback, int result); net 78 net/http/mock_http_cache.h const net::CompletionCallback& callback, net 101 net/http/mock_http_cache.h virtual net::CacheType GetCacheType() const OVERRIDE; net 104 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 106 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 108 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 109 net/http/mock_http_cache.h virtual int DoomAllEntries(const net::CompletionCallback& callback) OVERRIDE; net 113 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 116 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 118 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 147 net/http/mock_http_cache.h void CallbackLater(const net::CompletionCallback& callback, int result); net 158 net/http/mock_http_cache.h class MockBackendFactory : public net::HttpCache::BackendFactory { net 160 net/http/mock_http_cache.h virtual int CreateBackend(net::NetLog* net_log, net 162 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 168 net/http/mock_http_cache.h explicit MockHttpCache(net::HttpCache::BackendFactory* disk_cache_factory); net 170 net/http/mock_http_cache.h net::HttpCache* http_cache() { return &http_cache_; } net 178 net/http/mock_http_cache.h int CreateTransaction(scoped_ptr<net::HttpTransaction>* trans); net 182 net/http/mock_http_cache.h net::HttpResponseInfo* response_info, net 187 net/http/mock_http_cache.h const net::HttpResponseInfo* response_info, net 196 net/http/mock_http_cache.h net::NetLog* net_log); net 206 net/http/mock_http_cache.h net::HttpCache http_cache_; net 212 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 215 net/http/mock_http_cache.h class MockBackendNoCbFactory : public net::HttpCache::BackendFactory { net 217 net/http/mock_http_cache.h virtual int CreateBackend(net::NetLog* net_log, net 219 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 223 net/http/mock_http_cache.h class MockBlockingBackendFactory : public net::HttpCache::BackendFactory { net 228 net/http/mock_http_cache.h virtual int CreateBackend(net::NetLog* net_log, net 230 net/http/mock_http_cache.h const net::CompletionCallback& callback) OVERRIDE; net 239 net/http/mock_http_cache.h const net::CompletionCallback& callback() { return callback_; } net 242 net/http/mock_http_cache.h int Result() { return fail_ ? net::ERR_FAILED : net::OK; } net 245 net/http/mock_http_cache.h net::CompletionCallback callback_; net 13 net/http/mock_sspi_library_win.h namespace net { net 83 net/http/partial_data.cc if (rv != net::ERR_IO_PENDING) { net 223 net/http/partial_data.cc net::HttpByteRange::Bounded( net 230 net/http/partial_data.cc net::HttpByteRange::Bounded( net 415 net/http/partial_data.cc const net::CompletionCallback& callback) { net 436 net/http/partial_data.cc const net::CompletionCallback& callback) { net 17 net/http/partial_data.h namespace net { net 100 net/http/partial_data.h const net::CompletionCallback& callback); net 105 net/http/partial_data.h const net::CompletionCallback& callback); net 15 net/http/proxy_client_socket.h namespace net { net 13 net/http/proxy_connect_redirect_http_stream.h namespace net { net 22 net/http/transport_security_persister.cc using net::HashValue; net 23 net/http/transport_security_persister.cc using net::HashValueTag; net 24 net/http/transport_security_persister.cc using net::HashValueVector; net 25 net/http/transport_security_persister.cc using net::TransportSecurityState; net 49 net/http/transport_security_persister.h namespace net { net 18 net/http/transport_security_persister_unittest.cc using net::TransportSecurityPersister; net 19 net/http/transport_security_persister_unittest.cc using net::TransportSecurityState; net 88 net/http/transport_security_persister_unittest.cc net::HashValue fp1(net::HASH_VALUE_SHA1); net 90 net/http/transport_security_persister_unittest.cc net::HashValue fp2(net::HASH_VALUE_SHA1); net 94 net/http/transport_security_persister_unittest.cc net::HashValueVector dynamic_spki_hashes; net 170 net/http/transport_security_persister_unittest.cc net::HashValueVector hashes; net 173 net/http/transport_security_persister_unittest.cc net::HashValue sha1(net::HASH_VALUE_SHA1); net 21 net/http/transport_security_state.h namespace net { net 14 net/http/url_security_manager.h namespace net { net 10 net/ocsp/nss_ocsp.h namespace net { net 42 net/ocsp/nss_ocsp_unittest.cc class AiaResponseHandler : public net::URLRequestJobFactory::ProtocolHandler { net 49 net/ocsp/nss_ocsp_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 50 net/ocsp/nss_ocsp_unittest.cc net::URLRequest* request, net 51 net/ocsp/nss_ocsp_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 54 net/ocsp/nss_ocsp_unittest.cc return new net::URLRequestTestJob( net 24 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h namespace net { net 50 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h const net::CompletionCallback& callback); net 173 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h net::CompletionCallback callback_; net 16 net/proxy/dhcp_proxy_script_fetcher.h namespace net { net 13 net/proxy/dhcp_proxy_script_fetcher_factory.h namespace net { net 23 net/proxy/dhcp_proxy_script_fetcher_win.h namespace net { net 42 net/proxy/dhcp_proxy_script_fetcher_win.h const net::CompletionCallback& callback) OVERRIDE; net 151 net/proxy/dhcp_proxy_script_fetcher_win.h net::CompletionCallback callback_; net 7 net/proxy/dhcpcsvc_init_win.h namespace net { net 19 net/proxy/mock_proxy_resolver.h namespace net { net 30 net/proxy/mock_proxy_resolver.h const net::CompletionCallback& callback); net 34 net/proxy/mock_proxy_resolver.h const net::CompletionCallback& callback() const { return callback_; } net 46 net/proxy/mock_proxy_resolver.h net::CompletionCallback callback_; net 55 net/proxy/mock_proxy_resolver.h const net::CompletionCallback& callback); net 67 net/proxy/mock_proxy_resolver.h net::CompletionCallback callback_; net 78 net/proxy/mock_proxy_resolver.h const net::CompletionCallback& callback, net 85 net/proxy/mock_proxy_resolver.h const net::CompletionCallback& callback) OVERRIDE; net 14 net/proxy/mock_proxy_script_fetcher.h namespace net { net 22 net/proxy/multi_threaded_proxy_resolver.h namespace net { net 16 net/proxy/network_delegate_error_observer.h namespace net { net 19 net/proxy/network_delegate_error_observer_unittest.cc class TestNetworkDelegate : public net::NetworkDelegate { net 46 net/proxy/network_delegate_error_observer_unittest.cc return net::OK; net 76 net/proxy/network_delegate_error_observer_unittest.cc virtual bool OnCanAccessFile(const net::URLRequest& request, net 13 net/proxy/polling_proxy_config_service.h namespace net { net 14 net/proxy/proxy_bypass_rules.h namespace net { net 21 net/proxy/proxy_config.h namespace net { net 10 net/proxy/proxy_config_service.h namespace net { net 22 net/proxy/proxy_config_service_android.h namespace net { net 14 net/proxy/proxy_config_service_common_unittest.h namespace net { net 13 net/proxy/proxy_config_service_fixed.h namespace net { net 10 net/proxy/proxy_config_service_ios.h namespace net { net 27 net/proxy/proxy_config_service_linux.h namespace net { net 262 net/proxy/proxy_config_service_linux_unittest.cc explicit SynchConfigGetter(net::ProxyConfigServiceLinux* config_service) net 300 net/proxy/proxy_config_service_linux_unittest.cc net::ProxyConfigService::ConfigAvailability SyncGetLatestProxyConfig( net 301 net/proxy/proxy_config_service_linux_unittest.cc net::ProxyConfig* config) { net 338 net/proxy/proxy_config_service_linux_unittest.cc net::ProxyConfigServiceLinux* config_service_; net 342 net/proxy/proxy_config_service_linux_unittest.cc net::ProxyConfig proxy_config_; net 345 net/proxy/proxy_config_service_linux_unittest.cc net::ProxyConfigService::ConfigAvailability get_latest_config_result_; net 228 net/proxy/proxy_config_service_mac.cc net::ProxyConfigService::ConfigAvailability net 21 net/proxy/proxy_config_service_mac.h namespace net { net 18 net/proxy/proxy_config_service_win.h namespace net { net 8 net/proxy/proxy_config_source.h namespace net { net 18 net/proxy/proxy_info.h namespace net { net 20 net/proxy/proxy_list.h namespace net { net 17 net/proxy/proxy_resolver.h namespace net { net 45 net/proxy/proxy_resolver.h const net::CompletionCallback& callback, net 68 net/proxy/proxy_resolver.h const net::CompletionCallback& callback) = 0; net 12 net/proxy/proxy_resolver_error_observer.h namespace net { net 28 net/proxy/proxy_resolver_mac.cc net::ProxyServer::Scheme GetProxyServerScheme(CFStringRef proxy_type) { net 30 net/proxy/proxy_resolver_mac.cc return net::ProxyServer::SCHEME_DIRECT; net 32 net/proxy/proxy_resolver_mac.cc return net::ProxyServer::SCHEME_HTTP; net 36 net/proxy/proxy_resolver_mac.cc return net::ProxyServer::SCHEME_HTTP; net 41 net/proxy/proxy_resolver_mac.cc return net::ProxyServer::SCHEME_SOCKS5; net 43 net/proxy/proxy_resolver_mac.cc return net::ProxyServer::SCHEME_INVALID; net 14 net/proxy/proxy_resolver_mac.h namespace net { net 26 net/proxy/proxy_resolver_mac.h const net::CompletionCallback& callback, net 38 net/proxy/proxy_resolver_mac.h const net::CompletionCallback& /*callback*/) OVERRIDE; net 84 net/proxy/proxy_resolver_perftest.cc PacPerfSuiteRunner(net::ProxyResolver* resolver, net 89 net/proxy/proxy_resolver_perftest.cc net::SpawnedTestServer::TYPE_HTTP, net 90 net/proxy/proxy_resolver_perftest.cc net::SpawnedTestServer::kLocalhost, net 113 net/proxy/proxy_resolver_perftest.cc net::ProxyResolverScriptData::FromURL(pac_url), net 114 net/proxy/proxy_resolver_perftest.cc net::CompletionCallback()); net 115 net/proxy/proxy_resolver_perftest.cc EXPECT_EQ(net::OK, rv); net 124 net/proxy/proxy_resolver_perftest.cc net::ProxyInfo proxy_info; net 126 net/proxy/proxy_resolver_perftest.cc GURL("http://www.warmup.com"), &proxy_info, net::CompletionCallback(), net 127 net/proxy/proxy_resolver_perftest.cc NULL, net::BoundNetLog()); net 128 net/proxy/proxy_resolver_perftest.cc ASSERT_EQ(net::OK, result); net 140 net/proxy/proxy_resolver_perftest.cc net::ProxyInfo proxy_info; net 142 net/proxy/proxy_resolver_perftest.cc GURL(query.query_url), &proxy_info, net::CompletionCallback(), NULL, net 143 net/proxy/proxy_resolver_perftest.cc net::BoundNetLog()); net 147 net/proxy/proxy_resolver_perftest.cc ASSERT_EQ(net::OK, result); net 174 net/proxy/proxy_resolver_perftest.cc net::ProxyResolverScriptData::FromUTF8(file_contents), net 175 net/proxy/proxy_resolver_perftest.cc net::CompletionCallback()); net 176 net/proxy/proxy_resolver_perftest.cc EXPECT_EQ(net::OK, rv); net 179 net/proxy/proxy_resolver_perftest.cc net::ProxyResolver* resolver_; net 181 net/proxy/proxy_resolver_perftest.cc net::SpawnedTestServer test_server_; net 186 net/proxy/proxy_resolver_perftest.cc net::ProxyResolverWinHttp resolver; net 192 net/proxy/proxy_resolver_perftest.cc net::ProxyResolverMac resolver; net 198 net/proxy/proxy_resolver_perftest.cc class MockJSBindings : public net::ProxyResolverV8::JSBindings { net 222 net/proxy/proxy_resolver_perftest.cc net::ProxyResolverV8::RememberDefaultIsolate(); net 225 net/proxy/proxy_resolver_perftest.cc net::ProxyResolverV8 resolver; net 13 net/proxy/proxy_resolver_script_data.h namespace net { net 18 net/proxy/proxy_resolver_v8.h namespace net { net 83 net/proxy/proxy_resolver_v8.h const net::CompletionCallback& /*callback*/, net 91 net/proxy/proxy_resolver_v8.h const net::CompletionCallback& /*callback*/) OVERRIDE; net 186 net/proxy/proxy_resolver_v8_tracing.cc int net_error, const net::AddressList& addresses); net 943 net/proxy/proxy_resolver_v8_tracing.cc const net::AddressList& addresses) { net 20 net/proxy/proxy_resolver_v8_tracing.h namespace net { net 160 net/proxy/proxy_resolver_v8_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 14 net/proxy/proxy_resolver_winhttp.h namespace net { net 26 net/proxy/proxy_resolver_winhttp.h const net::CompletionCallback& /*callback*/, net 37 net/proxy/proxy_resolver_winhttp.h const net::CompletionCallback& /*callback*/) OVERRIDE; net 12 net/proxy/proxy_retry_info.h namespace net { net 25 net/proxy/proxy_script_decider.h namespace net { net 75 net/proxy/proxy_script_decider.h const net::CompletionCallback& callback); net 167 net/proxy/proxy_script_decider.h net::CompletionCallback callback_; net 18 net/proxy/proxy_script_fetcher.h namespace net { net 48 net/proxy/proxy_script_fetcher.h const net::CompletionCallback& callback) = 0; net 22 net/proxy/proxy_script_fetcher_impl.h namespace net { net 49 net/proxy/proxy_script_fetcher_impl.h const net::CompletionCallback& callback) OVERRIDE; net 104 net/proxy/proxy_script_fetcher_impl.h net::CompletionCallback callback_; net 168 net/proxy/proxy_script_fetcher_impl_unittest.cc virtual bool OnCanAccessFile(const net::URLRequest& request, net 191 net/proxy/proxy_script_fetcher_impl_unittest.cc net::SpawnedTestServer::kLocalhost, net 261 net/proxy/proxy_server.cc bool ok = net::ParseHostAndPort(begin, end, &host, &port); net 18 net/proxy/proxy_server.h namespace net { net 16 net/proxy/proxy_server_unittest.cc net::ProxyServer::Scheme expected_scheme; net 25 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 33 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 41 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 51 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 59 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 67 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 75 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP, net 85 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_SOCKS4, net 93 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_SOCKS4, net 103 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_SOCKS5, net 111 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_SOCKS5, net 121 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_SOCKS5, net 129 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_SOCKS5, net 139 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTPS, net 147 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTPS, net 155 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTPS, net 163 net/proxy/proxy_server_unittest.cc net::ProxyServer uri = net 164 net/proxy/proxy_server_unittest.cc net::ProxyServer::FromURI(tests[i].input_uri, net 165 net/proxy/proxy_server_unittest.cc net::ProxyServer::SCHEME_HTTP); net 177 net/proxy/proxy_server_unittest.cc net::ProxyServer proxy_server; net 184 net/proxy/proxy_server_unittest.cc net::ProxyServer uri = net 185 net/proxy/proxy_server_unittest.cc net::ProxyServer::FromURI("direct://", net::ProxyServer::SCHEME_HTTP); net 206 net/proxy/proxy_server_unittest.cc net::ProxyServer uri = net 207 net/proxy/proxy_server_unittest.cc net::ProxyServer::FromURI(tests[i], net::ProxyServer::SCHEME_HTTP); net 224 net/proxy/proxy_server_unittest.cc net::ProxyServer uri = net 225 net/proxy/proxy_server_unittest.cc net::ProxyServer::FromURI(tests[i], net::ProxyServer::SCHEME_HTTP); net 283 net/proxy/proxy_server_unittest.cc net::ProxyServer uri = net::ProxyServer::FromPacString(tests[i].input_pac); net 299 net/proxy/proxy_server_unittest.cc net::ProxyServer uri = net::ProxyServer::FromPacString(tests[i]); net 340 net/proxy/proxy_server_unittest.cc const net::ProxyServer server1 = net 341 net/proxy/proxy_server_unittest.cc net::ProxyServer::FromURI( net 342 net/proxy/proxy_server_unittest.cc tests[i].server1, net::ProxyServer::SCHEME_HTTP); net 344 net/proxy/proxy_server_unittest.cc const net::ProxyServer server2 = net 345 net/proxy/proxy_server_unittest.cc net::ProxyServer::FromURI( net 346 net/proxy/proxy_server_unittest.cc tests[i].server2, net::ProxyServer::SCHEME_HTTP); net 740 net/proxy/proxy_service.cc const net::CompletionCallback& user_callback, net 854 net/proxy/proxy_service.cc net::CompletionCallback callback = user_callback_; net 866 net/proxy/proxy_service.cc net::CompletionCallback user_callback_; net 936 net/proxy/proxy_service.cc net::ProxyConfig proxy_config; net 971 net/proxy/proxy_service.cc const net::CompletionCallback& callback, net 1467 net/proxy/proxy_service.cc net::NetLog::TYPE_PROXY_CONFIG_CHANGED, net 1577 net/proxy/proxy_service.cc if (result_ == net::OK) { net 1594 net/proxy/proxy_service.cc if (result_ == net::OK) { net 1606 net/proxy/proxy_service.cc if (result_ != net::ERR_IO_PENDING) { net 1615 net/proxy/proxy_service.cc if (result_ != net::ERR_IO_PENDING) { net 33 net/proxy/proxy_service.h namespace net { net 128 net/proxy/proxy_service.h const net::CompletionCallback& callback, net 11 net/proxy/proxy_service_v8.h namespace net { net 23 net/quic/congestion_control/available_channel_estimator.h namespace net { net 22 net/quic/congestion_control/channel_estimator.h namespace net { net 11 net/quic/congestion_control/cube_root.h namespace net { net 17 net/quic/congestion_control/cubic.h namespace net { net 16 net/quic/congestion_control/fix_rate_receiver.h namespace net { net 20 net/quic/congestion_control/fix_rate_sender.h namespace net { net 23 net/quic/congestion_control/hybrid_slow_start.h namespace net { net 21 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h namespace net { net 22 net/quic/congestion_control/inter_arrival_overuse_detector.h namespace net { net 16 net/quic/congestion_control/inter_arrival_probe.h namespace net { net 15 net/quic/congestion_control/inter_arrival_receiver.h namespace net { net 23 net/quic/congestion_control/inter_arrival_sender.h namespace net { net 20 net/quic/congestion_control/inter_arrival_state_machine.h namespace net { net 19 net/quic/congestion_control/leaky_bucket.h namespace net { net 14 net/quic/congestion_control/loss_detection_interface.h namespace net { net 16 net/quic/congestion_control/paced_sender.h namespace net { net 24 net/quic/congestion_control/pacing_sender.h namespace net { net 18 net/quic/congestion_control/quic_max_sized_map.h namespace net { net 16 net/quic/congestion_control/receive_algorithm_interface.h namespace net { net 16 net/quic/congestion_control/rtt_stats.h namespace net { net 22 net/quic/congestion_control/send_algorithm_interface.h namespace net { net 22 net/quic/congestion_control/tcp_cubic_sender.h namespace net { net 17 net/quic/congestion_control/tcp_loss_algorithm.h namespace net { net 17 net/quic/congestion_control/tcp_receiver.h namespace net { net 17 net/quic/congestion_control/time_loss_algorithm.h namespace net { net 23 net/quic/crypto/aead_base_decrypter.h namespace net { net 23 net/quic/crypto/aead_base_encrypter.h namespace net { net 10 net/quic/crypto/aes_128_gcm_12_decrypter.h namespace net { net 10 net/quic/crypto/aes_128_gcm_12_encrypter.h namespace net { net 17 net/quic/crypto/cert_compressor.h namespace net { net 10 net/quic/crypto/chacha20_poly1305_decrypter.h namespace net { net 10 net/quic/crypto/chacha20_poly1305_encrypter.h namespace net { net 13 net/quic/crypto/channel_id.h namespace net { net 14 net/quic/crypto/common_cert_set.h namespace net { net 18 net/quic/crypto/crypto_framer.h namespace net { net 32 net/quic/crypto/crypto_framer_test.cc class TestCryptoVisitor : public ::net::CryptoFramerVisitorInterface { net 15 net/quic/crypto/crypto_handshake.h namespace net { net 16 net/quic/crypto/crypto_handshake_message.h namespace net { net 24 net/quic/crypto/crypto_protocol.h namespace net { net 13 net/quic/crypto/crypto_secret_boxer.h namespace net { net 17 net/quic/crypto/crypto_server_config_protobuf.h namespace net { net 19 net/quic/crypto/crypto_utils.h namespace net { net 15 net/quic/crypto/curve25519_key_exchange.h namespace net { net 14 net/quic/crypto/ephemeral_key_source.h namespace net { net 14 net/quic/crypto/key_exchange.h namespace net { net 16 net/quic/crypto/local_strike_register_client.h namespace net { net 60 net/quic/crypto/local_strike_register_client_test.cc net::StrikeRegister::NO_STARTUP_PERIOD_NEEDED)); net 12 net/quic/crypto/null_decrypter.h namespace net { net 12 net/quic/crypto/null_encrypter.h namespace net { net 25 net/quic/crypto/p256_key_exchange.h namespace net { net 13 net/quic/crypto/proof_source.h namespace net { net 16 net/quic/crypto/proof_source_chromium.h namespace net { net 14 net/quic/crypto/proof_verifier.h namespace net { net 21 net/quic/crypto/proof_verifier_chromium.h namespace net { net 19 net/quic/crypto/quic_crypto_client_config.h namespace net { net 23 net/quic/crypto/quic_crypto_server_config.h namespace net { net 11 net/quic/crypto/quic_decrypter.h namespace net { net 11 net/quic/crypto/quic_encrypter.h namespace net { net 13 net/quic/crypto/quic_random.h namespace net { net 18 net/quic/crypto/quic_server_info.h namespace net { net 10 net/quic/crypto/scoped_evp_aead_ctx.h namespace net { net 13 net/quic/crypto/source_address_token.h namespace net { net 16 net/quic/crypto/strike_register.h namespace net { net 15 net/quic/crypto/strike_register_client.h namespace net { net 15 net/quic/crypto/strike_register_test.cc using net::StrikeRegister; net 17 net/quic/iovector.h namespace net { net 13 net/quic/port_suggester.h namespace net { net 11 net/quic/quic_ack_notifier.h namespace net { net 16 net/quic/quic_ack_notifier_manager.h struct hash<net::QuicAckNotifier*> { net 17 net/quic/quic_ack_notifier_manager.h std::size_t operator()(const net::QuicAckNotifier* ptr) const { net 24 net/quic/quic_ack_notifier_manager.h namespace net { net 10 net/quic/quic_address_mismatch.h namespace net { net 12 net/quic/quic_alarm.h namespace net { net 13 net/quic/quic_bandwidth.h namespace net { net 14 net/quic/quic_blocked_writer_interface.h namespace net { net 26 net/quic/quic_client_session.h namespace net { net 11 net/quic/quic_client_session_base.h namespace net { net 12 net/quic/quic_clock.h namespace net { net 14 net/quic/quic_config.h namespace net { net 44 net/quic/quic_connection.h namespace net { net 26 net/quic/quic_connection_helper.h namespace net { net 15 net/quic/quic_connection_logger.h namespace net { net 13 net/quic/quic_connection_stats.h namespace net { net 16 net/quic/quic_crypto_client_stream.h namespace net { net 12 net/quic/quic_crypto_client_stream_factory.h namespace net { net 15 net/quic/quic_crypto_server_stream.h namespace net { net 15 net/quic/quic_crypto_stream.h namespace net { net 13 net/quic/quic_data_reader.h namespace net { net 26 net/quic/quic_data_stream.h namespace net { net 18 net/quic/quic_data_writer.h namespace net { net 28 net/quic/quic_default_packet_writer.cc const net::IPAddressNumber& self_address, net 29 net/quic/quic_default_packet_writer.cc const net::IPEndPoint& peer_address) { net 16 net/quic/quic_default_packet_writer.h namespace net { net 31 net/quic/quic_default_packet_writer.h const net::IPAddressNumber& self_address, net 32 net/quic/quic_default_packet_writer.h const net::IPEndPoint& peer_address) OVERRIDE; net 32 net/quic/quic_end_to_end_unittest.cc using net::tools::QuicInMemoryCache; net 33 net/quic/quic_end_to_end_unittest.cc using net::tools::test::QuicInMemoryCachePeer; net 34 net/quic/quic_end_to_end_unittest.cc using net::tools::test::ServerThread; net 132 net/quic/quic_end_to_end_unittest.cc net::IPAddressNumber ip; net 133 net/quic/quic_end_to_end_unittest.cc CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip)); net 17 net/quic/quic_fec_group.h namespace net { net 17 net/quic/quic_framer.h namespace net { net 198 net/quic/quic_framer_test.cc class TestQuicVisitor : public ::net::QuicFramerVisitorInterface { net 15 net/quic/quic_headers_stream.h namespace net { net 16 net/quic/quic_http_stream.h namespace net { net 14 net/quic/quic_http_utils.h namespace net { net 58 net/quic/quic_network_transaction_unittest.cc const net::QuicStreamId kStreamId5 = 5; net 346 net/quic/quic_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 351 net/quic/quic_network_transaction_unittest.cc int pos = net::ExpectLogContainsSomewhere( net 353 net/quic/quic_network_transaction_unittest.cc net::NetLog::TYPE_QUIC_SESSION_PACKET_RECEIVED, net 354 net/quic/quic_network_transaction_unittest.cc net::NetLog::PHASE_NONE); net 358 net/quic/quic_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere( net 360 net/quic/quic_network_transaction_unittest.cc net::NetLog::TYPE_QUIC_SESSION_PACKET_HEADER_RECEIVED, net 361 net/quic/quic_network_transaction_unittest.cc net::NetLog::PHASE_NONE); net 370 net/quic/quic_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere( net 372 net/quic/quic_network_transaction_unittest.cc net::NetLog::TYPE_QUIC_SESSION_STREAM_FRAME_RECEIVED, net 373 net/quic/quic_network_transaction_unittest.cc net::NetLog::PHASE_NONE); net 21 net/quic/quic_packet_creator.h namespace net { net 58 net/quic/quic_packet_generator.h namespace net { net 11 net/quic/quic_packet_writer.h namespace net { net 28 net/quic/quic_protocol.h namespace net { net 84 net/quic/quic_received_packet_manager.cc return ::net::IsAwaitingPacket(received_info_, sequence_number); net 15 net/quic/quic_received_packet_manager.h namespace net { net 17 net/quic/quic_reliable_client_stream.h namespace net { net 15 net/quic/quic_sent_entropy_manager.h namespace net { net 26 net/quic/quic_sent_packet_manager.h namespace net { net 14 net/quic/quic_server_id.h namespace net { net 25 net/quic/quic_session.h namespace net { net 14 net/quic/quic_socket_address_coder.h namespace net { net 27 net/quic/quic_stream_factory.h namespace net { net 17 net/quic/quic_stream_sequencer.h namespace net { net 18 net/quic/quic_time.h namespace net { net 11 net/quic/quic_unacked_packet_map.h namespace net { net 14 net/quic/quic_utils.h namespace net { net 13 net/quic/quic_utils_chromium.h namespace net { net 10 net/quic/quic_write_blocked_list.cc static_cast<QuicPriority>(net::kHighestPriority); net 12 net/quic/quic_write_blocked_list.cc static_cast<QuicPriority>(net::kLowestPriority); net 12 net/quic/quic_write_blocked_list.h namespace net { net 23 net/quic/reliable_quic_stream.h namespace net { net 13 net/quic/spdy_utils.h namespace net { net 20 net/quic/test_tools/crypto_test_utils.h namespace net { net 14 net/quic/test_tools/delayed_verify_strike_register_client.h namespace net { net 14 net/quic/test_tools/mock_clock.h namespace net { net 15 net/quic/test_tools/mock_crypto_client_stream.h namespace net { net 14 net/quic/test_tools/mock_crypto_client_stream_factory.h namespace net { net 11 net/quic/test_tools/mock_random.h namespace net { net 10 net/quic/test_tools/quic_client_session_peer.h namespace net { net 13 net/quic/test_tools/quic_connection_peer.h namespace net { net 10 net/quic/test_tools/quic_data_stream_peer.h namespace net { net 10 net/quic/test_tools/quic_framer_peer.h namespace net { net 10 net/quic/test_tools/quic_packet_creator_peer.h namespace net { net 10 net/quic/test_tools/quic_received_packet_manager_peer.h namespace net { net 11 net/quic/test_tools/quic_sent_packet_manager_peer.h namespace net { net 11 net/quic/test_tools/quic_session_peer.h namespace net { net 17 net/quic/test_tools/quic_test_packet_maker.h namespace net { net 27 net/quic/test_tools/quic_test_utils.h namespace net { net 11 net/quic/test_tools/reliable_quic_stream_peer.h namespace net { net 15 net/quic/test_tools/simple_quic_framer.h namespace net { net 16 net/quic/test_tools/test_task_runner.h namespace net { net 14 net/server/http_connection.h namespace net { net 16 net/server/http_server.h namespace net { net 13 net/server/http_server_request_info.h namespace net { net 14 net/server/http_server_response_info.h namespace net { net 44 net/server/web_socket.cc class WebSocketHixie76 : public net::WebSocket { net 46 net/server/web_socket.cc static net::WebSocket* Create(HttpConnection* connection, net 12 net/server/web_socket.h namespace net { net 18 net/socket/buffered_write_stream_socket.h namespace net { net 17 net/socket/client_socket_factory.h namespace net { net 25 net/socket/client_socket_handle.h namespace net { net 26 net/socket/client_socket_pool.h namespace net { net 53 net/socket/client_socket_pool_base.h namespace net { net 117 net/socket/client_socket_pool_base_unittest.cc explicit MockClientSocket(net::NetLog* net_log) net 120 net/socket/client_socket_pool_base_unittest.cc net_log_(BoundNetLog::Make(net_log, net::NetLog::SOURCE_SOCKET)), net 312 net/socket/client_socket_pool_base_unittest.cc ignored, NULL, net::NetLog::Source()); net 510 net/socket/client_socket_pool_base_unittest.cc net::RequestPriority priority, net 18 net/socket/client_socket_pool_histograms.h namespace net { net 135 net/socket/client_socket_pool_manager.cc if (ssl_config_for_origin.version_max != net::kDefaultSSLVersionMax) { net 23 net/socket/client_socket_pool_manager.h namespace net { net 21 net/socket/client_socket_pool_manager_impl.h namespace net { net 12 net/socket/mock_client_socket_pool_manager.h namespace net { net 8 net/socket/next_proto.h namespace net { net 16 net/socket/nss_ssl_util.h namespace net { net 12 net/socket/server_socket.h namespace net { net 24 net/socket/server_socket.h virtual int Listen(const net::IPEndPoint& address, int backlog) = 0; net 11 net/socket/socket.h namespace net { net 15 net/socket/socket_descriptor.h namespace net { net 11 net/socket/socket_net_log_params.h namespace net { net 669 net/socket/socket_test_util.cc net::NetLog* net_log, net 670 net/socket/socket_test_util.cc const net::NetLog::Source& source) { net 682 net/socket/socket_test_util.cc net::NetLog* net_log, net 683 net/socket/socket_test_util.cc const net::NetLog::Source& source) { net 803 net/socket/socket_test_util.cc void MockClientSocket::RunCallback(const net::CompletionCallback& callback, net 810 net/socket/socket_test_util.cc net::NetLog* net_log, net 812 net/socket/socket_test_util.cc : MockClientSocket(BoundNetLog::Make(net_log, net::NetLog::SOURCE_NONE)), net 1006 net/socket/socket_test_util.cc net::NetLog* net_log, net 1017 net/socket/socket_test_util.cc net_log_(BoundNetLog::Make(net_log, net::NetLog::SOURCE_NONE)) { net 1112 net/socket/socket_test_util.cc net::NetLog* net_log, net 1204 net/socket/socket_test_util.cc net::NetLog* net_log, net 1206 net/socket/socket_test_util.cc : MockClientSocket(BoundNetLog::Make(net_log, net::NetLog::SOURCE_NONE)), net 1446 net/socket/socket_test_util.cc net::NetLog* net_log) net 1455 net/socket/socket_test_util.cc net_log_(BoundNetLog::Make(net_log, net::NetLog::SOURCE_NONE)), net 1561 net/socket/socket_test_util.cc net::CompletionCallback callback = pending_callback_; net 1765 net/socket/socket_test_util.cc AddressList(), net_log.net_log(), net::NetLog::Source()); net 1820 net/socket/socket_test_util.cc net::NetLog* net_log, net 1835 net/socket/socket_test_util.cc net::NetLog* net_log, net 1836 net/socket/socket_test_util.cc const net::NetLog::Source& source) { net 38 net/socket/socket_test_util.h namespace net { net 730 net/socket/socket_test_util.h net::NetLog* net_log, net 791 net/socket/socket_test_util.h DeterministicSocketHelper(net::NetLog* net_log, net 836 net/socket/socket_test_util.h DeterministicMockUDPClientSocket(net::NetLog* net_log, net 887 net/socket/socket_test_util.h DeterministicMockTCPClientSocket(net::NetLog* net_log, net 985 net/socket/socket_test_util.h MockUDPClientSocket(SocketDataProvider* data, net::NetLog* net_log); net 1049 net/socket/socket_test_util.h const net::CompletionCallback& callback() const { return callback_; } net 22 net/socket/socks5_client_socket.h namespace net { net 22 net/socket/socks_client_socket.h namespace net { net 21 net/socket/socks_client_socket_pool.h namespace net { net 17 net/socket/ssl_client_socket.h namespace net { net 1817 net/socket/ssl_client_socket_nss.cc int net_error = net::OK; net 37 net/socket/ssl_client_socket_nss.h namespace net { net 572 net/socket/ssl_client_socket_openssl.cc int rv = DoHandshakeLoop(net::OK); net 947 net/socket/ssl_client_socket_openssl.cc int net_error = net::OK; net 33 net/socket/ssl_client_socket_openssl.h namespace net { net 128 net/socket/ssl_client_socket_openssl_unittest.cc : socket_factory_(net::ClientSocketFactory::GetDefaultFactory()), net 129 net/socket/ssl_client_socket_openssl_unittest.cc cert_verifier_(new net::MockCertVerifier), net 130 net/socket/ssl_client_socket_openssl_unittest.cc transport_security_state_(new net::TransportSecurityState) { net 131 net/socket/ssl_client_socket_openssl_unittest.cc cert_verifier_->set_default_result(net::OK); net 134 net/socket/ssl_client_socket_openssl_unittest.cc key_store_ = net::OpenSSLClientKeyStore::GetInstance(); net 22 net/socket/ssl_client_socket_pool.h namespace net { net 10 net/socket/ssl_error_params.h namespace net { net 19 net/socket/ssl_server_socket.h namespace net { net 21 net/socket/ssl_server_socket_nss.h namespace net { net 71 net/socket/ssl_server_socket_unittest.cc return net::ERR_IO_PENDING; net 79 net/socket/ssl_server_socket_unittest.cc return net::ERR_CONNECTION_RESET; net 85 net/socket/ssl_server_socket_unittest.cc return net::ERR_IO_PENDING; net 87 net/socket/ssl_server_socket_unittest.cc data_.push(new net::DrainableIOBuffer(buf, buf_len)); net 121 net/socket/ssl_server_socket_unittest.cc callback.Run(net::ERR_CONNECTION_RESET); net 124 net/socket/ssl_server_socket_unittest.cc int PropogateData(scoped_refptr<net::IOBuffer> read_buf, int read_buf_len) { net 125 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::DrainableIOBuffer> buf = data_.front(); net 136 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::IOBuffer> read_buf_; net 141 net/socket/ssl_server_socket_unittest.cc std::queue<scoped_refptr<net::DrainableIOBuffer> > data_; net 182 net/socket/ssl_server_socket_unittest.cc return net::OK; net 186 net/socket/ssl_server_socket_unittest.cc return net::OK; net 190 net/socket/ssl_server_socket_unittest.cc return net::OK; net 207 net/socket/ssl_server_socket_unittest.cc net::IPAddressNumber ip_address(net::kIPv4AddressSize); net 208 net/socket/ssl_server_socket_unittest.cc *address = net::IPEndPoint(ip_address, 0 /*port*/); net 209 net/socket/ssl_server_socket_unittest.cc return net::OK; net 213 net/socket/ssl_server_socket_unittest.cc net::IPAddressNumber ip_address(4); net 214 net/socket/ssl_server_socket_unittest.cc *address = net::IPEndPoint(ip_address, 0); net 215 net/socket/ssl_server_socket_unittest.cc return net::OK; net 247 net/socket/ssl_server_socket_unittest.cc net::BoundNetLog net_log_; net 267 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::IOBuffer> write_buf = new net::StringIOBuffer(kTestData); net 268 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(kReadBufSize); net 283 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 299 net/socket/ssl_server_socket_unittest.cc : socket_factory_(net::ClientSocketFactory::GetDefaultFactory()), net 302 net/socket/ssl_server_socket_unittest.cc cert_verifier_->set_default_result(net::CERT_STATUS_AUTHORITY_INVALID); net 319 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::X509Certificate> cert = net 333 net/socket/ssl_server_socket_unittest.cc net::SSLConfig ssl_config; net 338 net/socket/ssl_server_socket_unittest.cc net::SSLConfig::CertAndStatus cert_and_status; net 343 net/socket/ssl_server_socket_unittest.cc net::HostPortPair host_and_pair("unittest", 0); net 344 net/socket/ssl_server_socket_unittest.cc net::SSLClientSocketContext context; net 350 net/socket/ssl_server_socket_unittest.cc server_socket_ = net::CreateSSLServerSocket( net 352 net/socket/ssl_server_socket_unittest.cc cert.get(), private_key.get(), net::SSLConfig()); net 357 net/socket/ssl_server_socket_unittest.cc scoped_ptr<net::SSLClientSocket> client_socket_; net 358 net/socket/ssl_server_socket_unittest.cc scoped_ptr<net::SSLServerSocket> server_socket_; net 359 net/socket/ssl_server_socket_unittest.cc net::ClientSocketFactory* socket_factory_; net 360 net/socket/ssl_server_socket_unittest.cc scoped_ptr<net::MockCertVerifier> cert_verifier_; net 361 net/socket/ssl_server_socket_unittest.cc scoped_ptr<net::TransportSecurityState> transport_security_state_; net 384 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(server_ret == net::OK || server_ret == net::ERR_IO_PENDING); net 387 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(client_ret == net::OK || client_ret == net::ERR_IO_PENDING); net 389 net/socket/ssl_server_socket_unittest.cc if (client_ret == net::ERR_IO_PENDING) { net 390 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(net::OK, connect_callback.WaitForResult()); net 392 net/socket/ssl_server_socket_unittest.cc if (server_ret == net::ERR_IO_PENDING) { net 393 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(net::OK, handshake_callback.WaitForResult()); net 410 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(client_ret == net::OK || client_ret == net::ERR_IO_PENDING); net 413 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(server_ret == net::OK || server_ret == net::ERR_IO_PENDING); net 416 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, client_ret); net 418 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, server_ret); net 421 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::StringIOBuffer> write_buf = net 422 net/socket/ssl_server_socket_unittest.cc new net::StringIOBuffer("testing123"); net 423 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::DrainableIOBuffer> read_buf = net 424 net/socket/ssl_server_socket_unittest.cc new net::DrainableIOBuffer(new net::IOBuffer(kReadBufSize), net 432 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(server_ret > 0 || server_ret == net::ERR_IO_PENDING); net 435 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(client_ret > 0 || client_ret == net::ERR_IO_PENDING); net 446 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(client_ret > 0 || client_ret == net::ERR_IO_PENDING); net 456 net/socket/ssl_server_socket_unittest.cc write_buf = new net::StringIOBuffer("hello123"); net 459 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(server_ret > 0 || server_ret == net::ERR_IO_PENDING); net 462 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(client_ret > 0 || client_ret == net::ERR_IO_PENDING); net 473 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(server_ret > 0 || server_ret == net::ERR_IO_PENDING); net 495 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(client_ret == net::OK || client_ret == net::ERR_IO_PENDING); net 498 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(server_ret == net::OK || server_ret == net::ERR_IO_PENDING); net 501 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, client_ret); net 503 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, server_ret); net 505 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::StringIOBuffer> write_buf = net 506 net/socket/ssl_server_socket_unittest.cc new net::StringIOBuffer("testing123"); net 516 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(server_ret > 0 || server_ret == net::ERR_IO_PENDING); net 526 net/socket/ssl_server_socket_unittest.cc EXPECT_TRUE(client_ret > 0 || client_ret == net::ERR_IO_PENDING); net 547 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(client_ret == net::OK || client_ret == net::ERR_IO_PENDING); net 550 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(server_ret == net::OK || server_ret == net::ERR_IO_PENDING); net 552 net/socket/ssl_server_socket_unittest.cc if (client_ret == net::ERR_IO_PENDING) { net 553 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, connect_callback.WaitForResult()); net 555 net/socket/ssl_server_socket_unittest.cc if (server_ret == net::ERR_IO_PENDING) { net 556 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, handshake_callback.WaitForResult()); net 566 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, rv); net 572 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(net::OK, rv); net 580 net/socket/ssl_server_socket_unittest.cc ASSERT_EQ(rv, net::OK); net 103 net/socket/ssl_session_cache_openssl.cc struct hash<net::SessionId> { net 104 net/socket/ssl_session_cache_openssl.cc std::size_t operator()(const net::SessionId& entry) const { net 17 net/socket/ssl_session_cache_openssl.h namespace net { net 12 net/socket/ssl_socket.h namespace net { net 37 net/socket/stream_listen_socket.h namespace net { net 12 net/socket/stream_socket.h namespace net { net 17 net/socket/tcp_client_socket.cc net::NetLog* net_log, net 18 net/socket/tcp_client_socket.cc const net::NetLog::Source& source) net 18 net/socket/tcp_client_socket.h namespace net { net 27 net/socket/tcp_client_socket.h net::NetLog* net_log, net 28 net/socket/tcp_client_socket.h const net::NetLog::Source& source); net 15 net/socket/tcp_listen_socket.h namespace net { net 31 net/socket/tcp_listen_socket_unittest.h namespace net { net 17 net/socket/tcp_server_socket.h namespace net { net 218 net/socket/tcp_server_socket_unittest.cc scoped_refptr<net::IOBufferWithSize> write_buffer( net 219 net/socket/tcp_server_socket_unittest.cc new net::IOBufferWithSize(message.size() - bytes_written)); net 233 net/socket/tcp_server_socket_unittest.cc scoped_refptr<net::IOBufferWithSize> read_buffer( net 234 net/socket/tcp_server_socket_unittest.cc new net::IOBufferWithSize(message.size() - bytes_read)); net 17 net/socket/tcp_socket.h namespace net { net 21 net/socket/tcp_socket_libevent.h namespace net { net 263 net/socket/tcp_socket_win.cc TCPSocketWin::TCPSocketWin(net::NetLog* net_log, net 264 net/socket/tcp_socket_win.cc const net::NetLog::Source& source) net 21 net/socket/tcp_socket_win.h namespace net { net 22 net/socket/transport_client_socket_pool.h namespace net { net 38 net/socket/transport_client_socket_pool_unittest.cc const net::RequestPriority kDefaultPriority = LOW; net 89 net/socket/transport_client_socket_pool_unittest.cc MockClientSocket(const AddressList& addrlist, net::NetLog* net_log) net 161 net/socket/transport_client_socket_pool_unittest.cc MockFailingClientSocket(const AddressList& addrlist, net::NetLog* net_log) net 234 net/socket/transport_client_socket_pool_unittest.cc net::NetLog* net_log) net 188 net/socket/transport_client_socket_unittest.cc net::CapturingNetLog::CapturedEntryList net_log_entries; net 190 net/socket/transport_client_socket_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 191 net/socket/transport_client_socket_unittest.cc net_log_entries, 0, net::NetLog::TYPE_SOCKET_ALIVE)); net 192 net/socket/transport_client_socket_unittest.cc EXPECT_TRUE(net::LogContainsBeginEvent( net 193 net/socket/transport_client_socket_unittest.cc net_log_entries, 1, net::NetLog::TYPE_TCP_CONNECT)); net 202 net/socket/transport_client_socket_unittest.cc EXPECT_TRUE(net::LogContainsEndEvent( net 203 net/socket/transport_client_socket_unittest.cc net_log_entries, -1, net::NetLog::TYPE_TCP_CONNECT)); net 23 net/socket/unix_domain_socket_posix.h namespace net { net 27 net/socket_stream/socket_stream.h namespace net { net 76 net/socket_stream/socket_stream_job.cc void SocketStreamJob::CancelWithSSLError(const net::SSLInfo& ssl_info) { net 16 net/socket_stream/socket_stream_job.h namespace net { net 74 net/socket_stream/socket_stream_job.h virtual void CancelWithSSLError(const net::SSLInfo& ssl_info); net 17 net/socket_stream/socket_stream_job_manager.h namespace net { net 17 net/socket_stream/socket_stream_metrics.h namespace net { net 19 net/spdy/buffered_spdy_framer.h namespace net { net 16 net/spdy/hpack_constants.h namespace net { net 23 net/spdy/hpack_decoder.h namespace net { net 20 net/spdy/hpack_encoder.h namespace net { net 21 net/spdy/hpack_encoding_context.h namespace net { net 18 net/spdy/hpack_entry.h namespace net { net 17 net/spdy/hpack_header_table.h namespace net { net 17 net/spdy/hpack_huffman_table.h namespace net { net 20 net/spdy/hpack_input_stream.h namespace net { net 21 net/spdy/hpack_output_stream.h namespace net { net 11 net/spdy/hpack_string_util.h namespace net { net 11 net/spdy/mock_spdy_framer_visitor.h namespace net { net 8 net/spdy/spdy_bitmasks.h namespace net { net 17 net/spdy/spdy_buffer.h namespace net { net 13 net/spdy/spdy_buffer_producer.h namespace net { net 17 net/spdy/spdy_frame_builder.h namespace net { net 12 net/spdy/spdy_frame_reader.h namespace net { net 1858 net/spdy/spdy_framer.cc if (current_frame_flags_ & net::DATA_FLAG_PAD_LOW) { net 1862 net/spdy/spdy_framer.cc if (current_frame_flags_ & net::DATA_FLAG_PAD_HIGH) { net 28 net/spdy/spdy_framer.h namespace net { net 528 net/spdy/spdy_framer.h friend class net::HttpNetworkLayer; // This is temporary for the server. net 529 net/spdy/spdy_framer.h friend class net::HttpNetworkTransactionTest; net 530 net/spdy/spdy_framer.h friend class net::HttpProxyClientSocketPoolTest; net 531 net/spdy/spdy_framer.h friend class net::SpdyHttpStreamTest; net 532 net/spdy/spdy_framer.h friend class net::SpdyNetworkTransactionTest; net 533 net/spdy/spdy_framer.h friend class net::SpdyProxyClientSocketTest; net 534 net/spdy/spdy_framer.h friend class net::SpdySessionTest; net 535 net/spdy/spdy_framer.h friend class net::SpdyStreamTest; net 536 net/spdy/spdy_framer.h friend class net::SpdyWebSocketStreamTest; net 537 net/spdy/spdy_framer.h friend class net::WebSocketJobTest; net 507 net/spdy/spdy_framer_test.cc using net::test::SetFrameLength; net 508 net/spdy/spdy_framer_test.cc using net::test::SetFrameFlags; net 509 net/spdy/spdy_framer_test.cc using net::test::CompareCharArraysWithHexError; net 510 net/spdy/spdy_framer_test.cc using net::test::SpdyFramerTestUtil; net 511 net/spdy/spdy_framer_test.cc using net::test::TestSpdyVisitor; net 512 net/spdy/spdy_framer_test.cc using net::test::GetSerializedHeaders; net 1379 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, bytes); net 1423 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece(bytes, arraysize(bytes))); net 1457 net/spdy/spdy_framer_test.cc net::SpdyWindowUpdateIR(1, 0x12345678))); net 1564 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece("\xff", 1)); net 1589 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece("hello", 5)); net 1611 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece()); net 1636 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(0x7fffffff, "hello"); net 1665 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece(kData.data(), kData.size())); net 2139 net/spdy/spdy_framer_test.cc net::SpdyRstStreamIR rst_stream(1, RST_STREAM_PROTOCOL_ERROR, "RST"); net 2161 net/spdy/spdy_framer_test.cc net::SpdyRstStreamIR rst_stream(0x7FFFFFFF, net 2185 net/spdy/spdy_framer_test.cc net::SpdyRstStreamIR rst_stream(0x7FFFFFFF, net 2683 net/spdy/spdy_framer_test.cc framer.SerializeWindowUpdate(net::SpdyWindowUpdateIR(1, 1))); net 2705 net/spdy/spdy_framer_test.cc net::SpdyWindowUpdateIR(0x7FFFFFFF, 1))); net 2727 net/spdy/spdy_framer_test.cc net::SpdyWindowUpdateIR(1, 0x7FFFFFFF))); net 3383 net/spdy/spdy_framer_test.cc framer.SerializeWindowUpdate(net::SpdyWindowUpdateIR(1, 2))); net 3447 net/spdy/spdy_framer_test.cc framer.SerializeWindowUpdate(net::SpdyWindowUpdateIR(1, 2))); net 4011 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece("hello", 5)); net 4054 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece("hello", 5)); net 4213 net/spdy/spdy_framer_test.cc net::SpdyRstStreamIR rst_stream(13, RST_STREAM_CANCEL, ""); net 4458 net/spdy/spdy_framer_test.cc net::SpdyWindowUpdateIR(4, 1024))); net 4489 net/spdy/spdy_framer_test.cc testing::StrictMock<net::test::MockSpdyFramerVisitor> visitor; net 4490 net/spdy/spdy_framer_test.cc testing::StrictMock<net::test::MockDebugVisitor> debug_visitor; net 4536 net/spdy/spdy_framer_test.cc testing::StrictMock<net::test::MockDebugVisitor> debug_visitor; net 14 net/spdy/spdy_header_block.h namespace net { net 15 net/spdy/spdy_headers_block_parser.h namespace net { net 380 net/spdy/spdy_http_stream.cc if (status == net::OK) { net 20 net/spdy/spdy_http_stream.h namespace net { net 15 net/spdy/spdy_http_utils.h namespace net { net 230 net/spdy/spdy_network_transaction_unittest.cc session_->spdy_session_pool()->CloseCurrentSessions(net::ERR_ABORTED); net 562 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(kSize)); net 2432 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 2480 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSize)); net 2542 net/spdy/spdy_network_transaction_unittest.cc net::URLRequest r(GURL("http://www.google.com/"), net 2561 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, r.status().status()); net 2637 net/spdy/spdy_network_transaction_unittest.cc net::URLRequest r(GURL("http://www.google.com/"), net 2651 net/spdy/spdy_network_transaction_unittest.cc net::URLRequest r2(GURL("http://www.google.com/foo.dat"), net 2667 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(net::URLRequestStatus::SUCCESS, r2.status().status()); net 3807 net/spdy/spdy_network_transaction_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 3812 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere(entries, 0, net 3813 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_HTTP_TRANSACTION_SEND_REQUEST, net 3814 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_BEGIN); net 3815 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere(entries, pos + 1, net 3816 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_HTTP_TRANSACTION_SEND_REQUEST, net 3817 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_END); net 3818 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere(entries, pos + 1, net 3819 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_HTTP_TRANSACTION_READ_HEADERS, net 3820 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_BEGIN); net 3821 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere(entries, pos + 1, net 3822 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_HTTP_TRANSACTION_READ_HEADERS, net 3823 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_END); net 3824 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere(entries, pos + 1, net 3825 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_HTTP_TRANSACTION_READ_BODY, net 3826 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_BEGIN); net 3827 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere(entries, pos + 1, net 3828 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_HTTP_TRANSACTION_READ_BODY, net 3829 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_END); net 3832 net/spdy/spdy_network_transaction_unittest.cc pos = net::ExpectLogContainsSomewhere( net 3834 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::TYPE_SPDY_SESSION_SYN_STREAM, net 3835 net/spdy/spdy_network_transaction_unittest.cc net::NetLog::PHASE_NONE); net 3926 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSmallReadSize)); net 3928 net/spdy/spdy_network_transaction_unittest.cc if (rv == net::ERR_IO_PENDING) { net 4019 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSmallReadSize)); net 4021 net/spdy/spdy_network_transaction_unittest.cc if (rv == net::ERR_IO_PENDING) { net 4117 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSmallReadSize)); net 4207 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kSmallReadSize)); net 4209 net/spdy/spdy_network_transaction_unittest.cc if (rv == net::ERR_IO_PENDING) { net 4283 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kReadSize)); net 4285 net/spdy/spdy_network_transaction_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, rv) << "Unexpected read: " << rv; net 4862 net/spdy/spdy_network_transaction_unittest.cc scoped_ptr<net::ProxyService> proxy_service( net 4973 net/spdy/spdy_network_transaction_unittest.cc net::HttpStreamFactory::set_spdy_enabled(true); net 4996 net/spdy/spdy_network_transaction_unittest.cc net::HttpStreamFactory::set_spdy_enabled(false); net 5012 net/spdy/spdy_network_transaction_unittest.cc net::HttpStreamFactory::set_spdy_enabled(true); net 5017 net/spdy/spdy_network_transaction_unittest.cc net::HttpStreamFactory::set_spdy_enabled(true); net 6107 net/spdy/spdy_network_transaction_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kTargetSize)); net 14 net/spdy/spdy_pinnable_buffer_piece.h namespace net { net 11 net/spdy/spdy_prefixed_buffer_reader.h namespace net { net 18 net/spdy/spdy_priority_forest.h namespace net { net 27 net/spdy/spdy_protocol.h namespace net { net 32 net/spdy/spdy_proxy_client_socket.h namespace net { net 111 net/spdy/spdy_proxy_client_socket_unittest.cc void CloseSpdySession(net::Error error, const std::string& description) { net 321 net/spdy/spdy_proxy_client_socket_unittest.cc net::ConvertRequestPriorityToSpdyPriority( net 351 net/spdy/spdy_proxy_client_socket_unittest.cc net::ConvertRequestPriorityToSpdyPriority( net 622 net/spdy/spdy_proxy_client_socket_unittest.cc net::IPEndPoint addr; net 15 net/spdy/spdy_read_queue.h namespace net { net 60 net/spdy/spdy_session.cc net::NetLog::LogLevel log_level) { net 40 net/spdy/spdy_session.h namespace net { net 11 net/spdy/spdy_session_key.h namespace net { net 146 net/spdy/spdy_session_pool.cc net::HostResolver::RequestInfo resolve_info(key.host_port_pair()); net 236 net/spdy/spdy_session_pool.cc void SpdySessionPool::CloseCurrentSessions(net::Error error) { net 29 net/spdy/spdy_session_pool.h namespace net { net 110 net/spdy/spdy_session_pool.h void CloseCurrentSessions(net::Error error); net 134 net/spdy/spdy_session_pool_unittest.cc spdy_session_pool_->CloseCurrentSessions(net::ERR_ABORTED); net 14 net/spdy/spdy_session_test_util.h namespace net { net 1367 net/spdy/spdy_session_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 1372 net/spdy/spdy_session_unittest.cc int pos = net::ExpectLogContainsSomewhere( net 1374 net/spdy/spdy_session_unittest.cc net::NetLog::TYPE_SPDY_SESSION_INITIALIZED, net 1375 net/spdy/spdy_session_unittest.cc net::NetLog::PHASE_NONE); net 1414 net/spdy/spdy_session_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 1419 net/spdy/spdy_session_unittest.cc int pos = net::ExpectLogContainsSomewhere( net 1421 net/spdy/spdy_session_unittest.cc net::NetLog::TYPE_SPDY_SESSION_CLOSE, net 1422 net/spdy/spdy_session_unittest.cc net::NetLog::PHASE_NONE); net 2321 net/spdy/spdy_session_unittest.cc scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize)); net 2412 net/spdy/spdy_session_unittest.cc scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize)); net 2510 net/spdy/spdy_session_unittest.cc scoped_refptr<net::IOBuffer> eightk_payload( net 2511 net/spdy/spdy_session_unittest.cc new net::IOBuffer(kEightKPayloadSize)); net 2518 net/spdy/spdy_session_unittest.cc scoped_refptr<net::IOBuffer> twok_payload( net 2519 net/spdy/spdy_session_unittest.cc new net::IOBuffer(kTwoKPayloadSize)); net 31 net/spdy/spdy_stream.h namespace net { net 17 net/spdy/spdy_stream_test_util.h namespace net { net 295 net/spdy/spdy_stream_unittest.cc net::CapturingNetLog::CapturedEntryList entries; net 300 net/spdy/spdy_stream_unittest.cc int pos = net::ExpectLogContainsSomewhere( net 302 net/spdy/spdy_stream_unittest.cc net::NetLog::TYPE_SPDY_STREAM_ERROR, net 303 net/spdy/spdy_stream_unittest.cc net::NetLog::PHASE_NONE); net 399 net/spdy/spdy_test_util_common.cc net::HttpNetworkSession::Params params = CreateSessionParams(session_deps); net 410 net/spdy/spdy_test_util_common.cc net::HttpNetworkSession::Params params = CreateSessionParams(session_deps); net 420 net/spdy/spdy_test_util_common.cc net::HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams( net 425 net/spdy/spdy_test_util_common.cc net::HttpNetworkSession::Params params; net 462 net/spdy/spdy_test_util_common.cc net::HttpNetworkSession::Params params; net 36 net/spdy/spdy_test_util_common.h namespace net { net 234 net/spdy/spdy_test_util_common.h net::URLRequestContextStorage storage_; net 12 net/spdy/spdy_test_utils.h namespace net { net 21 net/spdy/spdy_websocket_stream.h namespace net { net 13 net/spdy/spdy_websocket_test_util.h namespace net { net 17 net/spdy/spdy_write_queue.h namespace net { net 14 net/spdy/write_blocked_list.h namespace net { net 13 net/ssl/client_cert_store.h namespace net { net 14 net/ssl/client_cert_store_chromeos.h namespace net { net 52 net/ssl/client_cert_store_chromeos_unittest.cc net::CertificateList cert_list; net 61 net/ssl/client_cert_store_chromeos_unittest.cc scoped_refptr<net::CryptoModule> module( net 62 net/ssl/client_cert_store_chromeos_unittest.cc net::CryptoModule::CreateFromHandle(slot.get())); net 15 net/ssl/client_cert_store_mac.h namespace net { net 21 net/ssl/client_cert_store_nss.h namespace net { net 18 net/ssl/client_cert_store_unittest-inl.h namespace net { net 15 net/ssl/client_cert_store_win.h namespace net { net 21 net/ssl/default_server_bound_cert_store.h namespace net { net 18 net/ssl/openssl_client_key_store.h namespace net { net 25 net/ssl/server_bound_cert_service.h namespace net { net 16 net/ssl/server_bound_cert_store.h namespace net { net 15 net/ssl/signed_certificate_timestamp_and_status.h namespace net { net 16 net/ssl/ssl_cert_request_info.h namespace net { net 13 net/ssl/ssl_cipher_suite_names.h namespace net { net 17 net/ssl/ssl_client_auth_cache.h namespace net { net 8 net/ssl/ssl_client_cert_type.h namespace net { net 13 net/ssl/ssl_config.h namespace net { net 16 net/ssl/ssl_config_service.h namespace net { net 11 net/ssl/ssl_config_service_defaults.h namespace net { net 8 net/ssl/ssl_connection_status_flags.h namespace net { net 20 net/ssl/ssl_info.h namespace net { net 5 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java package org.chromium.net.test.util; net 29 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.net.MalformedURLException; net 30 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.net.ServerSocket; net 31 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.net.Socket; net 32 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.net.URI; net 33 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.net.URL; net 34 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.net.URLConnection; net 46 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.HostnameVerifier; net 47 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.HttpsURLConnection; net 48 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.KeyManager; net 49 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.KeyManagerFactory; net 50 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.SSLContext; net 51 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.SSLSession; net 52 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import javax.net.ssl.X509TrustManager; net 18 net/test/cert_test_util.h namespace net { net 12 net/test/ct_test_util.h namespace net { net 26 net/test/embedded_test_server/embedded_test_server.h namespace net { net 13 net/test/embedded_test_server/http_connection.h namespace net { net 15 net/test/embedded_test_server/http_request.h namespace net { net 16 net/test/embedded_test_server/http_response.h namespace net { net 15 net/test/gtest_util.h namespace net { net 23 net/test/gtest_util.h ::net::test::ScopedMockLog gtest_log; \ net 24 net/test/gtest_util.h ::net::test::ScopedDisableExitOnDFatal gtest_disable_exit; \ net 19 net/test/net_test_suite.cc net::HttpStreamFactory::ResetStaticSettingsToInit(); net 42 net/test/net_test_suite.cc net::ShutdownNSSHttpIO(); net 53 net/test/net_test_suite.cc network_change_notifier_.reset(net::NetworkChangeNotifier::CreateMock()); net 59 net/test/net_test_suite.cc host_resolver_proc_ = new net::RuleBasedHostResolverProc(NULL); net 17 net/test/net_test_suite.h namespace net { net 49 net/test/net_test_suite.h scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 51 net/test/net_test_suite.h scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_proc_; net 52 net/test/net_test_suite.h net::ScopedDefaultHostResolverProc scoped_host_resolver_proc_; net 24 net/test/run_all_unittests.cc using net::internal::ClientSocketPoolBaseHelper; net 25 net/test/run_all_unittests.cc using net::SpdySession; net 34 net/test/run_all_unittests.cc net::android::RegisterJni(base::android::AttachCurrentThread()); net 48 net/test/run_all_unittests.cc net::EnableSSLServerSockets(); net 52 net/test/run_all_unittests.cc net::ProxyResolverV8::RememberDefaultIsolate(); net 12 net/test/scoped_disable_exit_on_dfatal.h namespace net { net 12 net/test/scoped_mock_log.h namespace net { net 186 net/test/spawned_test_server/base_test_server.cc if (rv != net::OK) { net 23 net/test/spawned_test_server/base_test_server.h namespace net { net 23 net/test/spawned_test_server/local_test_server.h namespace net { net 12 net/test/spawned_test_server/remote_test_server.h namespace net { net 16 net/test/spawned_test_server/spawned_test_server.h namespace net { net 193 net/test/spawned_test_server/spawner_communicator.cc net::HttpRequestHeaders headers; net 194 net/test/spawned_test_server/spawner_communicator.cc headers.SetHeader(net::HttpRequestHeaders::kContentType, net 17 net/test/spawned_test_server/spawner_communicator.h namespace net { net 61 net/test/spawned_test_server/spawner_communicator.h class SpawnerCommunicator : public net::URLRequest::Delegate { net 63 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const net::CertificateList& certificates, net 64 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::X509Certificate* root, net 65 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::TrustBits trustBits, net 66 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::ImportCertFailureList* not_imported) { net 75 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 76 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp root, net::ERR_IMPORT_CA_CERT_NOT_CA)); net 82 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 83 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp root, net::ERR_IMPORT_CERT_ALREADY_EXISTS)); net 92 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::x509_util::GetUniqueNicknameForSlot( net 93 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp root->GetDefaultNickname(net::CA_CERT), net 101 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (!SetCertTrust(root, net::CA_CERT, trustBits)) net 113 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const scoped_refptr<net::X509Certificate>& cert = certificates[i]; net 122 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 123 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_CA_CERT_NOT_CA)); net 129 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 130 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_CERT_ALREADY_EXISTS)); net 140 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 141 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_FAILED)); net 152 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::x509_util::GetUniqueNicknameForSlot( net 153 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert->GetDefaultNickname(net::CA_CERT), net 161 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 162 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_CA_CERT_FAILED)); net 173 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const net::CertificateList& certificates, net 174 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::TrustBits trustBits, net 175 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::ImportCertFailureList* not_imported) { net 180 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const scoped_refptr<net::X509Certificate>& cert = certificates[i]; net 188 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::x509_util::GetUniqueNicknameForSlot( net 189 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert->GetDefaultNickname(net::SERVER_CERT), net 195 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp not_imported->push_back(net::NSSCertDatabase::ImportCertFailure( net 196 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_SERVER_CERT_FAILED)); net 201 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp SetCertTrust(certificates[0].get(), net::SERVER_CERT, trustBits); net 211 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp SetCertTrust(const net::X509Certificate* cert, net 212 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::CertType type, net 213 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::TrustBits trustBits) net 215 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const unsigned kSSLTrustBits = net::NSSCertDatabase::TRUSTED_SSL | net 216 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::DISTRUSTED_SSL; net 217 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const unsigned kEmailTrustBits = net::NSSCertDatabase::TRUSTED_EMAIL | net 218 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::DISTRUSTED_EMAIL; net 219 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const unsigned kObjSignTrustBits = net::NSSCertDatabase::TRUSTED_OBJ_SIGN | net 220 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::NSSCertDatabase::DISTRUSTED_OBJ_SIGN; net 232 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (type == net::CA_CERT) { net 238 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (trustBits & net::NSSCertDatabase::DISTRUSTED_SSL) net 240 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp else if (trustBits & net::NSSCertDatabase::TRUSTED_SSL) net 243 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (trustBits & net::NSSCertDatabase::DISTRUSTED_EMAIL) net 245 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp else if (trustBits & net::NSSCertDatabase::TRUSTED_EMAIL) net 248 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (trustBits & net::NSSCertDatabase::DISTRUSTED_OBJ_SIGN) net 250 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp else if (trustBits & net::NSSCertDatabase::TRUSTED_OBJ_SIGN) net 254 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp } else if (type == net::SERVER_CERT) { net 260 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (trustBits & net::NSSCertDatabase::DISTRUSTED_SSL) net 262 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp else if (trustBits & net::NSSCertDatabase::TRUSTED_SSL) net 49 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h namespace net { net 57 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h const net::CertificateList& certificates, net 58 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::X509Certificate* root, net 59 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::NSSCertDatabase::TrustBits trustBits, net 60 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::NSSCertDatabase::ImportCertFailureList* not_imported); net 64 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h const net::CertificateList& certificates, net 65 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::NSSCertDatabase::TrustBits trustBits, net 66 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::NSSCertDatabase::ImportCertFailureList* not_imported); net 68 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h bool SetCertTrust(const net::X509Certificate* cert, net 69 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::CertType type, net 70 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h net::NSSCertDatabase::TrustBits trustBits); net 155 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp net::CertificateList* imported_certs) net 159 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp int import_result = net::ERR_PKCS12_IMPORT_FAILED; net 227 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp net::X509Certificate::OSCertHandles intermediates; net 229 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp net::X509Certificate::CreateFromHandle(cert, intermediates)); net 261 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp import_result = net::OK; net 272 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp import_result = net::ERR_PKCS12_IMPORT_BAD_PASSWORD; net 275 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp import_result = net::ERR_PKCS12_IMPORT_INVALID_MAC; net 280 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp import_result = net::ERR_PKCS12_IMPORT_INVALID_FILE; net 286 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp import_result = net::ERR_PKCS12_IMPORT_UNSUPPORTED; net 289 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp import_result = net::ERR_PKCS12_IMPORT_FAILED; net 360 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp net::CertificateList* imported_certs) { net 374 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if (rv == net::ERR_PKCS12_IMPORT_BAD_PASSWORD && password.empty()) { net 392 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp const net::CertificateList& certs, net 49 net/third_party/mozilla_security_manager/nsPKCS12Blob.h namespace net { net 68 net/third_party/mozilla_security_manager/nsPKCS12Blob.h net::CertificateList* imported_certs); net 74 net/third_party/mozilla_security_manager/nsPKCS12Blob.h const net::CertificateList& certs, net 8 net/tools/balsa/balsa_enums.h namespace net { net 25 net/tools/balsa/balsa_frame.h namespace net { net 30 net/tools/balsa/balsa_headers.cc net::StringPieceCaseHash, net 31 net/tools/balsa/balsa_headers.cc net::StringPieceCaseEqual> g_multivalued_headers; net 21 net/tools/balsa/balsa_headers.h namespace net { net 14 net/tools/balsa/balsa_headers_token_utils.h namespace net { net 10 net/tools/balsa/balsa_visitor_interface.h namespace net { net 8 net/tools/balsa/buffer_interface.h namespace net { net 8 net/tools/balsa/http_message_constants.h namespace net { net 14 net/tools/balsa/noop_balsa_visitor.h namespace net { net 13 net/tools/balsa/simple_buffer.h namespace net { net 11 net/tools/balsa/split.h namespace net { net 13 net/tools/balsa/string_piece_utils.h namespace net { net 131 net/tools/crash_cache/crash_cache.cc net::TestCompletionCallback cb; net 141 net/tools/crash_cache/crash_cache.cc net::TestCompletionCallback* cb) { net 146 net/tools/crash_cache/crash_cache.cc backend->SetType(net::DISK_CACHE); net 150 net/tools/crash_cache/crash_cache.cc return (cb->GetResult(rv) == net::OK && !(*cache)->GetEntryCount()); net 156 net/tools/crash_cache/crash_cache.cc net::TestCompletionCallback cb; net 170 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 181 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 193 net/tools/crash_cache/crash_cache.cc net::TestCompletionCallback cb; net 200 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 208 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 216 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 232 net/tools/crash_cache/crash_cache.cc net::TestCompletionCallback cb; net 239 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 245 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 252 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 276 net/tools/crash_cache/crash_cache.cc net::TestCompletionCallback cb; net 278 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) net 288 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 294 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 305 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 310 net/tools/crash_cache/crash_cache.cc if (cb.GetResult(rv) != net::OK) net 48 net/tools/crl_set_dump/crl_set_dump.cc scoped_refptr<net::CRLSet> crl_set, final_crl_set; net 49 net/tools/crl_set_dump/crl_set_dump.cc if (!net::CRLSet::Parse(crl_set_bytes, &crl_set)) { net 71 net/tools/crl_set_dump/crl_set_dump.cc const net::CRLSet::CRLList& crls = final_crl_set->crls(); net 72 net/tools/crl_set_dump/crl_set_dump.cc for (net::CRLSet::CRLList::const_iterator i = crls.begin(); i != crls.end(); net 58 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc tokens[0] == kBlockFileBackendType ? net::CACHE_BACKEND_BLOCKFILE net 59 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc : net::CACHE_BACKEND_SIMPLE, net 60 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc tokens[1] == kDiskCacheType ? net::DISK_CACHE : net::APP_CACHE, net 64 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const net::BackendType backend_type; net 65 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const net::CacheType cache_type; net 69 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc CacheSpec(net::BackendType backend_type, net 70 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc net::CacheType cache_type, net 81 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc if (net_error == net::OK) { net 94 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const net::CompletionCallback callback = base::Bind( net 101 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc if (net_error == net::OK) net 102 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc callback.Run(net::OK); net 111 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc if (spec.backend_type == net::CACHE_BACKEND_SIMPLE) { net 113 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const net::CompletionCallback index_callback = base::Bind( net 121 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc if (index_net_error == net::OK) net 122 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc index_callback.Run(net::OK); net 139 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc net::DnsQuery query(id, qname, qtype); net 140 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc net::DnsResponse response; net 148 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc net::AddressList address_list; net 150 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc net::DnsResponse::Result result = response.ParseToAddressList( net 152 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc if (result != net::DnsResponse::DNS_PARSE_OK) { net 190 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc if (!net::DNSDomainFromDot(qname, &qname_dns)) { net 23 net/tools/dump_cache/cache_dumper.cc const net::CompletionCallback& callback) { net 28 net/tools/dump_cache/cache_dumper.cc net::IOBuffer* buf, int buf_len, net 29 net/tools/dump_cache/cache_dumper.cc const net::CompletionCallback& callback) { net 79 net/tools/dump_cache/cache_dumper.cc const net::CompletionCallback& callback) { net 85 net/tools/dump_cache/cache_dumper.cc net::UrlToFilenameEncoder::Encode(url, base_path, false); net 109 net/tools/dump_cache/cache_dumper.cc return (entry_ != INVALID_HANDLE_VALUE) ? net::OK : net::ERR_FAILED; net 112 net/tools/dump_cache/cache_dumper.cc return (entry_ != NULL) ? net::OK : net::ERR_FAILED; net 136 net/tools/dump_cache/cache_dumper.cc void GetNormalizedHeaders(const net::HttpResponseInfo& info, net 157 net/tools/dump_cache/cache_dumper.cc net::IOBuffer* buf, int buf_len, net 158 net/tools/dump_cache/cache_dumper.cc const net::CompletionCallback& callback) { net 166 net/tools/dump_cache/cache_dumper.cc net::HttpResponseInfo response_info; net 168 net/tools/dump_cache/cache_dumper.cc if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len, net 32 net/tools/dump_cache/cache_dumper.h const net::CompletionCallback& callback) = 0; net 37 net/tools/dump_cache/cache_dumper.h net::IOBuffer* buf, int buf_len, net 38 net/tools/dump_cache/cache_dumper.h const net::CompletionCallback& callback) = 0; net 51 net/tools/dump_cache/cache_dumper.h const net::CompletionCallback& callback) OVERRIDE; net 53 net/tools/dump_cache/cache_dumper.h net::IOBuffer* buf, int buf_len, net 54 net/tools/dump_cache/cache_dumper.h const net::CompletionCallback& callback) OVERRIDE; net 68 net/tools/dump_cache/cache_dumper.h const net::CompletionCallback& callback) OVERRIDE; net 70 net/tools/dump_cache/cache_dumper.h net::IOBuffer* buf, int buf_len, net 71 net/tools/dump_cache/cache_dumper.h const net::CompletionCallback& callback) OVERRIDE; net 175 net/tools/dump_cache/dump_cache.cc net::SimpleCacheDumper dumper(input_path, output_path); net 20 net/tools/dump_cache/simple_cache_dumper.h namespace net { net 323 net/tools/dump_cache/upgrade_win.cc net::TestCompletionCallback cb; net 324 net/tools/dump_cache/upgrade_win.cc int rv = disk_cache::CreateCacheBackend(net::DISK_CACHE, net 325 net/tools/dump_cache/upgrade_win.cc net::CACHE_BACKEND_DEFAULT, path_, 0, net 329 net/tools/dump_cache/upgrade_win.cc if (cb.GetResult(rv) != net::OK) { net 397 net/tools/dump_cache/upgrade_win.cc if (rv != net::ERR_IO_PENDING) net 403 net/tools/dump_cache/upgrade_win.cc if (result != net::OK) { net 505 net/tools/dump_cache/upgrade_win.cc scoped_refptr<net::WrappedIOBuffer> buf = net 506 net/tools/dump_cache/upgrade_win.cc new net::WrappedIOBuffer(input_->buffer); net 510 net/tools/dump_cache/upgrade_win.cc if (rv == net::ERR_IO_PENDING) { net 598 net/tools/dump_cache/upgrade_win.cc net::TestCompletionCallback cb; net 599 net/tools/dump_cache/upgrade_win.cc int rv = disk_cache::CreateCacheBackend(net::DISK_CACHE, net 600 net/tools/dump_cache/upgrade_win.cc net::CACHE_BACKEND_BLOCKFILE, path, 0, net 604 net/tools/dump_cache/upgrade_win.cc if (cb.GetResult(rv) != net::OK) { net 738 net/tools/dump_cache/upgrade_win.cc DCHECK_EQ(net::ERR_IO_PENDING, rv); net 744 net/tools/dump_cache/upgrade_win.cc if (result != net::OK) { net 835 net/tools/dump_cache/upgrade_win.cc scoped_refptr<net::WrappedIOBuffer> buf = net 836 net/tools/dump_cache/upgrade_win.cc new net::WrappedIOBuffer(output_->buffer); net 840 net/tools/dump_cache/upgrade_win.cc if (ret == net::ERR_IO_PENDING) { net 87 net/tools/dump_cache/url_to_filename_encoder.h namespace net { net 10 net/tools/dump_cache/url_utilities.h namespace net { net 41 net/tools/epoll_server/epoll_server.h namespace net { net 20 net/tools/flip_server/acceptor_thread.h namespace net { net 11 net/tools/flip_server/create_listener.h namespace net { net 16 net/tools/flip_server/flip_config.h namespace net { net 53 net/tools/flip_server/flip_in_mem_edsm_server.cc net::FlipConfig g_proxy_config; net 212 net/tools/flip_server/flip_in_mem_edsm_server.cc net::OutputOrdering::set_server_think_time_in_s(FLAGS_server_think_time_in_s); net 215 net/tools/flip_server/flip_in_mem_edsm_server.cc net::SpdySM::set_forward_ip_header( net 217 net/tools/flip_server/flip_in_mem_edsm_server.cc net::StreamerSM::set_forward_ip_header( net 264 net/tools/flip_server/flip_in_mem_edsm_server.cc net::SMConnection::set_force_spdy(true); net 276 net/tools/flip_server/flip_in_mem_edsm_server.cc << (net::SpdySM::forward_ip_header().length() net 277 net/tools/flip_server/flip_in_mem_edsm_server.cc ? net::SpdySM::forward_ip_header() net 310 net/tools/flip_server/flip_in_mem_edsm_server.cc g_proxy_config.AddAcceptor(net::FLIP_HANDLER_PROXY, net 329 net/tools/flip_server/flip_in_mem_edsm_server.cc net::MemoryCache spdy_memory_cache; net 336 net/tools/flip_server/flip_in_mem_edsm_server.cc g_proxy_config.AddAcceptor(net::FLIP_HANDLER_SPDY_SERVER, net 355 net/tools/flip_server/flip_in_mem_edsm_server.cc net::MemoryCache http_memory_cache; net 362 net/tools/flip_server/flip_in_mem_edsm_server.cc g_proxy_config.AddAcceptor(net::FLIP_HANDLER_HTTP_SERVER, net 380 net/tools/flip_server/flip_in_mem_edsm_server.cc std::vector<net::SMAcceptorThread*> sm_worker_threads_; net 383 net/tools/flip_server/flip_in_mem_edsm_server.cc net::FlipAcceptor* acceptor = g_proxy_config.acceptors_[i]; net 385 net/tools/flip_server/flip_in_mem_edsm_server.cc sm_worker_threads_.push_back(new net::SMAcceptorThread( net 386 net/tools/flip_server/flip_in_mem_edsm_server.cc acceptor, (net::MemoryCache*)acceptor->memory_cache_)); net 14 net/tools/flip_server/flip_test_utils.h namespace net { net 17 net/tools/flip_server/http_interface.h namespace net { net 17 net/tools/flip_server/mem_cache.h namespace net { net 18 net/tools/flip_server/output_ordering.h namespace net { net 12 net/tools/flip_server/ring_buffer.h namespace net { net 23 net/tools/flip_server/sm_connection.h namespace net { net 14 net/tools/flip_server/sm_interface.h namespace net { net 22 net/tools/flip_server/spdy_interface.h namespace net { net 12 net/tools/flip_server/spdy_ssl.h namespace net { net 10 net/tools/flip_server/spdy_util.h namespace net { net 15 net/tools/flip_server/streamer_interface.h namespace net { net 23 net/tools/gdig/file_net_log.cc void FileNetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) { net 15 net/tools/gdig/file_net_log.h namespace net { net 26 net/tools/gdig/file_net_log.h virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 52 net/tools/gdig/gdig.cc net::IPAddressNumber ip_number; net 53 net/tools/gdig/gdig.cc if (!net::ParseIPLiteralToNumber(ip, &ip_number)) net 56 net/tools/gdig/gdig.cc *ip_end_point = net::IPEndPoint(ip_number, port); net 213 net/tools/gdig/gdig.cc net::IPEndPoint nameserver_; net 468 net/tools/gdig/gdig.cc BoundNetLog::Make(log_.get(), net::NetLog::SOURCE_NONE)); net 513 net/tools/gdig/gdig.cc net::GDig dig; net 71 net/tools/get_server_time/get_server_time.cc class QuitDelegate : public net::URLFetcherDelegate { net 78 net/tools/get_server_time/get_server_time.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 83 net/tools/get_server_time/get_server_time.cc const net::URLFetcher* source, net 88 net/tools/get_server_time/get_server_time.cc virtual void OnURLFetchUploadProgress(const net::URLFetcher* source, net 99 net/tools/get_server_time/get_server_time.cc class PrintingLogObserver : public net::NetLog::ThreadSafeObserver { net 109 net/tools/get_server_time/get_server_time.cc virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE { net 116 net/tools/get_server_time/get_server_time.cc net::NetLog::SourceTypeToString(entry.source().type); net 118 net/tools/get_server_time/get_server_time.cc net::NetLog::EventTypeToString(entry.type()); net 120 net/tools/get_server_time/get_server_time.cc net::NetLog::EventPhaseToString(entry.phase()); net 137 net/tools/get_server_time/get_server_time.cc scoped_ptr<net::URLRequestContext> net 138 net/tools/get_server_time/get_server_time.cc BuildURLRequestContext(net::NetLog* net_log) { net 139 net/tools/get_server_time/get_server_time.cc net::URLRequestContextBuilder builder; net 146 net/tools/get_server_time/get_server_time.cc new net::ProxyConfigServiceFixed(net::ProxyConfig())); net 148 net/tools/get_server_time/get_server_time.cc scoped_ptr<net::URLRequestContext> context(builder.Build()); net 153 net/tools/get_server_time/get_server_time.cc class SingleThreadRequestContextGetter : public net::URLRequestContextGetter { net 158 net/tools/get_server_time/get_server_time.cc net::NetLog* net_log, net 163 net/tools/get_server_time/get_server_time.cc virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE { net 175 net/tools/get_server_time/get_server_time.cc const scoped_ptr<net::URLRequestContext> context_; net 251 net/tools/get_server_time/get_server_time.cc net::NetLog net_log; net 253 net/tools/get_server_time/get_server_time.cc net_log.AddThreadSafeObserver(&printing_log_observer, net::NetLog::LOG_ALL); net 259 net/tools/get_server_time/get_server_time.cc scoped_ptr<net::URLFetcher> fetcher( net 260 net/tools/get_server_time/get_server_time.cc net::URLFetcher::Create(url, net::URLFetcher::HEAD, &delegate)); net 291 net/tools/get_server_time/get_server_time.cc const net::URLRequestStatus status = fetcher->GetStatus(); net 292 net/tools/get_server_time/get_server_time.cc if (status.status() != net::URLRequestStatus::SUCCESS) { net 294 net/tools/get_server_time/get_server_time.cc << net::ErrorToString(status.error()); net 298 net/tools/get_server_time/get_server_time.cc const net::HttpResponseHeaders* const headers = net 37 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::ConnectionType type) { net 39 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_UNKNOWN: net 41 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_ETHERNET: net 43 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_WIFI: net 45 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_2G: net 47 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_3G: net 49 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_4G: net 51 net/tools/net_watcher/net_watcher.cc case net::NetworkChangeNotifier::CONNECTION_NONE: net 58 net/tools/net_watcher/net_watcher.cc std::string ProxyConfigToString(const net::ProxyConfig& config) { net 66 net/tools/net_watcher/net_watcher.cc net::ProxyConfigService::ConfigAvailability availability) { net 68 net/tools/net_watcher/net_watcher.cc case net::ProxyConfigService::CONFIG_PENDING: net 70 net/tools/net_watcher/net_watcher.cc case net::ProxyConfigService::CONFIG_VALID: net 72 net/tools/net_watcher/net_watcher.cc case net::ProxyConfigService::CONFIG_UNSET: net 81 net/tools/net_watcher/net_watcher.cc public net::NetworkChangeNotifier::IPAddressObserver, net 82 net/tools/net_watcher/net_watcher.cc public net::NetworkChangeNotifier::ConnectionTypeObserver, net 83 net/tools/net_watcher/net_watcher.cc public net::NetworkChangeNotifier::DNSObserver, net 84 net/tools/net_watcher/net_watcher.cc public net::NetworkChangeNotifier::NetworkChangeObserver, net 85 net/tools/net_watcher/net_watcher.cc public net::ProxyConfigService::Observer { net 98 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE { net 110 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::ConnectionType type) OVERRIDE { net 117 net/tools/net_watcher/net_watcher.cc const net::ProxyConfig& config, net 118 net/tools/net_watcher/net_watcher.cc net::ProxyConfigService::ConfigAvailability availability) OVERRIDE { net 155 net/tools/net_watcher/net_watcher.cc scoped_ptr<net::NetworkChangeNotifier> network_change_notifier( net 156 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::Create()); net 159 net/tools/net_watcher/net_watcher.cc scoped_ptr<net::ProxyConfigService> proxy_config_service( net 160 net/tools/net_watcher/net_watcher.cc net::ProxyService::CreateSystemProxyConfigService( net 164 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::AddIPAddressObserver(&net_watcher); net 165 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(&net_watcher); net 166 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::AddDNSObserver(&net_watcher); net 167 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(&net_watcher); net 176 net/tools/net_watcher/net_watcher.cc net::ProxyConfig config; net 177 net/tools/net_watcher/net_watcher.cc const net::ProxyConfigService::ConfigAvailability availability = net 192 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::RemoveDNSObserver(&net_watcher); net 193 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(&net_watcher); net 194 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(&net_watcher); net 195 net/tools/net_watcher/net_watcher.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(&net_watcher); net 48 net/tools/quic/end_to_end_test.cc using net::test::GenerateBody; net 49 net/tools/quic/end_to_end_test.cc using net::test::QuicConnectionPeer; net 50 net/tools/quic/end_to_end_test.cc using net::test::QuicSessionPeer; net 51 net/tools/quic/end_to_end_test.cc using net::test::ReliableQuicStreamPeer; net 52 net/tools/quic/end_to_end_test.cc using net::tools::test::PacketDroppingTestWriter; net 53 net/tools/quic/end_to_end_test.cc using net::tools::test::QuicDispatcherPeer; net 54 net/tools/quic/end_to_end_test.cc using net::tools::test::QuicServerPeer; net 150 net/tools/quic/end_to_end_test.cc net::IPAddressNumber ip; net 151 net/tools/quic/end_to_end_test.cc CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip)); net 333 net/tools/quic/end_to_end_test.cc CHECK(net::ParseIPLiteralToNumber("::1", &ip)); net 867 net/tools/quic/end_to_end_test.cc CHECK(net::ParseIPLiteralToNumber("127.0.0.2", &ip)); net 138 net/tools/quic/quic_client.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &any4)); net 142 net/tools/quic/quic_client.cc CHECK(net::ParseIPLiteralToNumber("::", &any6)); net 25 net/tools/quic/quic_client.h namespace net { net 183 net/tools/quic/quic_client.h friend class net::tools::test::QuicClientPeer; net 32 net/tools/quic/quic_client_bin.cc int32 FLAGS_initial_flow_control_window = 100 * net::kMaxPacketSize; net 79 net/tools/quic/quic_client_bin.cc net::IPAddressNumber addr; net 80 net/tools/quic/quic_client_bin.cc CHECK(net::ParseIPLiteralToNumber(FLAGS_address, &addr)); net 82 net/tools/quic/quic_client_bin.cc net::tools::QuicClient client( net 83 net/tools/quic/quic_client_bin.cc net::IPEndPoint(addr, FLAGS_port), net 84 net/tools/quic/quic_client_bin.cc net::QuicServerId(FLAGS_hostname, FLAGS_port, FLAGS_secure, net 85 net/tools/quic/quic_client_bin.cc net::PRIVACY_MODE_DISABLED), net 86 net/tools/quic/quic_client_bin.cc net::QuicSupportedVersions(), true, FLAGS_initial_flow_control_window); net 18 net/tools/quic/quic_client_session.h namespace net { net 16 net/tools/quic/quic_client_session_test.cc using net::test::CryptoTestUtils; net 17 net/tools/quic/quic_client_session_test.cc using net::test::DefaultQuicConfig; net 18 net/tools/quic/quic_client_session_test.cc using net::test::PacketSavingConnection; net 19 net/tools/quic/quic_client_session_test.cc using net::test::SupportedVersions; net 20 net/tools/quic/quic_default_packet_writer.cc const net::IPAddressNumber& self_address, net 21 net/tools/quic/quic_default_packet_writer.cc const net::IPEndPoint& peer_address) { net 12 net/tools/quic/quic_default_packet_writer.h namespace net { net 27 net/tools/quic/quic_default_packet_writer.h const net::IPAddressNumber& self_address, net 28 net/tools/quic/quic_default_packet_writer.h const net::IPEndPoint& peer_address) OVERRIDE; net 27 net/tools/quic/quic_dispatcher.h struct hash<net::QuicBlockedWriterInterface*> { net 29 net/tools/quic/quic_dispatcher.h const net::QuicBlockedWriterInterface* ptr) const { net 36 net/tools/quic/quic_dispatcher.h namespace net { net 159 net/tools/quic/quic_dispatcher.h friend class net::tools::test::QuicDispatcherPeer; net 26 net/tools/quic/quic_dispatcher_test.cc using net::EpollServer; net 27 net/tools/quic/quic_dispatcher_test.cc using net::test::MockSession; net 28 net/tools/quic/quic_dispatcher_test.cc using net::test::ConstructEncryptedPacket; net 29 net/tools/quic/quic_dispatcher_test.cc using net::tools::test::MockConnection; net 146 net/tools/quic/quic_dispatcher_test.cc IPEndPoint client_address(net::test::Loopback4(), 1); net 148 net/tools/quic/quic_dispatcher_test.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &any4)); net 172 net/tools/quic/quic_dispatcher_test.cc IPEndPoint client_address(net::test::Loopback4(), 1); net 208 net/tools/quic/quic_dispatcher_test.cc IPEndPoint client_address(net::test::Loopback4(), 1); net 251 net/tools/quic/quic_dispatcher_test.cc IPEndPoint client_address(net::test::Loopback4(), 1); net 273 net/tools/quic/quic_dispatcher_test.cc IPEndPoint client(net::test::Loopback4(), 1); net 274 net/tools/quic/quic_dispatcher_test.cc IPEndPoint server(net::test::Loopback4(), 1); net 334 net/tools/quic/quic_dispatcher_test.cc IPEndPoint client_address(net::test::Loopback4(), 1); net 13 net/tools/quic/quic_epoll_clock.h namespace net { net 21 net/tools/quic/quic_epoll_connection_helper.h namespace net { net 11 net/tools/quic/quic_epoll_connection_helper_test.cc using net::tools::test::MockEpollServer; net 19 net/tools/quic/quic_in_memory_cache.h namespace net { net 37 net/tools/quic/quic_in_memory_cache_test.cc net::BalsaHeaders* headers) { net 83 net/tools/quic/quic_in_memory_cache_test.cc net::BalsaHeaders request_headers; net 100 net/tools/quic/quic_in_memory_cache_test.cc net::BalsaHeaders request_headers; net 114 net/tools/quic/quic_in_memory_cache_test.cc net::BalsaHeaders request_headers; net 128 net/tools/quic/quic_in_memory_cache_test.cc net::BalsaHeaders request_headers; net 22 net/tools/quic/quic_packet_writer_wrapper.cc const net::IPAddressNumber& self_address, net 23 net/tools/quic/quic_packet_writer_wrapper.cc const net::IPEndPoint& peer_address) { net 11 net/tools/quic/quic_packet_writer_wrapper.h namespace net { net 18 net/tools/quic/quic_packet_writer_wrapper.h class QuicPacketWriterWrapper : public net::QuicPacketWriter { net 33 net/tools/quic/quic_server.cc const uint32 kServerInitialFlowControlWindow = 100 * net::kMaxPacketSize; net 20 net/tools/quic/quic_server.h namespace net { net 85 net/tools/quic/quic_server.h friend class net::tools::test::QuicServerPeer; net 45 net/tools/quic/quic_server_bin.cc net::tools::FLAGS_quic_in_memory_cache_dir = net 58 net/tools/quic/quic_server_bin.cc net::IPAddressNumber ip; net 59 net/tools/quic/quic_server_bin.cc CHECK(net::ParseIPLiteralToNumber("::", &ip)); net 61 net/tools/quic/quic_server_bin.cc net::tools::QuicServer server; net 63 net/tools/quic/quic_server_bin.cc if (!server.Listen(net::IPEndPoint(ip, FLAGS_port))) { net 20 net/tools/quic/quic_server_session.h namespace net { net 21 net/tools/quic/quic_server_session_test.cc using net::test::MockConnection; net 22 net/tools/quic/quic_server_session_test.cc using net::test::QuicConnectionPeer; net 23 net/tools/quic/quic_server_session_test.cc using net::test::QuicDataStreamPeer; net 24 net/tools/quic/quic_server_session_test.cc using net::test::SupportedVersions; net 17 net/tools/quic/quic_socket_utils.h namespace net { net 19 net/tools/quic/quic_spdy_client_stream.h namespace net { net 18 net/tools/quic/quic_spdy_client_stream_test.cc using net::test::DefaultQuicConfig; net 19 net/tools/quic/quic_spdy_client_stream_test.cc using net::test::SupportedVersions; net 16 net/tools/quic/quic_spdy_server_stream.h namespace net { net 22 net/tools/quic/quic_spdy_server_stream_test.cc using net::test::MockSession; net 23 net/tools/quic/quic_spdy_server_stream_test.cc using net::test::SupportedVersions; net 24 net/tools/quic/quic_spdy_server_stream_test.cc using net::tools::test::MockConnection; net 25 net/tools/quic/quic_time_wait_list_manager.h namespace net { net 24 net/tools/quic/quic_time_wait_list_manager_test.cc using net::test::FramerVisitorCapturingPublicReset; net 75 net/tools/quic/quic_time_wait_list_manager_test.cc client_address_(net::test::TestPeerIPAddress(), kTestPort), net 88 net/tools/quic/quic_time_wait_list_manager_test.cc AddConnectionId(connection_id, net::test::QuicVersionMax(), NULL); net 174 net/tools/quic/quic_time_wait_list_manager_test.cc net::test::TestPeerIPAddress() == packet.client_address.address() && net 205 net/tools/quic/quic_time_wait_list_manager_test.cc net::test::QuicVersionMax(), net 357 net/tools/quic/quic_time_wait_list_manager_test.cc AddConnectionId(kConnectionId1, net::test::QuicVersionMin(), NULL); net 358 net/tools/quic/quic_time_wait_list_manager_test.cc AddConnectionId(kConnectionId2, net::test::QuicVersionMax(), NULL); net 359 net/tools/quic/quic_time_wait_list_manager_test.cc AddConnectionId(kConnectionId3, net::test::QuicVersionMax(), NULL); net 361 net/tools/quic/quic_time_wait_list_manager_test.cc EXPECT_EQ(net::test::QuicVersionMin(), net 364 net/tools/quic/quic_time_wait_list_manager_test.cc EXPECT_EQ(net::test::QuicVersionMax(), net 367 net/tools/quic/quic_time_wait_list_manager_test.cc EXPECT_EQ(net::test::QuicVersionMax(), net 380 net/tools/quic/quic_time_wait_list_manager_test.cc net::test::QuicVersionMax(), net 15 net/tools/quic/spdy_utils.h namespace net { net 15 net/tools/quic/test_tools/http_message.h namespace net { net 12 net/tools/quic/test_tools/mock_epoll_server.h namespace net { net 9 net/tools/quic/test_tools/mock_quic_dispatcher.cc using net::test::kInitialFlowControlWindowForTest; net 16 net/tools/quic/test_tools/mock_quic_dispatcher.h namespace net { net 80 net/tools/quic/test_tools/packet_dropping_test_writer.cc const net::IPAddressNumber& self_address, net 81 net/tools/quic/test_tools/packet_dropping_test_writer.cc const net::IPEndPoint& peer_address) { net 202 net/tools/quic/test_tools/packet_dropping_test_writer.cc const net::IPAddressNumber& self_address, net 203 net/tools/quic/test_tools/packet_dropping_test_writer.cc const net::IPEndPoint& peer_address, net 20 net/tools/quic/test_tools/packet_dropping_test_writer.h namespace net { net 8 net/tools/quic/test_tools/quic_client_peer.h namespace net { net 12 net/tools/quic/test_tools/quic_dispatcher_peer.h namespace net { net 10 net/tools/quic/test_tools/quic_in_memory_cache_peer.h namespace net { net 8 net/tools/quic/test_tools/quic_server_peer.h namespace net { net 25 net/tools/quic/test_tools/quic_test_client.cc using net::QuicServerId; net 26 net/tools/quic/test_tools/quic_test_client.cc using net::test::kInitialFlowControlWindowForTest; net 27 net/tools/quic/test_tools/quic_test_client.cc using net::test::QuicConnectionPeer; net 59 net/tools/quic/test_tools/quic_test_client.cc scoped_refptr<net::X509Certificate> cert = net 60 net/tools/quic/test_tools/quic_test_client.cc net::X509Certificate::CreateFromDERCertChain(cert_pieces); net 20 net/tools/quic/test_tools/quic_test_client.h namespace net { net 14 net/tools/quic/test_tools/quic_test_utils.cc using net::test::kInitialFlowControlWindowForTest; net 15 net/tools/quic/test_tools/quic_test_utils.cc using net::test::MockHelper; net 23 net/tools/quic/test_tools/quic_test_utils.cc IPEndPoint(net::test::Loopback4(), kTestPort), net 28 net/tools/quic/test_tools/quic_test_utils.cc writer_(net::test::QuicConnectionPeer::GetWriter(this)), net 39 net/tools/quic/test_tools/quic_test_utils.cc writer_(net::test::QuicConnectionPeer::GetWriter(this)), net 46 net/tools/quic/test_tools/quic_test_utils.cc IPEndPoint(net::test::Loopback4(), kTestPort), net 51 net/tools/quic/test_tools/quic_test_utils.cc writer_(net::test::QuicConnectionPeer::GetWriter(this)), net 58 net/tools/quic/test_tools/quic_test_utils.cc IPEndPoint(net::test::Loopback4(), kTestPort), net 63 net/tools/quic/test_tools/quic_test_utils.cc writer_(net::test::QuicConnectionPeer::GetWriter(this)), net 20 net/tools/quic/test_tools/quic_test_utils.h namespace net { net 13 net/tools/quic/test_tools/server_thread.h namespace net { net 14 net/tools/quic/test_tools/simple_client.h namespace net { net 47 net/tools/testserver/run_testserver.cc net::SpawnedTestServer::Type server_type; net 49 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_HTTP; net 51 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_HTTPS; net 53 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_WS; net 55 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_WSS; net 57 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_FTP; net 62 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_HTTPS; net 64 net/tools/testserver/run_testserver.cc server_type = net::SpawnedTestServer::TYPE_HTTP; net 67 net/tools/testserver/run_testserver.cc net::SpawnedTestServer::SSLOptions ssl_options; net 69 net/tools/testserver/run_testserver.cc if (!net::SpawnedTestServer::UsingSSL(server_type)) { net 77 net/tools/testserver/run_testserver.cc net::SpawnedTestServer::SSLOptions::CERT_OK; net 80 net/tools/testserver/run_testserver.cc net::SpawnedTestServer::SSLOptions::CERT_MISMATCHED_NAME; net 83 net/tools/testserver/run_testserver.cc net::SpawnedTestServer::SSLOptions::CERT_EXPIRED; net 98 net/tools/testserver/run_testserver.cc scoped_ptr<net::SpawnedTestServer> test_server; net 99 net/tools/testserver/run_testserver.cc if (net::SpawnedTestServer::UsingSSL(server_type)) { net 101 net/tools/testserver/run_testserver.cc new net::SpawnedTestServer(server_type, ssl_options, doc_root)); net 103 net/tools/testserver/run_testserver.cc test_server.reset(new net::SpawnedTestServer( net 105 net/tools/testserver/run_testserver.cc net::SpawnedTestServer::kLocalhost, net 84 net/tools/tld_cleanup/tld_cleanup.cc net::tld_cleanup::NormalizeResult result = net 85 net/tools/tld_cleanup/tld_cleanup.cc net::tld_cleanup::NormalizeFile(input_file, output_file); net 86 net/tools/tld_cleanup/tld_cleanup.cc if (result != net::tld_cleanup::kSuccess) { net 91 net/tools/tld_cleanup/tld_cleanup.cc if (result == net::tld_cleanup::kError) net 15 net/tools/tld_cleanup/tld_cleanup_util.h namespace net { net 11 net/udp/datagram_client_socket.h namespace net { net 12 net/udp/datagram_server_socket.h namespace net { net 10 net/udp/datagram_socket.h namespace net { net 13 net/udp/udp_client_socket.cc net::NetLog* net_log, net 14 net/udp/udp_client_socket.cc const net::NetLog::Source& source) net 13 net/udp/udp_client_socket.h namespace net { net 22 net/udp/udp_client_socket.h net::NetLog* net_log, net 23 net/udp/udp_client_socket.h const net::NetLog::Source& source); net 10 net/udp/udp_net_log_parameters.h namespace net { net 11 net/udp/udp_server_socket.cc UDPServerSocket::UDPServerSocket(net::NetLog* net_log, net 12 net/udp/udp_server_socket.cc const net::NetLog::Source& source) net 13 net/udp/udp_server_socket.h namespace net { net 21 net/udp/udp_server_socket.h UDPServerSocket(net::NetLog* net_log, const net::NetLog::Source& source); net 16 net/udp/udp_socket.h namespace net { net 65 net/udp/udp_socket_libevent.cc net::NetLog* net_log, net 66 net/udp/udp_socket_libevent.cc const net::NetLog::Source& source) net 21 net/udp/udp_socket_libevent.h namespace net { net 27 net/udp/udp_socket_libevent.h net::NetLog* net_log, net 28 net/udp/udp_socket_libevent.h const net::NetLog::Source& source); net 164 net/udp/udp_socket_win.cc net::NetLog* net_log, net 165 net/udp/udp_socket_win.cc const net::NetLog::Source& source) net 22 net/udp/udp_socket_win.h namespace net { net 28 net/udp/udp_socket_win.h net::NetLog* net_log, net 29 net/udp/udp_socket_win.h const net::NetLog::Source& source); net 12 net/url_request/data_protocol_handler.h namespace net { net 19 net/url_request/file_protocol_handler.h namespace net { net 10 net/url_request/fraudulent_certificate_reporter.h namespace net { net 13 net/url_request/ftp_protocol_handler.h namespace net { net 15 net/url_request/http_user_agent_settings.h namespace net { net 16 net/url_request/protocol_intercept_job_factory.h namespace net { net 15 net/url_request/static_http_user_agent_settings.h namespace net { net 26 net/url_request/test_url_fetcher_factory.h namespace net { net 15 net/url_request/url_fetcher.cc URLFetcher* net::URLFetcher::Create( net 23 net/url_request/url_fetcher.cc URLFetcher* net::URLFetcher::Create( net 34 net/url_request/url_fetcher.cc void net::URLFetcher::CancelAll() { net 39 net/url_request/url_fetcher.cc void net::URLFetcher::SetEnableInterceptionForTests(bool enabled) { net 44 net/url_request/url_fetcher.cc void net::URLFetcher::SetIgnoreCertificateRequests(bool ignored) { net 28 net/url_request/url_fetcher.h namespace net { net 30 net/url_request/url_fetcher_core.h namespace net { net 14 net/url_request/url_fetcher_delegate.h namespace net { net 10 net/url_request/url_fetcher_factory.h namespace net { net 22 net/url_request/url_fetcher_impl.h namespace net { net 20 net/url_request/url_fetcher_response_writer.h namespace net { net 12 net/url_request/url_range_request_job.h namespace net { net 95 net/url_request/url_request.cc net::LoadTimingInfo* load_timing_info) { net 116 net/url_request/url_request.cc net::LoadTimingInfo::ConnectTiming* connect_timing = net 64 net/url_request/url_request.h namespace net { net 14 net/url_request/url_request_about_job.h namespace net { net 29 net/url_request/url_request_context.h namespace net { net 106 net/url_request/url_request_context_builder.cc virtual bool OnCanAccessFile(const net::URLRequest& request, net 217 net/url_request/url_request_context_builder.cc host_resolver_ = net::HostResolver::CreateDefaultResolver(NULL); net 242 net/url_request/url_request_context_builder.cc storage->set_ssl_config_service(new net::SSLConfigServiceDefaults); net 244 net/url_request/url_request_context_builder.cc net::HttpAuthHandlerRegistryFactory::CreateDefault( net 247 net/url_request/url_request_context_builder.cc storage->set_transport_security_state(new net::TransportSecurityState()); net 249 net/url_request/url_request_context_builder.cc scoped_ptr<net::HttpServerProperties>( net 250 net/url_request/url_request_context_builder.cc new net::HttpServerPropertiesImpl())); net 253 net/url_request/url_request_context_builder.cc net::HttpNetworkSession::Params network_session_params; net 289 net/url_request/url_request_context_builder.cc net::CACHE_BACKEND_DEFAULT, net 301 net/url_request/url_request_context_builder.cc scoped_refptr<net::HttpNetworkSession> network_session( net 302 net/url_request/url_request_context_builder.cc new net::HttpNetworkSession(network_session_params)); net 26 net/url_request/url_request_context_builder.h namespace net { net 16 net/url_request/url_request_context_getter.h namespace net { net 13 net/url_request/url_request_context_storage.h namespace net { net 13 net/url_request/url_request_data_job.h namespace net { net 15 net/url_request/url_request_error_job.h namespace net { net 15 net/url_request/url_request_file_dir_job.h namespace net { net 26 net/url_request/url_request_file_job.h namespace net { net 34 net/url_request/url_request_filter.h namespace net { net 124 net/url_request/url_request_filter_unittest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 140 net/url_request/url_request_filter_unittest.cc scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>( net 21 net/url_request/url_request_ftp_job.h namespace net { net 602 net/url_request/url_request_http_job.cc if (result != net::OK) { net 650 net/url_request/url_request_http_job.cc net::CookieStore::SetCookiesCallback callback( net 817 net/url_request/url_request_http_job.cc if (error != net::OK) { net 818 net/url_request/url_request_http_job.cc if (error == net::ERR_IO_PENDING) { net 832 net/url_request/url_request_http_job.cc SaveCookiesAndNotifyHeadersComplete(net::OK); net 1207 net/url_request/url_request_http_job.cc if (rv == net::ERR_CONTENT_LENGTH_MISMATCH || net 1208 net/url_request/url_request_http_job.cc rv == net::ERR_INCOMPLETE_CHUNKED_ENCODING) { net 24 net/url_request/url_request_http_job.h namespace net { net 24 net/url_request/url_request_job.h namespace net { net 17 net/url_request/url_request_job_factory.h namespace net { net 16 net/url_request/url_request_job_factory_impl.h namespace net { net 18 net/url_request/url_request_job_manager.h namespace net { net 20 net/url_request/url_request_netlog_params.h namespace net { net 16 net/url_request/url_request_redirect_job.h namespace net { net 15 net/url_request/url_request_simple_job.h namespace net { net 11 net/url_request/url_request_status.h namespace net { net 16 net/url_request/url_request_test_job.h namespace net { net 56 net/url_request/url_request_test_job.h net::NetworkDelegate* network_delegate, net 433 net/url_request/url_request_test_util.cc new net::HttpResponseHeaders(original_response_headers->raw_headers()); net 46 net/url_request/url_request_test_util.h namespace net { net 17 net/url_request/url_request_throttler_entry.h namespace net { net 15 net/url_request/url_request_throttler_entry_interface.h namespace net { net 14 net/url_request/url_request_throttler_header_adapter.h namespace net { net 10 net/url_request/url_request_throttler_header_interface.h namespace net { net 21 net/url_request/url_request_throttler_manager.h namespace net { net 14 net/url_request/url_request_throttler_test_support.h namespace net { net 36 net/url_request/url_request_throttler_unittest.cc net::URLRequestThrottlerManager* manager) net 37 net/url_request/url_request_throttler_unittest.cc : net::URLRequestThrottlerEntry(manager, std::string()), net 42 net/url_request/url_request_throttler_unittest.cc net::URLRequestThrottlerManager* manager, net 46 net/url_request/url_request_throttler_unittest.cc : net::URLRequestThrottlerEntry(manager, std::string()), net 431 net/url_request/url_request_throttler_unittest.cc net::URLRequestThrottlerEntryInterface* entry, net 458 net/url_request/url_request_throttler_unittest.cc scoped_refptr<net::URLRequestThrottlerEntryInterface> entry = net 473 net/url_request/url_request_throttler_unittest.cc scoped_refptr<net::URLRequestThrottlerEntryInterface> other_entry = net 478 net/url_request/url_request_throttler_unittest.cc scoped_refptr<net::URLRequestThrottlerEntryInterface> no_opt_out_entry = net 487 net/url_request/url_request_throttler_unittest.cc scoped_refptr<net::URLRequestThrottlerEntryInterface> localhost_entry = net 495 net/url_request/url_request_throttler_unittest.cc scoped_refptr<net::URLRequestThrottlerEntryInterface> entry_before = net 510 net/url_request/url_request_throttler_unittest.cc net::NetworkChangeNotifier::CONNECTION_UNKNOWN); net 514 net/url_request/url_request_throttler_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 520 net/url_request/url_request_throttler_unittest.cc scoped_refptr<net::URLRequestThrottlerEntryInterface> entry_after = net 100 net/url_request/url_request_unittest.cc void TestLoadTimingNotReused(const net::LoadTimingInfo& load_timing_info, net 103 net/url_request/url_request_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 123 net/url_request/url_request_unittest.cc const net::LoadTimingInfo& load_timing_info, net 126 net/url_request/url_request_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 147 net/url_request/url_request_unittest.cc const net::LoadTimingInfo& load_timing_info) { net 149 net/url_request/url_request_unittest.cc EXPECT_NE(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 189 net/url_request/url_request_unittest.cc const net::LoadTimingInfo& load_timing_info) { net 191 net/url_request/url_request_unittest.cc EXPECT_EQ(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 208 net/url_request/url_request_unittest.cc const net::LoadTimingInfo& load_timing_info) { net 210 net/url_request/url_request_unittest.cc EXPECT_EQ(net::NetLog::Source::kInvalidId, load_timing_info.socket_log_id); net 764 net/url_request/url_request_unittest.cc net::HttpByteRange::Bounded( net 807 net/url_request/url_request_unittest.cc net::HttpByteRange::RightUnbounded( net 862 net/url_request/url_request_unittest.cc GURL test_file_url = net::FilePathToFileURL(test_file); net 2421 net/url_request/url_request_unittest.cc net::URLRequest* request, net 2422 net/url_request/url_request_unittest.cc const net::CompletionCallback& callback, net 2423 net/url_request/url_request_unittest.cc const net::HttpResponseHeaders* original_response_headers, net 2424 net/url_request/url_request_unittest.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 2434 net/url_request/url_request_unittest.cc net::URLRequest* request, net 2435 net/url_request/url_request_unittest.cc const net::CompletionCallback& callback, net 2436 net/url_request/url_request_unittest.cc const net::HttpResponseHeaders* original_response_headers, net 2437 net/url_request/url_request_unittest.cc scoped_refptr<net::HttpResponseHeaders>* override_response_headers, net 2439 net/url_request/url_request_unittest.cc net::HttpResponseHeaders* new_response_headers = net 2440 net/url_request/url_request_unittest.cc new net::HttpResponseHeaders(original_response_headers->raw_headers()); net 3040 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 4535 net/url_request/url_request_unittest.cc virtual void OnReceivedRedirect(net::URLRequest* request, net 4571 net/url_request/url_request_unittest.cc virtual void OnReceivedRedirect(net::URLRequest* request, net 5302 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 5355 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 5383 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 5410 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 5436 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 6035 net/url_request/url_request_unittest.cc EXPECT_EQ(net::OK, r.status().error()); net 6952 net/url_request/url_request_unittest.cc scoped_ptr<net::HttpCache> cache(new net::HttpCache( net 6953 net/url_request/url_request_unittest.cc new net::HttpNetworkSession(params), net 6954 net/url_request/url_request_unittest.cc net::HttpCache::DefaultBackend::InMemory(0))); net 7000 net/url_request/url_request_unittest.cc cert_verifier_.set_default_result(net::OK); net 7028 net/url_request/url_request_unittest.cc cert_verifier_.set_default_result(net::ERR_CERT_DATE_INVALID); net 7049 net/url_request/url_request_unittest.cc cert_verifier_.set_default_result(net::OK); net 7156 net/url_request/url_request_unittest.cc scoped_refptr<net::X509Certificate> root_cert = net 20 net/url_request/view_cache_helper.h namespace net { net 52 net/url_request/view_cache_helper_unittest.cc net::TestCompletionCallback cb; net 65 net/url_request/view_cache_helper_unittest.cc net::TestCompletionCallback cb; net 73 net/url_request/view_cache_helper_unittest.cc net::TestCompletionCallback cb; net 90 net/url_request/view_cache_helper_unittest.cc net::TestCompletionCallback cb; net 186 net/url_request/view_cache_helper_unittest.cc net::TestCompletionCallback cb; net 13 net/url_request/websocket_handshake_userdata_key.h namespace net { net 18 net/websockets/websocket_basic_handshake_stream.h namespace net { net 17 net/websockets/websocket_basic_stream.h namespace net { net 31 net/websockets/websocket_channel.h namespace net { net 12 net/websockets/websocket_deflate_predictor.h namespace net { net 14 net/websockets/websocket_deflate_predictor_impl.h namespace net { net 22 net/websockets/websocket_deflate_stream.h namespace net { net 18 net/websockets/websocket_deflater.h namespace net { net 10 net/websockets/websocket_errors.h namespace net { net 15 net/websockets/websocket_event_interface.h namespace net { net 13 net/websockets/websocket_extension.h namespace net { net 14 net/websockets/websocket_extension_parser.h namespace net { net 29 net/websockets/websocket_frame.cc const net::WebSocketMaskingKey& masking_key, net 35 net/websockets/websocket_frame.cc if (masking_key_offset == net::WebSocketFrameHeader::kMaskingKeyLength) net 15 net/websockets/websocket_frame.h namespace net { net 18 net/websockets/websocket_frame_parser.h namespace net { net 19 net/websockets/websocket_handshake_constants.h namespace net { net 57 net/websockets/websocket_handshake_handler.cc net::HttpUtil::HeadersIterator iter(headers.begin(), headers.end(), "\r\n"); net 78 net/websockets/websocket_handshake_handler.cc if (*name_begin == *name_end || net::HttpUtil::IsLWS(**name_begin)) net 80 net/websockets/websocket_handshake_handler.cc net::HttpUtil::TrimLWS(name_begin, name_end); net 24 net/websockets/websocket_handshake_handler.h namespace net { net 15 net/websockets/websocket_handshake_request_info.h namespace net { net 15 net/websockets/websocket_handshake_response_info.h namespace net { net 22 net/websockets/websocket_handshake_stream_base.h namespace net { net 15 net/websockets/websocket_handshake_stream_create_helper.h namespace net { net 19 net/websockets/websocket_inflater.h namespace net { net 38 net/websockets/websocket_job.cc net::SocketStreamJob* WebSocketJobFactory( net 39 net/websockets/websocket_job.cc const GURL& url, net::SocketStream::Delegate* delegate, net 40 net/websockets/websocket_job.cc net::URLRequestContext* context, net::CookieStore* cookie_store) { net 41 net/websockets/websocket_job.cc net::WebSocketJob* job = new net::WebSocketJob(delegate); net 42 net/websockets/websocket_job.cc job->InitSocketStream(new net::SocketStream(url, job, context, cookie_store)); net 50 net/websockets/websocket_job.cc net::SocketStreamJob::RegisterProtocolFactory("ws", WebSocketJobFactory); net 51 net/websockets/websocket_job.cc net::SocketStreamJob::RegisterProtocolFactory("wss", WebSocketJobFactory); net 21 net/websockets/websocket_job.h namespace net { net 8 net/websockets/websocket_mux.h namespace net { net 13 net/websockets/websocket_net_log_params.h namespace net { net 46 net/websockets/websocket_net_log_params_test.cc net::NetLogWebSocketHandshakeCallback(&testInput, net 47 net/websockets/websocket_net_log_params_test.cc net::NetLog::LOG_ALL)); net 26 net/websockets/websocket_stream.h namespace net { net 131 net/websockets/websocket_stream_test.cc stream_request_ = ::net::CreateAndConnectStreamForTesting( net 21 net/websockets/websocket_test_util.h namespace net { net 18 net/websockets/websocket_throttle.h namespace net { net 19 net/websockets/websocket_throttle_test.cc class DummySocketStreamDelegate : public net::SocketStream::Delegate { net 24 net/websockets/websocket_throttle_test.cc net::SocketStream* socket, int max_pending_send_allowed) OVERRIDE {} net 25 net/websockets/websocket_throttle_test.cc virtual void OnSentData(net::SocketStream* socket, net 27 net/websockets/websocket_throttle_test.cc virtual void OnReceivedData(net::SocketStream* socket, net 29 net/websockets/websocket_throttle_test.cc virtual void OnClose(net::SocketStream* socket) OVERRIDE {} net 19 ppapi/host/error_conversion.cc case net::OK: net 21 ppapi/host/error_conversion.cc case net::ERR_IO_PENDING: net 23 ppapi/host/error_conversion.cc case net::ERR_ABORTED: net 25 ppapi/host/error_conversion.cc case net::ERR_INVALID_ARGUMENT: net 27 ppapi/host/error_conversion.cc case net::ERR_INVALID_HANDLE: net 29 ppapi/host/error_conversion.cc case net::ERR_FILE_NOT_FOUND: net 31 ppapi/host/error_conversion.cc case net::ERR_TIMED_OUT: net 33 ppapi/host/error_conversion.cc case net::ERR_FILE_TOO_BIG: net 35 ppapi/host/error_conversion.cc case net::ERR_ACCESS_DENIED: net 37 ppapi/host/error_conversion.cc case net::ERR_NOT_IMPLEMENTED: net 39 ppapi/host/error_conversion.cc case net::ERR_OUT_OF_MEMORY: net 41 ppapi/host/error_conversion.cc case net::ERR_FILE_EXISTS: net 43 ppapi/host/error_conversion.cc case net::ERR_FILE_NO_SPACE: net 45 ppapi/host/error_conversion.cc case net::ERR_CONNECTION_CLOSED: net 47 ppapi/host/error_conversion.cc case net::ERR_CONNECTION_RESET: net 49 ppapi/host/error_conversion.cc case net::ERR_CONNECTION_REFUSED: net 51 ppapi/host/error_conversion.cc case net::ERR_CONNECTION_ABORTED: net 53 ppapi/host/error_conversion.cc case net::ERR_CONNECTION_FAILED: net 55 ppapi/host/error_conversion.cc case net::ERR_NAME_NOT_RESOLVED: net 57 ppapi/host/error_conversion.cc case net::ERR_ADDRESS_INVALID: net 59 ppapi/host/error_conversion.cc case net::ERR_ADDRESS_UNREACHABLE: net 61 ppapi/host/error_conversion.cc case net::ERR_CONNECTION_TIMED_OUT: net 63 ppapi/host/error_conversion.cc case net::ERR_NETWORK_ACCESS_DENIED: net 65 ppapi/host/error_conversion.cc case net::ERR_MSG_TOO_BIG: net 67 ppapi/host/error_conversion.cc case net::ERR_ADDRESS_IN_USE: net 14 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java import android.net.Uri; net 18 remoting/android/java/src/org/chromium/chromoting/HostListLoader.java import java.net.HttpURLConnection; net 19 remoting/android/java/src/org/chromium/chromoting/HostListLoader.java import java.net.MalformedURLException; net 20 remoting/android/java/src/org/chromium/chromoting/HostListLoader.java import java.net.URL; net 14 remoting/base/compound_buffer.cc net::IOBuffer* buffer_value, const char* start_value, int size_value) net 36 remoting/base/compound_buffer.cc void CompoundBuffer::Append(net::IOBuffer* buffer, net 48 remoting/base/compound_buffer.cc void CompoundBuffer::Append(net::IOBuffer* buffer, int size) { net 59 remoting/base/compound_buffer.cc void CompoundBuffer::Prepend(net::IOBuffer* buffer, net 71 remoting/base/compound_buffer.cc void CompoundBuffer::Prepend(net::IOBuffer* buffer, int size) { net 82 remoting/base/compound_buffer.cc net::IOBuffer* buffer = new net::IOBuffer(size); net 88 remoting/base/compound_buffer.cc net::IOBuffer* buffer = new net::IOBuffer(size); net 140 remoting/base/compound_buffer.cc net::IOBufferWithSize* CompoundBuffer::ToIOBufferWithSize() const { net 141 remoting/base/compound_buffer.cc net::IOBufferWithSize* result = new net::IOBufferWithSize(total_bytes_); net 27 remoting/base/compound_buffer.h namespace net { net 44 remoting/base/compound_buffer.h void Append(net::IOBuffer* buffer, int size); net 45 remoting/base/compound_buffer.h void Append(net::IOBuffer* buffer, const char* start, int size); net 47 remoting/base/compound_buffer.h void Prepend(net::IOBuffer* buffer, int size); net 48 remoting/base/compound_buffer.h void Prepend(net::IOBuffer* buffer, const char* start, int size); net 72 remoting/base/compound_buffer.h net::IOBufferWithSize* ToIOBufferWithSize() const; net 85 remoting/base/compound_buffer.h DataChunk(net::IOBuffer* buffer, const char* start, int size); net 88 remoting/base/compound_buffer.h scoped_refptr<net::IOBuffer> buffer; net 14 remoting/base/compound_buffer_unittest.cc using net::IOBuffer; net 169 remoting/base/compound_buffer_unittest.cc result->Append(new net::WrappedIOBuffer(data), size); net 97 remoting/base/rsa_key_pair.cc net::x509_util::CreateSelfSignedCert( net 99 remoting/base/rsa_key_pair.cc net::x509_util::DIGEST_SHA1, net 29 remoting/base/socket_reader.cc void SocketReader::Init(net::Socket* socket, net 41 remoting/base/socket_reader.cc read_buffer_ = new net::IOBuffer(kReadBufferSize); net 59 remoting/base/socket_reader.cc if (result != net::ERR_IO_PENDING) { net 69 remoting/base/socket_reader.cc void SocketReader::CallCallback(scoped_refptr<net::IOBuffer> data, int result) { net 12 remoting/base/socket_reader.h namespace net { net 27 remoting/base/socket_reader.h typedef base::Callback<void(scoped_refptr<net::IOBuffer> data, net 36 remoting/base/socket_reader.h void Init(net::Socket* socket, ReadResultCallback read_result_callback); net 42 remoting/base/socket_reader.h void CallCallback(scoped_refptr<net::IOBuffer> data, int result); net 44 remoting/base/socket_reader.h net::Socket* socket_; net 46 remoting/base/socket_reader.h scoped_refptr<net::IOBuffer> read_buffer_; net 35 remoting/base/url_request_context.cc class ProxyConfigServiceDirect : public net::ProxyConfigService { net 41 remoting/base/url_request_context.cc net::ProxyConfig* config) OVERRIDE { net 42 remoting/base/url_request_context.cc *config = net::ProxyConfig::CreateDirect(); net 47 remoting/base/url_request_context.cc net::ProxyConfigService* CreateSystemProxyConfigService( net 50 remoting/base/url_request_context.cc return new net::ProxyConfigServiceWin(); net 52 remoting/base/url_request_context.cc return new net::ProxyConfigServiceIOS(); net 54 remoting/base/url_request_context.cc return new net::ProxyConfigServiceMac(io_thread_task_runner); net 83 remoting/base/url_request_context.cc scoped_ptr<net::ProxyConfigService> proxy_config_service) net 87 remoting/base/url_request_context.cc net::HostResolver::CreateDefaultResolver(net_log.get())); net 88 remoting/base/url_request_context.cc storage_.set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver( net 90 remoting/base/url_request_context.cc storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); net 91 remoting/base/url_request_context.cc storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); net 93 remoting/base/url_request_context.cc net::HttpAuthHandlerFactory::CreateDefault(host_resolver())); net 95 remoting/base/url_request_context.cc scoped_ptr<net::HttpServerProperties>( net 96 remoting/base/url_request_context.cc new net::HttpServerPropertiesImpl())); net 97 remoting/base/url_request_context.cc storage_.set_transport_security_state(new net::TransportSecurityState); net 99 remoting/base/url_request_context.cc net::HttpNetworkSession::Params session_params; net 108 remoting/base/url_request_context.cc scoped_refptr<net::HttpNetworkSession> network_session( net 109 remoting/base/url_request_context.cc new net::HttpNetworkSession(session_params)); net 111 remoting/base/url_request_context.cc new net::HttpNetworkLayer(network_session.get())); net 125 remoting/base/url_request_context.cc net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { net 27 remoting/base/url_request_context.h class URLRequestContext : public net::URLRequestContext { net 30 remoting/base/url_request_context.h scoped_ptr<net::ProxyConfigService> proxy_config_service); net 35 remoting/base/url_request_context.h net::URLRequestContextStorage storage_; net 40 remoting/base/url_request_context.h class URLRequestContextGetter : public net::URLRequestContextGetter { net 46 remoting/base/url_request_context.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 55 remoting/base/url_request_context.h scoped_ptr<net::ProxyConfigService> proxy_config_service_; net 56 remoting/base/url_request_context.h scoped_ptr<net::URLRequestContext> url_request_context_; net 16 remoting/base/vlog_net_log.cc class VlogNetLog::Observer : public net::NetLog::ThreadSafeObserver { net 22 remoting/base/vlog_net_log.cc virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; net 34 remoting/base/vlog_net_log.cc void VlogNetLog::Observer::OnAddEntry(const net::NetLog::Entry& entry) { net 18 remoting/base/vlog_net_log.h class VlogNetLog : public net::NetLog { net 332 remoting/client/jni/chromoting_jni_instance.cc net::ClientSocketFactory::GetDefaultFactory(), net 21 remoting/client/jni/chromoting_jni_onload.cc {"net", net::android::RegisterJni}, net 46 remoting/client/jni/chromoting_jni_runtime.h scoped_refptr<net::URLRequestContextGetter> url_requester() { net 124 remoting/client/jni/chromoting_jni_runtime.h scoped_refptr<net::URLRequestContextGetter> url_requester_; net 283 remoting/client/plugin/chromoting_instance.cc net::EnableSSLServerSockets(); net 62 remoting/client/plugin/pepper_packet_socket_factory.cc scoped_refptr<net::IOBufferWithSize> data; net 104 remoting/client/plugin/pepper_packet_socket_factory.cc : data(new net::IOBufferWithSize(buffer_size)), net 32 remoting/host/chromoting_host.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 191 remoting/host/chromoting_host.h net::BackoffEntry login_backoff_; net 102 remoting/host/chromoting_host_context.cc scoped_refptr<net::URLRequestContextGetter> net 12 remoting/host/chromoting_host_context.h namespace net { net 63 remoting/host/chromoting_host_context.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter(); net 90 remoting/host/chromoting_host_context.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 88 remoting/host/chromoting_messages.h IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address) net 90 remoting/host/chromoting_messages.h IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address) net 334 remoting/host/daemon_process.cc if (route.remote_address.size() != net::kIPv4AddressSize && net 335 remoting/host/daemon_process.cc route.remote_address.size() != net::kIPv6AddressSize) { net 341 remoting/host/daemon_process.cc if (route.local_address.size() != net::kIPv4AddressSize && net 342 remoting/host/daemon_process.cc route.local_address.size() != net::kIPv6AddressSize) { net 353 remoting/host/daemon_process.cc net::IPEndPoint(route.remote_address, route.remote_port); net 355 remoting/host/daemon_process.cc net::IPEndPoint(route.local_address, route.local_port); net 22 remoting/host/dns_blackhole_checker.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter, net 33 remoting/host/dns_blackhole_checker.cc void DnsBlackholeChecker::OnURLFetchComplete(const net::URLFetcher* source) { net 61 remoting/host/dns_blackhole_checker.cc url_fetcher_.reset(net::URLFetcher::Create(GURL(talkgadget_url), net 62 remoting/host/dns_blackhole_checker.cc net::URLFetcher::GET, this)); net 12 remoting/host/dns_blackhole_checker.h namespace net { net 23 remoting/host/dns_blackhole_checker.h class DnsBlackholeChecker : public net::URLFetcherDelegate { net 26 remoting/host/dns_blackhole_checker.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter, net 31 remoting/host/dns_blackhole_checker.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 40 remoting/host/dns_blackhole_checker.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 43 remoting/host/dns_blackhole_checker.h scoped_ptr<net::URLFetcher> url_fetcher_; net 44 remoting/host/gnubby_auth_handler_posix.cc explicit CompareSocket(net::StreamListenSocket* socket) : socket_(socket) {} net 51 remoting/host/gnubby_auth_handler_posix.cc net::StreamListenSocket* socket_; net 190 remoting/host/gnubby_auth_handler_posix.cc net::StreamListenSocket* socket) const { net 197 remoting/host/gnubby_auth_handler_posix.cc net::StreamListenSocket* socket) const { net 204 remoting/host/gnubby_auth_handler_posix.cc net::StreamListenSocket* socket) const { net 211 remoting/host/gnubby_auth_handler_posix.cc net::StreamListenSocket* server, net 212 remoting/host/gnubby_auth_handler_posix.cc scoped_ptr<net::StreamListenSocket> socket) { net 223 remoting/host/gnubby_auth_handler_posix.cc void GnubbyAuthHandlerPosix::DidRead(net::StreamListenSocket* socket, net 245 remoting/host/gnubby_auth_handler_posix.cc void GnubbyAuthHandlerPosix::DidClose(net::StreamListenSocket* socket) { net 266 remoting/host/gnubby_auth_handler_posix.cc auth_socket_ = net::UnixDomainSocket::CreateAndListen( net 30 remoting/host/gnubby_auth_handler_posix.h public net::StreamListenSocket::Delegate { net 35 remoting/host/gnubby_auth_handler_posix.h bool HasActiveSocketForTesting(net::StreamListenSocket* socket) const; net 36 remoting/host/gnubby_auth_handler_posix.h int GetConnectionIdForTesting(net::StreamListenSocket* socket) const; net 38 remoting/host/gnubby_auth_handler_posix.h net::StreamListenSocket* socket) const; net 49 remoting/host/gnubby_auth_handler_posix.h virtual void DidAccept(net::StreamListenSocket* server, net 50 remoting/host/gnubby_auth_handler_posix.h scoped_ptr<net::StreamListenSocket> socket) OVERRIDE; net 51 remoting/host/gnubby_auth_handler_posix.h virtual void DidRead(net::StreamListenSocket* socket, net 54 remoting/host/gnubby_auth_handler_posix.h virtual void DidClose(net::StreamListenSocket* socket) OVERRIDE; net 75 remoting/host/gnubby_auth_handler_posix.h scoped_ptr<net::StreamListenSocket> auth_socket_; net 40 remoting/host/gnubby_auth_handler_posix_unittest.cc class MockStreamListenSocket : public net::StreamListenSocket { net 42 remoting/host/gnubby_auth_handler_posix_unittest.cc explicit MockStreamListenSocket(net::StreamListenSocket::Delegate* delegate) net 43 remoting/host/gnubby_auth_handler_posix_unittest.cc : StreamListenSocket(net::kInvalidSocket, delegate) {} net 67 remoting/host/gnubby_auth_handler_posix_unittest.cc net::StreamListenSocket::Delegate* delegate_; net 104 remoting/host/gnubby_auth_handler_posix_unittest.cc net::StreamListenSocket* socket = new MockStreamListenSocket(delegate_); net 116 remoting/host/gnubby_auth_handler_posix_unittest.cc net::StreamListenSocket* socket = new MockStreamListenSocket(delegate_); net 127 remoting/host/gnubby_auth_handler_posix_unittest.cc net::StreamListenSocket* socket = new MockStreamListenSocket(delegate_); net 137 remoting/host/gnubby_auth_handler_posix_unittest.cc net::StreamListenSocket* socket = new MockStreamListenSocket(delegate_); net 152 remoting/host/gnubby_auth_handler_posix_unittest.cc net::StreamListenSocket* socket = new MockStreamListenSocket(delegate_); net 24 remoting/host/gnubby_socket.cc GnubbySocket::GnubbySocket(scoped_ptr<net::StreamListenSocket> socket, net 82 remoting/host/gnubby_socket.cc bool GnubbySocket::IsSocket(net::StreamListenSocket* socket) const { net 19 remoting/host/gnubby_socket.h namespace net { net 28 remoting/host/gnubby_socket.h GnubbySocket(scoped_ptr<net::StreamListenSocket> socket, net 51 remoting/host/gnubby_socket.h bool IsSocket(net::StreamListenSocket* socket) const; net 67 remoting/host/gnubby_socket.h scoped_ptr<net::StreamListenSocket> socket_; net 10 remoting/host/host_status_observer.h namespace net { net 168 remoting/host/it2me/it2me_host.cc new XmppSignalStrategy(net::ClientSocketFactory::GetDefaultFactory(), net 59 remoting/host/it2me/it2me_native_messaging_host.cc net::ParseHostAndPort(service_urls->xmpp_server_address(), net 173 remoting/host/it2me/it2me_native_messaging_host.cc if (!net::ParseHostAndPort( net 74 remoting/host/it2me/it2me_native_messaging_host_main.cc net::EnableSSLServerSockets(); net 52 remoting/host/native_messaging/native_messaging_reader.cc net::FileStream read_stream_; net 20 remoting/host/native_messaging/native_messaging_reader.h namespace net { net 35 remoting/host/native_messaging/native_messaging_writer.cc int WriteUntilComplete(net::FileStream* out, net 29 remoting/host/native_messaging/native_messaging_writer.h net::FileStream write_stream_; net 37 remoting/host/oauth_token_getter.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter) net 15 remoting/host/oauth_token_getter.h namespace net { net 59 remoting/host/oauth_token_getter.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter); net 83 remoting/host/oauth_token_getter.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; net 143 remoting/host/plugin/host_plugin.cc net::EnableSSLServerSockets(); net 112 remoting/host/plugin/host_script_object.cc bool xmpp_server_valid = net::ParseHostAndPort( net 358 remoting/host/plugin/host_script_object.cc bool xmpp_server_valid = net::ParseHostAndPort( net 608 remoting/host/plugin/host_script_object.cc NPVariant host_name_val = NPVariantFromString(net::GetHostName()); net 262 remoting/host/remoting_me2me_host.cc scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; net 421 remoting/host/remoting_me2me_host.cc net::URLFetcher::SetIgnoreCertificateRequests(true); net 424 remoting/host/remoting_me2me_host.cc bool xmpp_server_valid = net::ParseHostAndPort( net 1061 remoting/host/remoting_me2me_host.cc new XmppSignalStrategy(net::ClientSocketFactory::GetDefaultFactory(), net 1070 remoting/host/remoting_me2me_host.cc network_change_notifier_.reset(net::NetworkChangeNotifier::Create()); net 1256 remoting/host/remoting_me2me_host.cc net::EnableSSLServerSockets(); net 19 remoting/host/session_manager_factory.cc const scoped_refptr<net::URLRequestContextGetter>& net 11 remoting/host/session_manager_factory.h namespace net { net 27 remoting/host/session_manager_factory.h const scoped_refptr<net::URLRequestContextGetter>& net 57 remoting/host/setup/daemon_controller_delegate_linux.cc std::string filename = "host#" + GetMd5(net::GetHostName()) + ".json"; net 39 remoting/host/setup/host_starter.cc net::URLRequestContextGetter* url_request_context_getter) { net 38 remoting/host/setup/host_starter.h net::URLRequestContextGetter* url_request_context_getter); net 228 remoting/host/setup/me2me_native_messaging_host.cc response->SetString("hostname", net::GetHostName()); net 173 remoting/host/setup/me2me_native_messaging_host_main.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter( net 178 remoting/host/setup/me2me_native_messaging_host_main.cc net::URLFetcher::SetIgnoreCertificateRequests(true); net 48 remoting/host/setup/me2me_native_messaging_host_unittest.cc EXPECT_EQ(net::GetHostName(), value); net 14 remoting/host/setup/oauth_client.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter) net 29 remoting/host/setup/oauth_client.h scoped_refptr<net::URLRequestContextGetter> url_request_context_getter); net 48 remoting/host/setup/oauth_helper.cc net::EscapeUrlEncodedData(GetOauthScope(), true).c_str(), net 50 remoting/host/setup/oauth_helper.cc net::EscapeUrlEncodedData(google_apis::GetOAuth2ClientID( net 21 remoting/host/setup/service_client.cc public net::URLFetcherDelegate { net 24 remoting/host/setup/service_client.cc net::URLRequestContextGetter* request_context_getter) net 43 remoting/host/setup/service_client.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 55 remoting/host/setup/service_client.cc void MakeChromotingRequest(net::URLFetcher::RequestType request_type, net 60 remoting/host/setup/service_client.cc void HandleResponse(const net::URLFetcher* source); net 62 remoting/host/setup/service_client.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 64 remoting/host/setup/service_client.cc scoped_ptr<net::URLFetcher> request_; net 87 remoting/host/setup/service_client.cc MakeChromotingRequest(net::URLFetcher::POST, net 100 remoting/host/setup/service_client.cc MakeChromotingRequest(net::URLFetcher::DELETE_REQUEST, net 108 remoting/host/setup/service_client.cc net::URLFetcher::RequestType request_type, net 114 remoting/host/setup/service_client.cc request_.reset(net::URLFetcher::Create( net 124 remoting/host/setup/service_client.cc const net::URLFetcher* source) { net 129 remoting/host/setup/service_client.cc void ServiceClient::Core::HandleResponse(const net::URLFetcher* source) { net 133 remoting/host/setup/service_client.cc if (source->GetResponseCode() == net::HTTP_BAD_REQUEST) { net 171 remoting/host/setup/service_client.cc net::URLRequestContextGetter* context_getter) { net 12 remoting/host/setup/service_client.h namespace net { net 38 remoting/host/setup/service_client.h net::URLRequestContextGetter* context_getter); net 151 remoting/host/setup/start_host.cc scoped_refptr<net::URLRequestContextGetter> url_request_context_getter( net 154 remoting/host/setup/start_host.cc net::URLFetcher::SetIgnoreCertificateRequests(true); net 36 remoting/host/signaling_connector.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 37 remoting/host/signaling_connector.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 44 remoting/host/signaling_connector.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 45 remoting/host/signaling_connector.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 79 remoting/host/signaling_connector.cc net::NetworkChangeNotifier::ConnectionType type) { net 81 remoting/host/signaling_connector.cc if (type != net::NetworkChangeNotifier::CONNECTION_NONE && net 128 remoting/host/signaling_connector.cc if (timer_.IsRunning() || net::NetworkChangeNotifier::IsOffline()) net 30 remoting/host/signaling_connector.h public net::NetworkChangeNotifier::ConnectionTypeObserver, net 31 remoting/host/signaling_connector.h public net::NetworkChangeNotifier::IPAddressObserver { net 58 remoting/host/signaling_connector.h net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; net 47 remoting/host/token_validator_base.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) net 51 remoting/host/token_validator_base.cc buffer_(new net::IOBuffer(kBufferSize)), net 82 remoting/host/token_validator_base.cc void TokenValidatorBase::OnResponseStarted(net::URLRequest* source) { net 90 remoting/host/token_validator_base.cc void TokenValidatorBase::OnReadCompleted(net::URLRequest* source, net 101 remoting/host/token_validator_base.cc const net::URLRequestStatus status = request_->status(); net 111 remoting/host/token_validator_base.cc net::URLRequest* source, net 112 remoting/host/token_validator_base.cc net::SSLCertRequestInfo* cert_request_info) { net 115 remoting/host/token_validator_base.cc net::ClientCertStore* client_cert_store; net 117 remoting/host/token_validator_base.cc client_cert_store = new net::ClientCertStoreNSS( net 118 remoting/host/token_validator_base.cc net::ClientCertStoreNSS::PasswordDelegateFactory()); net 120 remoting/host/token_validator_base.cc client_cert_store = new net::ClientCertStoreWin(); net 122 remoting/host/token_validator_base.cc client_cert_store = new net::ClientCertStoreMac(); net 129 remoting/host/token_validator_base.cc net::CertificateList* selected_certs(new net::CertificateList()); net 138 remoting/host/token_validator_base.cc net::CertificateList* selected_certs, net 139 remoting/host/token_validator_base.cc net::ClientCertStore* unused) { net 161 remoting/host/token_validator_base.cc net::URLRequestStatus status = request_->status(); net 15 remoting/host/token_validator_base.h namespace net { net 37 remoting/host/token_validator_base.h : public net::URLRequest::Delegate, net 43 remoting/host/token_validator_base.h scoped_refptr<net::URLRequestContextGetter> request_context_getter); net 56 remoting/host/token_validator_base.h virtual void OnResponseStarted(net::URLRequest* source) OVERRIDE; net 57 remoting/host/token_validator_base.h virtual void OnReadCompleted(net::URLRequest* source, net 60 remoting/host/token_validator_base.h net::URLRequest* source, net 61 remoting/host/token_validator_base.h net::SSLCertRequestInfo* cert_request_info) OVERRIDE; net 64 remoting/host/token_validator_base.h void OnCertificatesSelected(net::CertificateList* selected_certs, net 65 remoting/host/token_validator_base.h net::ClientCertStore* unused); net 74 remoting/host/token_validator_base.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 77 remoting/host/token_validator_base.h scoped_ptr<net::URLRequest> request_; net 78 remoting/host/token_validator_base.h scoped_refptr<net::IOBuffer> buffer_; net 45 remoting/host/token_validator_factory_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter); net 65 remoting/host/token_validator_factory_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) net 76 remoting/host/token_validator_factory_impl.cc post_body_ = "code=" + net::EscapeUrlEncodedData(token, true) + net 77 remoting/host/token_validator_factory_impl.cc "&client_id=" + net::EscapeUrlEncodedData( net 79 remoting/host/token_validator_factory_impl.cc "&client_secret=" + net::EscapeUrlEncodedData( net 84 remoting/host/token_validator_factory_impl.cc third_party_auth_config_.token_validation_url, net::DEFAULT_PRIORITY, net 87 remoting/host/token_validator_factory_impl.cc net::HttpRequestHeaders::kContentType, net 90 remoting/host/token_validator_factory_impl.cc scoped_ptr<net::UploadElementReader> reader( net 91 remoting/host/token_validator_factory_impl.cc new net::UploadBytesElementReader( net 94 remoting/host/token_validator_factory_impl.cc net::UploadDataStream::CreateWithReader(reader.Pass(), 0))); net 111 remoting/host/token_validator_factory_impl.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) net 29 remoting/host/token_validator_factory_impl.h scoped_refptr<net::URLRequestContextGetter> request_context_getter); net 41 remoting/host/token_validator_factory_impl.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 37 remoting/host/token_validator_factory_impl_unittest.cc class FakeProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { net 43 remoting/host/token_validator_factory_impl_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 44 remoting/host/token_validator_factory_impl_unittest.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const net 46 remoting/host/token_validator_factory_impl_unittest.cc return new net::URLRequestTestJob( net 55 remoting/host/token_validator_factory_impl_unittest.cc class SetResponseURLRequestContext: public net::TestURLRequestContext { net 58 remoting/host/token_validator_factory_impl_unittest.cc net::URLRequestJobFactoryImpl* factory = net 59 remoting/host/token_validator_factory_impl_unittest.cc new net::URLRequestJobFactoryImpl(); net 93 remoting/host/token_validator_factory_impl_unittest.cc scoped_ptr<net::TestURLRequestContext> context( net 95 remoting/host/token_validator_factory_impl_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 133 remoting/host/token_validator_factory_impl_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 142 remoting/host/token_validator_factory_impl_unittest.cc SetResponse(net::URLRequestTestJob::test_headers(), net 155 remoting/host/token_validator_factory_impl_unittest.cc SetResponse(net::URLRequestTestJob::test_error_headers(), std::string()); net 167 remoting/host/token_validator_factory_impl_unittest.cc SetResponse(net::URLRequestTestJob::test_headers(), net 180 remoting/host/token_validator_factory_impl_unittest.cc SetResponse(net::URLRequestTestJob::test_error_headers(), std::string()); net 143 remoting/host/win/rdp_client.cc net::IPAddressNumber server_address( net 146 remoting/host/win/rdp_client.cc net::IPEndPoint server_endpoint(server_address, server_port); net 113 remoting/host/win/rdp_client_window.cc RdpClientWindow::RdpClientWindow(const net::IPEndPoint& server_endpoint, net 66 remoting/host/win/rdp_client_window.h RdpClientWindow(const net::IPEndPoint& server_endpoint, net 138 remoting/host/win/rdp_client_window.h net::IPEndPoint server_endpoint_; net 20 remoting/host/win/worker_process_launcher.cc const net::BackoffEntry::Policy kDefaultBackoffPolicy = { net 148 remoting/host/win/worker_process_launcher.h net::BackoffEntry launch_backoff_; net 24 remoting/jingle_glue/chromium_port_allocator.cc public net::URLFetcherDelegate { net 35 remoting/jingle_glue/chromium_port_allocator.cc const scoped_refptr<net::URLRequestContextGetter>& url_context); net 43 remoting/jingle_glue/chromium_port_allocator.cc virtual void OnURLFetchComplete(const net::URLFetcher* url_fetcher) OVERRIDE; net 46 remoting/jingle_glue/chromium_port_allocator.cc scoped_refptr<net::URLRequestContextGetter> url_context_; net 47 remoting/jingle_glue/chromium_port_allocator.cc std::set<const net::URLFetcher*> url_fetchers_; net 61 remoting/jingle_glue/chromium_port_allocator.cc const scoped_refptr<net::URLRequestContextGetter>& url_context) net 99 remoting/jingle_glue/chromium_port_allocator.cc scoped_ptr<net::URLFetcher> url_fetcher( net 100 remoting/jingle_glue/chromium_port_allocator.cc net::URLFetcher::Create(url, net::URLFetcher::GET, this)); net 111 remoting/jingle_glue/chromium_port_allocator.cc const net::URLFetcher* source) { net 119 remoting/jingle_glue/chromium_port_allocator.cc if (response_code != net::HTTP_OK) { net 133 remoting/jingle_glue/chromium_port_allocator.cc const scoped_refptr<net::URLRequestContextGetter>& url_context, net 163 remoting/jingle_glue/chromium_port_allocator.cc const scoped_refptr<net::URLRequestContextGetter>& url_context, net 14 remoting/jingle_glue/chromium_port_allocator.h namespace net { net 28 remoting/jingle_glue/chromium_port_allocator.h const scoped_refptr<net::URLRequestContextGetter>& url_context, net 42 remoting/jingle_glue/chromium_port_allocator.h const scoped_refptr<net::URLRequestContextGetter>& url_context, net 46 remoting/jingle_glue/chromium_port_allocator.h scoped_refptr<net::URLRequestContextGetter> url_context_; net 34 remoting/jingle_glue/chromium_socket_factory.cc return error == net::ERR_ADDRESS_UNREACHABLE || net 35 remoting/jingle_glue/chromium_socket_factory.cc error == net::ERR_ADDRESS_INVALID; net 65 remoting/jingle_glue/chromium_socket_factory.cc const net::IPEndPoint& address); net 67 remoting/jingle_glue/chromium_socket_factory.cc scoped_refptr<net::IOBufferWithSize> data; net 68 remoting/jingle_glue/chromium_socket_factory.cc net::IPEndPoint address; net 80 remoting/jingle_glue/chromium_socket_factory.cc scoped_ptr<net::UDPServerSocket> socket_; net 88 remoting/jingle_glue/chromium_socket_factory.cc scoped_refptr<net::IOBuffer> receive_buffer_; net 89 remoting/jingle_glue/chromium_socket_factory.cc net::IPEndPoint receive_address_; net 101 remoting/jingle_glue/chromium_socket_factory.cc const net::IPEndPoint& address) net 102 remoting/jingle_glue/chromium_socket_factory.cc : data(new net::IOBufferWithSize(buffer_size)), net 120 remoting/jingle_glue/chromium_socket_factory.cc net::IPEndPoint local_endpoint; net 127 remoting/jingle_glue/chromium_socket_factory.cc socket_.reset(new net::UDPServerSocket(NULL, net::NetLog::Source())); net 129 remoting/jingle_glue/chromium_socket_factory.cc net::IPEndPoint(local_endpoint.address(), port)); net 130 remoting/jingle_glue/chromium_socket_factory.cc if (result == net::OK) { net 142 remoting/jingle_glue/chromium_socket_factory.cc if (socket_->GetLocalAddress(&local_endpoint) != net::OK || net 184 remoting/jingle_glue/chromium_socket_factory.cc net::IPEndPoint endpoint; net 229 remoting/jingle_glue/chromium_socket_factory.cc return (net_error == net::OK) ? 0 : -1; net 234 remoting/jingle_glue/chromium_socket_factory.cc return (net_error == net::OK) ? 0 : -1; net 277 remoting/jingle_glue/chromium_socket_factory.cc if (result == net::ERR_IO_PENDING) { net 305 remoting/jingle_glue/chromium_socket_factory.cc receive_buffer_ = new net::IOBuffer(kReceiveBufferSize); net 323 remoting/jingle_glue/chromium_socket_factory.cc if (result == net::ERR_IO_PENDING) { net 41 remoting/jingle_glue/xmpp_signal_strategy.cc net::ClientSocketFactory* socket_factory, net 42 remoting/jingle_glue/xmpp_signal_strategy.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 87 remoting/jingle_glue/xmpp_signal_strategy.cc socket_factory_, net::SSLConfig(), request_context_getter_, false)); net 24 remoting/jingle_glue/xmpp_signal_strategy.h namespace net { net 57 remoting/jingle_glue/xmpp_signal_strategy.h net::ClientSocketFactory* socket_factory, net 58 remoting/jingle_glue/xmpp_signal_strategy.h scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 96 remoting/jingle_glue/xmpp_signal_strategy.h net::ClientSocketFactory* socket_factory_; net 97 remoting/jingle_glue/xmpp_signal_strategy.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 15 remoting/protocol/audio_reader.h namespace net { net 18 remoting/protocol/audio_writer.h namespace net { net 42 remoting/protocol/auth_util.cc std::string GetAuthBytes(net::SSLSocket* socket, net 49 remoting/protocol/auth_util.cc if (export_result != net::OK) { net 12 remoting/protocol/auth_util.h namespace net { net 47 remoting/protocol/auth_util.h std::string GetAuthBytes(net::SSLSocket* socket, net 47 remoting/protocol/authenticator_test_base.cc base::FilePath certs_dir(net::GetTestCertsDirectory()); net 96 remoting/protocol/authenticator_test_base.cc client_fake_socket_.PassAs<net::StreamSocket>(), net 101 remoting/protocol/authenticator_test_base.cc host_fake_socket_.PassAs<net::StreamSocket>(), net 109 remoting/protocol/authenticator_test_base.cc EXPECT_CALL(client_callback_, OnDone(net::OK)) net 112 remoting/protocol/authenticator_test_base.cc EXPECT_CALL(host_callback_, OnDone(net::ERR_FAILED)) net 115 remoting/protocol/authenticator_test_base.cc EXPECT_CALL(host_callback_, OnDone(net::OK)) net 138 remoting/protocol/authenticator_test_base.cc net::Error error, net 139 remoting/protocol/authenticator_test_base.cc scoped_ptr<net::StreamSocket> socket) { net 145 remoting/protocol/authenticator_test_base.cc net::Error error, net 146 remoting/protocol/authenticator_test_base.cc scoped_ptr<net::StreamSocket> socket) { net 16 remoting/protocol/authenticator_test_base.h namespace net { net 40 remoting/protocol/authenticator_test_base.h MOCK_METHOD1(OnDone, void(net::Error error)); net 50 remoting/protocol/authenticator_test_base.h void OnHostConnected(net::Error error, net 51 remoting/protocol/authenticator_test_base.h scoped_ptr<net::StreamSocket> socket); net 52 remoting/protocol/authenticator_test_base.h void OnClientConnected(net::Error error, net 53 remoting/protocol/authenticator_test_base.h scoped_ptr<net::StreamSocket> socket); net 68 remoting/protocol/authenticator_test_base.h scoped_ptr<net::StreamSocket> client_socket_; net 69 remoting/protocol/authenticator_test_base.h scoped_ptr<net::StreamSocket> host_socket_; net 18 remoting/protocol/buffered_socket_writer.cc PendingPacket(scoped_refptr<net::IOBufferWithSize> data, net 24 remoting/protocol/buffered_socket_writer.cc scoped_refptr<net::IOBufferWithSize> data; net 36 remoting/protocol/buffered_socket_writer.cc void BufferedSocketWriterBase::Init(net::Socket* socket, net 45 remoting/protocol/buffered_socket_writer.cc scoped_refptr<net::IOBufferWithSize> data, const base::Closure& done_task) { net 76 remoting/protocol/buffered_socket_writer.cc net::IOBuffer* current_packet; net 99 remoting/protocol/buffered_socket_writer.cc if (result == net::ERR_IO_PENDING) { net 177 remoting/protocol/buffered_socket_writer.cc net::IOBuffer** buffer, int* size) { net 183 remoting/protocol/buffered_socket_writer.cc current_buf_ = new net::DrainableIOBuffer(queue_.front()->data.get(), net 213 remoting/protocol/buffered_socket_writer.cc net::IOBuffer** buffer, int* size) { net 16 remoting/protocol/buffered_socket_writer.h namespace net { net 43 remoting/protocol/buffered_socket_writer.h void Init(net::Socket* socket, const WriteFailedCallback& callback); net 47 remoting/protocol/buffered_socket_writer.h bool Write(scoped_refptr<net::IOBufferWithSize> buffer, net 77 remoting/protocol/buffered_socket_writer.h virtual void GetNextPacket(net::IOBuffer** buffer, int* size) = 0; net 94 remoting/protocol/buffered_socket_writer.h net::Socket* socket_; net 110 remoting/protocol/buffered_socket_writer.h virtual void GetNextPacket(net::IOBuffer** buffer, int* size) OVERRIDE; net 115 remoting/protocol/buffered_socket_writer.h scoped_refptr<net::DrainableIOBuffer> current_buf_; net 124 remoting/protocol/buffered_socket_writer.h virtual void GetNextPacket(net::IOBuffer** buffer, int* size) OVERRIDE; net 55 remoting/protocol/buffered_socket_writer_unittest.cc test_buffer_ = new net::IOBufferWithSize(kTestBufferSize); net 56 remoting/protocol/buffered_socket_writer_unittest.cc test_buffer_2_ = new net::IOBufferWithSize(kTestBufferSize); net 103 remoting/protocol/buffered_socket_writer_unittest.cc scoped_refptr<net::IOBufferWithSize> test_buffer_; net 104 remoting/protocol/buffered_socket_writer_unittest.cc scoped_refptr<net::IOBufferWithSize> test_buffer_2_; net 164 remoting/protocol/buffered_socket_writer_unittest.cc socket_->set_next_write_error(net::ERR_FAILED); net 167 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(net::ERR_FAILED, write_error_); net 180 remoting/protocol/buffered_socket_writer_unittest.cc socket_->set_next_write_error(net::ERR_FAILED); net 182 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(net::ERR_FAILED, write_error_); net 13 remoting/protocol/channel_authenticator.h namespace net { net 26 remoting/protocol/channel_authenticator.h typedef base::Callback<void(net::Error error, scoped_ptr<net::StreamSocket>)> net 35 remoting/protocol/channel_authenticator.h scoped_ptr<net::StreamSocket> socket, net 52 remoting/protocol/channel_dispatcher_base.cc scoped_ptr<net::StreamSocket> socket) { net 14 remoting/protocol/channel_dispatcher_base.h namespace net { net 49 remoting/protocol/channel_dispatcher_base.h net::StreamSocket* channel() { return channel_.get(); } net 56 remoting/protocol/channel_dispatcher_base.h void OnChannelReady(scoped_ptr<net::StreamSocket> socket); net 61 remoting/protocol/channel_dispatcher_base.h scoped_ptr<net::StreamSocket> channel_; net 12 remoting/protocol/channel_factory.h namespace net { net 24 remoting/protocol/channel_factory.h typedef base::Callback<void(scoped_ptr<net::StreamSocket>)> net 26 remoting/protocol/channel_factory.h typedef base::Callback<void(scoped_ptr<net::Socket>)> net 79 remoting/protocol/channel_multiplexer.cc scoped_ptr<net::StreamSocket> CreateSocket(); net 88 remoting/protocol/channel_multiplexer.cc int DoRead(net::IOBuffer* buffer, int buffer_len); net 102 remoting/protocol/channel_multiplexer.cc class ChannelMultiplexer::MuxSocket : public net::StreamSocket, net 114 remoting/protocol/channel_multiplexer.cc virtual int Read(net::IOBuffer* buffer, int buffer_len, net 115 remoting/protocol/channel_multiplexer.cc const net::CompletionCallback& callback) OVERRIDE; net 116 remoting/protocol/channel_multiplexer.cc virtual int Write(net::IOBuffer* buffer, int buffer_len, net 117 remoting/protocol/channel_multiplexer.cc const net::CompletionCallback& callback) OVERRIDE; net 121 remoting/protocol/channel_multiplexer.cc return net::ERR_NOT_IMPLEMENTED; net 125 remoting/protocol/channel_multiplexer.cc return net::ERR_NOT_IMPLEMENTED; net 128 remoting/protocol/channel_multiplexer.cc virtual int Connect(const net::CompletionCallback& callback) OVERRIDE { net 130 remoting/protocol/channel_multiplexer.cc return net::ERR_NOT_IMPLEMENTED; net 143 remoting/protocol/channel_multiplexer.cc virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE { net 145 remoting/protocol/channel_multiplexer.cc return net::ERR_NOT_IMPLEMENTED; net 147 remoting/protocol/channel_multiplexer.cc virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE { net 149 remoting/protocol/channel_multiplexer.cc return net::ERR_NOT_IMPLEMENTED; net 151 remoting/protocol/channel_multiplexer.cc virtual const net::BoundNetLog& NetLog() const OVERRIDE { net 170 remoting/protocol/channel_multiplexer.cc virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE { net 171 remoting/protocol/channel_multiplexer.cc return net::kProtoUnknown; net 173 remoting/protocol/channel_multiplexer.cc virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE { net 181 remoting/protocol/channel_multiplexer.cc net::CompletionCallback read_callback_; net 182 remoting/protocol/channel_multiplexer.cc scoped_refptr<net::IOBuffer> read_buffer_; net 187 remoting/protocol/channel_multiplexer.cc net::CompletionCallback write_callback_; net 189 remoting/protocol/channel_multiplexer.cc net::BoundNetLog net_log_; net 213 remoting/protocol/channel_multiplexer.cc scoped_ptr<net::StreamSocket> ChannelMultiplexer::MuxChannel::CreateSocket() { net 217 remoting/protocol/channel_multiplexer.cc return result.PassAs<net::StreamSocket>(); net 254 remoting/protocol/channel_multiplexer.cc int ChannelMultiplexer::MuxChannel::DoRead(net::IOBuffer* buffer, net 284 remoting/protocol/channel_multiplexer.cc net::IOBuffer* buffer, int buffer_len, net 285 remoting/protocol/channel_multiplexer.cc const net::CompletionCallback& callback) { net 294 remoting/protocol/channel_multiplexer.cc return net::ERR_IO_PENDING; net 300 remoting/protocol/channel_multiplexer.cc net::IOBuffer* buffer, int buffer_len, net 301 remoting/protocol/channel_multiplexer.cc const net::CompletionCallback& callback) { net 314 remoting/protocol/channel_multiplexer.cc return net::ERR_FAILED; net 322 remoting/protocol/channel_multiplexer.cc return net::ERR_IO_PENDING; net 331 remoting/protocol/channel_multiplexer.cc net::CompletionCallback cb; net 339 remoting/protocol/channel_multiplexer.cc net::CompletionCallback cb; net 341 remoting/protocol/channel_multiplexer.cc cb.Run(net::ERR_FAILED); net 350 remoting/protocol/channel_multiplexer.cc net::CompletionCallback cb; net 382 remoting/protocol/channel_multiplexer.cc callback.Run(scoped_ptr<net::StreamSocket>()); net 401 remoting/protocol/channel_multiplexer.cc callback.Run(scoped_ptr<net::Socket>()); net 415 remoting/protocol/channel_multiplexer.cc scoped_ptr<net::StreamSocket> socket) { net 446 remoting/protocol/channel_multiplexer.cc scoped_ptr<net::StreamSocket> socket; net 42 remoting/protocol/channel_multiplexer.h void OnBaseChannelReady(scoped_ptr<net::StreamSocket> socket); net 72 remoting/protocol/channel_multiplexer.h scoped_ptr<net::StreamSocket> base_channel_; net 48 remoting/protocol/channel_multiplexer_unittest.cc MOCK_METHOD1(OnConnectedPtr, void(net::StreamSocket* socket)); net 49 remoting/protocol/channel_multiplexer_unittest.cc void OnConnected(scoped_ptr<net::StreamSocket> socket) { net 94 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket>* host_socket, net 95 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket>* client_socket) { net 111 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket>* storage, net 113 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> socket) { net 121 remoting/protocol/channel_multiplexer_unittest.cc scoped_refptr<net::IOBufferWithSize> CreateTestBuffer(int size) { net 122 remoting/protocol/channel_multiplexer_unittest.cc scoped_refptr<net::IOBufferWithSize> result = net 123 remoting/protocol/channel_multiplexer_unittest.cc new net::IOBufferWithSize(size); net 138 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket1_; net 139 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket1_; net 140 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket2_; net 141 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket2_; net 146 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket; net 147 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket; net 161 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket1_; net 162 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket1_; net 166 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket2_; net 167 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket2_; net 188 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket1_; net 189 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket1_; net 193 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket2_; net 194 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket2_; net 198 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket3; net 199 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket3; net 203 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket4; net 204 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket4; net 233 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket1_; net 234 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket1_; net 238 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> host_socket2_; net 239 remoting/protocol/channel_multiplexer_unittest.cc scoped_ptr<net::StreamSocket> client_socket2_; net 246 remoting/protocol/channel_multiplexer_unittest.cc set_next_write_error(net::ERR_FAILED); net 250 remoting/protocol/channel_multiplexer_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = CreateTestBuffer(100); net 260 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_EQ(net::ERR_FAILED, net 265 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_EQ(net::ERR_FAILED, net 284 remoting/protocol/channel_multiplexer_unittest.cc set_next_write_error(net::ERR_FAILED); net 288 remoting/protocol/channel_multiplexer_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = CreateTestBuffer(100); net 292 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_CALL(cb1, OnDone(net::ERR_FAILED)); net 293 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_CALL(cb2, OnDone(net::ERR_FAILED)); net 295 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 300 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 318 remoting/protocol/channel_multiplexer_unittest.cc set_next_write_error(net::ERR_FAILED); net 322 remoting/protocol/channel_multiplexer_unittest.cc scoped_refptr<net::IOBufferWithSize> buf = CreateTestBuffer(100); net 327 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_CALL(cb1, OnDone(net::ERR_FAILED)) net 330 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_CALL(cb2, OnDone(net::ERR_FAILED)) net 334 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 339 remoting/protocol/channel_multiplexer_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 17 remoting/protocol/connection_tester.cc StreamConnectionTester::StreamConnectionTester(net::StreamSocket* client_socket, net 18 remoting/protocol/connection_tester.cc net::StreamSocket* host_socket, net 59 remoting/protocol/connection_tester.cc output_buffer_ = new net::DrainableIOBuffer( net 60 remoting/protocol/connection_tester.cc new net::IOBuffer(test_data_size_), test_data_size_); net 65 remoting/protocol/connection_tester.cc input_buffer_ = new net::GrowableIOBuffer(); net 90 remoting/protocol/connection_tester.cc if (result <= 0 && result != net::ERR_IO_PENDING) { net 118 remoting/protocol/connection_tester.cc if (result <= 0 && result != net::ERR_IO_PENDING) { net 130 remoting/protocol/connection_tester.cc DatagramConnectionTester::DatagramConnectionTester(net::Socket* client_socket, net 131 remoting/protocol/connection_tester.cc net::Socket* host_socket, net 181 remoting/protocol/connection_tester.cc scoped_refptr<net::IOBuffer> packet(new net::IOBuffer(message_size_)); net 201 remoting/protocol/connection_tester.cc if (result <= 0 && result != net::ERR_IO_PENDING) { net 219 remoting/protocol/connection_tester.cc read_buffer_ = new net::IOBuffer(kReadSize); net 235 remoting/protocol/connection_tester.cc if (result <= 0 && result != net::ERR_IO_PENDING) { net 16 remoting/protocol/connection_tester.h namespace net { net 32 remoting/protocol/connection_tester.h StreamConnectionTester(net::StreamSocket* client_socket, net 33 remoting/protocol/connection_tester.h net::StreamSocket* host_socket, net 54 remoting/protocol/connection_tester.h net::StreamSocket* host_socket_; net 55 remoting/protocol/connection_tester.h net::StreamSocket* client_socket_; net 60 remoting/protocol/connection_tester.h scoped_refptr<net::DrainableIOBuffer> output_buffer_; net 61 remoting/protocol/connection_tester.h scoped_refptr<net::GrowableIOBuffer> input_buffer_; net 69 remoting/protocol/connection_tester.h DatagramConnectionTester(net::Socket* client_socket, net 70 remoting/protocol/connection_tester.h net::Socket* host_socket, net 89 remoting/protocol/connection_tester.h net::Socket* host_socket_; net 90 remoting/protocol/connection_tester.h net::Socket* client_socket_; net 96 remoting/protocol/connection_tester.h std::vector<scoped_refptr<net::IOBuffer> > sent_packets_; net 97 remoting/protocol/connection_tester.h scoped_refptr<net::IOBuffer> read_buffer_; net 19 remoting/protocol/connection_to_client.h namespace net { net 19 remoting/protocol/fake_authenticator.cc : result_(accept ? net::OK : net::ERR_FAILED), net 30 remoting/protocol/fake_authenticator.cc scoped_ptr<net::StreamSocket> socket, net 37 remoting/protocol/fake_authenticator.cc scoped_refptr<net::IOBuffer> write_buf = new net::IOBuffer(1); net 44 remoting/protocol/fake_authenticator.cc if (result != net::ERR_IO_PENDING) { net 50 remoting/protocol/fake_authenticator.cc scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(1); net 56 remoting/protocol/fake_authenticator.cc if (result != net::ERR_IO_PENDING) net 59 remoting/protocol/fake_authenticator.cc if (result_ != net::OK) net 23 remoting/protocol/fake_authenticator.h scoped_ptr<net::StreamSocket> socket, net 28 remoting/protocol/fake_authenticator.h net::Error error, net 29 remoting/protocol/fake_authenticator.h scoped_ptr<net::StreamSocket> socket); net 34 remoting/protocol/fake_authenticator.h net::Error result_; net 37 remoting/protocol/fake_authenticator.h scoped_ptr<net::StreamSocket> socket_; net 24 remoting/protocol/fake_session.cc next_write_error_(net::OK), net 25 remoting/protocol/fake_session.cc next_read_error_(net::OK), net 60 remoting/protocol/fake_session.cc int FakeSocket::Read(net::IOBuffer* buf, int buf_len, net 61 remoting/protocol/fake_session.cc const net::CompletionCallback& callback) { net 64 remoting/protocol/fake_session.cc if (next_read_error_ != net::OK) { net 66 remoting/protocol/fake_session.cc next_read_error_ = net::OK; net 81 remoting/protocol/fake_session.cc return net::ERR_IO_PENDING; net 85 remoting/protocol/fake_session.cc int FakeSocket::Write(net::IOBuffer* buf, int buf_len, net 86 remoting/protocol/fake_session.cc const net::CompletionCallback& callback) { net 96 remoting/protocol/fake_session.cc scoped_refptr<net::IOBuffer>(buf), buf_len, callback)); net 98 remoting/protocol/fake_session.cc return net::ERR_IO_PENDING; net 100 remoting/protocol/fake_session.cc if (next_write_error_ != net::OK) { net 102 remoting/protocol/fake_session.cc next_write_error_ = net::OK; net 111 remoting/protocol/fake_session.cc void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, net 112 remoting/protocol/fake_session.cc const net::CompletionCallback& callback) { net 115 remoting/protocol/fake_session.cc if (next_write_error_ != net::OK) { net 117 remoting/protocol/fake_session.cc next_write_error_ = net::OK; net 126 remoting/protocol/fake_session.cc void FakeSocket::DoWrite(net::IOBuffer* buf, int buf_len) { net 141 remoting/protocol/fake_session.cc return net::ERR_NOT_IMPLEMENTED; net 146 remoting/protocol/fake_session.cc return net::ERR_NOT_IMPLEMENTED; net 149 remoting/protocol/fake_session.cc int FakeSocket::Connect(const net::CompletionCallback& callback) { net 151 remoting/protocol/fake_session.cc return net::OK; net 168 remoting/protocol/fake_session.cc int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const { net 169 remoting/protocol/fake_session.cc net::IPAddressNumber ip(net::kIPv4AddressSize); net 170 remoting/protocol/fake_session.cc *address = net::IPEndPoint(ip, 0); net 171 remoting/protocol/fake_session.cc return net::OK; net 174 remoting/protocol/fake_session.cc int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const { net 176 remoting/protocol/fake_session.cc return net::ERR_NOT_IMPLEMENTED; net 179 remoting/protocol/fake_session.cc const net::BoundNetLog& FakeSocket::NetLog() const { net 206 remoting/protocol/fake_session.cc net::NextProto FakeSocket::GetNegotiatedProtocol() const { net 208 remoting/protocol/fake_session.cc return net::kProtoUnknown; net 211 remoting/protocol/fake_session.cc bool FakeSocket::GetSSLInfo(net::SSLInfo* ssl_info) { net 241 remoting/protocol/fake_session.cc int FakeUdpSocket::Read(net::IOBuffer* buf, int buf_len, net 242 remoting/protocol/fake_session.cc const net::CompletionCallback& callback) { net 255 remoting/protocol/fake_session.cc return net::ERR_IO_PENDING; net 259 remoting/protocol/fake_session.cc int FakeUdpSocket::Write(net::IOBuffer* buf, int buf_len, net 260 remoting/protocol/fake_session.cc const net::CompletionCallback& callback) { net 269 remoting/protocol/fake_session.cc return net::ERR_NOT_IMPLEMENTED; net 274 remoting/protocol/fake_session.cc return net::ERR_NOT_IMPLEMENTED; net 358 remoting/protocol/fake_session.cc callback.Run(scoped_ptr<net::StreamSocket>(stream_channels_[name])); net 384 remoting/protocol/fake_session.cc callback.Run(scoped_ptr<net::Socket>(datagram_channels_[name])); net 39 remoting/protocol/fake_session.h class FakeSocket : public net::StreamSocket { net 56 remoting/protocol/fake_session.h virtual int Read(net::IOBuffer* buf, int buf_len, net 57 remoting/protocol/fake_session.h const net::CompletionCallback& callback) OVERRIDE; net 58 remoting/protocol/fake_session.h virtual int Write(net::IOBuffer* buf, int buf_len, net 59 remoting/protocol/fake_session.h const net::CompletionCallback& callback) OVERRIDE; net 65 remoting/protocol/fake_session.h virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; net 69 remoting/protocol/fake_session.h virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE; net 70 remoting/protocol/fake_session.h virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; net 71 remoting/protocol/fake_session.h virtual const net::BoundNetLog& NetLog() const OVERRIDE; net 77 remoting/protocol/fake_session.h virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; net 78 remoting/protocol/fake_session.h virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; net 81 remoting/protocol/fake_session.h void DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, net 82 remoting/protocol/fake_session.h const net::CompletionCallback& callback); net 83 remoting/protocol/fake_session.h void DoWrite(net::IOBuffer* buf, int buf_len); net 92 remoting/protocol/fake_session.h scoped_refptr<net::IOBuffer> read_buffer_; net 94 remoting/protocol/fake_session.h net::CompletionCallback read_callback_; net 101 remoting/protocol/fake_session.h net::BoundNetLog net_log_; net 112 remoting/protocol/fake_session.h class FakeUdpSocket : public net::Socket { net 125 remoting/protocol/fake_session.h virtual int Read(net::IOBuffer* buf, int buf_len, net 126 remoting/protocol/fake_session.h const net::CompletionCallback& callback) OVERRIDE; net 127 remoting/protocol/fake_session.h virtual int Write(net::IOBuffer* buf, int buf_len, net 128 remoting/protocol/fake_session.h const net::CompletionCallback& callback) OVERRIDE; net 135 remoting/protocol/fake_session.h scoped_refptr<net::IOBuffer> read_buffer_; net 137 remoting/protocol/fake_session.h net::CompletionCallback read_callback_; net 15 remoting/protocol/host_control_dispatcher.h namespace net { net 25 remoting/protocol/jingle_session.h namespace net { net 88 remoting/protocol/jingle_session_unittest.cc MOCK_METHOD1(OnDone, void(net::StreamSocket* socket)); net 108 remoting/protocol/jingle_session_unittest.cc void OnClientChannelCreated(scoped_ptr<net::StreamSocket> socket) { net 113 remoting/protocol/jingle_session_unittest.cc void OnHostChannelCreated(scoped_ptr<net::StreamSocket> socket) { net 293 remoting/protocol/jingle_session_unittest.cc scoped_ptr<net::StreamSocket> client_socket_; net 294 remoting/protocol/jingle_session_unittest.cc scoped_ptr<net::StreamSocket> host_socket_; net 85 remoting/protocol/libjingle_transport_factory.cc void OnAuthenticationDone(net::Error error, net 86 remoting/protocol/libjingle_transport_factory.cc scoped_ptr<net::StreamSocket> socket); net 96 remoting/protocol/libjingle_transport_factory.cc void NotifyConnected(scoped_ptr<net::StreamSocket> socket); net 246 remoting/protocol/libjingle_transport_factory.cc if (result != net::ERR_IO_PENDING) net 333 remoting/protocol/libjingle_transport_factory.cc if (result != net::OK) { net 339 remoting/protocol/libjingle_transport_factory.cc socket_.PassAs<net::StreamSocket>(), net 345 remoting/protocol/libjingle_transport_factory.cc net::Error error, net 346 remoting/protocol/libjingle_transport_factory.cc scoped_ptr<net::StreamSocket> socket) { net 347 remoting/protocol/libjingle_transport_factory.cc if (error != net::OK) { net 381 remoting/protocol/libjingle_transport_factory.cc scoped_ptr<net::StreamSocket> socket) { net 402 remoting/protocol/libjingle_transport_factory.cc NotifyConnected(scoped_ptr<net::StreamSocket>()); net 19 remoting/protocol/libjingle_transport_factory.h namespace net { net 23 remoting/protocol/message_decoder.cc void MessageDecoder::AddData(scoped_refptr<net::IOBuffer> data, net 40 remoting/protocol/message_decoder.h void AddData(scoped_refptr<net::IOBuffer> data, int data_size); net 24 remoting/protocol/message_decoder_unittest.cc scoped_refptr<net::IOBufferWithSize> encoded_msg; net 71 remoting/protocol/message_decoder_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read)); net 32 remoting/protocol/message_reader.cc void MessageReader::Init(net::Socket* socket, net 49 remoting/protocol/message_reader.cc read_buffer_ = new net::IOBuffer(kReadBufferSize); net 76 remoting/protocol/message_reader.cc } else if (result == net::ERR_IO_PENDING) { net 79 remoting/protocol/message_reader.cc if (result != net::ERR_CONNECTION_CLOSED) { net 87 remoting/protocol/message_reader.cc void MessageReader::OnDataReceived(net::IOBuffer* data, int data_size) { net 17 remoting/protocol/message_reader.h namespace net { net 46 remoting/protocol/message_reader.h void Init(net::Socket* socket, const MessageReceivedCallback& callback); net 52 remoting/protocol/message_reader.h void OnDataReceived(net::IOBuffer* data, int data_size); net 56 remoting/protocol/message_reader.h net::Socket* socket_; net 68 remoting/protocol/message_reader.h scoped_refptr<net::IOBuffer> read_buffer_; net 94 remoting/protocol/message_reader.h void Init(net::Socket* socket, const MessageReceivedCallback& callback) { net 283 remoting/protocol/message_reader_unittest.cc socket_.set_next_read_error(net::ERR_FAILED); net 44 remoting/protocol/protobuf_video_reader.cc void ProtobufVideoReader::OnChannelReady(scoped_ptr<net::StreamSocket> socket) { net 13 remoting/protocol/protobuf_video_reader.h namespace net { net 35 remoting/protocol/protobuf_video_reader.h void OnChannelReady(scoped_ptr<net::StreamSocket> socket); net 44 remoting/protocol/protobuf_video_reader.h scoped_ptr<net::StreamSocket> channel_; net 36 remoting/protocol/protobuf_video_writer.cc void ProtobufVideoWriter::OnChannelReady(scoped_ptr<net::StreamSocket> socket) { net 16 remoting/protocol/protobuf_video_writer.h namespace net { net 42 remoting/protocol/protobuf_video_writer.h void OnChannelReady(scoped_ptr<net::StreamSocket> socket); net 47 remoting/protocol/protobuf_video_writer.h scoped_ptr<net::StreamSocket> channel_; net 13 remoting/protocol/session.h namespace net { net 59 remoting/protocol/ssl_hmac_channel_authenticator.cc scoped_ptr<net::StreamSocket> socket, const DoneCallback& done_callback) { net 67 remoting/protocol/ssl_hmac_channel_authenticator.cc scoped_refptr<net::X509Certificate> cert = net 68 remoting/protocol/ssl_hmac_channel_authenticator.cc net::X509Certificate::CreateFromBytes( net 72 remoting/protocol/ssl_hmac_channel_authenticator.cc NotifyError(net::ERR_FAILED); net 76 remoting/protocol/ssl_hmac_channel_authenticator.cc net::SSLConfig ssl_config; net 79 remoting/protocol/ssl_hmac_channel_authenticator.cc scoped_ptr<net::SSLServerSocket> server_socket = net 80 remoting/protocol/ssl_hmac_channel_authenticator.cc net::CreateSSLServerSocket(socket.Pass(), net 84 remoting/protocol/ssl_hmac_channel_authenticator.cc net::SSLServerSocket* raw_server_socket = server_socket.get(); net 90 remoting/protocol/ssl_hmac_channel_authenticator.cc cert_verifier_.reset(net::CertVerifier::CreateDefault()); net 91 remoting/protocol/ssl_hmac_channel_authenticator.cc transport_security_state_.reset(new net::TransportSecurityState); net 93 remoting/protocol/ssl_hmac_channel_authenticator.cc net::SSLConfig::CertAndStatus cert_and_status; net 94 remoting/protocol/ssl_hmac_channel_authenticator.cc cert_and_status.cert_status = net::CERT_STATUS_AUTHORITY_INVALID; net 97 remoting/protocol/ssl_hmac_channel_authenticator.cc net::SSLConfig ssl_config; net 106 remoting/protocol/ssl_hmac_channel_authenticator.cc net::HostPortPair host_and_port(kSslFakeHostName, 0); net 107 remoting/protocol/ssl_hmac_channel_authenticator.cc net::SSLClientSocketContext context; net 110 remoting/protocol/ssl_hmac_channel_authenticator.cc scoped_ptr<net::ClientSocketHandle> connection(new net::ClientSocketHandle); net 113 remoting/protocol/ssl_hmac_channel_authenticator.cc net::ClientSocketFactory::GetDefaultFactory()->CreateSSLClientSocket( net 121 remoting/protocol/ssl_hmac_channel_authenticator.cc if (result == net::ERR_IO_PENDING) net 132 remoting/protocol/ssl_hmac_channel_authenticator.cc if (result != net::OK) { net 143 remoting/protocol/ssl_hmac_channel_authenticator.cc NotifyError(net::ERR_FAILED); net 148 remoting/protocol/ssl_hmac_channel_authenticator.cc auth_write_buf_ = new net::DrainableIOBuffer( net 149 remoting/protocol/ssl_hmac_channel_authenticator.cc new net::StringIOBuffer(auth_bytes), auth_bytes.size()); net 152 remoting/protocol/ssl_hmac_channel_authenticator.cc auth_read_buf_ = new net::GrowableIOBuffer(); net 172 remoting/protocol/ssl_hmac_channel_authenticator.cc if (result == net::ERR_IO_PENDING) net 212 remoting/protocol/ssl_hmac_channel_authenticator.cc if (result == net::ERR_IO_PENDING) net 240 remoting/protocol/ssl_hmac_channel_authenticator.cc NotifyError(net::ERR_FAILED); net 269 remoting/protocol/ssl_hmac_channel_authenticator.cc done_callback_.Run(net::OK, socket_.PassAs<net::StreamSocket>()); net 274 remoting/protocol/ssl_hmac_channel_authenticator.cc done_callback_.Run(static_cast<net::Error>(error), net 275 remoting/protocol/ssl_hmac_channel_authenticator.cc scoped_ptr<net::StreamSocket>()); net 16 remoting/protocol/ssl_hmac_channel_authenticator.h namespace net { net 61 remoting/protocol/ssl_hmac_channel_authenticator.h scoped_ptr<net::StreamSocket> socket, net 92 remoting/protocol/ssl_hmac_channel_authenticator.h scoped_ptr<net::CertVerifier> cert_verifier_; net 93 remoting/protocol/ssl_hmac_channel_authenticator.h scoped_ptr<net::TransportSecurityState> transport_security_state_; net 95 remoting/protocol/ssl_hmac_channel_authenticator.h scoped_ptr<net::SSLSocket> socket_; net 98 remoting/protocol/ssl_hmac_channel_authenticator.h scoped_refptr<net::DrainableIOBuffer> auth_write_buf_; net 99 remoting/protocol/ssl_hmac_channel_authenticator.h scoped_refptr<net::GrowableIOBuffer> auth_read_buf_; net 39 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc MOCK_METHOD2(OnDone, void(net::Error error, net::StreamSocket* socket)); net 58 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::FilePath certs_dir(net::GetTestCertsDirectory()); net 78 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc client_fake_socket_.PassAs<net::StreamSocket>(), net 83 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc host_fake_socket_.PassAs<net::StreamSocket>(), net 92 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc EXPECT_CALL(client_callback_, OnDone(net::ERR_FAILED, NULL)) net 94 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc EXPECT_CALL(host_callback_, OnDone(net::ERR_FAILED, NULL)) net 97 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc EXPECT_CALL(client_callback_, OnDone(net::OK, NotNull())) net 99 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc EXPECT_CALL(host_callback_, OnDone(net::OK, NotNull())) net 112 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc void OnHostConnected(net::Error error, net 113 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc scoped_ptr<net::StreamSocket> socket) { net 118 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc void OnClientConnected(net::Error error, net 119 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc scoped_ptr<net::StreamSocket> socket) { net 134 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc scoped_ptr<net::StreamSocket> client_socket_; net 135 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc scoped_ptr<net::StreamSocket> host_socket_; net 37 remoting/protocol/transport.h namespace net { net 61 remoting/protocol/transport.h net::IPEndPoint remote_address; net 62 remoting/protocol/transport.h net::IPEndPoint local_address; net 124 remoting/protocol/transport.h typedef base::Callback<void(scoped_ptr<net::StreamSocket>)> ConnectedCallback; net 137 remoting/protocol/transport.h typedef base::Callback<void(scoped_ptr<net::Socket>)> ConnectedCallback; net 16 remoting/protocol/util.cc scoped_refptr<net::IOBufferWithSize> SerializeAndFrameMessage( net 22 remoting/protocol/util.cc scoped_refptr<net::IOBufferWithSize> buffer(new net::IOBufferWithSize(size)); net 26 remoting/protocol/util.h scoped_refptr<net::IOBufferWithSize> SerializeAndFrameMessage( net 190 rlz/lib/financial_ping.cc net::URLRequestContextGetter* context) { net 198 rlz/lib/financial_ping.cc class FinancialPingUrlFetcherDelegate : public net::URLFetcherDelegate { net 203 rlz/lib/financial_ping.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 210 rlz/lib/financial_ping.cc const net::URLFetcher* source) { net 296 rlz/lib/financial_ping.cc net::URLRequestContextGetter* context = net 297 rlz/lib/financial_ping.cc reinterpret_cast<net::URLRequestContextGetter*>( net 316 rlz/lib/financial_ping.cc scoped_ptr<net::URLFetcher> fetcher(net::URLFetcher::Create( net 317 rlz/lib/financial_ping.cc GURL(url), net::URLFetcher::GET, &delegate)); net 319 rlz/lib/financial_ping.cc fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | net 320 rlz/lib/financial_ping.cc net::LOAD_DO_NOT_SEND_AUTH_DATA | net 321 rlz/lib/financial_ping.cc net::LOAD_DO_NOT_PROMPT_FOR_LOGIN | net 322 rlz/lib/financial_ping.cc net::LOAD_DO_NOT_SEND_COOKIES | net 323 rlz/lib/financial_ping.cc net::LOAD_DO_NOT_SAVE_COOKIES); net 339 rlz/lib/financial_ping.cc base::Bind(&net::URLFetcher::Start, base::Unretained(fetcher.get()))); net 14 rlz/lib/financial_ping.h namespace net { net 53 rlz/lib/financial_ping.h static bool SetURLRequestContext(net::URLRequestContextGetter* context); net 212 rlz/lib/rlz_lib.cc bool SetURLRequestContext(net::URLRequestContextGetter* context) { net 48 rlz/lib/rlz_lib.h namespace net { net 87 rlz/lib/rlz_lib.h bool RLZ_LIB_API SetURLRequestContext(net::URLRequestContextGetter* context); net 422 rlz/lib/rlz_lib_test.cc URLRequestRAII(net::URLRequestContextGetter* context) { net 446 rlz/lib/rlz_lib_test.cc scoped_refptr<net::TestURLRequestContextGetter> context = net 447 rlz/lib/rlz_lib_test.cc new net::TestURLRequestContextGetter( net 499 rlz/lib/rlz_lib_test.cc scoped_refptr<net::TestURLRequestContextGetter> context = net 500 rlz/lib/rlz_lib_test.cc new net::TestURLRequestContextGetter( net 24 sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java import org.chromium.net.NetworkChangeNotifier; net 61 sync/engine/net/server_connection_manager.cc case net::ERR_ABORTED: net 62 sync/engine/net/server_connection_manager.cc case net::ERR_SOCKET_NOT_CONNECTED: net 63 sync/engine/net/server_connection_manager.cc case net::ERR_NETWORK_CHANGED: net 64 sync/engine/net/server_connection_manager.cc case net::ERR_CONNECTION_FAILED: net 65 sync/engine/net/server_connection_manager.cc case net::ERR_NAME_NOT_RESOLVED: net 66 sync/engine/net/server_connection_manager.cc case net::ERR_INTERNET_DISCONNECTED: net 67 sync/engine/net/server_connection_manager.cc case net::ERR_NETWORK_ACCESS_DENIED: net 68 sync/engine/net/server_connection_manager.cc case net::ERR_NETWORK_IO_SUSPENDED: net 85 sync/engine/net/server_connection_manager.cc if (net::HTTP_OK != response->response_code) { net 317 sync/engine/net/server_connection_manager.cc if (!ok || net::HTTP_OK != params->response.response_code) net 36 sync/engine/net/url_translator.cc return net::EscapeUrlEncodedData(src, true); net 27 sync/internal_api/http_bridge.cc net::URLRequestContextGetter* baseline_context_getter, net 40 sync/internal_api/http_bridge.cc net::URLRequestContext* net 44 sync/internal_api/http_bridge.cc net::URLRequestContext* baseline_context = net 61 sync/internal_api/http_bridge.cc net::URLRequestContextGetter* baseline_context_getter, net 122 sync/internal_api/http_bridge.cc net::URLRequestContext* baseline_context, net 131 sync/internal_api/http_bridge.cc set_cookie_store(new net::CookieMonster(NULL, NULL)); net 142 sync/internal_api/http_bridge.cc net::HttpNetworkSession* session = net 145 sync/internal_api/http_bridge.cc set_http_transaction_factory(new net::HttpNetworkLayer(session)); net 159 sync/internal_api/http_bridge.cc http_user_agent_settings_.reset(new net::StaticHttpUserAgentSettings( net 279 sync/internal_api/http_bridge.cc fetch_state_.url_poster = net::URLFetcher::Create( net 280 sync/internal_api/http_bridge.cc url_for_request_, net::URLFetcher::POST, this); net 284 sync/internal_api/http_bridge.cc fetch_state_.url_poster->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES); net 336 sync/internal_api/http_bridge.cc fetch_state_.error_code = net::ERR_ABORTED; net 340 sync/internal_api/http_bridge.cc void HttpBridge::DestroyURLFetcherOnIOThread(net::URLFetcher* fetcher) { net 345 sync/internal_api/http_bridge.cc void HttpBridge::OnURLFetchComplete(const net::URLFetcher* source) { net 354 sync/internal_api/http_bridge.cc (net::URLRequestStatus::SUCCESS == source->GetStatus().status()); net 379 sync/internal_api/http_bridge.cc net::URLRequestContextGetter* HttpBridge::GetRequestContextGetterForTest() net 20 sync/internal_api/http_bridge_network_resources.cc net::URLRequestContextGetter* baseline_context_getter, net 27 sync/internal_api/http_bridge_unittest.cc : test_server_(net::SpawnedTestServer::TYPE_HTTP, net 28 sync/internal_api/http_bridge_unittest.cc net::SpawnedTestServer::kLocalhost, net 53 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread_.message_loop_proxy()); net 77 sync/internal_api/http_bridge_unittest.cc net::HttpNetworkSession* test_session = net 90 sync/internal_api/http_bridge_unittest.cc net::TestURLRequestContextGetter* GetTestRequestContextGetter() { net 94 sync/internal_api/http_bridge_unittest.cc net::SpawnedTestServer test_server_; net 103 sync/internal_api/http_bridge_unittest.cc net::TestURLRequestContextGetter* fake_default_request_context_getter_; net 120 sync/internal_api/http_bridge_unittest.cc ShuntedHttpBridge(net::URLRequestContextGetter* baseline_context_getter, net 144 sync/internal_api/http_bridge_unittest.cc net::ResponseCookies cookies; net 147 sync/internal_api/http_bridge_unittest.cc net::TestURLFetcher fetcher(0, GURL(), NULL); net 161 sync/internal_api/http_bridge_unittest.cc scoped_refptr<net::URLRequestContextGetter> ctx_getter( net 162 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread_.message_loop_proxy())); net 192 sync/internal_api/http_bridge_unittest.cc scoped_refptr<net::URLRequestContextGetter> ctx_getter( net 193 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread()->message_loop_proxy())); net 314 sync/internal_api/http_bridge_unittest.cc scoped_refptr<net::URLRequestContextGetter> ctx_getter( net 315 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread()->message_loop_proxy())); net 329 sync/internal_api/http_bridge_unittest.cc EXPECT_EQ(net::ERR_ABORTED, os_error); net 333 sync/internal_api/http_bridge_unittest.cc scoped_refptr<net::URLRequestContextGetter> ctx_getter( net 334 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread()->message_loop_proxy())); net 377 sync/internal_api/http_bridge_unittest.cc net::URLFetcherDelegate* delegate = net 378 sync/internal_api/http_bridge_unittest.cc static_cast<net::URLFetcherDelegate*>(bridge_for_race_test()); net 379 sync/internal_api/http_bridge_unittest.cc net::ResponseCookies cookies; net 381 sync/internal_api/http_bridge_unittest.cc net::TestURLFetcher fetcher(0, GURL(), NULL); net 388 sync/internal_api/http_bridge_unittest.cc base::Bind(&net::URLFetcherDelegate::OnURLFetchComplete, net 410 sync/internal_api/http_bridge_unittest.cc net::URLRequestContextGetter* baseline_context_getter, net 447 sync/internal_api/http_bridge_unittest.cc scoped_refptr<net::URLRequestContextGetter> baseline_context_getter( net 448 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread()->message_loop_proxy())); net 497 sync/internal_api/http_bridge_unittest.cc scoped_refptr<net::URLRequestContextGetter> baseline_context_getter( net 498 sync/internal_api/http_bridge_unittest.cc new net::TestURLRequestContextGetter(io_thread()->message_loop_proxy())); net 33 sync/internal_api/public/http_bridge.h namespace net { net 52 sync/internal_api/public/http_bridge.h public net::URLFetcherDelegate { net 57 sync/internal_api/public/http_bridge.h class RequestContext : public net::URLRequestContext { net 64 sync/internal_api/public/http_bridge.h net::URLRequestContext* baseline_context, net 73 sync/internal_api/public/http_bridge.h net::URLRequestContext* const baseline_context_; net 75 sync/internal_api/public/http_bridge.h scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_; net 82 sync/internal_api/public/http_bridge.h : public net::URLRequestContextGetter { net 85 sync/internal_api/public/http_bridge.h net::URLRequestContextGetter* baseline_context_getter, net 89 sync/internal_api/public/http_bridge.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 97 sync/internal_api/public/http_bridge.h scoped_refptr<net::URLRequestContextGetter> baseline_context_getter_; net 130 sync/internal_api/public/http_bridge.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 132 sync/internal_api/public/http_bridge.h net::URLRequestContextGetter* GetRequestContextGetterForTest() const; net 155 sync/internal_api/public/http_bridge.h void DestroyURLFetcherOnIOThread(net::URLFetcher* fetcher); net 187 sync/internal_api/public/http_bridge.h net::URLFetcher* url_poster; net 203 sync/internal_api/public/http_bridge.h scoped_refptr<net::HttpResponseHeaders> response_headers; net 230 sync/internal_api/public/http_bridge.h net::URLRequestContextGetter* baseline_context_getter, net 251 sync/internal_api/public/http_bridge.h scoped_refptr<net::URLRequestContextGetter> baseline_request_context_getter_; net 13 sync/internal_api/public/http_bridge_network_resources.h namespace net { net 28 sync/internal_api/public/http_bridge_network_resources.h net::URLRequestContextGetter* baseline_context_getter, net 12 sync/internal_api/public/network_resources.h namespace net { net 26 sync/internal_api/public/network_resources.h net::URLRequestContextGetter* baseline_context_getter, net 427 sync/internal_api/sync_manager_impl.cc net::NetworkChangeNotifier::AddIPAddressObserver(this); net 428 sync/internal_api/sync_manager_impl.cc net::NetworkChangeNotifier::AddConnectionTypeObserver(this); net 634 sync/internal_api/sync_manager_impl.cc net::NetworkChangeNotifier::RemoveIPAddressObserver(this); net 635 sync/internal_api/sync_manager_impl.cc net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); net 664 sync/internal_api/sync_manager_impl.cc net::NetworkChangeNotifier::ConnectionType) { net 53 sync/internal_api/sync_manager_impl.h public net::NetworkChangeNotifier::IPAddressObserver, net 54 sync/internal_api/sync_manager_impl.h public net::NetworkChangeNotifier::ConnectionTypeObserver, net 187 sync/internal_api/sync_manager_impl.h net::NetworkChangeNotifier::ConnectionType) OVERRIDE; net 68 sync/internal_api/syncapi_server_connection_manager.cc else if (response->response_code == net::HTTP_UNAUTHORIZED) net 38 sync/internal_api/syncapi_server_connection_manager_unittest.cc *error_code = net::ERR_ABORTED; net 34 sync/notifier/gcm_network_channel.cc const net::BackoffEntry::Policy kRegisterBackoffPolicy = { net 104 sync/notifier/gcm_network_channel.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 108 sync/notifier/gcm_network_channel.cc register_backoff_entry_(new net::BackoffEntry(&kRegisterBackoffPolicy)), net 111 sync/notifier/gcm_network_channel.cc net::NetworkChangeNotifier::AddNetworkChangeObserver(this); net 117 sync/notifier/gcm_network_channel.cc net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this); net 208 sync/notifier/gcm_network_channel.cc fetcher_.reset(net::URLFetcher::Create( net 209 sync/notifier/gcm_network_channel.cc BuildUrl(registration_id_), net::URLFetcher::POST, this)); net 223 sync/notifier/gcm_network_channel.cc void GCMNetworkChannel::OnURLFetchComplete(const net::URLFetcher* source) { net 227 sync/notifier/gcm_network_channel.cc scoped_ptr<net::URLFetcher> fetcher = fetcher_.Pass(); net 229 sync/notifier/gcm_network_channel.cc net::URLRequestStatus status = fetcher->GetStatus(); net 234 sync/notifier/gcm_network_channel.cc fetcher->GetResponseCode() == net::HTTP_UNAUTHORIZED) { net 240 sync/notifier/gcm_network_channel.cc (fetcher->GetResponseCode() != net::HTTP_OK && net 241 sync/notifier/gcm_network_channel.cc fetcher->GetResponseCode() != net::HTTP_NO_CONTENT)) { net 286 sync/notifier/gcm_network_channel.cc net::NetworkChangeNotifier::ConnectionType connection_type) { net 289 sync/notifier/gcm_network_channel.cc if (connection_type != net::NetworkChangeNotifier::CONNECTION_NONE) net 369 sync/notifier/gcm_network_channel.cc const net::BackoffEntry::Policy* policy) { net 370 sync/notifier/gcm_network_channel.cc register_backoff_entry_.reset(new net::BackoffEntry(policy)); net 51 sync/notifier/gcm_network_channel.h public net::URLFetcherDelegate, net 52 sync/notifier/gcm_network_channel.h public net::NetworkChangeNotifier::NetworkChangeObserver, net 56 sync/notifier/gcm_network_channel.h scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 73 sync/notifier/gcm_network_channel.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 77 sync/notifier/gcm_network_channel.h net::NetworkChangeNotifier::ConnectionType connection_type) OVERRIDE; net 81 sync/notifier/gcm_network_channel.h const net::BackoffEntry::Policy* policy); net 103 sync/notifier/gcm_network_channel.h scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 117 sync/notifier/gcm_network_channel.h scoped_ptr<net::BackoffEntry> register_backoff_entry_; net 119 sync/notifier/gcm_network_channel.h scoped_ptr<net::URLFetcher> fetcher_; net 47 sync/notifier/gcm_network_channel_unittest.cc const net::BackoffEntry::Policy kTestBackoffPolicy = { net 76 sync/notifier/gcm_network_channel_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 94 sync/notifier/gcm_network_channel_unittest.cc class TestNetworkChannelURLFetcher : public net::FakeURLFetcher { net 98 sync/notifier/gcm_network_channel_unittest.cc net::URLFetcherDelegate* delegate, net 100 sync/notifier/gcm_network_channel_unittest.cc net::HttpStatusCode response_code, net 101 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::Status status) net 102 sync/notifier/gcm_network_channel_unittest.cc : net::FakeURLFetcher(url, net 128 sync/notifier/gcm_network_channel_unittest.cc request_context_getter_ = new net::TestURLRequestContextGetter( net 141 sync/notifier/gcm_network_channel_unittest.cc url_fetcher_factory_.reset(new net::FakeURLFetcherFactory(NULL, net 185 sync/notifier/gcm_network_channel_unittest.cc net::FakeURLFetcherFactory* url_fetcher_factory() { net 189 sync/notifier/gcm_network_channel_unittest.cc scoped_ptr<net::FakeURLFetcher> CreateURLFetcher( net 191 sync/notifier/gcm_network_channel_unittest.cc net::URLFetcherDelegate* delegate, net 193 sync/notifier/gcm_network_channel_unittest.cc net::HttpStatusCode response_code, net 194 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::Status status) { net 196 sync/notifier/gcm_network_channel_unittest.cc return scoped_ptr<net::FakeURLFetcher>(new TestNetworkChannelURLFetcher( net 221 sync/notifier/gcm_network_channel_unittest.cc scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_; net 222 sync/notifier/gcm_network_channel_unittest.cc scoped_ptr<net::FakeURLFetcherFactory> url_fetcher_factory_; net 230 sync/notifier/gcm_network_channel_unittest.cc net::FakeURLFetcher::AddExtraRequestHeader(header_line); net 246 sync/notifier/gcm_network_channel_unittest.cc net::HTTP_NO_CONTENT, net 247 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::SUCCESS); net 298 sync/notifier/gcm_network_channel_unittest.cc net::HTTP_NO_CONTENT, net 299 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::SUCCESS); net 344 sync/notifier/gcm_network_channel_unittest.cc net::HTTP_UNAUTHORIZED, net 345 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::SUCCESS); net 414 sync/notifier/gcm_network_channel_unittest.cc net::HTTP_SERVICE_UNAVAILABLE, net 415 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::SUCCESS); net 429 sync/notifier/gcm_network_channel_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 433 sync/notifier/gcm_network_channel_unittest.cc net::NetworkChangeNotifier::CONNECTION_WIFI); net 436 sync/notifier/gcm_network_channel_unittest.cc net::NetworkChangeNotifier::CONNECTION_NONE); net 455 sync/notifier/gcm_network_channel_unittest.cc net::HTTP_OK, net 456 sync/notifier/gcm_network_channel_unittest.cc net::URLRequestStatus::SUCCESS); net 32 sync/notifier/non_blocking_invalidator.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter) net 48 sync/notifier/non_blocking_invalidator.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter; net 212 sync/notifier/non_blocking_invalidator.cc const scoped_refptr<net::URLRequestContextGetter>& request_context_getter) net 322 sync/notifier/non_blocking_invalidator.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 53 sync/notifier/non_blocking_invalidator.h const scoped_refptr<net::URLRequestContextGetter>& net 83 sync/notifier/non_blocking_invalidator.h scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 44 sync/notifier/non_blocking_invalidator_unittest.cc new net::TestURLRequestContextGetter(io_thread_.message_loop_proxy()); net 93 sync/notifier/non_blocking_invalidator_unittest.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter_; net 175 sync/notifier/sync_system_resources.cc scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 134 sync/notifier/sync_system_resources.h scoped_refptr<net::URLRequestContextGetter> request_context_getter, net 37 sync/test/accounts_client/test_accounts_client.cc class AccountsRequestDelegate : public net::URLFetcherDelegate { net 42 sync/test/accounts_client/test_accounts_client.cc virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE { net 50 sync/test/accounts_client/test_accounts_client.cc } else if (source->GetResponseCode() != net::HTTP_OK) { net 81 sync/test/accounts_client/test_accounts_client.cc url = net::AppendQueryParameter(url, "account_space", account_space_); net 84 sync/test/accounts_client/test_accounts_client.cc url = net::AppendQueryParameter(url, "max_lifetime_seconds", net 90 sync/test/accounts_client/test_accounts_client.cc url = net::AppendQueryParameter(url, "username", *it); net 123 sync/test/accounts_client/test_accounts_client.cc url = net::AppendQueryParameter(url, "account_space", session.account_space); net 124 sync/test/accounts_client/test_accounts_client.cc url = net::AppendQueryParameter(url, "username", session.username); net 125 sync/test/accounts_client/test_accounts_client.cc url = net::AppendQueryParameter(url, "session_id", session.session_id); net 145 sync/test/accounts_client/test_accounts_client.cc scoped_ptr<net::URLFetcher> fetcher(net::URLFetcher::Create( net 146 sync/test/accounts_client/test_accounts_client.cc url, net::URLFetcher::POST, &delegate)); net 18 sync/test/accounts_client/url_request_context_getter.cc net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { net 21 sync/test/accounts_client/url_request_context_getter.cc net::URLRequestContextBuilder builder; net 27 sync/test/accounts_client/url_request_context_getter.cc new net::ProxyConfigServiceFixed(net::ProxyConfig::CreateDirect())); net 18 sync/test/accounts_client/url_request_context_getter.h namespace net { net 22 sync/test/accounts_client/url_request_context_getter.h class URLRequestContextGetter : public net::URLRequestContextGetter { net 28 sync/test/accounts_client/url_request_context_getter.h virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; net 38 sync/test/accounts_client/url_request_context_getter.h scoped_ptr<net::URLRequestContext> url_request_context_; net 248 sync/test/fake_server/fake_server.cc return net::ERR_NOT_IMPLEMENTED; net 254 sync/test/fake_server/fake_server.cc return net::HTTP_BAD_REQUEST; net 259 sync/test/fake_server/fake_server.cc *response_code = net::HTTP_OK; net 27 sync/test/fake_server/fake_server_network_resources.cc net::URLRequestContextGetter* baseline_context_getter, net 12 sync/test/fake_server/fake_server_network_resources.h namespace net { net 29 sync/test/fake_server/fake_server_network_resources.h net::URLRequestContextGetter* baseline_context_getter, net 29 sync/test/fake_server/fake_sync_server_http_handler.cc net::TCPListenSocketFactory factory("0.0.0.0", requested_port_); net 30 sync/test/fake_server/fake_sync_server_http_handler.cc server_ = new net::HttpServer(factory, this); net 31 sync/test/fake_server/fake_sync_server_http_handler.cc net::IPEndPoint address; net 33 sync/test/fake_server/fake_sync_server_http_handler.cc CHECK_EQ(net::OK, error) << base::StringPrintf( net 36 sync/test/fake_server/fake_sync_server_http_handler.cc net::ErrorToString(error)); net 43 sync/test/fake_server/fake_sync_server_http_handler.cc const net::HttpServerRequestInfo& info) { net 54 sync/test/fake_server/fake_sync_server_http_handler.cc server_->Send(connection_id, net::HttpStatusCode(response_code), net 62 sync/test/fake_server/fake_sync_server_http_handler.cc net::ErrorToString(server_return_value)); net 70 sync/test/fake_server/fake_sync_server_http_handler.cc const net::HttpServerRequestInfo& info) {} net 15 sync/test/fake_server/fake_sync_server_http_handler.h class FakeSyncServerHttpHandler : public net::HttpServer::Delegate { net 32 sync/test/fake_server/fake_sync_server_http_handler.h const net::HttpServerRequestInfo& info) OVERRIDE; net 35 sync/test/fake_server/fake_sync_server_http_handler.h const net::HttpServerRequestInfo& info) OVERRIDE; net 45 sync/test/fake_server/fake_sync_server_http_handler.h scoped_refptr<net::HttpServer> server_; net 18 sync/test/local_sync_test_server.cc net::SpawnedTestServer::TYPE_HTTP, // Sync uses the HTTP scheme. net 19 sync/test/local_sync_test_server.cc net::SpawnedTestServer::kLocalhost, net 25 sync/test/local_sync_test_server.cc net::SpawnedTestServer::TYPE_HTTP, // Sync uses the HTTP scheme. net 26 sync/test/local_sync_test_server.cc net::SpawnedTestServer::kLocalhost, net 16 sync/test/local_sync_test_server.h class LocalSyncTestServer : public net::LocalTestServer { net 69 sync/tools/sync_client.cc class MyTestURLRequestContext : public net::TestURLRequestContext { net 73 sync/tools/sync_client.cc net::HostResolver::CreateDefaultResolver(NULL)); net 75 sync/tools/sync_client.cc new net::TransportSecurityState()); net 82 sync/tools/sync_client.cc class MyTestURLRequestContextGetter : public net::TestURLRequestContextGetter { net 88 sync/tools/sync_client.cc virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { net 194 sync/tools/sync_client.cc const scoped_refptr<net::URLRequestContextGetter>& net 202 sync/tools/sync_client.cc net::HostPortPair::FromString( net 264 sync/tools/sync_client.cc scoped_ptr<net::NetworkChangeNotifier> network_change_notifier( net 265 sync/tools/sync_client.cc net::NetworkChangeNotifier::Create()); net 79 sync/tools/sync_listen_notifications.cc class MyTestURLRequestContext : public net::TestURLRequestContext { net 83 sync/tools/sync_listen_notifications.cc net::HostResolver::CreateDefaultResolver(NULL)); net 85 sync/tools/sync_listen_notifications.cc new net::TransportSecurityState()); net 92 sync/tools/sync_listen_notifications.cc class MyTestURLRequestContextGetter : public net::TestURLRequestContextGetter { net 98 sync/tools/sync_listen_notifications.cc virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { net 114 sync/tools/sync_listen_notifications.cc const scoped_refptr<net::URLRequestContextGetter>& net 121 sync/tools/sync_listen_notifications.cc net::HostPortPair::FromString( net 177 sync/tools/sync_listen_notifications.cc scoped_ptr<net::NetworkChangeNotifier> network_change_notifier( net 178 sync/tools/sync_listen_notifications.cc net::NetworkChangeNotifier::Create()); net 22 third_party/libaddressinput/chromium/chrome_downloader_impl.cc class UnownedStringWriter : public net::URLFetcherResponseWriter { net 27 third_party/libaddressinput/chromium/chrome_downloader_impl.cc virtual int Initialize(const net::CompletionCallback& callback) OVERRIDE { net 29 third_party/libaddressinput/chromium/chrome_downloader_impl.cc return net::OK; net 32 third_party/libaddressinput/chromium/chrome_downloader_impl.cc virtual int Write(net::IOBuffer* buffer, net 34 third_party/libaddressinput/chromium/chrome_downloader_impl.cc const net::CompletionCallback& callback) OVERRIDE { net 39 third_party/libaddressinput/chromium/chrome_downloader_impl.cc virtual int Finish(const net::CompletionCallback& callback) OVERRIDE { net 40 third_party/libaddressinput/chromium/chrome_downloader_impl.cc return net::OK; net 51 third_party/libaddressinput/chromium/chrome_downloader_impl.cc ChromeDownloaderImpl::ChromeDownloaderImpl(net::URLRequestContextGetter* getter) net 67 third_party/libaddressinput/chromium/chrome_downloader_impl.cc scoped_ptr<net::URLFetcher> fetcher( net 68 third_party/libaddressinput/chromium/chrome_downloader_impl.cc net::URLFetcher::Create(resource, net::URLFetcher::GET, this)); net 70 third_party/libaddressinput/chromium/chrome_downloader_impl.cc net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES); net 75 third_party/libaddressinput/chromium/chrome_downloader_impl.cc scoped_ptr<net::URLFetcherResponseWriter>( net 81 third_party/libaddressinput/chromium/chrome_downloader_impl.cc void ChromeDownloaderImpl::OnURLFetchComplete(const net::URLFetcher* source) { net 82 third_party/libaddressinput/chromium/chrome_downloader_impl.cc std::map<const net::URLFetcher*, Request*>::iterator request = net 86 third_party/libaddressinput/chromium/chrome_downloader_impl.cc bool ok = source->GetResponseCode() == net::HTTP_OK; net 97 third_party/libaddressinput/chromium/chrome_downloader_impl.cc scoped_ptr<net::URLFetcher> fetcher, net 15 third_party/libaddressinput/chromium/chrome_downloader_impl.h namespace net { net 25 third_party/libaddressinput/chromium/chrome_downloader_impl.h public net::URLFetcherDelegate { net 27 third_party/libaddressinput/chromium/chrome_downloader_impl.h explicit ChromeDownloaderImpl(net::URLRequestContextGetter* getter); net 35 third_party/libaddressinput/chromium/chrome_downloader_impl.h virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; net 40 third_party/libaddressinput/chromium/chrome_downloader_impl.h scoped_ptr<net::URLFetcher> fetcher, net 47 third_party/libaddressinput/chromium/chrome_downloader_impl.h scoped_ptr<net::URLFetcher> fetcher; net 51 third_party/libaddressinput/chromium/chrome_downloader_impl.h net::URLRequestContextGetter* const getter_; // weak net 54 third_party/libaddressinput/chromium/chrome_downloader_impl.h std::map<const net::URLFetcher*, Request*> requests_; net 26 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc void SetFakeResponse(const std::string& payload, net::HttpStatusCode code) { net 30 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc net::URLRequestStatus::SUCCESS); net 35 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc net::TestURLRequestContextGetter* getter = net 36 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc new net::TestURLRequestContextGetter(base::MessageLoopProxy::current()); net 61 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc net::URLFetcherImplFactory factory_; net 62 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc net::FakeURLFetcherFactory fake_factory_; net 71 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc SetFakeResponse(kFakePayload, net::HTTP_OK); net 80 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc SetFakeResponse(kFakePayload, net::HTTP_INTERNAL_SERVER_ERROR); net 89 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc SetFakeResponse(kFakePayload, net::HTTP_OK); net 19 third_party/libjingle/overrides/talk/base/win32socketinit.cc net::EnsureWinsockInit(); net 893 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<net::LoadTimingInfo> { net 894 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(net::LoadTimingInfo *p, Generator* generator) { net 915 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<net::HostPortPair> { net 916 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(net::HostPortPair *p, Generator* generator) { net 930 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<net::IPEndPoint> { net 931 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(net::IPEndPoint *p, Generator* generator) { net 932 tools/ipc_fuzzer/mutate/generate.cc net::IPAddressNumber address; net 938 tools/ipc_fuzzer/mutate/generate.cc net::IPEndPoint ip_endpoint(address, port); net 11 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java import android.net.Uri; net 81 ui/base/clipboard/scoped_clipboard_writer.cc html.append(net::EscapeForHTML(url)); net 83 ui/base/clipboard/scoped_clipboard_writer.cc html.append(net::EscapeForHTML(base::UTF16ToUTF8(anchor_text))); net 185 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::string url_spec = net::FilePathToFileURL(it->path).spec(); net 305 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (url.SchemeIsFile() && net::FileURLToFilePath(url, &file_path)) { net 390 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (url.SchemeIsFile() && net::FileURLToFilePath(url, &file_path)) net 426 ui/base/dragdrop/os_exchange_data_provider_win.cc *title = net::GetSuggestedFilename(*url, "", "", "", "", std::string()); net 918 ui/base/dragdrop/os_exchange_data_provider_win.cc *validated = net::GetSuggestedFilename(url, "", "", "", "", net 106 ui/base/webui/web_ui_util.cc *path = net::UnescapeURLComponent(url.path().substr(1), net 107 ui/base/webui/web_ui_util.cc (net::UnescapeRule::URL_SPECIAL_CHARS | net 108 ui/base/webui/web_ui_util.cc net::UnescapeRule::SPACES)); net 26 ui/views/examples/content_client/examples_content_browser_client.cc net::URLRequestContextGetter* net 28 ui/views/examples/content_client/examples_content_browser_client.h virtual net::URLRequestContextGetter* CreateRequestContext( net 96 webkit/browser/appcache/appcache.cc int64 response_id, net::IOBuffer* handler_source) { net 21 webkit/browser/appcache/appcache.h namespace net { net 81 webkit/browser/appcache/appcache.h int64 response_id, net::IOBuffer* handler_source); net 61 webkit/browser/appcache/appcache_disk_cache.cc virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len, net 62 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) OVERRIDE { net 64 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_INVALID_ARGUMENT; net 66 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_ABORTED; net 71 webkit/browser/appcache/appcache_disk_cache.cc virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len, net 72 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) OVERRIDE { net 74 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_INVALID_ARGUMENT; net 76 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_ABORTED; net 119 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 127 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 134 webkit/browser/appcache/appcache_disk_cache.cc int DoomEntry(int64 key, const net::CompletionCallback& callback) { net 143 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 144 webkit/browser/appcache/appcache_disk_cache.cc if (rv == net::ERR_IO_PENDING) { net 149 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_IO_PENDING; net 151 webkit/browser/appcache/appcache_disk_cache.cc if (rv == net::OK && entry) net 159 webkit/browser/appcache/appcache_disk_cache.cc if (rv == net::OK && entry_) net 167 webkit/browser/appcache/appcache_disk_cache.cc net::CompletionCallback callback_; net 183 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 184 webkit/browser/appcache/appcache_disk_cache.cc return Init(net::APP_CACHE, disk_cache_directory, net 189 webkit/browser/appcache/appcache_disk_cache.cc int mem_cache_size, const net::CompletionCallback& callback) { net 190 webkit/browser/appcache/appcache_disk_cache.cc return Init(net::MEMORY_CACHE, base::FilePath(), mem_cache_size, false, NULL, net 203 webkit/browser/appcache/appcache_disk_cache.cc OnCreateBackendComplete(net::ERR_ABORTED); net 219 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 223 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_ABORTED; net 227 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_IO_PENDING; net 231 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_FAILED; net 237 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 241 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_ABORTED; net 245 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_IO_PENDING; net 249 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_FAILED; net 255 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 258 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_ABORTED; net 262 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_IO_PENDING; net 266 webkit/browser/appcache/appcache_disk_cache.cc return net::ERR_FAILED; net 280 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) net 289 webkit/browser/appcache/appcache_disk_cache.cc int AppCacheDiskCache::Init(net::CacheType cache_type, net 293 webkit/browser/appcache/appcache_disk_cache.cc const net::CompletionCallback& callback) { net 299 webkit/browser/appcache/appcache_disk_cache.cc const net::BackendType backend_type = net::CACHE_BACKEND_SIMPLE; net 301 webkit/browser/appcache/appcache_disk_cache.cc const net::BackendType backend_type = net::CACHE_BACKEND_DEFAULT; net 308 webkit/browser/appcache/appcache_disk_cache.cc if (rv == net::ERR_IO_PENDING) net 316 webkit/browser/appcache/appcache_disk_cache.cc if (rv == net::OK) { net 330 webkit/browser/appcache/appcache_disk_cache.cc int rv = net::ERR_FAILED; net 345 webkit/browser/appcache/appcache_disk_cache.cc if (rv != net::ERR_IO_PENDING) net 30 webkit/browser/appcache/appcache_disk_cache.h const net::CompletionCallback& callback); net 35 webkit/browser/appcache/appcache_disk_cache.h const net::CompletionCallback& callback); net 41 webkit/browser/appcache/appcache_disk_cache.h const net::CompletionCallback& callback) OVERRIDE; net 43 webkit/browser/appcache/appcache_disk_cache.h const net::CompletionCallback& callback) OVERRIDE; net 45 webkit/browser/appcache/appcache_disk_cache.h const net::CompletionCallback& callback) OVERRIDE; net 65 webkit/browser/appcache/appcache_disk_cache.h net::CompletionCallback callback; net 70 webkit/browser/appcache/appcache_disk_cache.h Entry** entry, const net::CompletionCallback& callback); net 84 webkit/browser/appcache/appcache_disk_cache.h int Init(net::CacheType cache_type, const base::FilePath& directory, net 86 webkit/browser/appcache/appcache_disk_cache.h const net::CompletionCallback& callback); net 94 webkit/browser/appcache/appcache_disk_cache.h net::CompletionCallback init_callback_; net 47 webkit/browser/appcache/appcache_disk_cache_unittest.cc net::CompletionCallback completion_callback_; net 78 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_EQ(net::ERR_ABORTED, *iter); net 97 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_EQ(net::OK, completion_results_[0]); net 113 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_EQ(net::ERR_ABORTED, net 115 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_EQ(net::ERR_ABORTED, net 117 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_EQ(net::ERR_ABORTED, net 133 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_EQ(net::OK, completion_results_[0]); net 155 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_refptr<net::IOBuffer> write_buf(new net::WrappedIOBuffer(kData)); net 160 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(kDataLen); net 178 webkit/browser/appcache/appcache_disk_cache_unittest.cc net::ERR_ABORTED, net 13 webkit/browser/appcache/appcache_executable_handler.h namespace net { net 38 webkit/browser/appcache/appcache_executable_handler.h virtual void HandleRequest(net::URLRequest* req, net 46 webkit/browser/appcache/appcache_executable_handler.h const GURL& handler_url, net::IOBuffer* handler_source) = 0; net 286 webkit/browser/appcache/appcache_host.cc net::URLRequest* request, net 20 webkit/browser/appcache/appcache_host.h namespace net { net 100 webkit/browser/appcache/appcache_host.h net::URLRequest* request, ResourceType::Type resource_type); net 19 webkit/browser/appcache/appcache_quota_client.cc if (code == net::OK) net 21 webkit/browser/appcache/appcache_quota_client.cc else if (code == net::ERR_ABORTED) net 134 webkit/browser/appcache/appcache_quota_client.cc DidDeleteAppCachesForOrigin(net::OK); net 214 webkit/browser/appcache/appcache_quota_client.cc net::CancelableCompletionCallback* net 220 webkit/browser/appcache/appcache_quota_client.cc new net::CancelableCompletionCallback( net 70 webkit/browser/appcache/appcache_quota_client.h net::CancelableCompletionCallback* GetServiceDeleteCallback(); net 84 webkit/browser/appcache/appcache_quota_client.h scoped_ptr<net::CancelableCompletionCallback> service_delete_callback_; net 288 webkit/browser/appcache/appcache_quota_client_unittest.cc net::ERR_ABORTED); net 39 webkit/browser/appcache/appcache_request_handler.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 86 webkit/browser/appcache/appcache_request_handler.cc net::URLRequest* request, net 87 webkit/browser/appcache/appcache_request_handler.cc net::NetworkDelegate* network_delegate, net 123 webkit/browser/appcache/appcache_request_handler.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 129 webkit/browser/appcache/appcache_request_handler.cc if (request->status().status() == net::URLRequestStatus::CANCELED) { net 230 webkit/browser/appcache/appcache_request_handler.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 309 webkit/browser/appcache/appcache_request_handler.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 15 webkit/browser/appcache/appcache_request_handler.h namespace net { net 39 webkit/browser/appcache/appcache_request_handler.h net::URLRequest* request, net::NetworkDelegate* network_delegate); net 41 webkit/browser/appcache/appcache_request_handler.h net::URLRequest* request, net 42 webkit/browser/appcache/appcache_request_handler.h net::NetworkDelegate* network_delegate, net 45 webkit/browser/appcache/appcache_request_handler.h net::URLRequest* request, net::NetworkDelegate* network_delegate); net 86 webkit/browser/appcache/appcache_request_handler.h void MaybeLoadMainResource(net::URLRequest* request, net 87 webkit/browser/appcache/appcache_request_handler.h net::NetworkDelegate* network_delegate); net 98 webkit/browser/appcache/appcache_request_handler.h void MaybeLoadSubResource(net::URLRequest* request, net 99 webkit/browser/appcache/appcache_request_handler.h net::NetworkDelegate* network_delegate); net 76 webkit/browser/appcache/appcache_request_handler_unittest.cc class MockURLRequestDelegate : public net::URLRequest::Delegate { net 77 webkit/browser/appcache/appcache_request_handler_unittest.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE {} net 78 webkit/browser/appcache/appcache_request_handler_unittest.cc virtual void OnReadCompleted(net::URLRequest* request, net 83 webkit/browser/appcache/appcache_request_handler_unittest.cc class MockURLRequestJob : public net::URLRequestJob { net 85 webkit/browser/appcache/appcache_request_handler_unittest.cc MockURLRequestJob(net::URLRequest* request, net 86 webkit/browser/appcache/appcache_request_handler_unittest.cc net::NetworkDelegate* network_delegate, net 88 webkit/browser/appcache/appcache_request_handler_unittest.cc : net::URLRequestJob(request, network_delegate), net 91 webkit/browser/appcache/appcache_request_handler_unittest.cc MockURLRequestJob(net::URLRequest* request, net 92 webkit/browser/appcache/appcache_request_handler_unittest.cc net::NetworkDelegate* network_delegate, net 93 webkit/browser/appcache/appcache_request_handler_unittest.cc const net::HttpResponseInfo& info) net 94 webkit/browser/appcache/appcache_request_handler_unittest.cc : net::URLRequestJob(request, network_delegate), net 108 webkit/browser/appcache/appcache_request_handler_unittest.cc net::HttpResponseInfo* info) OVERRIDE { net 117 webkit/browser/appcache/appcache_request_handler_unittest.cc net::HttpResponseInfo response_info_; net 120 webkit/browser/appcache/appcache_request_handler_unittest.cc class MockURLRequest : public net::URLRequest { net 122 webkit/browser/appcache/appcache_request_handler_unittest.cc MockURLRequest(const GURL& url, net::URLRequestContext* context) net 123 webkit/browser/appcache/appcache_request_handler_unittest.cc : net::URLRequest(url, net::DEFAULT_PRIORITY, NULL, context) {} net 135 webkit/browser/appcache/appcache_request_handler_unittest.cc void SimulateResponseInfo(const net::HttpResponseInfo& info) { net 146 webkit/browser/appcache/appcache_request_handler_unittest.cc static net::URLRequestJob* MockHttpJobFactory( net 147 webkit/browser/appcache/appcache_request_handler_unittest.cc net::URLRequest* request, net 148 webkit/browser/appcache/appcache_request_handler_unittest.cc net::NetworkDelegate* network_delegate, net 151 webkit/browser/appcache/appcache_request_handler_unittest.cc net::URLRequestJob* temp = mock_factory_job_; net 157 webkit/browser/appcache/appcache_request_handler_unittest.cc return new net::URLRequestErrorJob(request, net 159 webkit/browser/appcache/appcache_request_handler_unittest.cc net::ERR_INTERNET_DISCONNECTED); net 189 webkit/browser/appcache/appcache_request_handler_unittest.cc orig_http_factory_ = net::URLRequest::Deprecated::RegisterProtocolFactory( net 207 webkit/browser/appcache/appcache_request_handler_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory( net 449 webkit/browser/appcache/appcache_request_handler_unittest.cc net::HttpResponseInfo info; net 450 webkit/browser/appcache/appcache_request_handler_unittest.cc info.headers = new net::HttpResponseHeaders( net 886 webkit/browser/appcache/appcache_request_handler_unittest.cc net::URLRequestContext empty_context_; net 890 webkit/browser/appcache/appcache_request_handler_unittest.cc net::URLRequest::ProtocolFactory* orig_http_factory_; net 893 webkit/browser/appcache/appcache_request_handler_unittest.cc static net::URLRequestJob* mock_factory_job_; net 898 webkit/browser/appcache/appcache_request_handler_unittest.cc net::URLRequestJob* AppCacheRequestHandlerTest::mock_factory_job_ = NULL; net 31 webkit/browser/appcache/appcache_response.cc class WrappedPickleIOBuffer : public net::WrappedIOBuffer { net 34 webkit/browser/appcache/appcache_response.cc net::WrappedIOBuffer(reinterpret_cast<const char*>(pickle->data())), net 52 webkit/browser/appcache/appcache_response.cc int64 response_id, net::HttpResponseInfo* http_info, net 71 webkit/browser/appcache/appcache_response.cc HttpResponseInfoIOBuffer::HttpResponseInfoIOBuffer(net::HttpResponseInfo* info) net 104 webkit/browser/appcache/appcache_response.cc net::CompletionCallback cb = callback_; net 110 webkit/browser/appcache/appcache_response.cc net::IOBuffer* buf, int buf_len) { net 116 webkit/browser/appcache/appcache_response.cc if (rv != net::ERR_IO_PENDING) net 121 webkit/browser/appcache/appcache_response.cc net::IOBuffer* buf, int buf_len) { net 127 webkit/browser/appcache/appcache_response.cc if (rv != net::ERR_IO_PENDING) net 132 webkit/browser/appcache/appcache_response.cc DCHECK_NE(net::ERR_IO_PENDING, result); net 152 webkit/browser/appcache/appcache_response.cc const net::CompletionCallback& callback) { net 167 webkit/browser/appcache/appcache_response.cc ScheduleIOCompletionCallback(net::ERR_CACHE_MISS); net 173 webkit/browser/appcache/appcache_response.cc ScheduleIOCompletionCallback(net::ERR_CACHE_MISS); net 177 webkit/browser/appcache/appcache_response.cc buffer_ = new net::IOBuffer(size); net 181 webkit/browser/appcache/appcache_response.cc void AppCacheResponseReader::ReadData(net::IOBuffer* buf, int buf_len, net 182 webkit/browser/appcache/appcache_response.cc const net::CompletionCallback& callback) { net 198 webkit/browser/appcache/appcache_response.cc ScheduleIOCompletionCallback(net::ERR_CACHE_MISS); net 224 webkit/browser/appcache/appcache_response.cc scoped_ptr<net::HttpResponseInfo> info(new net::HttpResponseInfo); net 228 webkit/browser/appcache/appcache_response.cc InvokeUserCompletionCallback(net::ERR_FAILED); net 249 webkit/browser/appcache/appcache_response.cc rv = net::OK; net 251 webkit/browser/appcache/appcache_response.cc rv = net::ERR_FAILED; net 260 webkit/browser/appcache/appcache_response.cc if (rv != net::ERR_IO_PENDING) net 269 webkit/browser/appcache/appcache_response.cc if (rv == net::OK) { net 299 webkit/browser/appcache/appcache_response.cc const net::CompletionCallback& callback) { net 315 webkit/browser/appcache/appcache_response.cc ScheduleIOCompletionCallback(net::ERR_FAILED); net 329 webkit/browser/appcache/appcache_response.cc net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) { net 345 webkit/browser/appcache/appcache_response.cc ScheduleIOCompletionCallback(net::ERR_FAILED); net 368 webkit/browser/appcache/appcache_response.cc rv = net::OK; net 371 webkit/browser/appcache/appcache_response.cc rv = net::ERR_FAILED; net 380 webkit/browser/appcache/appcache_response.cc if (rv != net::ERR_IO_PENDING) net 389 webkit/browser/appcache/appcache_response.cc if (rv != net::OK) { net 393 webkit/browser/appcache/appcache_response.cc if (rv != net::ERR_IO_PENDING) net 405 webkit/browser/appcache/appcache_response.cc if (rv != net::ERR_IO_PENDING) net 411 webkit/browser/appcache/appcache_response.cc if (rv == net::OK) net 18 webkit/browser/appcache/appcache_response.h namespace net { net 35 webkit/browser/appcache/appcache_response.h int64 response_id, net::HttpResponseInfo* http_info, net 40 webkit/browser/appcache/appcache_response.h const net::HttpResponseInfo* http_response_info() const { net 51 webkit/browser/appcache/appcache_response.h const scoped_ptr<net::HttpResponseInfo> http_response_info_; net 60 webkit/browser/appcache/appcache_response.h scoped_ptr<net::HttpResponseInfo> http_info; net 64 webkit/browser/appcache/appcache_response.h explicit HttpResponseInfoIOBuffer(net::HttpResponseInfo* info); net 76 webkit/browser/appcache/appcache_response.h virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len, net 77 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback) = 0; net 78 webkit/browser/appcache/appcache_response.h virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len, net 79 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback) = 0; net 87 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback) = 0; net 89 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback) = 0; net 90 webkit/browser/appcache/appcache_response.h virtual int DoomEntry(int64 key, const net::CompletionCallback& callback) = 0; net 113 webkit/browser/appcache/appcache_response.h void ReadRaw(int index, int offset, net::IOBuffer* buf, int buf_len); net 114 webkit/browser/appcache/appcache_response.h void WriteRaw(int index, int offset, net::IOBuffer* buf, int buf_len); net 121 webkit/browser/appcache/appcache_response.h scoped_refptr<net::IOBuffer> buffer_; net 123 webkit/browser/appcache/appcache_response.h net::CompletionCallback callback_; net 150 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback); net 160 webkit/browser/appcache/appcache_response.h virtual void ReadData(net::IOBuffer* buf, int buf_len, net 161 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback); net 189 webkit/browser/appcache/appcache_response.h net::CompletionCallback open_callback_; net 210 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback); net 220 webkit/browser/appcache/appcache_response.h void WriteData(net::IOBuffer* buf, int buf_len, net 221 webkit/browser/appcache/appcache_response.h const net::CompletionCallback& callback); net 255 webkit/browser/appcache/appcache_response.h net::CompletionCallback create_callback_; net 23 webkit/browser/appcache/appcache_response_unittest.cc using net::IOBuffer; net 24 webkit/browser/appcache/appcache_response_unittest.cc using net::WrappedIOBuffer; net 167 webkit/browser/appcache/appcache_response_unittest.cc void WriteResponse(net::HttpResponseInfo* head, net 176 webkit/browser/appcache/appcache_response_unittest.cc void WriteResponseHead(net::HttpResponseInfo* head) { net 243 webkit/browser/appcache/appcache_response_unittest.cc net::HttpResponseInfo* MakeHttpResponseInfo(const std::string& raw_headers) { net 244 webkit/browser/appcache/appcache_response_unittest.cc net::HttpResponseInfo* info = new net::HttpResponseInfo; net 248 webkit/browser/appcache/appcache_response_unittest.cc info->headers = new net::HttpResponseHeaders(raw_headers); net 252 webkit/browser/appcache/appcache_response_unittest.cc int GetHttpResponseInfoSize(const net::HttpResponseInfo* info) { net 257 webkit/browser/appcache/appcache_response_unittest.cc bool CompareHttpResponseInfos(const net::HttpResponseInfo* info1, net 258 webkit/browser/appcache/appcache_response_unittest.cc const net::HttpResponseInfo* info2) { net 267 webkit/browser/appcache/appcache_response_unittest.cc int PickleHttpResonseInfo(Pickle* pickle, const net::HttpResponseInfo* info) { net 316 webkit/browser/appcache/appcache_response_unittest.cc expected_read_result_ = net::ERR_CACHE_MISS; net 327 webkit/browser/appcache/appcache_response_unittest.cc expected_read_result_ = net::ERR_CACHE_MISS; net 383 webkit/browser/appcache/appcache_response_unittest.cc net::HttpResponseInfo* head = MakeHttpResponseInfo(raw_headers); net 31 webkit/browser/appcache/appcache_service.cc void DeferredCallback(const net::CompletionCallback& callback, int rv) { net 47 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) net 71 webkit/browser/appcache/appcache_service.cc net::CompletionCallback callback_; net 76 webkit/browser/appcache/appcache_service.cc callback_.Run(net::ERR_ABORTED); net 89 webkit/browser/appcache/appcache_service.cc const GURL& first_party, const net::CompletionCallback& callback) net 98 webkit/browser/appcache/appcache_service.cc CallCallback(net::ERR_FAILED); net 124 webkit/browser/appcache/appcache_service.cc CallCallback(can ? net::OK : net::ERR_FAILED); net 134 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) net 161 webkit/browser/appcache/appcache_service.cc CallCallback(net::ERR_FAILED); net 170 webkit/browser/appcache/appcache_service.cc CallCallback(success ? net::OK : net::ERR_FAILED); net 180 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) net 213 webkit/browser/appcache/appcache_service.cc CallCallback(net::ERR_FAILED); net 222 webkit/browser/appcache/appcache_service.cc CallCallback(net::OK); net 264 webkit/browser/appcache/appcache_service.cc CallCallback(!failures_ ? net::OK : net::ERR_FAILED); net 275 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) net 296 webkit/browser/appcache/appcache_service.cc CallCallback(collection ? net::OK : net::ERR_FAILED); net 307 webkit/browser/appcache/appcache_service.cc : AsyncHelper(service, net::CompletionCallback()), net 344 webkit/browser/appcache/appcache_service.cc scoped_refptr<net::IOBuffer> data_buffer_; net 368 webkit/browser/appcache/appcache_service.cc service_->DeleteAppCacheGroup(manifest_url_, net::CompletionCallback()); net 392 webkit/browser/appcache/appcache_service.cc service_->DeleteAppCacheGroup(manifest_url_, net::CompletionCallback()); net 399 webkit/browser/appcache/appcache_service.cc data_buffer_ = new net::IOBuffer(kIOBufferSize); net 430 webkit/browser/appcache/appcache_service.cc service_->DeleteAppCacheGroup(manifest_url_, net::CompletionCallback()); net 524 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) { net 532 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) { net 540 webkit/browser/appcache/appcache_service.cc const net::CompletionCallback& callback) { net 546 webkit/browser/appcache/appcache_service.cc const GURL& origin, const net::CompletionCallback& callback) { net 23 webkit/browser/appcache/appcache_service.h namespace net { net 116 webkit/browser/appcache/appcache_service.h const net::CompletionCallback& callback); net 123 webkit/browser/appcache/appcache_service.h const net::CompletionCallback& callback); net 131 webkit/browser/appcache/appcache_service.h const net::CompletionCallback& callback); net 137 webkit/browser/appcache/appcache_service.h const GURL& origin, const net::CompletionCallback& callback); net 148 webkit/browser/appcache/appcache_service.h net::URLRequestContext* request_context() const { return request_context_; } net 149 webkit/browser/appcache/appcache_service.h void set_request_context(net::URLRequestContext* context) { net 230 webkit/browser/appcache/appcache_service.h net::URLRequestContext* request_context_; net 36 webkit/browser/appcache/appcache_service_unittest.cc net::HttpResponseInfo* info, int info_size, net 43 webkit/browser/appcache/appcache_service_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 47 webkit/browser/appcache/appcache_service_unittest.cc int rv = info_.get() ? info_size_ : net::ERR_FAILED; net 52 webkit/browser/appcache/appcache_service_unittest.cc virtual void ReadData(net::IOBuffer* buf, int buf_len, net 53 webkit/browser/appcache/appcache_service_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 59 webkit/browser/appcache/appcache_service_unittest.cc ScheduleUserCallback(net::ERR_CACHE_READ_FAILURE); net 75 webkit/browser/appcache/appcache_service_unittest.cc scoped_ptr<net::HttpResponseInfo> info_; net 90 webkit/browser/appcache/appcache_service_unittest.cc delete_result_(net::OK), delete_completion_count_(0), net 120 webkit/browser/appcache/appcache_service_unittest.cc scoped_ptr<net::HttpResponseInfo> info(MakeMockResponseInfo()); net 140 webkit/browser/appcache/appcache_service_unittest.cc net::HttpResponseInfo* info = valid_info ? MakeMockResponseInfo() : NULL; net 149 webkit/browser/appcache/appcache_service_unittest.cc net::HttpResponseInfo* MakeMockResponseInfo() { net 150 webkit/browser/appcache/appcache_service_unittest.cc net::HttpResponseInfo* info = new net::HttpResponseInfo; net 154 webkit/browser/appcache/appcache_service_unittest.cc info->headers = new net::HttpResponseHeaders( net 159 webkit/browser/appcache/appcache_service_unittest.cc int GetResponseInfoSize(const net::HttpResponseInfo* info) { net 164 webkit/browser/appcache/appcache_service_unittest.cc int PickleResponseInfo(Pickle* pickle, const net::HttpResponseInfo* info) { net 177 webkit/browser/appcache/appcache_service_unittest.cc net::CompletionCallback deletion_callback_; net 189 webkit/browser/appcache/appcache_service_unittest.cc EXPECT_EQ(net::ERR_FAILED, delete_result_); net 198 webkit/browser/appcache/appcache_service_unittest.cc EXPECT_EQ(net::OK, delete_result_); net 220 webkit/browser/appcache/appcache_service_unittest.cc EXPECT_EQ(net::OK, delete_result_); net 231 webkit/browser/appcache/appcache_service_unittest.cc EXPECT_EQ(net::ERR_FAILED, delete_result_); net 240 webkit/browser/appcache/appcache_service_unittest.cc EXPECT_EQ(net::ERR_ABORTED, delete_result_); net 1713 webkit/browser/appcache/appcache_storage_impl.cc if (rv != net::ERR_IO_PENDING) net 1724 webkit/browser/appcache/appcache_storage_impl.cc if (rv != net::ERR_ABORTED) net 1794 webkit/browser/appcache/appcache_storage_impl.cc int rv = net::OK; net 1811 webkit/browser/appcache/appcache_storage_impl.cc if (rv != net::ERR_IO_PENDING) net 1818 webkit/browser/appcache/appcache_storage_impl.cc if (rv != net::OK) { net 1826 webkit/browser/appcache/appcache_storage_impl.cc if (rv != net::ERR_ABORTED) net 63 webkit/browser/appcache/appcache_storage_unittest.cc 111, new net::HttpResponseInfo, net 113 webkit/browser/appcache/appcache_update_job.cc buffer_(new net::IOBuffer(kBufferSize)), net 115 webkit/browser/appcache/appcache_update_job.cc ->CreateRequest(url, net::DEFAULT_PRIORITY, this, NULL)), net 125 webkit/browser/appcache/appcache_update_job.cc net::LOAD_DISABLE_INTERCEPT); net 132 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request, const GURL& new_url, bool* defer_redirect) { net 143 webkit/browser/appcache/appcache_update_job.cc net::URLRequest *request) { net 177 webkit/browser/appcache/appcache_update_job.cc new net::HttpResponseInfo(request->response_info()))); net 194 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request, int bytes_read) { net 220 webkit/browser/appcache/appcache_update_job.cc const net::HttpResponseHeaders* headers) { net 222 webkit/browser/appcache/appcache_update_job.cc net::HttpRequestHeaders extra_headers; net 229 webkit/browser/appcache/appcache_update_job.cc extra_headers.SetHeader(net::HttpRequestHeaders::kIfModifiedSince, net 238 webkit/browser/appcache/appcache_update_job.cc extra_headers.SetHeader(net::HttpRequestHeaders::kIfNoneMatch, net 327 webkit/browser/appcache/appcache_update_job.cc url_, net::DEFAULT_PRIORITY, this, NULL); net 486 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request = fetcher->request(); net 497 webkit/browser/appcache/appcache_update_job.cc new net::HttpResponseInfo(request->response_info())); net 604 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request = fetcher->request(); net 705 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request = fetcher->request(); net 797 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request = fetcher->request(); net 846 webkit/browser/appcache/appcache_update_job.cc scoped_refptr<net::StringIOBuffer> io_buffer( net 847 webkit/browser/appcache/appcache_update_job.cc new net::StringIOBuffer(manifest_data_)); net 1021 webkit/browser/appcache/appcache_update_job.cc service->DeleteAppCacheGroup(manifest_url_, net::CompletionCallback()); net 1031 webkit/browser/appcache/appcache_update_job.cc read_manifest_buffer_ = new net::IOBuffer(kBufferSize); net 1321 webkit/browser/appcache/appcache_update_job.cc const net::HttpResponseInfo* http_info = response_info ? net 103 webkit/browser/appcache/appcache_update_job.h class URLFetcher : public net::URLRequest::Delegate { net 117 webkit/browser/appcache/appcache_update_job.h net::URLRequest* request() const { return request_.get(); } net 123 webkit/browser/appcache/appcache_update_job.h void set_existing_response_headers(net::HttpResponseHeaders* headers) { net 134 webkit/browser/appcache/appcache_update_job.h virtual void OnReceivedRedirect(net::URLRequest* request, net 137 webkit/browser/appcache/appcache_update_job.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 138 webkit/browser/appcache/appcache_update_job.h virtual void OnReadCompleted(net::URLRequest* request, net 141 webkit/browser/appcache/appcache_update_job.h void AddConditionalHeaders(const net::HttpResponseHeaders* headers); net 152 webkit/browser/appcache/appcache_update_job.h scoped_refptr<net::IOBuffer> buffer_; net 153 webkit/browser/appcache/appcache_update_job.h scoped_ptr<net::URLRequest> request_; net 155 webkit/browser/appcache/appcache_update_job.h scoped_refptr<net::HttpResponseHeaders> existing_response_headers_; net 310 webkit/browser/appcache/appcache_update_job.h scoped_ptr<net::HttpResponseInfo> manifest_response_info_; net 312 webkit/browser/appcache/appcache_update_job.h scoped_refptr<net::IOBuffer> read_manifest_buffer_; net 53 webkit/browser/appcache/appcache_update_job_unittest.cc static net::URLRequestJob* JobFactory( net 54 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 57 webkit/browser/appcache/appcache_update_job_unittest.cc return new net::URLRequestErrorJob(request, network_delegate, -100); net 61 webkit/browser/appcache/appcache_update_job_unittest.cc return new net::URLRequestTestJob( net 196 webkit/browser/appcache/appcache_update_job_unittest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 198 webkit/browser/appcache/appcache_update_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 199 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net 200 webkit/browser/appcache/appcache_update_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 344 webkit/browser/appcache/appcache_update_job_unittest.cc class RedirectFactory : public net::URLRequestJobFactory::ProtocolHandler { net 346 webkit/browser/appcache/appcache_update_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 347 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net 348 webkit/browser/appcache/appcache_update_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 349 webkit/browser/appcache/appcache_update_job_unittest.cc return new net::URLRequestTestJob( net 352 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestTestJob::test_redirect_headers(), net 353 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestTestJob::test_data_1(), net 359 webkit/browser/appcache/appcache_update_job_unittest.cc class RetryRequestTestJob : public net::URLRequestTestJob { net 385 webkit/browser/appcache/appcache_update_job_unittest.cc static net::URLRequestJob* RetryFactory( net 386 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 442 webkit/browser/appcache/appcache_update_job_unittest.cc RetryRequestTestJob(net::URLRequest* request, net 443 webkit/browser/appcache/appcache_update_job_unittest.cc net::NetworkDelegate* network_delegate, net 446 webkit/browser/appcache/appcache_update_job_unittest.cc : net::URLRequestTestJob( net 460 webkit/browser/appcache/appcache_update_job_unittest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 462 webkit/browser/appcache/appcache_update_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 463 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net 464 webkit/browser/appcache/appcache_update_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 477 webkit/browser/appcache/appcache_update_job_unittest.cc class HttpHeadersRequestTestJob : public net::URLRequestTestJob { net 501 webkit/browser/appcache/appcache_update_job_unittest.cc static net::URLRequestJob* IfModifiedSinceFactory( net 502 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) { net 505 webkit/browser/appcache/appcache_update_job_unittest.cc const net::HttpRequestHeaders& extra_headers = net 510 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpRequestHeaders::kIfModifiedSince, &header_value) && net 515 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpRequestHeaders::kIfNoneMatch, &header_value) && net 540 webkit/browser/appcache/appcache_update_job_unittest.cc : public net::URLRequestJobFactory::ProtocolHandler { net 542 webkit/browser/appcache/appcache_update_job_unittest.cc virtual net::URLRequestJob* MaybeCreateJob( net 543 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequest* request, net 544 webkit/browser/appcache/appcache_update_job_unittest.cc net::NetworkDelegate* network_delegate) const OVERRIDE { net 560 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestContext* request_context() { net 564 webkit/browser/appcache/appcache_update_job_unittest.cc void SetNewJobFactory(net::URLRequestJobFactory* job_factory) { net 571 webkit/browser/appcache/appcache_update_job_unittest.cc scoped_ptr<net::URLRequestJobFactoryImpl> factory( net 572 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl()); net 576 webkit/browser/appcache/appcache_update_job_unittest.cc request_context_.reset(new net::TestURLRequestContext()); net 586 webkit/browser/appcache/appcache_update_job_unittest.cc scoped_ptr<net::URLRequestJobFactory> job_factory_; net 587 webkit/browser/appcache/appcache_update_job_unittest.cc scoped_ptr<net::URLRequestContext> request_context_; net 789 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 790 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 1018 webkit/browser/appcache/appcache_update_job_unittest.cc scoped_refptr<net::StringIOBuffer> io_buffer( net 1019 webkit/browser/appcache/appcache_update_job_unittest.cc new net::StringIOBuffer(seed_data)); net 1182 webkit/browser/appcache/appcache_update_job_unittest.cc scoped_refptr<net::StringIOBuffer> io_buffer( net 1183 webkit/browser/appcache/appcache_update_job_unittest.cc new net::StringIOBuffer(seed_data)); net 1240 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 1241 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 1242 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 1300 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 1301 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 1302 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 1360 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 1361 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 1362 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 1675 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 1676 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 1709 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 1710 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 1744 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 1745 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 1778 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 1779 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 1812 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 1813 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 2686 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 2687 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 2712 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 2713 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 2714 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 2733 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers2 = net 2734 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data2, arraysize(data2))); net 2735 webkit/browser/appcache/appcache_update_job_unittest.cc response_info = new net::HttpResponseInfo(); net 2757 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 2758 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 2802 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 2803 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 2804 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 2820 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 2821 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 2865 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 2866 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 2867 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 2883 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 2884 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 2900 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 2901 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 2902 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 2921 webkit/browser/appcache/appcache_update_job_unittest.cc net::URLRequestJobFactoryImpl* new_factory( net 2922 webkit/browser/appcache/appcache_update_job_unittest.cc new net::URLRequestJobFactoryImpl); net 2939 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseHeaders* headers = net 2940 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); net 2941 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* response_info = new net::HttpResponseInfo(); net 3082 webkit/browser/appcache/appcache_update_job_unittest.cc net::HttpResponseInfo* http_info = new net::HttpResponseInfo(); net 3083 webkit/browser/appcache/appcache_update_job_unittest.cc http_info->headers = new net::HttpResponseHeaders(raw_headers); net 33 webkit/browser/appcache/appcache_url_request_job.cc net::URLRequest* request, net 34 webkit/browser/appcache/appcache_url_request_job.cc net::NetworkDelegate* network_delegate, net 38 webkit/browser/appcache/appcache_url_request_job.cc : net::URLRequestJob(request, network_delegate), net 110 webkit/browser/appcache/appcache_url_request_job.cc net::NetLog::TYPE_APPCACHE_DELIVERING_ERROR_RESPONSE); net 111 webkit/browser/appcache/appcache_url_request_job.cc NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 112 webkit/browser/appcache/appcache_url_request_job.cc net::ERR_FAILED)); net 124 webkit/browser/appcache/appcache_url_request_job.cc net::NetLog::TYPE_APPCACHE_DELIVERING_FALLBACK_RESPONSE : net 125 webkit/browser/appcache/appcache_url_request_job.cc net::NetLog::TYPE_APPCACHE_DELIVERING_CACHED_RESPONSE); net 145 webkit/browser/appcache/appcache_url_request_job.cc net::NetLog::TYPE_APPCACHE_DELIVERING_EXECUTABLE_RESPONSE); net 188 webkit/browser/appcache/appcache_url_request_job.cc handler_source_buffer_ = new net::GrowableIOBuffer(); net 300 webkit/browser/appcache/appcache_url_request_job.cc const net::HttpResponseInfo* AppCacheURLRequestJob::http_info() const { net 313 webkit/browser/appcache/appcache_url_request_job.cc range_requested_ = net::HttpByteRange(); net 328 webkit/browser/appcache/appcache_url_request_job.cc new net::HttpResponseInfo(*info_->http_response_info())); net 329 webkit/browser/appcache/appcache_url_request_job.cc net::HttpResponseHeaders* headers = range_response_info_->headers.get(); net 337 webkit/browser/appcache/appcache_url_request_job.cc NotifyDone(net::URLRequestStatus()); net 345 webkit/browser/appcache/appcache_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, result)); net 349 webkit/browser/appcache/appcache_url_request_job.cc SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status net 377 webkit/browser/appcache/appcache_url_request_job.cc net::URLRequestJob::Kill(); net 382 webkit/browser/appcache/appcache_url_request_job.cc net::LoadState AppCacheURLRequestJob::GetLoadState() const { net 384 webkit/browser/appcache/appcache_url_request_job.cc return net::LOAD_STATE_IDLE; net 386 webkit/browser/appcache/appcache_url_request_job.cc return net::LOAD_STATE_WAITING_FOR_APPCACHE; net 388 webkit/browser/appcache/appcache_url_request_job.cc return net::LOAD_STATE_IDLE; net 390 webkit/browser/appcache/appcache_url_request_job.cc return net::LOAD_STATE_WAITING_FOR_APPCACHE; net 392 webkit/browser/appcache/appcache_url_request_job.cc return net::LOAD_STATE_READING_RESPONSE; net 393 webkit/browser/appcache/appcache_url_request_job.cc return net::LOAD_STATE_IDLE; net 408 webkit/browser/appcache/appcache_url_request_job.cc void AppCacheURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) { net 420 webkit/browser/appcache/appcache_url_request_job.cc bool AppCacheURLRequestJob::ReadRawData(net::IOBuffer* buf, int buf_size, net 429 webkit/browser/appcache/appcache_url_request_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); net 434 webkit/browser/appcache/appcache_url_request_job.cc const net::HttpRequestHeaders& headers) { net 436 webkit/browser/appcache/appcache_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 437 webkit/browser/appcache/appcache_url_request_job.cc if (!headers.GetHeader(net::HttpRequestHeaders::kRange, &value) || net 438 webkit/browser/appcache/appcache_url_request_job.cc !net::HttpUtil::ParseRangeHeader(value, &ranges)) { net 19 webkit/browser/appcache/appcache_url_request_job.h namespace net { net 30 webkit/browser/appcache/appcache_url_request_job.h : public net::URLRequestJob, net 33 webkit/browser/appcache/appcache_url_request_job.h AppCacheURLRequestJob(net::URLRequest* request, net 34 webkit/browser/appcache/appcache_url_request_job.h net::NetworkDelegate* network_delegate, net 126 webkit/browser/appcache/appcache_url_request_job.h const net::HttpResponseInfo* http_info() const; net 135 webkit/browser/appcache/appcache_url_request_job.h virtual net::LoadState GetLoadState() const OVERRIDE; net 137 webkit/browser/appcache/appcache_url_request_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 138 webkit/browser/appcache/appcache_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 145 webkit/browser/appcache/appcache_url_request_job.h const net::HttpRequestHeaders& headers) OVERRIDE; net 165 webkit/browser/appcache/appcache_url_request_job.h scoped_refptr<net::GrowableIOBuffer> handler_source_buffer_; net 167 webkit/browser/appcache/appcache_url_request_job.h net::HttpByteRange range_requested_; net 168 webkit/browser/appcache/appcache_url_request_job.h scoped_ptr<net::HttpResponseInfo> range_response_info_; net 27 webkit/browser/appcache/appcache_url_request_job_unittest.cc using net::IOBuffer; net 28 webkit/browser/appcache/appcache_url_request_job_unittest.cc using net::WrappedIOBuffer; net 63 webkit/browser/appcache/appcache_url_request_job_unittest.cc class MockURLRequestDelegate : public net::URLRequest::Delegate { net 67 webkit/browser/appcache/appcache_url_request_job_unittest.cc received_data_(new net::IOBuffer(kNumBlocks * kBlockSize)), net 72 webkit/browser/appcache/appcache_url_request_job_unittest.cc virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE { net 85 webkit/browser/appcache/appcache_url_request_job_unittest.cc virtual void OnReadCompleted(net::URLRequest* request, net 110 webkit/browser/appcache/appcache_url_request_job_unittest.cc void ReadSome(net::URLRequest* request) { net 113 webkit/browser/appcache/appcache_url_request_job_unittest.cc new net::WrappedIOBuffer(received_data_->data() + amount_received_)); net 125 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::HttpResponseInfo received_info_; net 126 webkit/browser/appcache/appcache_url_request_job_unittest.cc scoped_refptr<net::IOBuffer> received_data_; net 133 webkit/browser/appcache/appcache_url_request_job_unittest.cc static net::URLRequestJob* MockHttpJobFactory( net 134 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequest* request, net 135 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::NetworkDelegate* network_delegate, net 138 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequestJob* temp = mock_factory_job_; net 142 webkit/browser/appcache/appcache_url_request_job_unittest.cc return new net::URLRequestErrorJob(request, net 144 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::ERR_INTERNET_DISCONNECTED); net 180 webkit/browser/appcache/appcache_url_request_job_unittest.cc orig_http_factory_ = net::URLRequest::Deprecated::RegisterProtocolFactory( net 194 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequest::Deprecated::RegisterProtocolFactory("http", net 261 webkit/browser/appcache/appcache_url_request_job_unittest.cc void WriteResponse(net::HttpResponseInfo* head, net 270 webkit/browser/appcache/appcache_url_request_job_unittest.cc void WriteResponseHead(net::HttpResponseInfo* head) { net 328 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::HttpResponseInfo* MakeHttpResponseInfo(const std::string& raw_headers) { net 329 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::HttpResponseInfo* info = new net::HttpResponseInfo; net 333 webkit/browser/appcache/appcache_url_request_job_unittest.cc info->headers = new net::HttpResponseHeaders(raw_headers); net 337 webkit/browser/appcache/appcache_url_request_job_unittest.cc int GetHttpResponseInfoSize(const net::HttpResponseInfo* info) { net 342 webkit/browser/appcache/appcache_url_request_job_unittest.cc bool CompareHttpResponseInfos(const net::HttpResponseInfo* info1, net 343 webkit/browser/appcache/appcache_url_request_job_unittest.cc const net::HttpResponseInfo* info2) { net 352 webkit/browser/appcache/appcache_url_request_job_unittest.cc int PickleHttpResonseInfo(Pickle* pickle, const net::HttpResponseInfo* info) { net 380 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequest request( net 381 webkit/browser/appcache/appcache_url_request_job_unittest.cc GURL("http://blah/"), net::DEFAULT_PRIORITY, NULL, &empty_context_); net 404 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequest request( net 405 webkit/browser/appcache/appcache_url_request_job_unittest.cc GURL("http://blah/"), net::DEFAULT_PRIORITY, NULL, &empty_context_); net 450 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 472 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::ERR_INTERNET_DISCONNECTED); net 486 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 507 webkit/browser/appcache/appcache_url_request_job_unittest.cc EXPECT_EQ(request_->status().error(), net::ERR_FAILED); net 537 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 652 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::DEFAULT_PRIORITY, net 657 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::HttpRequestHeaders extra_headers; net 685 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::HttpResponseHeaders* headers = net 722 webkit/browser/appcache/appcache_url_request_job_unittest.cc EXPECT_EQ(net::URLRequestStatus::CANCELED, net 771 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequest::ProtocolFactory* orig_http_factory_; net 772 webkit/browser/appcache/appcache_url_request_job_unittest.cc net::URLRequestContext empty_context_; net 773 webkit/browser/appcache/appcache_url_request_job_unittest.cc scoped_ptr<net::URLRequest> request_; net 13 webkit/browser/appcache/mock_appcache_service.cc const net::CompletionCallback& callback, int rv) { net 18 webkit/browser/appcache/mock_appcache_service.cc const GURL& origin, const net::CompletionCallback& callback) { net 20 webkit/browser/appcache/mock_appcache_service.h mock_delete_appcaches_for_origin_result_(net::OK), net 29 webkit/browser/appcache/mock_appcache_service.h const net::CompletionCallback& callback) OVERRIDE; net 118 webkit/browser/appcache/mock_appcache_storage.h disk_cache_->InitWithMemBackend(kMaxCacheSize, net::CompletionCallback()); net 50 webkit/browser/blob/blob_url_request_job.cc net::URLRequest* request, net 51 webkit/browser/blob/blob_url_request_job.cc net::NetworkDelegate* network_delegate, net 55 webkit/browser/blob/blob_url_request_job.cc : net::URLRequestJob(request, network_delegate), net 80 webkit/browser/blob/blob_url_request_job.cc net::URLRequestJob::Kill(); net 84 webkit/browser/blob/blob_url_request_job.cc bool BlobURLRequestJob::ReadRawData(net::IOBuffer* dest, net 109 webkit/browser/blob/blob_url_request_job.cc read_buf_ = new net::DrainableIOBuffer(dest, dest_size); net 121 webkit/browser/blob/blob_url_request_job.cc void BlobURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) { net 134 webkit/browser/blob/blob_url_request_job.cc const net::HttpRequestHeaders& headers) { net 136 webkit/browser/blob/blob_url_request_job.cc if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) { net 138 webkit/browser/blob/blob_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 139 webkit/browser/blob/blob_url_request_job.cc if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) { net 147 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE); net 162 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_METHOD_NOT_SUPPORTED); net 168 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FILE_NOT_FOUND); net 177 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FAILED); net 208 webkit/browser/blob/blob_url_request_job.cc DidCountSize(net::OK); net 215 webkit/browser/blob/blob_url_request_job.cc if (error != net::OK) { net 222 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE); net 242 webkit/browser/blob/blob_url_request_job.cc if (result == net::ERR_UPLOAD_FILE_CHANGED) { net 243 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FILE_NOT_FOUND); net 259 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FILE_NOT_FOUND); net 270 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FILE_NOT_FOUND); net 278 webkit/browser/blob/blob_url_request_job.cc DidCountSize(net::OK); net 312 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FAILED); net 391 webkit/browser/blob/blob_url_request_job.cc if (result == net::ERR_IO_PENDING) net 392 webkit/browser/blob/blob_url_request_job.cc SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); net 400 webkit/browser/blob/blob_url_request_job.cc NotifyFailure(net::ERR_FAILED); net 403 webkit/browser/blob/blob_url_request_job.cc SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status net 461 webkit/browser/blob/blob_url_request_job.cc net::HttpStatusCode status_code = net::HTTP_OK; net 463 webkit/browser/blob/blob_url_request_job.cc status_code = net::HTTP_PARTIAL_CONTENT; net 473 webkit/browser/blob/blob_url_request_job.cc NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, net 478 webkit/browser/blob/blob_url_request_job.cc net::HttpStatusCode status_code = net::HTTP_INTERNAL_SERVER_ERROR; net 480 webkit/browser/blob/blob_url_request_job.cc case net::ERR_ACCESS_DENIED: net 481 webkit/browser/blob/blob_url_request_job.cc status_code = net::HTTP_FORBIDDEN; net 483 webkit/browser/blob/blob_url_request_job.cc case net::ERR_FILE_NOT_FOUND: net 484 webkit/browser/blob/blob_url_request_job.cc status_code = net::HTTP_NOT_FOUND; net 486 webkit/browser/blob/blob_url_request_job.cc case net::ERR_METHOD_NOT_SUPPORTED: net 487 webkit/browser/blob/blob_url_request_job.cc status_code = net::HTTP_METHOD_NOT_ALLOWED; net 489 webkit/browser/blob/blob_url_request_job.cc case net::ERR_REQUEST_RANGE_NOT_SATISFIABLE: net 490 webkit/browser/blob/blob_url_request_job.cc status_code = net::HTTP_REQUESTED_RANGE_NOT_SATISFIABLE; net 492 webkit/browser/blob/blob_url_request_job.cc case net::ERR_FAILED: net 501 webkit/browser/blob/blob_url_request_job.cc void BlobURLRequestJob::HeadersCompleted(net::HttpStatusCode status_code) { net 505 webkit/browser/blob/blob_url_request_job.cc status.append(net::GetHttpReasonPhrase(status_code)); net 507 webkit/browser/blob/blob_url_request_job.cc net::HttpResponseHeaders* headers = new net::HttpResponseHeaders(status); net 509 webkit/browser/blob/blob_url_request_job.cc if (status_code == net::HTTP_OK || status_code == net::HTTP_PARTIAL_CONTENT) { net 510 webkit/browser/blob/blob_url_request_job.cc std::string content_length_header(net::HttpRequestHeaders::kContentLength); net 514 webkit/browser/blob/blob_url_request_job.cc if (status_code == net::HTTP_PARTIAL_CONTENT) { net 517 webkit/browser/blob/blob_url_request_job.cc std::string content_range_header(net::HttpResponseHeaders::kContentRange); net 527 webkit/browser/blob/blob_url_request_job.cc std::string content_type_header(net::HttpRequestHeaders::kContentType); net 539 webkit/browser/blob/blob_url_request_job.cc response_info_.reset(new net::HttpResponseInfo()); net 26 webkit/browser/blob/blob_url_request_job.h namespace net { net 37 webkit/browser/blob/blob_url_request_job.h : public net::URLRequestJob { net 39 webkit/browser/blob/blob_url_request_job.h BlobURLRequestJob(net::URLRequest* request, net 40 webkit/browser/blob/blob_url_request_job.h net::NetworkDelegate* network_delegate, net 48 webkit/browser/blob/blob_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 52 webkit/browser/blob/blob_url_request_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 55 webkit/browser/blob/blob_url_request_job.h const net::HttpRequestHeaders& headers) OVERRIDE; net 89 webkit/browser/blob/blob_url_request_job.h void HeadersCompleted(net::HttpStatusCode status_code); net 112 webkit/browser/blob/blob_url_request_job.h scoped_refptr<net::DrainableIOBuffer> read_buf_; net 118 webkit/browser/blob/blob_url_request_job.h net::HttpByteRange byte_range_; net 120 webkit/browser/blob/blob_url_request_job.h scoped_ptr<net::HttpResponseInfo> response_info_; net 25 webkit/browser/blob/blob_url_request_job_factory.cc BlobDataHandle* GetRequestedBlobDataHandle(net::URLRequest* request) { net 32 webkit/browser/blob/blob_url_request_job_factory.cc scoped_ptr<net::URLRequest> BlobProtocolHandler::CreateBlobRequest( net 34 webkit/browser/blob/blob_url_request_job_factory.cc const net::URLRequestContext* request_context, net 35 webkit/browser/blob/blob_url_request_job_factory.cc net::URLRequest::Delegate* request_delegate) { net 37 webkit/browser/blob/blob_url_request_job_factory.cc scoped_ptr<net::URLRequest> request = request_context->CreateRequest( net 38 webkit/browser/blob/blob_url_request_job_factory.cc kBlobUrl, net::DEFAULT_PRIORITY, request_delegate, NULL); net 45 webkit/browser/blob/blob_url_request_job_factory.cc net::URLRequest* request, net 63 webkit/browser/blob/blob_url_request_job_factory.cc net::URLRequestJob* BlobProtocolHandler::MaybeCreateJob( net 64 webkit/browser/blob/blob_url_request_job_factory.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 71 webkit/browser/blob/blob_url_request_job_factory.cc BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const { net 23 webkit/browser/blob/blob_url_request_job_factory.h namespace net { net 34 webkit/browser/blob/blob_url_request_job_factory.h : public net::URLRequestJobFactory::ProtocolHandler { net 37 webkit/browser/blob/blob_url_request_job_factory.h static scoped_ptr<net::URLRequest> CreateBlobRequest( net 39 webkit/browser/blob/blob_url_request_job_factory.h const net::URLRequestContext* request_context, net 40 webkit/browser/blob/blob_url_request_job_factory.h net::URLRequest::Delegate* request_delegate); net 45 webkit/browser/blob/blob_url_request_job_factory.h net::URLRequest* request, net 53 webkit/browser/blob/blob_url_request_job_factory.h virtual net::URLRequestJob* MaybeCreateJob( net 54 webkit/browser/blob/blob_url_request_job_factory.h net::URLRequest* request, net 55 webkit/browser/blob/blob_url_request_job_factory.h net::NetworkDelegate* network_delegate) const OVERRIDE; net 59 webkit/browser/blob/blob_url_request_job_factory.h net::URLRequest* request) const; net 20 webkit/browser/blob/file_stream_reader.h namespace net { net 82 webkit/browser/blob/file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, net 83 webkit/browser/blob/file_stream_reader.h const net::CompletionCallback& callback) = 0; net 94 webkit/browser/blob/file_stream_reader.h virtual int64 GetLength(const net::Int64CompletionCallback& callback) = 0; net 39 webkit/browser/blob/local_file_stream_reader.cc int LocalFileStreamReader::Read(net::IOBuffer* buf, int buf_len, net 40 webkit/browser/blob/local_file_stream_reader.cc const net::CompletionCallback& callback) { net 50 webkit/browser/blob/local_file_stream_reader.cc const net::Int64CompletionCallback& callback) { net 58 webkit/browser/blob/local_file_stream_reader.cc return net::ERR_IO_PENDING; net 73 webkit/browser/blob/local_file_stream_reader.cc int LocalFileStreamReader::Open(const net::CompletionCallback& callback) { net 85 webkit/browser/blob/local_file_stream_reader.cc const net::CompletionCallback& callback, net 92 webkit/browser/blob/local_file_stream_reader.cc stream_impl_.reset(new net::FileStream(NULL, task_runner_)); net 98 webkit/browser/blob/local_file_stream_reader.cc if (result != net::ERR_IO_PENDING) net 103 webkit/browser/blob/local_file_stream_reader.cc const net::CompletionCallback& callback, net 105 webkit/browser/blob/local_file_stream_reader.cc if (result != net::OK) { net 110 webkit/browser/blob/local_file_stream_reader.cc net::FROM_BEGIN, initial_offset_, net 114 webkit/browser/blob/local_file_stream_reader.cc if (result != net::ERR_IO_PENDING) { net 120 webkit/browser/blob/local_file_stream_reader.cc const net::CompletionCallback& callback, net 127 webkit/browser/blob/local_file_stream_reader.cc callback.Run(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE); net 130 webkit/browser/blob/local_file_stream_reader.cc callback.Run(net::OK); net 134 webkit/browser/blob/local_file_stream_reader.cc net::IOBuffer* buf, net 136 webkit/browser/blob/local_file_stream_reader.cc const net::CompletionCallback& callback, net 140 webkit/browser/blob/local_file_stream_reader.cc if (open_result != net::OK) { net 147 webkit/browser/blob/local_file_stream_reader.cc if (read_result != net::ERR_IO_PENDING) net 152 webkit/browser/blob/local_file_stream_reader.cc const net::Int64CompletionCallback& callback, net 156 webkit/browser/blob/local_file_stream_reader.cc callback.Run(net::ERR_FILE_NOT_FOUND); net 160 webkit/browser/blob/local_file_stream_reader.cc callback.Run(net::FileErrorToNetError(error)); net 164 webkit/browser/blob/local_file_stream_reader.cc callback.Run(net::ERR_UPLOAD_FILE_CHANGED); net 21 webkit/browser/blob/local_file_stream_reader.h namespace net { net 35 webkit/browser/blob/local_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, net 36 webkit/browser/blob/local_file_stream_reader.h const net::CompletionCallback& callback) OVERRIDE; net 38 webkit/browser/blob/local_file_stream_reader.h const net::Int64CompletionCallback& callback) OVERRIDE; net 48 webkit/browser/blob/local_file_stream_reader.h int Open(const net::CompletionCallback& callback); net 51 webkit/browser/blob/local_file_stream_reader.h void DidVerifyForOpen(const net::CompletionCallback& callback, net 53 webkit/browser/blob/local_file_stream_reader.h void DidOpenFileStream(const net::CompletionCallback& callback, net 55 webkit/browser/blob/local_file_stream_reader.h void DidSeekFileStream(const net::CompletionCallback& callback, net 57 webkit/browser/blob/local_file_stream_reader.h void DidOpenForRead(net::IOBuffer* buf, net 59 webkit/browser/blob/local_file_stream_reader.h const net::CompletionCallback& callback, net 62 webkit/browser/blob/local_file_stream_reader.h void DidGetFileInfoForGetLength(const net::Int64CompletionCallback& callback, net 67 webkit/browser/blob/local_file_stream_reader.h scoped_ptr<net::FileStream> stream_impl_; net 33 webkit/browser/blob/local_file_stream_reader_unittest.cc *result = net::OK; net 34 webkit/browser/blob/local_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 37 webkit/browser/blob/local_file_stream_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf( net 38 webkit/browser/blob/local_file_stream_reader_unittest.cc new net::IOBufferWithSize(size - total_bytes_read)); net 40 webkit/browser/blob/local_file_stream_reader_unittest.cc if (rv == net::ERR_IO_PENDING) net 132 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::ERR_FILE_NOT_FOUND, result); net 147 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 150 webkit/browser/blob/local_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 152 webkit/browser/blob/local_file_stream_reader_unittest.cc if (length_result == net::ERR_IO_PENDING) net 160 webkit/browser/blob/local_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 162 webkit/browser/blob/local_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 174 webkit/browser/blob/local_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 176 webkit/browser/blob/local_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 178 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result); net 183 webkit/browser/blob/local_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 191 webkit/browser/blob/local_file_stream_reader_unittest.cc net::TestInt64CompletionCallback callback; net 193 webkit/browser/blob/local_file_stream_reader_unittest.cc if (result == net::ERR_IO_PENDING) net 205 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 219 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result); net 226 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 236 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(net::OK, result); net 244 webkit/browser/blob/local_file_stream_reader_unittest.cc net::TestCompletionCallback callback; net 245 webkit/browser/blob/local_file_stream_reader_unittest.cc scoped_refptr<net::IOBufferWithSize> buf( net 246 webkit/browser/blob/local_file_stream_reader_unittest.cc new net::IOBufferWithSize(kTestDataSize)); net 248 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_TRUE(rv == net::ERR_IO_PENDING || rv >= 0); net 62 webkit/browser/blob/view_blob_internals_job.cc out->append(net::EscapeForHTML(text)); net 80 webkit/browser/blob/view_blob_internals_job.cc out->append(net::EscapeForHTML(element_data)); net 93 webkit/browser/blob/view_blob_internals_job.cc net::URLRequest* request, net 94 webkit/browser/blob/view_blob_internals_job.cc net::NetworkDelegate* network_delegate, net 96 webkit/browser/blob/view_blob_internals_job.cc : net::URLRequestSimpleJob(request, network_delegate), net 125 webkit/browser/blob/view_blob_internals_job.cc net::URLRequestSimpleJob::Kill(); net 133 webkit/browser/blob/view_blob_internals_job.cc const net::CompletionCallback& callback) const { net 144 webkit/browser/blob/view_blob_internals_job.cc return net::OK; net 202 webkit/browser/blob/view_blob_internals_job.cc net::EscapeForHTML(item.path().AsUTF8Unsafe()), net 14 webkit/browser/blob/view_blob_internals_job.h namespace net { net 26 webkit/browser/blob/view_blob_internals_job.h : public net::URLRequestSimpleJob { net 28 webkit/browser/blob/view_blob_internals_job.h ViewBlobInternalsJob(net::URLRequest* request, net 29 webkit/browser/blob/view_blob_internals_job.h net::NetworkDelegate* network_delegate, net 36 webkit/browser/blob/view_blob_internals_job.h const net::CompletionCallback& callback) const OVERRIDE; net 61 webkit/browser/database/database_quota_client.cc if (host == net::GetHostOrSpecFromURL(origin)) net 77 webkit/browser/database/database_quota_client.cc if (result == net::ERR_IO_PENDING) { net 84 webkit/browser/database/database_quota_client.cc if (result == net::OK) net 71 webkit/browser/database/database_quota_client_unittest.cc const net::CompletionCallback& callback) OVERRIDE { net 78 webkit/browser/database/database_quota_client_unittest.cc return net::ERR_IO_PENDING; net 80 webkit/browser/database/database_quota_client_unittest.cc return net::OK; net 83 webkit/browser/database/database_quota_client_unittest.cc void AsyncDeleteDataForOrigin(const net::CompletionCallback& callback) { net 84 webkit/browser/database/database_quota_client_unittest.cc callback.Run(net::OK); net 182 webkit/browser/database/database_tracker.cc net::CompletionCallback()); net 233 webkit/browser/database/database_tracker.cc net::CompletionCallback cb = callback->first; net 234 webkit/browser/database/database_tracker.cc cb.Run(net::OK); net 633 webkit/browser/database/database_tracker.cc const net::CompletionCallback& callback) { net 648 webkit/browser/database/database_tracker.cc const net::CompletionCallback& callback) { net 650 webkit/browser/database/database_tracker.cc return net::ERR_FAILED; net 660 webkit/browser/database/database_tracker.cc return net::ERR_IO_PENDING; net 663 webkit/browser/database/database_tracker.cc return net::OK; net 668 webkit/browser/database/database_tracker.cc const net::CompletionCallback& callback) { net 670 webkit/browser/database/database_tracker.cc return net::ERR_FAILED; net 676 webkit/browser/database/database_tracker.cc return net::ERR_FAILED; net 677 webkit/browser/database/database_tracker.cc int rv = net::OK; net 690 webkit/browser/database/database_tracker.cc rv = net::ERR_FAILED; net 707 webkit/browser/database/database_tracker.cc if (rv != net::OK) net 712 webkit/browser/database/database_tracker.cc return net::ERR_IO_PENDING; net 714 webkit/browser/database/database_tracker.cc return net::OK; net 718 webkit/browser/database/database_tracker.cc const std::string& origin, const net::CompletionCallback& callback) { net 720 webkit/browser/database/database_tracker.cc return net::ERR_FAILED; net 727 webkit/browser/database/database_tracker.cc return net::ERR_FAILED; net 739 webkit/browser/database/database_tracker.cc return net::ERR_IO_PENDING; net 741 webkit/browser/database/database_tracker.cc return net::OK; net 147 webkit/browser/database/database_tracker.h const net::CompletionCallback& callback); net 156 webkit/browser/database/database_tracker.h const net::CompletionCallback& callback); net 163 webkit/browser/database/database_tracker.h const net::CompletionCallback& callback); net 185 webkit/browser/database/database_tracker.h typedef std::vector<std::pair<net::CompletionCallback, DatabaseSet> > net 265 webkit/browser/database/database_tracker.h const net::CompletionCallback& callback); net 245 webkit/browser/database/database_tracker_unittest.cc net::TestCompletionCallback callback; net 247 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, result); net 254 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::OK, result); net 284 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, result); net 290 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::OK, result); net 494 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::OK, tracker->DeleteDatabase( net 495 webkit/browser/database/database_tracker_unittest.cc kOriginId, kName, net::CompletionCallback())); net 515 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, net 517 webkit/browser/database/database_tracker_unittest.cc net::CompletionCallback())); net 748 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(net::OK, tracker->DeleteDatabase(kOriginId, kEmptyName, net 749 webkit/browser/database/database_tracker_unittest.cc net::CompletionCallback())); net 546 webkit/browser/fileapi/copy_or_move_operation_delegate.cc io_buffer_(new net::IOBufferWithSize(buffer_size)), net 575 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (result != net::ERR_IO_PENDING) net 600 webkit/browser/fileapi/copy_or_move_operation_delegate.cc Write(callback, new net::DrainableIOBuffer(io_buffer_.get(), result)); net 605 webkit/browser/fileapi/copy_or_move_operation_delegate.cc scoped_refptr<net::DrainableIOBuffer> buffer) { net 612 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (result != net::ERR_IO_PENDING) net 618 webkit/browser/fileapi/copy_or_move_operation_delegate.cc scoped_refptr<net::DrainableIOBuffer> buffer, net 659 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (result != net::ERR_IO_PENDING) net 16 webkit/browser/fileapi/copy_or_move_operation_delegate.h namespace net { net 71 webkit/browser/fileapi/copy_or_move_operation_delegate.h scoped_refptr<net::DrainableIOBuffer> buffer); net 73 webkit/browser/fileapi/copy_or_move_operation_delegate.h scoped_refptr<net::DrainableIOBuffer> buffer, int result); net 83 webkit/browser/fileapi/copy_or_move_operation_delegate.h scoped_refptr<net::IOBufferWithSize> io_buffer_; net 17 webkit/browser/fileapi/file_stream_writer.h namespace net { net 57 webkit/browser/fileapi/file_stream_writer.h virtual int Write(net::IOBuffer* buf, int buf_len, net 58 webkit/browser/fileapi/file_stream_writer.h const net::CompletionCallback& callback) = 0; net 72 webkit/browser/fileapi/file_stream_writer.h virtual int Cancel(const net::CompletionCallback& callback) = 0; net 82 webkit/browser/fileapi/file_stream_writer.h virtual int Flush(const net::CompletionCallback& callback) = 0; net 347 webkit/browser/fileapi/file_system_context.cc const net::URLRequest* url_request, net 41 webkit/browser/fileapi/file_system_context.h namespace net { net 78 webkit/browser/fileapi/file_system_context.h const net::URLRequest* url_request, net 220 webkit/browser/fileapi/file_system_context.h void AttemptAutoMountForURLRequest(const net::URLRequest* url_request, net 28 webkit/browser/fileapi/file_system_dir_url_request_job.cc using net::NetworkDelegate; net 29 webkit/browser/fileapi/file_system_dir_url_request_job.cc using net::URLRequest; net 30 webkit/browser/fileapi/file_system_dir_url_request_job.cc using net::URLRequestJob; net 31 webkit/browser/fileapi/file_system_dir_url_request_job.cc using net::URLRequestStatus; net 49 webkit/browser/fileapi/file_system_dir_url_request_job.cc bool FileSystemDirURLRequestJob::ReadRawData(net::IOBuffer* dest, int dest_size, net 104 webkit/browser/fileapi/file_system_dir_url_request_job.cc net::ERR_FILE_NOT_FOUND)); net 118 webkit/browser/fileapi/file_system_dir_url_request_job.cc net::ERR_FILE_NOT_FOUND)); net 127 webkit/browser/fileapi/file_system_dir_url_request_job.cc int rv = net::ERR_FILE_NOT_FOUND; net 129 webkit/browser/fileapi/file_system_dir_url_request_job.cc rv = net::ERR_INVALID_URL; net 144 webkit/browser/fileapi/file_system_dir_url_request_job.cc data_.append(net::GetDirectoryListingHeader(title)); net 150 webkit/browser/fileapi/file_system_dir_url_request_job.cc data_.append(net::GetDirectoryListingEntry( net 26 webkit/browser/fileapi/file_system_dir_url_request_job.h : public net::URLRequestJob { net 29 webkit/browser/fileapi/file_system_dir_url_request_job.h net::URLRequest* request, net 30 webkit/browser/fileapi/file_system_dir_url_request_job.h net::NetworkDelegate* network_delegate, net 37 webkit/browser/fileapi/file_system_dir_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 42 webkit/browser/fileapi/file_system_file_stream_reader.cc net::IOBuffer* buf, int buf_len, net 43 webkit/browser/fileapi/file_system_file_stream_reader.cc const net::CompletionCallback& callback) { net 47 webkit/browser/fileapi/file_system_file_stream_reader.cc if (rv != net::ERR_IO_PENDING) net 52 webkit/browser/fileapi/file_system_file_stream_reader.cc const net::Int64CompletionCallback& callback) { net 56 webkit/browser/fileapi/file_system_file_stream_reader.cc if (rv != net::ERR_IO_PENDING) net 60 webkit/browser/fileapi/file_system_file_stream_reader.cc void Int64CallbackAdapter(const net::Int64CompletionCallback& callback, net 71 webkit/browser/fileapi/file_system_file_stream_reader.cc net::IOBuffer* buf, int buf_len, net 72 webkit/browser/fileapi/file_system_file_stream_reader.cc const net::CompletionCallback& callback) { net 82 webkit/browser/fileapi/file_system_file_stream_reader.cc const net::Int64CompletionCallback& callback) { net 105 webkit/browser/fileapi/file_system_file_stream_reader.cc const net::CompletionCallback& error_callback) { net 114 webkit/browser/fileapi/file_system_file_stream_reader.cc return net::ERR_IO_PENDING; net 119 webkit/browser/fileapi/file_system_file_stream_reader.cc const net::CompletionCallback& error_callback, net 129 webkit/browser/fileapi/file_system_file_stream_reader.cc error_callback.Run(net::FileErrorToNetError(file_error)); net 41 webkit/browser/fileapi/file_system_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, net 42 webkit/browser/fileapi/file_system_file_stream_reader.h const net::CompletionCallback& callback) OVERRIDE; net 44 webkit/browser/fileapi/file_system_file_stream_reader.h const net::Int64CompletionCallback& callback) OVERRIDE; net 56 webkit/browser/fileapi/file_system_file_stream_reader.h const net::CompletionCallback& error_callback); net 59 webkit/browser/fileapi/file_system_file_stream_reader.h const net::CompletionCallback& error_callback, net 23 webkit/browser/fileapi/file_system_operation.h namespace net { net 311 webkit/browser/fileapi/file_system_operation.h scoped_ptr<net::URLRequest> blob_request, net 168 webkit/browser/fileapi/file_system_operation_impl.cc scoped_ptr<net::URLRequest> blob_request, net 62 webkit/browser/fileapi/file_system_operation_impl.h scoped_ptr<net::URLRequest> blob_request, net 239 webkit/browser/fileapi/file_system_operation_runner.cc const net::URLRequestContext* url_request_context, net 266 webkit/browser/fileapi/file_system_operation_runner.cc scoped_ptr<net::URLRequest> blob_request( net 21 webkit/browser/fileapi/file_system_operation_runner.h namespace net { net 112 webkit/browser/fileapi/file_system_operation_runner.h OperationID Write(const net::URLRequestContext* url_request_context, net 34 webkit/browser/fileapi/file_system_url_request_job.cc using net::NetworkDelegate; net 35 webkit/browser/fileapi/file_system_url_request_job.cc using net::URLRequest; net 36 webkit/browser/fileapi/file_system_url_request_job.cc using net::URLRequestJob; net 37 webkit/browser/fileapi/file_system_url_request_job.cc using net::URLRequestStatus; net 41 webkit/browser/fileapi/file_system_url_request_job.cc static net::HttpResponseHeaders* CreateHttpResponseHeaders() { net 46 webkit/browser/fileapi/file_system_url_request_job.cc net::HttpResponseHeaders* headers = net 47 webkit/browser/fileapi/file_system_url_request_job.cc new net::HttpResponseHeaders(std::string(kStatus, kStatusLen)); net 50 webkit/browser/fileapi/file_system_url_request_job.cc std::string cache_control(net::HttpRequestHeaders::kCacheControl); net 85 webkit/browser/fileapi/file_system_url_request_job.cc bool FileSystemURLRequestJob::ReadRawData(net::IOBuffer* dest, int dest_size, net 112 webkit/browser/fileapi/file_system_url_request_job.cc if (rv == net::ERR_IO_PENDING) net 125 webkit/browser/fileapi/file_system_url_request_job.cc return net::GetWellKnownMimeTypeFromExtension(extension, mime_type); net 129 webkit/browser/fileapi/file_system_url_request_job.cc const net::HttpRequestHeaders& headers) { net 131 webkit/browser/fileapi/file_system_url_request_job.cc if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) { net 132 webkit/browser/fileapi/file_system_url_request_job.cc std::vector<net::HttpByteRange> ranges; net 133 webkit/browser/fileapi/file_system_url_request_job.cc if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) { net 140 webkit/browser/fileapi/file_system_url_request_job.cc NotifyFailed(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE); net 146 webkit/browser/fileapi/file_system_url_request_job.cc void FileSystemURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) { net 172 webkit/browser/fileapi/file_system_url_request_job.cc NotifyFailed(net::ERR_FILE_NOT_FOUND); net 186 webkit/browser/fileapi/file_system_url_request_job.cc NotifyFailed(net::ERR_FILE_NOT_FOUND); net 195 webkit/browser/fileapi/file_system_url_request_job.cc net::ERR_INVALID_URL : net::ERR_FILE_NOT_FOUND); net 206 webkit/browser/fileapi/file_system_url_request_job.cc NotifyFailed(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE); net 224 webkit/browser/fileapi/file_system_url_request_job.cc response_info_.reset(new net::HttpResponseInfo()); net 34 webkit/browser/fileapi/file_system_url_request_job.h : public net::URLRequestJob { net 37 webkit/browser/fileapi/file_system_url_request_job.h net::URLRequest* request, net 38 webkit/browser/fileapi/file_system_url_request_job.h net::NetworkDelegate* network_delegate, net 45 webkit/browser/fileapi/file_system_url_request_job.h virtual bool ReadRawData(net::IOBuffer* buf, net 51 webkit/browser/fileapi/file_system_url_request_job.h const net::HttpRequestHeaders& headers) OVERRIDE; net 52 webkit/browser/fileapi/file_system_url_request_job.h virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE; net 75 webkit/browser/fileapi/file_system_url_request_job.h scoped_ptr<net::HttpResponseInfo> response_info_; net 77 webkit/browser/fileapi/file_system_url_request_job.h net::HttpByteRange byte_range_; net 20 webkit/browser/fileapi/file_system_url_request_job_factory.cc : public net::URLRequestJobFactory::ProtocolHandler { net 26 webkit/browser/fileapi/file_system_url_request_job_factory.cc virtual net::URLRequestJob* MaybeCreateJob( net 27 webkit/browser/fileapi/file_system_url_request_job_factory.cc net::URLRequest* request, net 28 webkit/browser/fileapi/file_system_url_request_job_factory.cc net::NetworkDelegate* network_delegate) const OVERRIDE; net 50 webkit/browser/fileapi/file_system_url_request_job_factory.cc net::URLRequestJob* FileSystemProtocolHandler::MaybeCreateJob( net 51 webkit/browser/fileapi/file_system_url_request_job_factory.cc net::URLRequest* request, net::NetworkDelegate* network_delegate) const { net 67 webkit/browser/fileapi/file_system_url_request_job_factory.cc net::URLRequestJobFactory::ProtocolHandler* CreateFileSystemProtocolHandler( net 25 webkit/browser/fileapi/file_system_url_request_job_factory.h WEBKIT_STORAGE_BROWSER_EXPORT net::URLRequestJobFactory::ProtocolHandler* net 30 webkit/browser/fileapi/file_writer_delegate.cc io_buffer_(new net::IOBufferWithSize(kReadBufSize)), net 37 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::Start(scoped_ptr<net::URLRequest> request, net 56 webkit/browser/fileapi/file_writer_delegate.cc if (status != net::ERR_IO_PENDING) { net 62 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnReceivedRedirect(net::URLRequest* request, net 69 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnAuthRequired(net::URLRequest* request, net 70 webkit/browser/fileapi/file_writer_delegate.cc net::AuthChallengeInfo* auth_info) { net 76 webkit/browser/fileapi/file_writer_delegate.cc net::URLRequest* request, net 77 webkit/browser/fileapi/file_writer_delegate.cc net::SSLCertRequestInfo* cert_request_info) { net 82 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnSSLCertificateError(net::URLRequest* request, net 83 webkit/browser/fileapi/file_writer_delegate.cc const net::SSLInfo& ssl_info, net 89 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnResponseStarted(net::URLRequest* request) { net 98 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnReadCompleted(net::URLRequest* request, net 129 webkit/browser/fileapi/file_writer_delegate.cc cursor_ = new net::DrainableIOBuffer(io_buffer_.get(), bytes_read_); net 147 webkit/browser/fileapi/file_writer_delegate.cc } else if (net::ERR_IO_PENDING != write_response) { net 218 webkit/browser/fileapi/file_writer_delegate.cc if (flush_error != net::ERR_IO_PENDING) net 226 webkit/browser/fileapi/file_writer_delegate.cc if (error == base::File::FILE_OK && flush_error != net::OK) { net 23 webkit/browser/fileapi/file_writer_delegate.h : public net::URLRequest::Delegate { net 40 webkit/browser/fileapi/file_writer_delegate.h void Start(scoped_ptr<net::URLRequest> request, net 48 webkit/browser/fileapi/file_writer_delegate.h virtual void OnReceivedRedirect(net::URLRequest* request, net 51 webkit/browser/fileapi/file_writer_delegate.h virtual void OnAuthRequired(net::URLRequest* request, net 52 webkit/browser/fileapi/file_writer_delegate.h net::AuthChallengeInfo* auth_info) OVERRIDE; net 54 webkit/browser/fileapi/file_writer_delegate.h net::URLRequest* request, net 55 webkit/browser/fileapi/file_writer_delegate.h net::SSLCertRequestInfo* cert_request_info) OVERRIDE; net 56 webkit/browser/fileapi/file_writer_delegate.h virtual void OnSSLCertificateError(net::URLRequest* request, net 57 webkit/browser/fileapi/file_writer_delegate.h const net::SSLInfo& ssl_info, net 59 webkit/browser/fileapi/file_writer_delegate.h virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; net 60 webkit/browser/fileapi/file_writer_delegate.h virtual void OnReadCompleted(net::URLRequest* request, net 65 webkit/browser/fileapi/file_writer_delegate.h scoped_ptr<net::URLRequest> request, net 92 webkit/browser/fileapi/file_writer_delegate.h scoped_refptr<net::IOBufferWithSize> io_buffer_; net 93 webkit/browser/fileapi/file_writer_delegate.h scoped_refptr<net::DrainableIOBuffer> cursor_; net 94 webkit/browser/fileapi/file_writer_delegate.h scoped_ptr<net::URLRequest> request_; net 45 webkit/browser/fileapi/local_file_stream_writer.cc int LocalFileStreamWriter::Write(net::IOBuffer* buf, int buf_len, net 46 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& callback) { net 53 webkit/browser/fileapi/local_file_stream_writer.cc if (result != net::ERR_IO_PENDING) net 63 webkit/browser/fileapi/local_file_stream_writer.cc int LocalFileStreamWriter::Cancel(const net::CompletionCallback& callback) { net 65 webkit/browser/fileapi/local_file_stream_writer.cc return net::ERR_UNEXPECTED; net 69 webkit/browser/fileapi/local_file_stream_writer.cc return net::ERR_IO_PENDING; net 72 webkit/browser/fileapi/local_file_stream_writer.cc int LocalFileStreamWriter::Flush(const net::CompletionCallback& callback) { net 78 webkit/browser/fileapi/local_file_stream_writer.cc return net::OK; net 82 webkit/browser/fileapi/local_file_stream_writer.cc if (result != net::ERR_IO_PENDING) net 99 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& error_callback, net 104 webkit/browser/fileapi/local_file_stream_writer.cc stream_impl_.reset(new net::FileStream(NULL, task_runner_)); net 125 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& error_callback, net 134 webkit/browser/fileapi/local_file_stream_writer.cc if (result != net::OK) { net 145 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& error_callback, net 156 webkit/browser/fileapi/local_file_stream_writer.cc int result = stream_impl_->Seek(net::FROM_BEGIN, initial_offset_, net 161 webkit/browser/fileapi/local_file_stream_writer.cc if (result != net::ERR_IO_PENDING) { net 168 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& error_callback, net 178 webkit/browser/fileapi/local_file_stream_writer.cc result = net::ERR_FAILED; net 191 webkit/browser/fileapi/local_file_stream_writer.cc net::IOBuffer* buf, int buf_len, net 192 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& callback) { net 196 webkit/browser/fileapi/local_file_stream_writer.cc if (result != net::ERR_IO_PENDING) { net 203 webkit/browser/fileapi/local_file_stream_writer.cc net::IOBuffer* buf, int buf_len, net 204 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& callback) { net 214 webkit/browser/fileapi/local_file_stream_writer.cc void LocalFileStreamWriter::DidWrite(const net::CompletionCallback& callback, net 225 webkit/browser/fileapi/local_file_stream_writer.cc const net::CompletionCallback& callback) { net 234 webkit/browser/fileapi/local_file_stream_writer.cc void LocalFileStreamWriter::DidFlush(const net::CompletionCallback& callback, net 250 webkit/browser/fileapi/local_file_stream_writer.cc net::CompletionCallback pending_cancel = cancel_callback_; net 253 webkit/browser/fileapi/local_file_stream_writer.cc pending_cancel.Run(net::OK); net 21 webkit/browser/fileapi/local_file_stream_writer.h namespace net { net 34 webkit/browser/fileapi/local_file_stream_writer.h virtual int Write(net::IOBuffer* buf, int buf_len, net 35 webkit/browser/fileapi/local_file_stream_writer.h const net::CompletionCallback& callback) OVERRIDE; net 36 webkit/browser/fileapi/local_file_stream_writer.h virtual int Cancel(const net::CompletionCallback& callback) OVERRIDE; net 37 webkit/browser/fileapi/local_file_stream_writer.h virtual int Flush(const net::CompletionCallback& callback) OVERRIDE; net 49 webkit/browser/fileapi/local_file_stream_writer.h int InitiateOpen(const net::CompletionCallback& error_callback, net 51 webkit/browser/fileapi/local_file_stream_writer.h void DidOpen(const net::CompletionCallback& error_callback, net 57 webkit/browser/fileapi/local_file_stream_writer.h void InitiateSeek(const net::CompletionCallback& error_callback, net 59 webkit/browser/fileapi/local_file_stream_writer.h void DidSeek(const net::CompletionCallback& error_callback, net 64 webkit/browser/fileapi/local_file_stream_writer.h void ReadyToWrite(net::IOBuffer* buf, int buf_len, net 65 webkit/browser/fileapi/local_file_stream_writer.h const net::CompletionCallback& callback); net 68 webkit/browser/fileapi/local_file_stream_writer.h int InitiateWrite(net::IOBuffer* buf, int buf_len, net 69 webkit/browser/fileapi/local_file_stream_writer.h const net::CompletionCallback& callback); net 70 webkit/browser/fileapi/local_file_stream_writer.h void DidWrite(const net::CompletionCallback& callback, int result); net 73 webkit/browser/fileapi/local_file_stream_writer.h int InitiateFlush(const net::CompletionCallback& callback); net 74 webkit/browser/fileapi/local_file_stream_writer.h void DidFlush(const net::CompletionCallback& callback, int result); net 88 webkit/browser/fileapi/local_file_stream_writer.h scoped_ptr<net::FileStream> stream_impl_; net 89 webkit/browser/fileapi/local_file_stream_writer.h net::CompletionCallback cancel_callback_; net 47 webkit/browser/fileapi/local_file_stream_writer_unittest.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer(data)); net 48 webkit/browser/fileapi/local_file_stream_writer_unittest.cc scoped_refptr<net::DrainableIOBuffer> drainable( net 49 webkit/browser/fileapi/local_file_stream_writer_unittest.cc new net::DrainableIOBuffer(buffer.get(), buffer->size())); net 52 webkit/browser/fileapi/local_file_stream_writer_unittest.cc net::TestCompletionCallback callback; net 55 webkit/browser/fileapi/local_file_stream_writer_unittest.cc if (result == net::ERR_IO_PENDING) net 61 webkit/browser/fileapi/local_file_stream_writer_unittest.cc return net::OK; net 100 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "foo")); net 101 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "bar")); net 111 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "xxx")); net 121 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "xxx")); net 132 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::ERR_FILE_NOT_FOUND, WriteStringToWriter(writer.get(), "foo")); net 143 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::ERR_UNEXPECTED, cancel_result); net 149 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "foo")); net 153 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::ERR_UNEXPECTED, cancel_result); net 166 webkit/browser/fileapi/local_file_stream_writer_unittest.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer("xxx")); net 169 webkit/browser/fileapi/local_file_stream_writer_unittest.cc ASSERT_EQ(net::ERR_IO_PENDING, result); net 171 webkit/browser/fileapi/local_file_stream_writer_unittest.cc net::TestCompletionCallback callback; net 174 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_EQ(net::OK, cancel_result); net 244 webkit/browser/fileapi/plugin_private_file_system_backend.cc if (host == net::GetHostOrSpecFromURL(origin)) net 63 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::IOBuffer* buf, int buf_len, net 64 webkit/browser/fileapi/sandbox_file_stream_writer.cc const net::CompletionCallback& callback) { net 69 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::CompletionCallback write_task = net 76 webkit/browser/fileapi/sandbox_file_stream_writer.cc return net::ERR_IO_PENDING; net 79 webkit/browser/fileapi/sandbox_file_stream_writer.cc int SandboxFileStreamWriter::Cancel(const net::CompletionCallback& callback) { net 81 webkit/browser/fileapi/sandbox_file_stream_writer.cc return net::ERR_UNEXPECTED; net 85 webkit/browser/fileapi/sandbox_file_stream_writer.cc return net::ERR_IO_PENDING; net 89 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::IOBuffer* buf, int buf_len, net 90 webkit/browser/fileapi/sandbox_file_stream_writer.cc const net::CompletionCallback& callback) { net 97 webkit/browser/fileapi/sandbox_file_stream_writer.cc return net::ERR_FILE_NO_SPACE; net 108 webkit/browser/fileapi/sandbox_file_stream_writer.cc if (result != net::ERR_IO_PENDING) net 114 webkit/browser/fileapi/sandbox_file_stream_writer.cc const net::CompletionCallback& callback, net 124 webkit/browser/fileapi/sandbox_file_stream_writer.cc callback.Run(net::FileErrorToNetError(file_error)); net 129 webkit/browser/fileapi/sandbox_file_stream_writer.cc callback.Run(net::ERR_ACCESS_DENIED); net 152 webkit/browser/fileapi/sandbox_file_stream_writer.cc callback.Run(net::OK); net 165 webkit/browser/fileapi/sandbox_file_stream_writer.cc const net::CompletionCallback& callback, net 172 webkit/browser/fileapi/sandbox_file_stream_writer.cc callback.Run(net::ERR_FAILED); net 177 webkit/browser/fileapi/sandbox_file_stream_writer.cc callback.Run(net::OK); net 181 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::IOBuffer* buf, int buf_len, net 182 webkit/browser/fileapi/sandbox_file_stream_writer.cc const net::CompletionCallback& callback, net 186 webkit/browser/fileapi/sandbox_file_stream_writer.cc if (init_status != net::OK) { net 194 webkit/browser/fileapi/sandbox_file_stream_writer.cc if (result != net::ERR_IO_PENDING) net 199 webkit/browser/fileapi/sandbox_file_stream_writer.cc const net::CompletionCallback& callback, net 229 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::CompletionCallback pending_cancel = cancel_callback_; net 232 webkit/browser/fileapi/sandbox_file_stream_writer.cc pending_cancel.Run(net::OK); net 236 webkit/browser/fileapi/sandbox_file_stream_writer.cc int SandboxFileStreamWriter::Flush(const net::CompletionCallback& callback) { net 242 webkit/browser/fileapi/sandbox_file_stream_writer.cc return net::OK; net 36 webkit/browser/fileapi/sandbox_file_stream_writer.h virtual int Write(net::IOBuffer* buf, int buf_len, net 37 webkit/browser/fileapi/sandbox_file_stream_writer.h const net::CompletionCallback& callback) OVERRIDE; net 38 webkit/browser/fileapi/sandbox_file_stream_writer.h virtual int Cancel(const net::CompletionCallback& callback) OVERRIDE; net 39 webkit/browser/fileapi/sandbox_file_stream_writer.h virtual int Flush(const net::CompletionCallback& callback) OVERRIDE; net 48 webkit/browser/fileapi/sandbox_file_stream_writer.h int WriteInternal(net::IOBuffer* buf, int buf_len, net 49 webkit/browser/fileapi/sandbox_file_stream_writer.h const net::CompletionCallback& callback); net 54 webkit/browser/fileapi/sandbox_file_stream_writer.h const net::CompletionCallback& callback, net 59 webkit/browser/fileapi/sandbox_file_stream_writer.h void DidGetUsageAndQuota(const net::CompletionCallback& callback, net 62 webkit/browser/fileapi/sandbox_file_stream_writer.h void DidInitializeForWrite(net::IOBuffer* buf, int buf_len, net 63 webkit/browser/fileapi/sandbox_file_stream_writer.h const net::CompletionCallback& callback, net 66 webkit/browser/fileapi/sandbox_file_stream_writer.h void DidWrite(const net::CompletionCallback& callback, int write_response); net 76 webkit/browser/fileapi/sandbox_file_stream_writer.h net::CompletionCallback cancel_callback_; net 381 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (host == net::GetHostOrSpecFromURL(origin) && net 156 webkit/browser/quota/mock_storage_client.cc std::string host_or_spec = net::GetHostOrSpecFromURL(iter->first.first); net 857 webkit/browser/quota/quota_manager.cc GetPersistentHostQuota(net::GetHostOrSpecFromURL(origin), net 865 webkit/browser/quota/quota_manager.cc GetUsageTracker(type)->GetHostUsage(net::GetHostOrSpecFromURL(origin), net 223 webkit/browser/quota/storage_monitor.cc std::string host = net::GetHostOrSpecFromURL(params.filter.origin); net 254 webkit/browser/quota/storage_monitor.cc std::string host = net::GetHostOrSpecFromURL(filter.origin); net 277 webkit/browser/quota/storage_monitor.cc std::string host = net::GetHostOrSpecFromURL(filter.origin); net 448 webkit/browser/quota/storage_monitor_unittest.cc std::string host1 = net::GetHostOrSpecFromURL(params1.filter.origin); net 449 webkit/browser/quota/storage_monitor_unittest.cc std::string host2 = net::GetHostOrSpecFromURL(params2.filter.origin); net 503 webkit/browser/quota/storage_monitor_unittest.cc host_ = net::GetHostOrSpecFromURL(params1_.filter.origin); net 360 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 411 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 464 webkit/browser/quota/usage_tracker.cc origins_by_host[net::GetHostOrSpecFromURL(*itr)].insert(*itr); net 527 webkit/browser/quota/usage_tracker.cc DCHECK_EQ(host, net::GetHostOrSpecFromURL(*itr)); net 578 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 613 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 629 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 646 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 663 webkit/browser/quota/usage_tracker.cc std::string host = net::GetHostOrSpecFromURL(origin); net 76 webkit/browser/quota/usage_tracker_unittest.cc if (net::GetHostOrSpecFromURL(itr->first) == host) net 216 webkit/browser/quota/usage_tracker_unittest.cc const std::string host(net::GetHostOrSpecFromURL(origin)); net 246 webkit/browser/quota/usage_tracker_unittest.cc const std::string host(net::GetHostOrSpecFromURL(origin)); net 246 webkit/child/multipart_response_delegate.cc std::string content_type = net::GetSpecificHeader(headers, "content-type"); net 250 webkit/child/multipart_response_delegate.cc net::HttpUtil::ParseContentType(content_type, &mime_type, &charset, net 261 webkit/child/multipart_response_delegate.cc std::string value = net::GetSpecificHeader(headers, name); net 61 webkit/child/resource_loader_bridge.h virtual void DidChangePriority(net::RequestPriority new_priority) = 0; net 13 webkit/child/weburlresponse_extradata_impl.cc connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN) { net 49 webkit/child/weburlresponse_extradata_impl.h net::HttpResponseInfo::ConnectionInfo connection_info() const { net 53 webkit/child/weburlresponse_extradata_impl.h net::HttpResponseInfo::ConnectionInfo connection_info) { net 88 webkit/child/weburlresponse_extradata_impl.h net::HttpResponseInfo::ConnectionInfo connection_info_; net 133 webkit/common/appcache/appcache_interfaces.cc bool IsSchemeAndMethodSupported(const net::URLRequest* request) { net 17 webkit/common/appcache/appcache_interfaces.h namespace net { net 214 webkit/common/appcache/appcache_interfaces.h const net::URLRequest* request); net 184 webkit/common/fileapi/file_system_util.cc std::string path = net::UnescapeURLComponent(url.path(), net 185 webkit/common/fileapi/file_system_util.cc net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS | net 186 webkit/common/fileapi/file_system_util.cc net::UnescapeRule::CONTROL_CHARS); net 480 webkit/common/fileapi/file_system_util.cc case net::OK: net 482 webkit/common/fileapi/file_system_util.cc case net::ERR_ADDRESS_IN_USE: net 484 webkit/common/fileapi/file_system_util.cc case net::ERR_FILE_EXISTS: net 486 webkit/common/fileapi/file_system_util.cc case net::ERR_FILE_NOT_FOUND: net 488 webkit/common/fileapi/file_system_util.cc case net::ERR_ACCESS_DENIED: net 490 webkit/common/fileapi/file_system_util.cc case net::ERR_TOO_MANY_SOCKET_STREAMS: net 492 webkit/common/fileapi/file_system_util.cc case net::ERR_OUT_OF_MEMORY: net 494 webkit/common/fileapi/file_system_util.cc case net::ERR_FILE_NO_SPACE: net 496 webkit/common/fileapi/file_system_util.cc case net::ERR_INVALID_ARGUMENT: net 497 webkit/common/fileapi/file_system_util.cc case net::ERR_INVALID_HANDLE: net 499 webkit/common/fileapi/file_system_util.cc case net::ERR_ABORTED: net 500 webkit/common/fileapi/file_system_util.cc case net::ERR_CONNECTION_ABORTED: net 502 webkit/common/fileapi/file_system_util.cc case net::ERR_ADDRESS_INVALID: net 503 webkit/common/fileapi/file_system_util.cc case net::ERR_INVALID_URL: net 19 webkit/common/resource_response_info.cc connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), net 35 webkit/common/resource_response_info.h scoped_refptr<net::HttpResponseHeaders> headers; net 64 webkit/common/resource_response_info.h net::LoadTimingInfo load_timing; net 87 webkit/common/resource_response_info.h net::HttpResponseInfo::ConnectionInfo connection_info; net 98 webkit/common/resource_response_info.h net::HostPortPair socket_address;