OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SESSIONS_TEST_LIVE_TAB_CONTEXT_PROVID
ER_H_ | |
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SESSIONS_TEST_LIVE_TAB_CONTEXT_PROVID
ER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "ios/public/provider/chrome/browser/sessions/live_tab_context_provider.
h" | |
10 | |
11 class TestLiveTabContextProvider : public ios::LiveTabContextProvider { | |
12 public: | |
13 TestLiveTabContextProvider() {} | |
14 ~TestLiveTabContextProvider() override {} | |
15 | |
16 // LiveTabContextProvider. | |
17 sessions::LiveTabContext* Create( | |
18 ios::ChromeBrowserState* browser_state) override; | |
19 sessions::LiveTabContext* FindContextWithID(int32_t desired_id) override; | |
20 sessions::LiveTabContext* FindContextForTab( | |
21 const sessions::LiveTab* tab) override; | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(TestLiveTabContextProvider); | |
25 }; | |
26 | |
27 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SESSIONS_TEST_LIVE_TAB_CONTEXT_PRO
VIDER_H_ | |
OLD | NEW |