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_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_MODEL_PRIVATE_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_MODEL_PRIVATE_H_ |
| 7 |
| 8 #import "ios/chrome/browser/ui/tab_switcher/tab_switcher_model.h" |
| 9 |
| 10 @interface TabSwitcherModel (TestingSupport) |
| 11 // Notifies |delegate| about changes from |oldSessions| to |newSessions|, |
| 12 // including the insertion/deletions of distant sessions, and the |
| 13 // insertions/deletions/updates of tabs in the distant sessions. |
| 14 // Does not notify the delegate when the ordering of the distant sessions |
| 15 // changes. |
| 16 + (void)notifyDelegate:(id<TabSwitcherModelDelegate>)delegate |
| 17 aboutChangeFrom:(synced_sessions::SyncedSessions&)oldSessions |
| 18 to:(synced_sessions::SyncedSessions&)newSessions; |
| 19 @end |
| 20 |
| 21 #endif // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_MODEL_PRIVATE_H_ |
OLD | NEW |