| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // Tabs persistence is implemented on the Java side. |
| 6 |
| 5 #include "chrome/browser/sessions/tab_restore_service_delegate.h" | 7 #include "chrome/browser/sessions/tab_restore_service_delegate.h" |
| 6 | 8 |
| 7 #include "content/public/browser/navigation_controller.h" | 9 #include "content/public/browser/navigation_controller.h" |
| 8 | 10 |
| 9 // static | 11 // static |
| 12 TabRestoreServiceDelegate* TabRestoreServiceDelegate::Create( |
| 13 Profile* profile, |
| 14 const std::string& app_name) { |
| 15 return NULL; |
| 16 } |
| 17 |
| 18 // static |
| 10 TabRestoreServiceDelegate* | 19 TabRestoreServiceDelegate* |
| 11 TabRestoreServiceDelegate::FindDelegateForWebContents( | 20 TabRestoreServiceDelegate::FindDelegateForWebContents( |
| 12 const content::WebContents* contents) { | 21 const content::WebContents* contents) { |
| 13 // We don't restore tabs using TabRestoreService yet. | |
| 14 return NULL; | 22 return NULL; |
| 15 } | 23 } |
| 24 |
| 25 // static |
| 26 TabRestoreServiceDelegate* TabRestoreServiceDelegate::FindDelegateWithID( |
| 27 SessionID::id_type desired_id) { |
| 28 return NULL; |
| 29 } |
| OLD | NEW |