| 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 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "chrome/browser/browser.h" | |
| 16 #include "chrome/browser/browser_list.h" | |
| 17 #include "chrome/browser/defaults.h" | 15 #include "chrome/browser/defaults.h" |
| 18 #include "chrome/browser/sessions/base_session_service.h" | 16 #include "chrome/browser/sessions/base_session_service.h" |
| 19 #include "chrome/browser/sessions/session_id.h" | 17 #include "chrome/browser/sessions/session_id.h" |
| 18 #include "chrome/browser/ui/browser.h" |
| 19 #include "chrome/browser/ui/browser_list.h" |
| 20 #include "chrome/common/notification_observer.h" | 20 #include "chrome/common/notification_observer.h" |
| 21 #include "chrome/common/notification_registrar.h" | 21 #include "chrome/common/notification_registrar.h" |
| 22 | 22 |
| 23 class NavigationController; | 23 class NavigationController; |
| 24 class NavigationEntry; | 24 class NavigationEntry; |
| 25 class Profile; | 25 class Profile; |
| 26 class SessionCommand; | 26 class SessionCommand; |
| 27 struct SessionTab; | 27 struct SessionTab; |
| 28 struct SessionWindow; | 28 struct SessionWindow; |
| 29 | 29 |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 | 452 |
| 453 // Constants used in calculating histogram data. | 453 // Constants used in calculating histogram data. |
| 454 const base::TimeDelta save_delay_in_millis_; | 454 const base::TimeDelta save_delay_in_millis_; |
| 455 const base::TimeDelta save_delay_in_mins_; | 455 const base::TimeDelta save_delay_in_mins_; |
| 456 const base::TimeDelta save_delay_in_hrs_; | 456 const base::TimeDelta save_delay_in_hrs_; |
| 457 | 457 |
| 458 DISALLOW_COPY_AND_ASSIGN(SessionService); | 458 DISALLOW_COPY_AND_ASSIGN(SessionService); |
| 459 }; | 459 }; |
| 460 | 460 |
| 461 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ | 461 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ |
| OLD | NEW |