| 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 package org.chromium.chrome.browser.tabmodel; | 5 package org.chromium.chrome.browser.tabmodel; |
| 6 | 6 |
| 7 import org.chromium.base.Callback; | 7 import org.chromium.base.Callback; |
| 8 import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager; | 8 import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager; |
| 9 | 9 |
| 10 import java.io.File; | 10 import java.io.File; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // do anything but collect files to be deleted. | 90 // do anything but collect files to be deleted. |
| 91 void cleanupUnusedFiles(Callback<List<String>> filesToDelete); | 91 void cleanupUnusedFiles(Callback<List<String>> filesToDelete); |
| 92 | 92 |
| 93 /** | 93 /** |
| 94 * Sets the {@link TabContentManager} to use. | 94 * Sets the {@link TabContentManager} to use. |
| 95 * @param cache The {@link TabContentManager} to use. | 95 * @param cache The {@link TabContentManager} to use. |
| 96 */ | 96 */ |
| 97 void setTabContentManager(TabContentManager cache); | 97 void setTabContentManager(TabContentManager cache); |
| 98 | 98 |
| 99 /** | 99 /** |
| 100 * Notified when {@link TabPersistentStore#loadState(boolean)} has completed
. |
| 101 * @param tabCountAtStartup The number of tabs to be restored at startup. |
| 102 */ |
| 103 void notifyStateLoaded(int tabCountAtStartup); |
| 104 |
| 105 /** |
| 100 * Notify that persistent store has been destroyed. | 106 * Notify that persistent store has been destroyed. |
| 101 */ | 107 */ |
| 102 void destroy(); | 108 void destroy(); |
| 103 } | 109 } |
| OLD | NEW |