OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. | 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 if (protocol == "https" || protocol == "wss") | 53 if (protocol == "https" || protocol == "wss") |
54 return 443; | 54 return 443; |
55 if (protocol == "ftp") | 55 if (protocol == "ftp") |
56 return 21; | 56 return 21; |
57 if (protocol == "ftps") | 57 if (protocol == "ftps") |
58 return 990; | 58 return 990; |
59 | 59 |
60 return 0; | 60 return 0; |
61 } | 61 } |
62 | 62 |
63 } | 63 } // namespace blink |
OLD | NEW |