| Index: chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.cc b/chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| index ff1f6108d9e32824565e4f3566aa9d5927400e3f..bce7c8c915f9ef5d736bb1f365aef8455d4723cc 100644
|
| --- a/chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| +++ b/chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| @@ -15,7 +15,6 @@
|
| #include "base/values.h"
|
| #include "chrome/browser/browsing_data/cookies_tree_model.h"
|
| #include "content/public/browser/indexed_db_context.h"
|
| -#include "extensions/common/extension_set.h"
|
| #include "grit/generated_resources.h"
|
| #include "net/cookies/canonical_cookie.h"
|
| #include "net/ssl/ssl_client_cert_type.h"
|
| @@ -23,6 +22,10 @@
|
| #include "ui/base/text/bytes_formatting.h"
|
| #include "webkit/common/fileapi/file_system_types.h"
|
|
|
| +#if defined(ENABLE_EXTENSIONS)
|
| +#include "extensions/common/extension_set.h"
|
| +#endif
|
| +
|
| namespace {
|
|
|
| const char kKeyId[] = "id";
|
| @@ -269,6 +272,7 @@ bool CookiesTreeModelUtil::GetCookieTreeNodeDictionary(
|
| break;
|
| }
|
|
|
| +#if defined(ENABLE_EXTENSIONS)
|
| const extensions::ExtensionSet* protecting_apps =
|
| node.GetModel()->ExtensionsProtectingNode(node);
|
| if (protecting_apps && !protecting_apps->is_empty()) {
|
| @@ -282,6 +286,7 @@ bool CookiesTreeModelUtil::GetCookieTreeNodeDictionary(
|
| }
|
| dict->Set(kKeyAppsProtectingThis, app_infos);
|
| }
|
| +#endif
|
|
|
| return true;
|
| }
|
|
|