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

Side by Side Diff: chrome/browser/content_settings/local_shared_objects_container.cc

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/content_settings/local_shared_objects_container.h" 5 #include "chrome/browser/content_settings/local_shared_objects_container.h"
6 6
7 #include "chrome/browser/browsing_data_appcache_helper.h" 7 #include "chrome/browser/browsing_data_appcache_helper.h"
8 #include "chrome/browser/browsing_data_cookie_helper.h" 8 #include "chrome/browser/browsing_data_cookie_helper.h"
9 #include "chrome/browser/browsing_data_database_helper.h" 9 #include "chrome/browser/browsing_data_database_helper.h"
10 #include "chrome/browser/browsing_data_file_system_helper.h" 10 #include "chrome/browser/browsing_data_file_system_helper.h"
11 #include "chrome/browser/browsing_data_indexed_db_helper.h" 11 #include "chrome/browser/browsing_data_indexed_db_helper.h"
12 #include "chrome/browser/browsing_data_local_storage_helper.h" 12 #include "chrome/browser/browsing_data_local_storage_helper.h"
13 #include "chrome/browser/browsing_data_server_bound_cert_helper.h" 13 #include "chrome/browser/browsing_data_server_bound_cert_helper.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "content/public/common/url_constants.h" 15 #include "content/public/common/url_constants.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/registry_controlled_domain.h" 17 #include "net/base/registry_controlled_domain.h"
18 #include "net/cookies/canonical_cookie.h"
18 19
19 LocalSharedObjectsContainer::LocalSharedObjectsContainer(Profile* profile) 20 LocalSharedObjectsContainer::LocalSharedObjectsContainer(Profile* profile)
20 : appcaches_(new CannedBrowsingDataAppCacheHelper(profile)), 21 : appcaches_(new CannedBrowsingDataAppCacheHelper(profile)),
21 cookies_(new CannedBrowsingDataCookieHelper( 22 cookies_(new CannedBrowsingDataCookieHelper(
22 profile->GetRequestContext())), 23 profile->GetRequestContext())),
23 databases_(new CannedBrowsingDataDatabaseHelper(profile)), 24 databases_(new CannedBrowsingDataDatabaseHelper(profile)),
24 file_systems_(new CannedBrowsingDataFileSystemHelper(profile)), 25 file_systems_(new CannedBrowsingDataFileSystemHelper(profile)),
25 indexed_dbs_(new CannedBrowsingDataIndexedDBHelper()), 26 indexed_dbs_(new CannedBrowsingDataIndexedDBHelper()),
26 local_storages_(new CannedBrowsingDataLocalStorageHelper(profile)), 27 local_storages_(new CannedBrowsingDataLocalStorageHelper(profile)),
27 server_bound_certs_(new CannedBrowsingDataServerBoundCertHelper()), 28 server_bound_certs_(new CannedBrowsingDataServerBoundCertHelper()),
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 ++info) { 172 ++info) {
172 if (net::RegistryControlledDomainService::SameDomainOrHost( 173 if (net::RegistryControlledDomainService::SameDomainOrHost(
173 origin, info->manifest_url)) { 174 origin, info->manifest_url)) {
174 ++count; 175 ++count;
175 } 176 }
176 } 177 }
177 } 178 }
178 179
179 return count; 180 return count;
180 } 181 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698