| Index: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc | 
| diff --git a/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc b/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..9bf0bc277b55636ce6c517a9a080229374f749cc | 
| --- /dev/null | 
| +++ b/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc | 
| @@ -0,0 +1,44 @@ | 
| +// Copyright (c) 2012 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. | 
| + | 
| +#include "android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h" | 
| + | 
| +#include "base/memory/scoped_ptr.h" | 
| +#include "base/memory/scoped_vector.h" | 
| +#include "content/public/browser/resource_dispatcher_host.h" | 
| +#include "content/public/browser/resource_throttle.h" | 
| + | 
| +namespace { | 
| + | 
| +base::LazyInstance<android_webview::AwResourceDispatcherHostDelegate> | 
| +    g_webview_resource_dispatcher_host_delegate = LAZY_INSTANCE_INITIALIZER; | 
| + | 
| +}  // namespace | 
| + | 
| +namespace android_webview { | 
| + | 
| +// static | 
| +void AwResourceDispatcherHostDelegate::ResourceDispatcherHostCreated() { | 
| +  content::ResourceDispatcherHost::Get()->SetDelegate( | 
| +      &g_webview_resource_dispatcher_host_delegate.Get()); | 
| +} | 
| + | 
| +AwResourceDispatcherHostDelegate::AwResourceDispatcherHostDelegate() | 
| +    : content::ResourceDispatcherHostDelegate() { | 
| +} | 
| + | 
| +AwResourceDispatcherHostDelegate::~AwResourceDispatcherHostDelegate() { | 
| +} | 
| + | 
| +void AwResourceDispatcherHostDelegate::RequestBeginning( | 
| +    net::URLRequest* request, | 
| +    content::ResourceContext* resource_context, | 
| +    ResourceType::Type resource_type, | 
| +    int child_id, | 
| +    int route_id, | 
| +    bool is_continuation_of_transferred_request, | 
| +    ScopedVector<content::ResourceThrottle>* throttles) { | 
| +} | 
| + | 
| +} | 
|  |