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

Unified Diff: chrome/common/extensions/sync_helper.cc

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up file header Created 6 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/common/extensions/sync_helper.cc
diff --git a/chrome/common/extensions/sync_helper.cc b/chrome/common/extensions/sync_helper.cc
index 86457b88d004a49f1cf7a6eb70521eda92e41aa2..9c4f0ac13620e892fc1ac9c410f61052e3cf7177 100644
--- a/chrome/common/extensions/sync_helper.cc
+++ b/chrome/common/extensions/sync_helper.cc
@@ -82,8 +82,7 @@ bool IsSyncable(const Extension* extension) {
// apps, creates a new profile (which get default apps) and then enables sync
// for it, then their profile everywhere gets the default apps.
bool is_syncable = (extension->location() == Manifest::INTERNAL &&
- !extension->was_installed_by_default() &&
- !extension->is_ephemeral());
+ !extension->was_installed_by_default());
// Sync the chrome web store to maintain its position on the new tab page.
is_syncable |= (extension->id() == extension_misc::kWebStoreAppId);
// Sync the chrome component app to maintain its position on the app list.

Powered by Google App Engine
This is Rietveld 408576698