| 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 dom_distiller::kDomDistillerScheme, | 734 dom_distiller::kDomDistillerScheme, |
| 735 #if defined(ENABLE_EXTENSIONS) | 735 #if defined(ENABLE_EXTENSIONS) |
| 736 extensions::kExtensionScheme, | 736 extensions::kExtensionScheme, |
| 737 extensions::kExtensionResourceScheme, | 737 extensions::kExtensionResourceScheme, |
| 738 #endif | 738 #endif |
| 739 content::kChromeUIScheme, | 739 content::kChromeUIScheme, |
| 740 url::kDataScheme, | 740 url::kDataScheme, |
| 741 #if defined(OS_CHROMEOS) | 741 #if defined(OS_CHROMEOS) |
| 742 content::kExternalFileScheme, | 742 content::kExternalFileScheme, |
| 743 #endif // defined(OS_CHROMEOS) | 743 #endif // defined(OS_CHROMEOS) |
| 744 #if defined(OS_ANDROID) |
| 745 url::kContentScheme, |
| 746 #endif // defined(OS_ANDROID) |
| 744 url::kAboutScheme, | 747 url::kAboutScheme, |
| 745 #if !defined(DISABLE_FTP_SUPPORT) | 748 #if !defined(DISABLE_FTP_SUPPORT) |
| 746 url::kFtpScheme, | 749 url::kFtpScheme, |
| 747 #endif // !defined(DISABLE_FTP_SUPPORT) | 750 #endif // !defined(DISABLE_FTP_SUPPORT) |
| 748 url::kBlobScheme, | 751 url::kBlobScheme, |
| 749 url::kFileSystemScheme, | 752 url::kFileSystemScheme, |
| 750 chrome::kChromeSearchScheme, | 753 chrome::kChromeSearchScheme, |
| 751 }; | 754 }; |
| 752 for (size_t i = 0; i < arraysize(kProtocolList); ++i) { | 755 for (size_t i = 0; i < arraysize(kProtocolList); ++i) { |
| 753 if (scheme == kProtocolList[i]) | 756 if (scheme == kProtocolList[i]) |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1380 void ProfileIOData::SetCookieSettingsForTesting( | 1383 void ProfileIOData::SetCookieSettingsForTesting( |
| 1381 content_settings::CookieSettings* cookie_settings) { | 1384 content_settings::CookieSettings* cookie_settings) { |
| 1382 DCHECK(!cookie_settings_.get()); | 1385 DCHECK(!cookie_settings_.get()); |
| 1383 cookie_settings_ = cookie_settings; | 1386 cookie_settings_ = cookie_settings; |
| 1384 } | 1387 } |
| 1385 | 1388 |
| 1386 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( | 1389 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( |
| 1387 const GURL& url) const { | 1390 const GURL& url) const { |
| 1388 return url_blacklist_manager_->GetURLBlacklistState(url); | 1391 return url_blacklist_manager_->GetURLBlacklistState(url); |
| 1389 } | 1392 } |
| OLD | NEW |