OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/glue/webkit_glue.h" | 5 #include "webkit/glue/webkit_glue.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 #include "webkit/glue/user_agent.h" | 10 #include "webkit/glue/user_agent.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 url.SchemeIs("https") || | 46 url.SchemeIs("https") || |
47 url.SchemeIs("data")) | 47 url.SchemeIs("data")) |
48 return true; | 48 return true; |
49 return false; | 49 return false; |
50 } | 50 } |
51 | 51 |
52 std::string GetWebKitLocale() { | 52 std::string GetWebKitLocale() { |
53 return "en-US"; | 53 return "en-US"; |
54 } | 54 } |
55 | 55 |
56 void CloseCurrentConnections() { | |
57 } | |
58 | |
59 void SetCacheMode(bool enabled) { | |
60 } | |
61 | |
62 void ClearCache(bool preserve_ssl_info) { | |
63 } | |
64 | |
65 void ClearHostResolverCache() { | |
66 } | |
67 | |
68 void ClearPredictorCache() { | |
69 } | |
70 | |
71 std::string BuildUserAgent(bool mimic_windows) { | 56 std::string BuildUserAgent(bool mimic_windows) { |
72 return webkit_glue::BuildUserAgentHelper(mimic_windows, | 57 return webkit_glue::BuildUserAgentHelper(mimic_windows, |
73 "DumpRenderTree/0.0.0.0"); | 58 "DumpRenderTree/0.0.0.0"); |
74 } | 59 } |
75 | 60 |
76 bool GetPluginFinderURL(std::string* plugin_finder_url) { | 61 bool GetPluginFinderURL(std::string* plugin_finder_url) { |
77 return false; | 62 return false; |
78 } | 63 } |
79 | 64 |
80 #if defined(OS_WIN) | 65 #if defined(OS_WIN) |
(...skipping 18 matching lines...) Expand all Loading... |
99 return -1; | 84 return -1; |
100 } | 85 } |
101 | 86 |
102 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 87 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
103 size_t* output_length) { | 88 size_t* output_length) { |
104 return false; | 89 return false; |
105 } | 90 } |
106 #endif | 91 #endif |
107 | 92 |
108 } // namespace webkit_glue | 93 } // namespace webkit_glue |
OLD | NEW |