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

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: 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..bd97cdaf55727d8c9b9cfa99665419f368edf455 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -161,7 +161,7 @@ class CONTENT_EXPORT DocumentState
was_fetched_via_proxy_ = value;
}
- net::HostPortPair proxy_server() const { return proxy_server_; }
+ net::HostPortPair& proxy_server() { return proxy_server_; }
Charlie Reis 2015/02/27 22:07:42 Why do you need this change?
jeremyim 2015/02/27 22:17:01 I can put it in a separate CL; I noticed that we w
Charlie Reis 2015/02/27 22:37:36 Style guide is against passing around non-const re
jeremyim 2015/02/27 22:50:55 Done.
void set_proxy_server(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