blob: f047b341cf2c71fd4ca1e58b6f0d70e53e487441 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// See http://dev.chromium.org/developers/design-documents/multi-process-resource-loading
#include "chrome/common/resource_dispatcher.h"
#include "base/compiler_specific.h"
// ResourceDispatcher ---------------------------------------------------------
ResourceDispatcher::ResourceDispatcher(IPC::Message::Sender* sender)
: message_sender_(sender),
ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
}
ResourceDispatcher::~ResourceDispatcher() {
}
// ResourceDispatcher implementation ------------------------------------------
bool ResourceDispatcher::OnMessageReceived(const IPC::Message& message) {
return false;
}
webkit_glue::ResourceLoaderBridge* ResourceDispatcher::CreateBridge(
const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info,
int host_renderer_id,
int host_render_view_id) {
// This function is used only by plugin and renderer code, so it should
// never be called in a 64-bit Windows process.
NOTREACHED();
return NULL;
}
|