| Index: chrome/browser/extensions/extension_util.cc
|
| diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
|
| index 7a921ac7e92e5d163f88e9d827cba684b9f5c35a..6e5bf07bb8dfa810fd18970a727ed3f27ab7f0d6 100644
|
| --- a/chrome/browser/extensions/extension_util.cc
|
| +++ b/chrome/browser/extensions/extension_util.cc
|
| @@ -18,6 +18,7 @@
|
| #include "extensions/browser/extension_prefs.h"
|
| #include "extensions/browser/extension_registry.h"
|
| #include "extensions/browser/extension_system.h"
|
| +#include "extensions/browser/extension_util.h"
|
| #include "extensions/common/extension.h"
|
| #include "extensions/common/extension_icon_set.h"
|
| #include "extensions/common/manifest.h"
|
| @@ -153,6 +154,11 @@ bool IsAppLaunchableWithoutEnabling(const std::string& extension_id,
|
| extension_id, ExtensionRegistry::ENABLED) != NULL;
|
| }
|
|
|
| +bool ShouldSyncApp(const Extension* app, content::BrowserContext* context) {
|
| + return sync_helper::IsSyncableApp(app) &&
|
| + !util::IsEphemeralApp(app->id(), context);
|
| +}
|
| +
|
| bool IsExtensionIdle(const std::string& extension_id,
|
| content::BrowserContext* context) {
|
| ProcessManager* process_manager =
|
|
|