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

Side by Side Diff: chrome/renderer/page_load_histograms.cc

Issue 6685072: Move a bunch more random files from chrome\renderer to content\renderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/navigation_state.cc ('k') | chrome/renderer/paint_aggregator.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) 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 #include "chrome/renderer/page_load_histograms.h" 5 #include "chrome/renderer/page_load_histograms.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "chrome/common/chrome_constants.h" 11 #include "chrome/common/chrome_constants.h"
12 #include "chrome/renderer/navigation_state.h"
13 #include "chrome/renderer/render_thread.h" 12 #include "chrome/renderer/render_thread.h"
13 #include "content/renderer/navigation_state.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPerformance.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPerformance.h"
17 17
18 using base::Time; 18 using base::Time;
19 using base::TimeDelta; 19 using base::TimeDelta;
20 using WebKit::WebDataSource; 20 using WebKit::WebDataSource;
21 using WebKit::WebFrame; 21 using WebKit::WebFrame;
22 using WebKit::WebPerformance; 22 using WebKit::WebPerformance;
23 23
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 861
862 DCHECK(state); 862 DCHECK(state);
863 DCHECK(ds); 863 DCHECK(ds);
864 GURL url(ds->request().url()); 864 GURL url(ds->request().url());
865 Time start = state->start_load_time(); 865 Time start = state->start_load_time();
866 Time finish = state->finish_load_time(); 866 Time finish = state->finish_load_time();
867 // TODO(mbelshe): should we log more stats? 867 // TODO(mbelshe): should we log more stats?
868 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms " 868 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms "
869 << url.spec(); 869 << url.spec();
870 } 870 }
OLDNEW
« no previous file with comments | « chrome/renderer/navigation_state.cc ('k') | chrome/renderer/paint_aggregator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698