| 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/profiles/profile_io_data.h" | 5 #include "chrome/browser/profiles/profile_io_data.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 dom_distiller::kDomDistillerScheme, | 733 dom_distiller::kDomDistillerScheme, |
| 734 #if defined(ENABLE_EXTENSIONS) | 734 #if defined(ENABLE_EXTENSIONS) |
| 735 extensions::kExtensionScheme, | 735 extensions::kExtensionScheme, |
| 736 extensions::kExtensionResourceScheme, | 736 extensions::kExtensionResourceScheme, |
| 737 #endif | 737 #endif |
| 738 content::kChromeUIScheme, | 738 content::kChromeUIScheme, |
| 739 url::kDataScheme, | 739 url::kDataScheme, |
| 740 #if defined(OS_CHROMEOS) | 740 #if defined(OS_CHROMEOS) |
| 741 content::kExternalFileScheme, | 741 content::kExternalFileScheme, |
| 742 #endif // defined(OS_CHROMEOS) | 742 #endif // defined(OS_CHROMEOS) |
| 743 #if defined(OS_ANDROID) |
| 744 url::kContentScheme, |
| 745 #endif // defined(OS_ANDROID) |
| 743 url::kAboutScheme, | 746 url::kAboutScheme, |
| 744 #if !defined(DISABLE_FTP_SUPPORT) | 747 #if !defined(DISABLE_FTP_SUPPORT) |
| 745 url::kFtpScheme, | 748 url::kFtpScheme, |
| 746 #endif // !defined(DISABLE_FTP_SUPPORT) | 749 #endif // !defined(DISABLE_FTP_SUPPORT) |
| 747 url::kBlobScheme, | 750 url::kBlobScheme, |
| 748 url::kFileSystemScheme, | 751 url::kFileSystemScheme, |
| 749 chrome::kChromeSearchScheme, | 752 chrome::kChromeSearchScheme, |
| 750 }; | 753 }; |
| 751 for (size_t i = 0; i < arraysize(kProtocolList); ++i) { | 754 for (size_t i = 0; i < arraysize(kProtocolList); ++i) { |
| 752 if (scheme == kProtocolList[i]) | 755 if (scheme == kProtocolList[i]) |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1351 void ProfileIOData::SetCookieSettingsForTesting( | 1354 void ProfileIOData::SetCookieSettingsForTesting( |
| 1352 content_settings::CookieSettings* cookie_settings) { | 1355 content_settings::CookieSettings* cookie_settings) { |
| 1353 DCHECK(!cookie_settings_.get()); | 1356 DCHECK(!cookie_settings_.get()); |
| 1354 cookie_settings_ = cookie_settings; | 1357 cookie_settings_ = cookie_settings; |
| 1355 } | 1358 } |
| 1356 | 1359 |
| 1357 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( | 1360 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( |
| 1358 const GURL& url) const { | 1361 const GURL& url) const { |
| 1359 return url_blacklist_manager_->GetURLBlacklistState(url); | 1362 return url_blacklist_manager_->GetURLBlacklistState(url); |
| 1360 } | 1363 } |
| OLD | NEW |