OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/chromeos/boot_times_loader.h" | 5 #include "chrome/browser/chromeos/boot_times_loader.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/histogram.h" |
12 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
13 #include "base/process_util.h" | 14 #include "base/process_util.h" |
14 #include "base/string_util.h" | 15 #include "base/string_util.h" |
15 #include "base/thread.h" | 16 #include "base/thread.h" |
16 #include "base/time.h" | 17 #include "base/time.h" |
17 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/chrome_thread.h" | 19 #include "chrome/browser/chrome_thread.h" |
19 #include "chrome/common/chrome_switches.h" | 20 #include "chrome/common/chrome_switches.h" |
20 | 21 |
21 namespace { | 22 namespace { |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 230 |
230 void BootTimesLoader::SaveChromeMainStats() { | 231 void BootTimesLoader::SaveChromeMainStats() { |
231 chrome_main_stats_ = GetCurrentStats(); | 232 chrome_main_stats_ = GetCurrentStats(); |
232 } | 233 } |
233 | 234 |
234 void BootTimesLoader::RecordChromeMainStats() { | 235 void BootTimesLoader::RecordChromeMainStats() { |
235 RecordStats(kChromeMain, chrome_main_stats_); | 236 RecordStats(kChromeMain, chrome_main_stats_); |
236 } | 237 } |
237 | 238 |
238 } // namespace chromeos | 239 } // namespace chromeos |
OLD | NEW |