| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 9fc73cddc592eb3b1f50d7e7fd7359cfb470bd16..8c7fbcd180cb8efcf0e0ed21a0abe231a9ea5a83 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -2971,6 +2971,13 @@ bool Extension::OverlapsWithOrigin(const GURL& origin) const {
|
| }
|
|
|
| Extension::SyncType Extension::GetSyncType() const {
|
| + // The CWS needs to be treated as syncable app because it appears on the NTP
|
| + // and we need to make sure its position values are synced.
|
| + // If another case arises where we need to have a special case like the CWS,
|
| + // something some systematically should be done.
|
| + if (id() == extension_misc::kWebStoreAppId)
|
| + return SYNC_TYPE_APP;
|
| +
|
| // TODO(akalin): Figure out if we need to allow some other types.
|
| if (location() != Extension::INTERNAL) {
|
| // We have a non-standard location.
|
|
|