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

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

Issue 11034009: Temporary fix bug in disabling sync for default apps (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
diff --git a/chrome/browser/extensions/installed_loader.cc b/chrome/browser/extensions/installed_loader.cc
index 8c98b77b833c4df46466231fe61dcde78502522b..1041ee53f02a20595a746e15e69e7794cb89c5d3 100644
--- a/chrome/browser/extensions/installed_loader.cc
+++ b/chrome/browser/extensions/installed_loader.cc
@@ -312,6 +312,9 @@ int InstalledLoader::GetCreationFlags(const ExtensionInfo* info) {
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