| Index: chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.cc b/chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| index a4ce6076fdf19927a0229c3ef539eb8721e2b725..4a87b673b67a9cce30716e7ec9447296390c4137 100644
|
| --- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| @@ -282,6 +282,16 @@ scoped_refptr<Extension> CreateExtension(
|
| source.SetString(extension_manifest_keys::kLaunchWebURL,
|
| "http://www.example.com");
|
| break;
|
| + case Extension::TYPE_PLATFORM_APP: {
|
| + source.Set(extension_manifest_keys::kApp, new DictionaryValue());
|
| + source.Set(extension_manifest_keys::kPlatformAppBackground,
|
| + new DictionaryValue());
|
| + ListValue* scripts = new ListValue();
|
| + scripts->AppendString("main.js");
|
| + source.Set(extension_manifest_keys::kPlatformAppBackgroundScripts,
|
| + scripts);
|
| + break;
|
| + }
|
| default:
|
| ADD_FAILURE();
|
| return NULL;
|
|
|