OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <htiframe.h> | 5 #include <htiframe.h> |
6 #include <mshtml.h> | 6 #include <mshtml.h> |
7 #include <shlobj.h> | 7 #include <shlobj.h> |
8 #include <wininet.h> | 8 #include <wininet.h> |
9 | 9 |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 security_manager->MapUrlToZone(unicode_url.c_str(), &zone, 0); | 1385 security_manager->MapUrlToZone(unicode_url.c_str(), &zone, 0); |
1386 if (zone == URLZONE_UNTRUSTED) { | 1386 if (zone == URLZONE_UNTRUSTED) { |
1387 DLOG(WARNING) << __FUNCTION__ | 1387 DLOG(WARNING) << __FUNCTION__ |
1388 << " Disallowing navigation to restricted url: " << url; | 1388 << " Disallowing navigation to restricted url: " << url; |
1389 return false; | 1389 return false; |
1390 } | 1390 } |
1391 } | 1391 } |
1392 | 1392 |
1393 return true; | 1393 return true; |
1394 } | 1394 } |
1395 | |
OLD | NEW |