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

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

Issue 1129293002: Fix the System Profile with extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: and a few fewer unnecessary checks Created 5 years, 7 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/browser/extensions/tab_helper.cc
diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
index 1e551c46db2168ab1e66dbecf0fb0dab474587c6..0f2778be40b45377b4df390bf26b3d147f51f5d2 100644
--- a/chrome/browser/extensions/tab_helper.cc
+++ b/chrome/browser/extensions/tab_helper.cc
@@ -144,6 +144,7 @@ bool TabHelper::CanCreateApplicationShortcuts() const {
bool TabHelper::CanCreateBookmarkApp() const {
return !profile_->IsGuestSession() &&
+ !profile_->IsSystemProfile() &&
IsValidBookmarkAppUrl(web_contents()->GetURL());
}

Powered by Google App Engine
This is Rietveld 408576698