summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-02 16:14:02 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-02 16:14:02 +0000
commitd0ac5afafd817a587008e2d96607568e5ebb3272 (patch)
treea3a8e76ccdaaae33dc15156a9c2c7b77d25dad73 /chrome/common
parent4eae29d3547aedf0388002a55b640571e6a91b5b (diff)
downloadchromium_src-d0ac5afafd817a587008e2d96607568e5ebb3272.zip
chromium_src-d0ac5afafd817a587008e2d96607568e5ebb3272.tar.gz
chromium_src-d0ac5afafd817a587008e2d96607568e5ebb3272.tar.bz2
Changes session restore to throttle loading of tabs. New tabs are
loaded when a delay is reached (which is doubled with time) or after a tab finishes loading. BUG=none TEST=make sure session restore still works. Review URL: http://codereview.chromium.org/2470003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc5
-rw-r--r--chrome/common/chrome_switches.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 04de5ab..42dc6fc 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -760,11 +760,6 @@ const char kSyncNotificationMethod[] = "sync-notification-method";
// Stop(). Should only use if you experience problems with the default.
const char kSyncerThreadTimedStop[] = "syncer-thread-timed-stop";
-// Used to set the value of SessionRestore::num_tabs_to_load_. See
-// session_restore.h for details.
-const char kTabCountToLoadOnSessionRestore[]=
- "tab-count-to-load-on-session-restore";
-
// Pass the name of the current running automated test to Chrome.
const char kTestName[] = "test-name";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index d21d221..a68f61c 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -213,7 +213,6 @@ extern const char kStartMaximized[];
extern const char kSyncServiceURL[];
extern const char kSyncNotificationMethod[];
extern const char kSyncerThreadTimedStop[];
-extern const char kTabCountToLoadOnSessionRestore[];
extern const char kTestName[];
extern const char kTestSandbox[];
extern const char kTestType[];