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

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

Issue 6874038: Remove the last Chrome dependencies from renderer, and enforce no more includes through DEPS. I ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/extensions/url_pattern.h"
12 #include "chrome/renderer/renderer_histogram_snapshots.h" 13 #include "chrome/renderer/renderer_histogram_snapshots.h"
13 #include "content/common/view_messages.h" 14 #include "content/common/view_messages.h"
14 #include "content/renderer/navigation_state.h" 15 #include "content/renderer/navigation_state.h"
15 #include "content/renderer/render_view.h" 16 #include "content/renderer/render_view.h"
16 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPerformance.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPerformance.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
20 21
21 using base::Time; 22 using base::Time;
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 894
894 DCHECK(state); 895 DCHECK(state);
895 DCHECK(ds); 896 DCHECK(ds);
896 GURL url(ds->request().url()); 897 GURL url(ds->request().url());
897 Time start = state->start_load_time(); 898 Time start = state->start_load_time();
898 Time finish = state->finish_load_time(); 899 Time finish = state->finish_load_time();
899 // TODO(mbelshe): should we log more stats? 900 // TODO(mbelshe): should we log more stats?
900 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms " 901 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms "
901 << url.spec(); 902 << url.spec();
902 } 903 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698