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

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

Issue 2615003002: Use ChromeBrowserStateManager instead of BrowserListIOS. (Closed)
Patch Set: Fix ios_chrome_perftests. 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"
15 #import "ios/web/public/web_state/web_state.h" 14 #import "ios/web/public/web_state/web_state.h"
16 15
17 TabModelSyncedWindowDelegate::TabModelSyncedWindowDelegate(TabModel* tab_model) 16 TabModelSyncedWindowDelegate::TabModelSyncedWindowDelegate(TabModel* tab_model)
18 : tab_model_(tab_model) {} 17 : tab_model_(tab_model) {}
19 18
20 TabModelSyncedWindowDelegate::~TabModelSyncedWindowDelegate() {} 19 TabModelSyncedWindowDelegate::~TabModelSyncedWindowDelegate() {}
21 20
22 bool TabModelSyncedWindowDelegate::IsTabPinned( 21 bool TabModelSyncedWindowDelegate::IsTabPinned(
23 const sync_sessions::SyncedTabDelegate* tab) const { 22 const sync_sessions::SyncedTabDelegate* tab) const {
24 return false; 23 return false;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return true; 68 return true;
70 } 69 }
71 70
72 bool TabModelSyncedWindowDelegate::IsTypePopup() const { 71 bool TabModelSyncedWindowDelegate::IsTypePopup() const {
73 return false; 72 return false;
74 } 73 }
75 74
76 bool TabModelSyncedWindowDelegate::ShouldSync() const { 75 bool TabModelSyncedWindowDelegate::ShouldSync() const {
77 return true; 76 return true;
78 } 77 }
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