OLD | NEW |
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/browsing_data_appcache_helper.h" |
8 #include "chrome/browser/browsing_data_cookie_helper.h" | 8 #include "chrome/browser/browsing_data/browsing_data_cookie_helper.h" |
9 #include "chrome/browser/browsing_data_database_helper.h" | 9 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" |
10 #include "chrome/browser/browsing_data_file_system_helper.h" | 10 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" |
11 #include "chrome/browser/browsing_data_indexed_db_helper.h" | 11 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" |
12 #include "chrome/browser/browsing_data_local_storage_helper.h" | 12 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" |
13 #include "chrome/browser/browsing_data_server_bound_cert_helper.h" | 13 #include "chrome/browser/browsing_data/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 #include "net/cookies/canonical_cookie.h" |
19 | 19 |
20 LocalSharedObjectsContainer::LocalSharedObjectsContainer(Profile* profile) | 20 LocalSharedObjectsContainer::LocalSharedObjectsContainer(Profile* profile) |
21 : appcaches_(new CannedBrowsingDataAppCacheHelper(profile)), | 21 : appcaches_(new CannedBrowsingDataAppCacheHelper(profile)), |
22 cookies_(new CannedBrowsingDataCookieHelper( | 22 cookies_(new CannedBrowsingDataCookieHelper( |
23 profile->GetRequestContext())), | 23 profile->GetRequestContext())), |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 ++info) { | 172 ++info) { |
173 if (net::RegistryControlledDomainService::SameDomainOrHost( | 173 if (net::RegistryControlledDomainService::SameDomainOrHost( |
174 origin, info->manifest_url)) { | 174 origin, info->manifest_url)) { |
175 ++count; | 175 ++count; |
176 } | 176 } |
177 } | 177 } |
178 } | 178 } |
179 | 179 |
180 return count; | 180 return count; |
181 } | 181 } |
OLD | NEW |