| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #undef LOG | 5 #undef LOG |
| 6 | 6 |
| 7 #include "webkit/tools/test_shell/test_shell.h" | 7 #include "webkit/tools/test_shell/test_shell.h" |
| 8 | 8 |
| 9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 | 783 |
| 784 bool IsProtocolSupportedForMedia(const GURL& url) { | 784 bool IsProtocolSupportedForMedia(const GURL& url) { |
| 785 if (url.SchemeIsFile() || | 785 if (url.SchemeIsFile() || |
| 786 url.SchemeIs("http") || | 786 url.SchemeIs("http") || |
| 787 url.SchemeIs("https") || | 787 url.SchemeIs("https") || |
| 788 url.SchemeIs("data")) | 788 url.SchemeIs("data")) |
| 789 return true; | 789 return true; |
| 790 return false; | 790 return false; |
| 791 } | 791 } |
| 792 | 792 |
| 793 std::wstring GetWebKitLocale() { | 793 std::string GetWebKitLocale() { |
| 794 return L"en-US"; | 794 return "en-US"; |
| 795 } | 795 } |
| 796 | 796 |
| 797 void CloseCurrentConnections() { | 797 void CloseCurrentConnections() { |
| 798 // Used in benchmarking, Ignored for test_shell. | 798 // Used in benchmarking, Ignored for test_shell. |
| 799 } | 799 } |
| 800 | 800 |
| 801 void SetCacheMode(bool enabled) { | 801 void SetCacheMode(bool enabled) { |
| 802 // Used in benchmarking, Ignored for test_shell. | 802 // Used in benchmarking, Ignored for test_shell. |
| 803 } | 803 } |
| 804 | 804 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 820 return -1; | 820 return -1; |
| 821 } | 821 } |
| 822 | 822 |
| 823 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 823 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
| 824 size_t* output_length) { | 824 size_t* output_length) { |
| 825 return false; | 825 return false; |
| 826 } | 826 } |
| 827 #endif | 827 #endif |
| 828 | 828 |
| 829 } // namespace webkit_glue | 829 } // namespace webkit_glue |
| OLD | NEW |