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

Side by Side Diff: chrome/browser/ui/android/tab_restore_service_delegate_android.cc

Issue 10989027: Split TabRestoreService into InMemoryTRS and PersistentTRS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Scott's comments Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698