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

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

Issue 2343923002: Add TODO to remove page_load_histograms.h/.cc (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/renderer/page_load_histograms.h ('k') | no next file » | 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 // TODO(bmcquade): delete this class in October 2016, as it is deprecated by the
6 // new PageLoad.* UMA histograms.
7
5 #include "chrome/renderer/page_load_histograms.h" 8 #include "chrome/renderer/page_load_histograms.h"
6 9
7 #include <stddef.h> 10 #include <stddef.h>
8 11
9 #include <memory> 12 #include <memory>
10 #include <string> 13 #include <string>
11 14
12 #include "base/command_line.h" 15 #include "base/command_line.h"
13 #include "base/logging.h" 16 #include "base/logging.h"
14 #include "base/metrics/field_trial.h" 17 #include "base/metrics/field_trial.h"
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 Time start = document_state->start_load_time(); 634 Time start = document_state->start_load_time();
632 Time finish = document_state->finish_load_time(); 635 Time finish = document_state->finish_load_time();
633 // TODO(mbelshe): should we log more stats? 636 // TODO(mbelshe): should we log more stats?
634 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms " 637 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms "
635 << url.spec(); 638 << url.spec();
636 } 639 }
637 640
638 void PageLoadHistograms::OnDestruct() { 641 void PageLoadHistograms::OnDestruct() {
639 delete this; 642 delete this;
640 } 643 }
OLDNEW
« no previous file with comments | « chrome/renderer/page_load_histograms.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698