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

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

Issue 2986002: More header cleanup: (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac compile fixes (tested locally) 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 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 UMA_HISTOGRAM_CUSTOM_TIMES("SessionRestore.LongSavePeriod", 1341 UMA_HISTOGRAM_CUSTOM_TIMES("SessionRestore.LongSavePeriod",
1341 delta, 1342 delta,
1342 base::TimeDelta::FromMinutes(10), 1343 base::TimeDelta::FromMinutes(10),
1343 base::TimeDelta::FromHours(8), 1344 base::TimeDelta::FromHours(8),
1344 50); 1345 50);
1345 } 1346 }
1346 } 1347 }
1347 1348
1348 last_save_time_ = base::TimeTicks::Now(); 1349 last_save_time_ = base::TimeTicks::Now();
1349 } 1350 }
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