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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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/renderer/page_load_histograms.h" 5 #include "chrome/renderer/page_load_histograms.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/command_line.h" 12 #include "base/command_line.h"
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/metrics/field_trial.h" 14 #include "base/metrics/field_trial.h"
13 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
14 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
16 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1043
1042 DCHECK(document_state); 1044 DCHECK(document_state);
1043 DCHECK(ds); 1045 DCHECK(ds);
1044 GURL url(ds->request().url()); 1046 GURL url(ds->request().url());
1045 Time start = document_state->start_load_time(); 1047 Time start = document_state->start_load_time();
1046 Time finish = document_state->finish_load_time(); 1048 Time finish = document_state->finish_load_time();
1047 // TODO(mbelshe): should we log more stats? 1049 // TODO(mbelshe): should we log more stats?
1048 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms " 1050 VLOG(1) << "PLT: " << (finish - start).InMilliseconds() << "ms "
1049 << url.spec(); 1051 << url.spec();
1050 } 1052 }
OLDNEW
« no previous file with comments | « chrome/renderer/page_load_histograms.h ('k') | chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698