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