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

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

Issue 10117019: Merge 132065 - Modify IsSyncable to only include Internal items and the Chrome Web Store (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: Created 8 years, 8 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 | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
===================================================================
--- chrome/common/extensions/extension.cc (revision 132783)
+++ chrome/common/extensions/extension.cc (working copy)
@@ -3516,10 +3516,9 @@
bool Extension::IsSyncable() const {
// TODO(akalin): Figure out if we need to allow some other types.
- // We want to sync any extensions that are shown in the launcher because
- // their positions should sync.
+ // We want to sync any extensions that are internal and the chrome web store.
return location() == Extension::INTERNAL ||
- ShouldDisplayInLauncher();
+ id() == extension_misc::kWebStoreAppId;
}
bool Extension::ShouldDisplayInLauncher() const {
« no previous file with comments | « no previous file | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698