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

Side by Side Diff: net/proxy/proxy_config_service_linux.cc

Issue 1827623002: Supress gn check error in proxy_config_service_linux.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/proxy/proxy_config_service_linux.h" 5 #include "net/proxy/proxy_config_service_linux.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #if defined(USE_GCONF) 8 #if defined(USE_GCONF)
9 #include <gconf/gconf-client.h> 9 #include <gconf/gconf-client.h>
10 #endif // defined(USE_GCONF) 10 #endif // defined(USE_GCONF)
(...skipping 23 matching lines...) Expand all
34 #include "base/strings/string_util.h" 34 #include "base/strings/string_util.h"
35 #include "base/threading/thread_restrictions.h" 35 #include "base/threading/thread_restrictions.h"
36 #include "base/timer/timer.h" 36 #include "base/timer/timer.h"
37 #include "net/base/net_errors.h" 37 #include "net/base/net_errors.h"
38 #include "net/http/http_util.h" 38 #include "net/http/http_util.h"
39 #include "net/proxy/proxy_config.h" 39 #include "net/proxy/proxy_config.h"
40 #include "net/proxy/proxy_server.h" 40 #include "net/proxy/proxy_server.h"
41 #include "url/url_canon.h" 41 #include "url/url_canon.h"
42 42
43 #if defined(USE_GIO) 43 #if defined(USE_GIO)
44 #include "library_loaders/libgio.h" 44 #include "library_loaders/libgio.h" // nogncheck
45 #endif // defined(USE_GIO) 45 #endif // defined(USE_GIO)
46 46
47 namespace net { 47 namespace net {
48 48
49 namespace { 49 namespace {
50 50
51 // Given a proxy hostname from a setting, returns that hostname with 51 // Given a proxy hostname from a setting, returns that hostname with
52 // an appropriate proxy server scheme prefix. 52 // an appropriate proxy server scheme prefix.
53 // scheme indicates the desired proxy scheme: usually http, with 53 // scheme indicates the desired proxy scheme: usually http, with
54 // socks 4 or 5 as special cases. 54 // socks 4 or 5 as special cases.
(...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 void ProxyConfigServiceLinux::RemoveObserver(Observer* observer) { 1776 void ProxyConfigServiceLinux::RemoveObserver(Observer* observer) {
1777 delegate_->RemoveObserver(observer); 1777 delegate_->RemoveObserver(observer);
1778 } 1778 }
1779 1779
1780 ProxyConfigService::ConfigAvailability 1780 ProxyConfigService::ConfigAvailability
1781 ProxyConfigServiceLinux::GetLatestProxyConfig(ProxyConfig* config) { 1781 ProxyConfigServiceLinux::GetLatestProxyConfig(ProxyConfig* config) {
1782 return delegate_->GetLatestProxyConfig(config); 1782 return delegate_->GetLatestProxyConfig(config);
1783 } 1783 }
1784 1784
1785 } // namespace net 1785 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698