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

Side by Side Diff: chrome/browser/android/preferences/website_preference_bridge.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 | « no previous file | chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/preferences/website_preference_bridge.h" 5 #include "chrome/browser/android/preferences/website_preference_bridge.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 new BrowsingDataAppCacheHelper(profile_), 464 new BrowsingDataAppCacheHelper(profile_),
465 new BrowsingDataIndexedDBHelper(indexed_db_context), 465 new BrowsingDataIndexedDBHelper(indexed_db_context),
466 BrowsingDataFileSystemHelper::Create(file_system_context), 466 BrowsingDataFileSystemHelper::Create(file_system_context),
467 BrowsingDataQuotaHelper::Create(profile_), 467 BrowsingDataQuotaHelper::Create(profile_),
468 BrowsingDataChannelIDHelper::Create(profile_->GetRequestContext()), 468 BrowsingDataChannelIDHelper::Create(profile_->GetRequestContext()),
469 new BrowsingDataServiceWorkerHelper(service_worker_context), 469 new BrowsingDataServiceWorkerHelper(service_worker_context),
470 new BrowsingDataCacheStorageHelper(cache_storage_context), 470 new BrowsingDataCacheStorageHelper(cache_storage_context),
471 NULL); 471 NULL);
472 472
473 cookies_tree_model_.reset(new CookiesTreeModel( 473 cookies_tree_model_.reset(new CookiesTreeModel(
474 container, profile_->GetExtensionSpecialStoragePolicy(), false)); 474 container, profile_->GetExtensionSpecialStoragePolicy()));
475 cookies_tree_model_->AddCookiesTreeObserver(this); 475 cookies_tree_model_->AddCookiesTreeObserver(this);
476 } 476 }
477 477
478 // TreeModelObserver: 478 // TreeModelObserver:
479 void TreeNodesAdded(ui::TreeModel* model, 479 void TreeNodesAdded(ui::TreeModel* model,
480 ui::TreeModelNode* parent, 480 ui::TreeModelNode* parent,
481 int start, 481 int start,
482 int count) override {} 482 int count) override {}
483 void TreeNodesRemoved(ui::TreeModel* model, 483 void TreeNodesRemoved(ui::TreeModel* model,
484 ui::TreeModelNode* parent, 484 ui::TreeModelNode* parent,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 GURL url(ConvertJavaStringToUTF8(env, jorigin)); 718 GURL url(ConvertJavaStringToUTF8(env, jorigin));
719 scoped_refptr<SiteDataDeleteHelper> site_data_deleter( 719 scoped_refptr<SiteDataDeleteHelper> site_data_deleter(
720 new SiteDataDeleteHelper(profile, url)); 720 new SiteDataDeleteHelper(profile, url));
721 site_data_deleter->Run(); 721 site_data_deleter->Run();
722 } 722 }
723 723
724 // Register native methods 724 // Register native methods
725 bool RegisterWebsitePreferenceBridge(JNIEnv* env) { 725 bool RegisterWebsitePreferenceBridge(JNIEnv* env) {
726 return RegisterNativesImpl(env); 726 return RegisterNativesImpl(env);
727 } 727 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698