Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc

Issue 2110483002: Remove use of CanonicalCookie::Source() from browsing_data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/options/cookies_view_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/settings/settings_cookies_view_handler.h" 5 #include "chrome/browser/ui/webui/settings/settings_cookies_view_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 new BrowsingDataAppCacheHelper(profile), 154 new BrowsingDataAppCacheHelper(profile),
155 new BrowsingDataIndexedDBHelper(indexed_db_context), 155 new BrowsingDataIndexedDBHelper(indexed_db_context),
156 BrowsingDataFileSystemHelper::Create(file_system_context), 156 BrowsingDataFileSystemHelper::Create(file_system_context),
157 BrowsingDataQuotaHelper::Create(profile), 157 BrowsingDataQuotaHelper::Create(profile),
158 BrowsingDataChannelIDHelper::Create(profile->GetRequestContext()), 158 BrowsingDataChannelIDHelper::Create(profile->GetRequestContext()),
159 new BrowsingDataServiceWorkerHelper(service_worker_context), 159 new BrowsingDataServiceWorkerHelper(service_worker_context),
160 new BrowsingDataCacheStorageHelper(cache_storage_context), 160 new BrowsingDataCacheStorageHelper(cache_storage_context),
161 BrowsingDataFlashLSOHelper::Create(profile)); 161 BrowsingDataFlashLSOHelper::Create(profile));
162 cookies_tree_model_.reset( 162 cookies_tree_model_.reset(
163 new CookiesTreeModel(container, 163 new CookiesTreeModel(container,
164 profile->GetExtensionSpecialStoragePolicy(), 164 profile->GetExtensionSpecialStoragePolicy()));
165 false));
166 cookies_tree_model_->AddCookiesTreeObserver(this); 165 cookies_tree_model_->AddCookiesTreeObserver(this);
167 } 166 }
168 } 167 }
169 168
170 void CookiesViewHandler::UpdateSearchResults(const base::ListValue* args) { 169 void CookiesViewHandler::UpdateSearchResults(const base::ListValue* args) {
171 base::string16 query; 170 base::string16 query;
172 if (!args->GetString(0, &query)) 171 if (!args->GetString(0, &query))
173 return; 172 return;
174 173
175 EnsureCookiesTreeModelCreated(); 174 EnsureCookiesTreeModelCreated();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 args); 226 args);
228 } 227 }
229 228
230 void CookiesViewHandler::ReloadCookies(const base::ListValue* args) { 229 void CookiesViewHandler::ReloadCookies(const base::ListValue* args) {
231 cookies_tree_model_.reset(); 230 cookies_tree_model_.reset();
232 231
233 EnsureCookiesTreeModelCreated(); 232 EnsureCookiesTreeModelCreated();
234 } 233 }
235 234
236 } // namespace settings 235 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/cookies_view_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698