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" | |
13 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
14 #include "base/process_util.h" | 13 #include "base/process_util.h" |
15 #include "base/string_util.h" | 14 #include "base/string_util.h" |
16 #include "base/thread.h" | 15 #include "base/thread.h" |
17 #include "base/time.h" | 16 #include "base/time.h" |
18 #include "chrome/browser/browser_process.h" | 17 #include "chrome/browser/browser_process.h" |
19 #include "chrome/browser/chrome_thread.h" | 18 #include "chrome/browser/chrome_thread.h" |
20 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
21 | 20 |
22 namespace { | 21 namespace { |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 229 |
231 void BootTimesLoader::SaveChromeMainStats() { | 230 void BootTimesLoader::SaveChromeMainStats() { |
232 chrome_main_stats_ = GetCurrentStats(); | 231 chrome_main_stats_ = GetCurrentStats(); |
233 } | 232 } |
234 | 233 |
235 void BootTimesLoader::RecordChromeMainStats() { | 234 void BootTimesLoader::RecordChromeMainStats() { |
236 RecordStats(kChromeMain, chrome_main_stats_); | 235 RecordStats(kChromeMain, chrome_main_stats_); |
237 } | 236 } |
238 | 237 |
239 } // namespace chromeos | 238 } // namespace chromeos |
OLD | NEW |