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

Unified Diff: content/public/renderer/document_state.h

Issue 966443002: Add DataReductionProxy IPC to determine if the Data Reduction Proxy was used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to head Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/document_state.h
diff --git a/content/public/renderer/document_state.h b/content/public/renderer/document_state.h
index d388a8a979ef0dcdc695ac86221ce470409ffce7..d3d8c54064a449998b9715bcf0833510bfc9ebb1 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -161,8 +161,8 @@ class CONTENT_EXPORT DocumentState
was_fetched_via_proxy_ = value;
}
- net::HostPortPair proxy_server() const { return proxy_server_; }
- void set_proxy_server(net::HostPortPair proxy_server) {
+ const net::HostPortPair& proxy_server() const { return proxy_server_; }
+ void set_proxy_server(const net::HostPortPair& proxy_server) {
proxy_server_ = proxy_server;
}
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698