| 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_TEST_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_ |
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 14 #include "components/sessions/session_id.h" | 14 #include "components/sessions/core/session_id.h" |
| 15 | 15 |
| 16 class SessionService; | 16 class SessionService; |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class RunLoop; | 19 class RunLoop; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace sessions { | 22 namespace sessions { |
| 23 class SerializedNavigationEntry; | 23 class SerializedNavigationEntry; |
| 24 class SessionCommand; | 24 class SessionCommand; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void RunTaskOnBackendThread(const tracked_objects::Location& from_here, | 81 void RunTaskOnBackendThread(const tracked_objects::Location& from_here, |
| 82 const base::Closure& task); | 82 const base::Closure& task); |
| 83 | 83 |
| 84 private: | 84 private: |
| 85 scoped_ptr<SessionService> service_; | 85 scoped_ptr<SessionService> service_; |
| 86 | 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(SessionServiceTestHelper); | 87 DISALLOW_COPY_AND_ASSIGN(SessionServiceTestHelper); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_ | 90 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_ |
| OLD | NEW |