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

Side by Side Diff: chrome_frame/metrics_service.cc

Issue 4067002: First pass at adding http/backend cache to NetLog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Lint fixes Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/plugin/plugin_test.cpp ('k') | chrome_frame/test/test_server_test.cc » ('j') | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « chrome/test/plugin/plugin_test.cpp ('k') | chrome_frame/test/test_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698