summaryrefslogtreecommitdiffstats
path: root/webkit/support
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 20:17:39 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 20:17:39 +0000
commitcbe89c9bfb51c1bf577584d32df5d8b7a3c83159 (patch)
tree354e107d246dab86da1aca3f79ef11a9b318ea9e /webkit/support
parent59c4dd56e427e29eb26e81512c3066fe3f8b13b8 (diff)
downloadchromium_src-cbe89c9bfb51c1bf577584d32df5d8b7a3c83159.zip
chromium_src-cbe89c9bfb51c1bf577584d32df5d8b7a3c83159.tar.gz
chromium_src-cbe89c9bfb51c1bf577584d32df5d8b7a3c83159.tar.bz2
Get rid of the extension dependency in ResourceDispatcher by calling out to a webkit_glue function that can update the peer. No point sending the boolean flag from the browser since the same check is done in the renderer.
Review URL: http://codereview.chromium.org/6628006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support')
-rw-r--r--webkit/support/webkit_support_glue.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
index 562b989..40e46f1 100644
--- a/webkit/support/webkit_support_glue.cc
+++ b/webkit/support/webkit_support_glue.cc
@@ -99,6 +99,13 @@ void EnableSpdy(bool enable) {
void UserMetricsRecordAction(const std::string& action) {
}
+webkit_glue::ResourceLoaderBridge::Peer* ReplacePeer(
+ webkit_glue::ResourceLoaderBridge::Peer* current_peer,
+ const std::string& mime_type,
+ const GURL& url) {
+ return NULL;
+}
+
#if defined(OS_LINUX)
int MatchFontWithFallback(const std::string& face, bool bold,
bool italic, int charset) {