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

Unified Diff: chrome/browser/prefs/session_startup_pref.cc

Issue 2479113002: Make extensions DSE persistent in browser prefs (Closed)
Patch Set: Tests updated(rewritten) after review Created 4 years 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/browser/prefs/session_startup_pref.cc
diff --git a/chrome/browser/prefs/session_startup_pref.cc b/chrome/browser/prefs/session_startup_pref.cc
index 7bcf8d03f0d69fdc2ecf524846bcb464e15ab352..345ce21c1b4935582c71fafc83968b858dd428fb 100644
--- a/chrome/browser/prefs/session_startup_pref.cc
+++ b/chrome/browser/prefs/session_startup_pref.cc
@@ -41,6 +41,11 @@ void URLListToPref(const base::ListValue* url_list, SessionStartupPref* pref) {
} // namespace
+const int SessionStartupPref::kPrefValueLast;
+const int SessionStartupPref::kPrefValueURLs;
+const int SessionStartupPref::kPrefValueNewTab;
+const int SessionStartupPref::kPrefValueMax;
gab 2016/12/06 19:35:04 Why do you need this? They're in the public header
vasilii 2016/12/06 19:42:11 The context is here https://groups.google.com/a/ch
gab 2016/12/06 19:51:44 This thread is huge, any specific entry? The OP is
gab 2016/12/07 16:26:27 Ok I see [1] and in particular [2], but why wasn't
Alexander Yashkin 2016/12/09 08:19:52 I beleive vasilii answered this question below.
gab 2016/12/09 18:18:27 Right he replied: """Before base::FundamentalValue
Alexander Yashkin 2016/12/11 16:34:32 Ok, changed to enum.
+
// static
void SessionStartupPref::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {

Powered by Google App Engine
This is Rietveld 408576698