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

Side by Side Diff: chrome/browser/net/load_time_stats.cc

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/browser/net/load_time_stats.h ('k') | chrome/browser/net/network_stats.h » ('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) 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 "chrome/browser/net/load_time_stats.h" 5 #include "chrome/browser/net/load_time_stats.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/timer.h" 11 #include "base/timer/timer.h"
12 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/io_thread.h" 13 #include "chrome/browser/io_thread.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/render_process_host.h" 16 #include "content/public/browser/render_process_host.h"
17 #include "content/public/browser/render_view_host.h" 17 #include "content/public/browser/render_view_host.h"
18 #include "content/public/browser/resource_request_info.h" 18 #include "content/public/browser/resource_request_info.h"
19 #include "content/public/browser/web_contents.h" 19 #include "content/public/browser/web_contents.h"
20 #include "net/url_request/url_request.h" 20 #include "net/url_request/url_request.h"
21 21
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 if (type == ChromeURLRequestContext::CONTEXT_TYPE_MAIN) 550 if (type == ChromeURLRequestContext::CONTEXT_TYPE_MAIN)
551 main_request_contexts_.insert(context); 551 main_request_contexts_.insert(context);
552 } 552 }
553 553
554 void LoadTimeStats::UnregisterURLRequestContext( 554 void LoadTimeStats::UnregisterURLRequestContext(
555 const net::URLRequestContext* context) { 555 const net::URLRequestContext* context) {
556 main_request_contexts_.erase(context); 556 main_request_contexts_.erase(context);
557 } 557 }
558 558
559 } // namespace chrome_browser_net 559 } // namespace chrome_browser_net
OLDNEW
« no previous file with comments | « chrome/browser/net/load_time_stats.h ('k') | chrome/browser/net/network_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698