OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 5 |
6 //------------------------------------------------------------------------------ | 6 //------------------------------------------------------------------------------ |
7 // Description of the life cycle of a instance of MetricsService. | 7 // Description of the life cycle of a instance of MetricsService. |
8 // | 8 // |
9 // OVERVIEW | 9 // OVERVIEW |
10 // | 10 // |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 net::HttpNetworkLayer::CreateFactory(host_resolver_, | 183 net::HttpNetworkLayer::CreateFactory(host_resolver_, |
184 cert_verifier_, | 184 cert_verifier_, |
185 NULL /* dnsrr_resovler */, | 185 NULL /* dnsrr_resovler */, |
186 NULL /* dns_cert_checker*/, | 186 NULL /* dns_cert_checker*/, |
187 NULL /* ssl_host_info */, | 187 NULL /* ssl_host_info */, |
188 proxy_service_, | 188 proxy_service_, |
189 ssl_config_service_, | 189 ssl_config_service_, |
190 http_auth_handler_factory_, | 190 http_auth_handler_factory_, |
191 network_delegate_, | 191 network_delegate_, |
192 NULL), | 192 NULL), |
| 193 NULL /* net_log */, |
193 net::HttpCache::DefaultBackend::InMemory(0)); | 194 net::HttpCache::DefaultBackend::InMemory(0)); |
194 } | 195 } |
195 | 196 |
196 virtual const std::string& GetUserAgent(const GURL& url) const { | 197 virtual const std::string& GetUserAgent(const GURL& url) const { |
197 return user_agent_; | 198 return user_agent_; |
198 } | 199 } |
199 | 200 |
200 private: | 201 private: |
201 std::string user_agent_; | 202 std::string user_agent_; |
202 MessageLoop* io_loop_; | 203 MessageLoop* io_loop_; |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 version += "-F"; | 616 version += "-F"; |
616 if (!version_info.IsOfficialBuild()) | 617 if (!version_info.IsOfficialBuild()) |
617 version.append("-devel"); | 618 version.append("-devel"); |
618 return version; | 619 return version; |
619 } else { | 620 } else { |
620 NOTREACHED() << "Unable to retrieve version string."; | 621 NOTREACHED() << "Unable to retrieve version string."; |
621 } | 622 } |
622 | 623 |
623 return std::string(); | 624 return std::string(); |
624 } | 625 } |
OLD | NEW |