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

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

Issue 11066025: Merge 159612 - Temporary fix bug in disabling sync for default apps (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/installed_loader.cc
===================================================================
--- chrome/browser/extensions/installed_loader.cc (revision 160206)
+++ chrome/browser/extensions/installed_loader.cc (working copy)
@@ -311,6 +311,9 @@
flags |= Extension::FROM_WEBSTORE;
if (extension_prefs_->IsFromBookmark(info->extension_id))
flags |= Extension::FROM_BOOKMARK;
+ if (extension_prefs_->WasInstalledByDefault(info->extension_id)) {
+ flags |= Extension::WAS_INSTALLED_BY_DEFAULT;
+ }
return flags;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698