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

Side by Side Diff: chrome/browser/sessions/session_service_test_helper.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « chrome/browser/sessions/session_service.h ('k') | chrome/browser/signin/chrome_signin_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "components/sessions/core/session_id.h" 16 #include "components/sessions/core/session_id.h"
17 17
18 class SessionService; 18 class SessionService;
19 19
20 namespace base {
21 class RunLoop;
22 }
23
24 namespace sessions { 20 namespace sessions {
25 class SerializedNavigationEntry; 21 class SerializedNavigationEntry;
26 class SessionCommand;
27 struct SessionTab; 22 struct SessionTab;
28 struct SessionWindow; 23 struct SessionWindow;
29 } 24 }
30 25
31 // A simple class that makes writing SessionService related tests easier. 26 // A simple class that makes writing SessionService related tests easier.
32 27
33 class SessionServiceTestHelper { 28 class SessionServiceTestHelper {
34 public: 29 public:
35 SessionServiceTestHelper(); 30 SessionServiceTestHelper();
36 explicit SessionServiceTestHelper(SessionService* service); 31 explicit SessionServiceTestHelper(SessionService* service);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 void RunTaskOnBackendThread(const tracked_objects::Location& from_here, 79 void RunTaskOnBackendThread(const tracked_objects::Location& from_here,
85 const base::Closure& task); 80 const base::Closure& task);
86 81
87 private: 82 private:
88 std::unique_ptr<SessionService> service_; 83 std::unique_ptr<SessionService> service_;
89 84
90 DISALLOW_COPY_AND_ASSIGN(SessionServiceTestHelper); 85 DISALLOW_COPY_AND_ASSIGN(SessionServiceTestHelper);
91 }; 86 };
92 87
93 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_ 88 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_service.h ('k') | chrome/browser/signin/chrome_signin_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698