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

Side by Side Diff: ios/public/provider/chrome/browser/sessions/test_live_tab_context_provider.h

Issue 2593993002: Remove ChromeBrowserProvider::GetLiveTabContextProvider() method. (Closed)
Patch Set: Rebase and fix "gn check". Created 3 years, 11 months 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698