Index: chrome/browser/ui/webui/options/cookies_view_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/options/cookies_view_handler.cc (revision 93934) |
+++ chrome/browser/ui/webui/options/cookies_view_handler.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
#include "chrome/browser/browsing_data_appcache_helper.h" |
+#include "chrome/browser/browsing_data_cookie_helper.h" |
#include "chrome/browser/browsing_data_database_helper.h" |
#include "chrome/browser/browsing_data_file_system_helper.h" |
#include "chrome/browser/browsing_data_indexed_db_helper.h" |
@@ -14,7 +15,6 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/webui/cookies_tree_model_util.h" |
#include "grit/generated_resources.h" |
-#include "net/url_request/url_request_context_getter.h" |
#include "ui/base/l10n/l10n_util.h" |
CookiesViewHandler::CookiesViewHandler() : batch_update_(false) { |
@@ -143,8 +143,7 @@ |
if (!cookies_tree_model_.get()) { |
Profile* profile = web_ui_->GetProfile(); |
cookies_tree_model_.reset(new CookiesTreeModel( |
- profile->GetRequestContext()->DONTUSEME_GetCookieStore()-> |
- GetCookieMonster(), |
+ new BrowsingDataCookieHelper(profile), |
new BrowsingDataDatabaseHelper(profile), |
new BrowsingDataLocalStorageHelper(profile), |
NULL, |