summaryrefslogtreecommitdiffstats
path: root/net/http/http_proxy_client_socket_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_proxy_client_socket_pool.h')
-rw-r--r--net/http/http_proxy_client_socket_pool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/http/http_proxy_client_socket_pool.h b/net/http/http_proxy_client_socket_pool.h
index 14bd9be..2ab331e 100644
--- a/net/http/http_proxy_client_socket_pool.h
+++ b/net/http/http_proxy_client_socket_pool.h
@@ -68,6 +68,11 @@ class HttpProxySocketParams : public base::RefCounted<HttpProxySocketParams> {
const HostResolver::RequestInfo& destination() const;
bool tunnel() const { return tunnel_; }
bool ignore_limits() const { return ignore_limits_; }
+#ifdef ANDROID
+ // Gets the UID of the calling process
+ bool getUID(uid_t *uid) const;
+ void setUID(uid_t uid);
+#endif
private:
friend class base::RefCounted<HttpProxySocketParams>;