OLD | NEW |
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" | |
14 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
15 #include "base/pickle.h" | 14 #include "base/pickle.h" |
16 #include "base/scoped_vector.h" | 15 #include "base/scoped_vector.h" |
17 #include "base/thread.h" | 16 #include "base/thread.h" |
18 #include "chrome/browser/browser_init.h" | 17 #include "chrome/browser/browser_init.h" |
19 #include "chrome/browser/browser_list.h" | 18 #include "chrome/browser/browser_list.h" |
20 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
21 #include "chrome/browser/browser_window.h" | 20 #include "chrome/browser/browser_window.h" |
22 #include "chrome/browser/defaults.h" | 21 #include "chrome/browser/defaults.h" |
23 #include "chrome/browser/profile.h" | 22 #include "chrome/browser/profile.h" |
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 if (use_long_period) { | 1462 if (use_long_period) { |
1464 std::string long_name_("SessionRestore.SaveLongPeriod"); | 1463 std::string long_name_("SessionRestore.SaveLongPeriod"); |
1465 UMA_HISTOGRAM_CUSTOM_TIMES(long_name_, | 1464 UMA_HISTOGRAM_CUSTOM_TIMES(long_name_, |
1466 delta, | 1465 delta, |
1467 save_delay_in_mins_, | 1466 save_delay_in_mins_, |
1468 save_delay_in_hrs_, | 1467 save_delay_in_hrs_, |
1469 50); | 1468 50); |
1470 } | 1469 } |
1471 } | 1470 } |
1472 | 1471 |
OLD | NEW |