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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistencePolicy.java

Issue 2414043003: Only log Tabs.CountAtStartup for Tabbed mode. (Closed)
Patch Set: Created 4 years, 2 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 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698