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

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

Issue 308003005: app_list: Drive app integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pref is_syancable -> do_not_sync, remove AppListModel deps and no auto uninstall new_app Created 6 years, 6 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 93d8ce4c48b603821d283bfd1f01f1b21d946df5..1303650aa1b245931dd156afa59519d2b3dc1793 100644
--- a/chrome/common/extensions/sync_helper.cc
+++ b/chrome/common/extensions/sync_helper.cc
@@ -85,7 +85,8 @@ 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->was_installed_by_default() &&
+ extension->is_syncable());
// 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