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

Side by Side Diff: chrome/browser/chromeos/boot_times_loader.cc

Issue 2937010: Reland r52336. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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) 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
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
OLDNEW
« no previous file with comments | « chrome/browser/chrome_thread_unittest.cc ('k') | chrome/browser/cocoa/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698