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 #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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 } | 875 } |
876 | 876 |
877 std::string GetProductVersion() { | 877 std::string GetProductVersion() { |
878 return std::string("Chrome/0.0.0.0"); | 878 return std::string("Chrome/0.0.0.0"); |
879 } | 879 } |
880 | 880 |
881 bool IsSingleProcess() { | 881 bool IsSingleProcess() { |
882 return true; | 882 return true; |
883 } | 883 } |
884 | 884 |
| 885 bool LaunchSelLdr(const char* alleged_url, int socket_count, void* imc_handles, |
| 886 void* nacl_process_handle, int* nacl_process_id) { |
| 887 return false; |
| 888 } |
| 889 |
885 #if defined(OS_LINUX) | 890 #if defined(OS_LINUX) |
886 int MatchFontWithFallback(const std::string& face, bool bold, | 891 int MatchFontWithFallback(const std::string& face, bool bold, |
887 bool italic, int charset) { | 892 bool italic, int charset) { |
888 return -1; | 893 return -1; |
889 } | 894 } |
890 | 895 |
891 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 896 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
892 size_t* output_length) { | 897 size_t* output_length) { |
893 return false; | 898 return false; |
894 } | 899 } |
(...skipping 13 matching lines...) Expand all Loading... |
908 for (size_t j = 0; j < arraysize(kPluginBlackList); ++j) { | 913 for (size_t j = 0; j < arraysize(kPluginBlackList); ++j) { |
909 if (plugin_info.path.BaseName() == FilePath(kPluginBlackList[j])) { | 914 if (plugin_info.path.BaseName() == FilePath(kPluginBlackList[j])) { |
910 NPAPI::PluginList::Singleton()->DisablePlugin(plugin_info.path); | 915 NPAPI::PluginList::Singleton()->DisablePlugin(plugin_info.path); |
911 plugins->erase(plugins->begin() + i); | 916 plugins->erase(plugins->begin() + i); |
912 } | 917 } |
913 } | 918 } |
914 } | 919 } |
915 } | 920 } |
916 | 921 |
917 } // namespace webkit_glue | 922 } // namespace webkit_glue |
OLD | NEW |