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

Side by Side Diff: ios/chrome/browser/ui/tab_switcher/tab_switcher_model_private.h

Issue 2588733002: Upstream Chrome on iOS source code [9/11]. (Closed)
Patch Set: 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
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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698