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

Unified Diff: chrome/common/pref_names.cc

Issue 24930003: Migrate startup URLs pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 4d6417bc3d62ccda891c5f862977d678b7162011..a816d959e914fc93b657addc60abae91ac5824be 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -82,7 +82,12 @@ const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated";
// The URLs to restore on startup or when the home button is pressed. The URLs
// are only restored on startup if kRestoreOnStartup is 4.
-const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup";
+const char kURLsToRestoreOnStartup[] = "session.startup_urls";
+
+// Old startup url pref and serialized migration time (see
+// base::Time::ToInternalValue for details).
Alexei Svitkine (slow) 2013/10/15 14:40:55 Nit: I'd have one comment above each constant belo
robertshield 2013/10/15 18:00:44 Done.
+const char kURLsToRestoreOnStartupOld[] = "session.urls_to_restore_on_startup";
+const char kRestoreStartupURLsMigrated[] = "session.startup_urls_migrated";
// If set to true profiles are created in ephemeral mode and do not store their
// data in the profile folder on disk but only in memory.

Powered by Google App Engine
This is Rietveld 408576698