OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "components/sessions/core/base_session_service_delegate.h" | 25 #include "components/sessions/core/base_session_service_delegate.h" |
26 #include "components/sessions/core/session_service_commands.h" | 26 #include "components/sessions/core/session_service_commands.h" |
27 #include "components/sessions/core/tab_restore_service_client.h" | 27 #include "components/sessions/core/tab_restore_service_client.h" |
28 #include "content/public/browser/notification_observer.h" | 28 #include "content/public/browser/notification_observer.h" |
29 #include "content/public/browser/notification_registrar.h" | 29 #include "content/public/browser/notification_registrar.h" |
30 #include "ui/base/ui_base_types.h" | 30 #include "ui/base/ui_base_types.h" |
31 | 31 |
32 class Profile; | 32 class Profile; |
33 | 33 |
34 namespace content { | 34 namespace content { |
35 class NavigationEntry; | |
36 class WebContents; | 35 class WebContents; |
37 } // namespace content | 36 } // namespace content |
38 | 37 |
39 namespace sessions { | 38 namespace sessions { |
40 class SessionCommand; | 39 class SessionCommand; |
41 struct SessionTab; | 40 struct SessionTab; |
42 struct SessionWindow; | 41 struct SessionWindow; |
43 } // namespace sessions | 42 } // namespace sessions |
44 | 43 |
45 // SessionService ------------------------------------------------------------ | 44 // SessionService ------------------------------------------------------------ |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 // For browser_tests, since we want to simulate the browser shutting down | 401 // For browser_tests, since we want to simulate the browser shutting down |
403 // without quitting. | 402 // without quitting. |
404 bool force_browser_not_alive_with_no_windows_; | 403 bool force_browser_not_alive_with_no_windows_; |
405 | 404 |
406 base::WeakPtrFactory<SessionService> weak_factory_; | 405 base::WeakPtrFactory<SessionService> weak_factory_; |
407 | 406 |
408 DISALLOW_COPY_AND_ASSIGN(SessionService); | 407 DISALLOW_COPY_AND_ASSIGN(SessionService); |
409 }; | 408 }; |
410 | 409 |
411 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ | 410 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ |
OLD | NEW |