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