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

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 691323002: Revert "Make the proxy server HostPortPair available in document_state so that" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/renderer/document_state.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/render_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 2935 matching lines...) Expand 10 before | Expand all | Expand 10 after
2946 document_state->set_was_npn_negotiated( 2946 document_state->set_was_npn_negotiated(
2947 extra_data->was_npn_negotiated()); 2947 extra_data->was_npn_negotiated());
2948 document_state->set_npn_negotiated_protocol( 2948 document_state->set_npn_negotiated_protocol(
2949 extra_data->npn_negotiated_protocol()); 2949 extra_data->npn_negotiated_protocol());
2950 document_state->set_was_alternate_protocol_available( 2950 document_state->set_was_alternate_protocol_available(
2951 extra_data->was_alternate_protocol_available()); 2951 extra_data->was_alternate_protocol_available());
2952 document_state->set_connection_info( 2952 document_state->set_connection_info(
2953 extra_data->connection_info()); 2953 extra_data->connection_info());
2954 document_state->set_was_fetched_via_proxy( 2954 document_state->set_was_fetched_via_proxy(
2955 extra_data->was_fetched_via_proxy()); 2955 extra_data->was_fetched_via_proxy());
2956 document_state->set_proxy_server(
2957 extra_data->proxy_server());
2958 } 2956 }
2959 InternalDocumentStateData* internal_data = 2957 InternalDocumentStateData* internal_data =
2960 InternalDocumentStateData::FromDocumentState(document_state); 2958 InternalDocumentStateData::FromDocumentState(document_state);
2961 internal_data->set_http_status_code(http_status_code); 2959 internal_data->set_http_status_code(http_status_code);
2962 // Whether or not the http status code actually corresponds to an error is 2960 // Whether or not the http status code actually corresponds to an error is
2963 // only checked when the page is done loading, if |use_error_page| is 2961 // only checked when the page is done loading, if |use_error_page| is
2964 // still true. 2962 // still true.
2965 internal_data->set_use_error_page(true); 2963 internal_data->set_use_error_page(true);
2966 } 2964 }
2967 2965
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
4149 4147
4150 #if defined(ENABLE_BROWSER_CDMS) 4148 #if defined(ENABLE_BROWSER_CDMS)
4151 RendererCdmManager* RenderFrameImpl::GetCdmManager() { 4149 RendererCdmManager* RenderFrameImpl::GetCdmManager() {
4152 if (!cdm_manager_) 4150 if (!cdm_manager_)
4153 cdm_manager_ = new RendererCdmManager(this); 4151 cdm_manager_ = new RendererCdmManager(this);
4154 return cdm_manager_; 4152 return cdm_manager_;
4155 } 4153 }
4156 #endif // defined(ENABLE_BROWSER_CDMS) 4154 #endif // defined(ENABLE_BROWSER_CDMS)
4157 4155
4158 } // namespace content 4156 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/document_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698