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