Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: webkit/support/webkit_support_glue.cc

Issue 7885013: Move the ViewHostMsg_ClearPredictorCache out of content into chrome as this functionality is chro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698