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

Side by Side Diff: ios/chrome/browser/tabs/tab_model_synced_window_delegate.mm

Issue 2628273004: Revert of Use ChromeBrowserStateManager instead of BrowserListIOS. (Closed)
Patch Set: 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "ios/chrome/browser/tabs/tab_model_synced_window_delegate.h" 5 #include "ios/chrome/browser/tabs/tab_model_synced_window_delegate.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 10 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
11 #include "ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h" 11 #include "ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h"
12 #include "ios/chrome/browser/tabs/tab.h" 12 #include "ios/chrome/browser/tabs/tab.h"
13 #include "ios/chrome/browser/tabs/tab_model.h" 13 #include "ios/chrome/browser/tabs/tab_model.h"
14 #import "ios/chrome/browser/ui/browser_list_ios.h"
14 #import "ios/web/public/web_state/web_state.h" 15 #import "ios/web/public/web_state/web_state.h"
15 16
16 TabModelSyncedWindowDelegate::TabModelSyncedWindowDelegate(TabModel* tab_model) 17 TabModelSyncedWindowDelegate::TabModelSyncedWindowDelegate(TabModel* tab_model)
17 : tab_model_(tab_model) {} 18 : tab_model_(tab_model) {}
18 19
19 TabModelSyncedWindowDelegate::~TabModelSyncedWindowDelegate() {} 20 TabModelSyncedWindowDelegate::~TabModelSyncedWindowDelegate() {}
20 21
21 bool TabModelSyncedWindowDelegate::IsTabPinned( 22 bool TabModelSyncedWindowDelegate::IsTabPinned(
22 const sync_sessions::SyncedTabDelegate* tab) const { 23 const sync_sessions::SyncedTabDelegate* tab) const {
23 return false; 24 return false;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 return true; 69 return true;
69 } 70 }
70 71
71 bool TabModelSyncedWindowDelegate::IsTypePopup() const { 72 bool TabModelSyncedWindowDelegate::IsTypePopup() const {
72 return false; 73 return false;
73 } 74 }
74 75
75 bool TabModelSyncedWindowDelegate::ShouldSync() const { 76 bool TabModelSyncedWindowDelegate::ShouldSync() const {
76 return true; 77 return true;
77 } 78 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab_model_list.mm ('k') | ios/chrome/browser/tabs/tab_model_synced_window_delegate_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698