| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 #import "ios/chrome/browser/downstream_chromium_browser_provider.h" | 5 #import "ios/chrome/browser/downstream_chromium_browser_provider.h" |
| 6 | 6 |
| 7 #import <UIKit/UIKit.h> | |
| 8 | |
| 9 #include <memory> | |
| 10 #include <string> | |
| 11 | |
| 12 #include "base/memory/ptr_util.h" | |
| 13 #include "ios/chrome/browser/tabs/tab_model_synced_window_delegate_getter.h" | |
| 14 | |
| 15 DownstreamChromiumBrowserProvider::DownstreamChromiumBrowserProvider() {} | 7 DownstreamChromiumBrowserProvider::DownstreamChromiumBrowserProvider() {} |
| 16 | 8 |
| 17 DownstreamChromiumBrowserProvider::~DownstreamChromiumBrowserProvider() {} | 9 DownstreamChromiumBrowserProvider::~DownstreamChromiumBrowserProvider() {} |
| 18 | |
| 19 std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> | |
| 20 DownstreamChromiumBrowserProvider::CreateSyncedWindowDelegatesGetter( | |
| 21 ios::ChromeBrowserState* browser_state) { | |
| 22 return base::MakeUnique<TabModelSyncedWindowDelegatesGetter>(browser_state); | |
| 23 } | |
| OLD | NEW |