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

Side by Side Diff: chrome_frame/metrics_service.cc

Issue 6005015: Revert 70618 - First pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 */,
194 net::HttpCache::DefaultBackend::InMemory(0)); 193 net::HttpCache::DefaultBackend::InMemory(0));
195 } 194 }
196 195
197 virtual const std::string& GetUserAgent(const GURL& url) const { 196 virtual const std::string& GetUserAgent(const GURL& url) const {
198 return user_agent_; 197 return user_agent_;
199 } 198 }
200 199
201 private: 200 private:
202 std::string user_agent_; 201 std::string user_agent_;
203 MessageLoop* io_loop_; 202 MessageLoop* io_loop_;
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 version += "-F"; 615 version += "-F";
617 if (!version_info.IsOfficialBuild()) 616 if (!version_info.IsOfficialBuild())
618 version.append("-devel"); 617 version.append("-devel");
619 return version; 618 return version;
620 } else { 619 } else {
621 NOTREACHED() << "Unable to retrieve version string."; 620 NOTREACHED() << "Unable to retrieve version string.";
622 } 621 }
623 622
624 return std::string(); 623 return std::string();
625 } 624 }
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