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

Unified Diff: chrome/browser/extensions/extension_prefs.cc

Issue 4658006: Open apps section on NTP when new app get installed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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/extensions/extension_prefs.cc
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
index bf80550c19dc12b8f73e0b45464852889ca3dc5d..c3273c4726f5f3344bc65daf456e3bd99eaed78e 100644
--- a/chrome/browser/extensions/extension_prefs.cc
+++ b/chrome/browser/extensions/extension_prefs.cc
@@ -7,6 +7,7 @@
#include "base/string_util.h"
#include "base/string_number_conversions.h"
#include "base/utf_string_conversions.h"
+#include "chrome/browser/dom_ui/shown_sections_handler.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/pref_names.h"
@@ -538,6 +539,7 @@ void ExtensionPrefs::OnExtensionInstalled(
}
UpdateExtensionPref(id, kPrefAppLaunchIndex,
Value::CreateIntegerValue(GetNextAppLaunchIndex()));
+ ShownSectionsHandler::OnExtensionInstalled(prefs_, extension);
Aaron Boodman 2010/11/11 17:59:13 We usually do this kind of work in ExtensionsServi
Dmitry Polukhin 2010/11/11 20:08:20 Done.
SavePrefsAndNotify();
}

Powered by Google App Engine
This is Rietveld 408576698