Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc

Issue 10855171: Add a test runner for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address feedback Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #include "android_webview/browser/renderer_host/aw_resource_dispatcher_host_dele gate.h"
6
7 #include "base/memory/scoped_ptr.h"
8 #include "base/memory/scoped_vector.h"
9 #include "content/public/browser/resource_dispatcher_host.h"
10 #include "content/public/browser/resource_throttle.h"
11
12 namespace {
13
14 base::LazyInstance<android_webview::AwResourceDispatcherHostDelegate>
15 g_webview_resource_dispatcher_host_delegate = LAZY_INSTANCE_INITIALIZER;
16
17 } // namespace
18
19 namespace android_webview {
20
21 // static
22 void AwResourceDispatcherHostDelegate::ResourceDispatcherHostCreated() {
23 content::ResourceDispatcherHost::Get()->SetDelegate(
24 &g_webview_resource_dispatcher_host_delegate.Get());
25 }
26
27 AwResourceDispatcherHostDelegate::AwResourceDispatcherHostDelegate()
28 : content::ResourceDispatcherHostDelegate() {
29 }
30
31 AwResourceDispatcherHostDelegate::~AwResourceDispatcherHostDelegate() {
32 }
33
34 void AwResourceDispatcherHostDelegate::RequestBeginning(
35 net::URLRequest* request,
36 content::ResourceContext* resource_context,
37 ResourceType::Type resource_type,
38 int child_id,
39 int route_id,
40 bool is_continuation_of_transferred_request,
41 ScopedVector<content::ResourceThrottle>* throttles) {
42 }
43
44 }
OLDNEW
« no previous file with comments | « android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h ('k') | android_webview/java/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698