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

Side by Side Diff: chrome/browser/sessions/session_service.cc

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/browser/sessions/session_service.h" 7 #include "chrome/browser/sessions/session_service.h"
8 8
9 #include <limits> 9 #include <limits>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/histogram.h"
13 #include "base/message_loop.h" 14 #include "base/message_loop.h"
14 #include "base/pickle.h" 15 #include "base/pickle.h"
15 #include "base/scoped_vector.h" 16 #include "base/scoped_vector.h"
16 #include "base/thread.h" 17 #include "base/thread.h"
17 #include "chrome/browser/browser_init.h" 18 #include "chrome/browser/browser_init.h"
18 #include "chrome/browser/browser_list.h" 19 #include "chrome/browser/browser_list.h"
19 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
20 #include "chrome/browser/browser_window.h" 21 #include "chrome/browser/browser_window.h"
21 #include "chrome/browser/defaults.h" 22 #include "chrome/browser/defaults.h"
22 #include "chrome/browser/profile.h" 23 #include "chrome/browser/profile.h"
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 if (use_long_period) { 1463 if (use_long_period) {
1463 std::string long_name_("SessionRestore.SaveLongPeriod"); 1464 std::string long_name_("SessionRestore.SaveLongPeriod");
1464 UMA_HISTOGRAM_CUSTOM_TIMES(long_name_, 1465 UMA_HISTOGRAM_CUSTOM_TIMES(long_name_,
1465 delta, 1466 delta,
1466 save_delay_in_mins_, 1467 save_delay_in_mins_,
1467 save_delay_in_hrs_, 1468 save_delay_in_hrs_,
1468 50); 1469 50);
1469 } 1470 }
1470 } 1471 }
1471 1472
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database_bloom.cc ('k') | chrome/browser/spellcheck_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698