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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #include "content/public/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 #include "content/public/browser/stream_handle.h" 7 #include "content/public/browser/stream_handle.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 11 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
12 int child_id, 12 int child_id,
13 int route_id, 13 int route_id,
14 const std::string& method, 14 const std::string& method,
15 const GURL& url, 15 const GURL& url,
16 ResourceType::Type resource_type, 16 ResourceType::Type resource_type,
17 ResourceContext* resource_context) { 17 ResourceContext* resource_context) {
18 return true; 18 return true;
19 } 19 }
20 20
21 void ResourceDispatcherHostDelegate::RequestBeginning( 21 void ResourceDispatcherHostDelegate::RequestBeginning(
22 net::URLRequest* request, 22 net::URLRequest* request,
23 ResourceContext* resource_context, 23 ResourceContext* resource_context,
24 appcache::AppCacheService* appcache_service, 24 AppCacheService* appcache_service,
25 ResourceType::Type resource_type, 25 ResourceType::Type resource_type,
26 int child_id, 26 int child_id,
27 int route_id, 27 int route_id,
28 ScopedVector<ResourceThrottle>* throttles) { 28 ScopedVector<ResourceThrottle>* throttles) {
29 } 29 }
30 30
31 void ResourceDispatcherHostDelegate::DownloadStarting( 31 void ResourceDispatcherHostDelegate::DownloadStarting(
32 net::URLRequest* request, 32 net::URLRequest* request,
33 ResourceContext* resource_context, 33 ResourceContext* resource_context,
34 int child_id, 34 int child_id,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 net::URLRequest* url_request) { 91 net::URLRequest* url_request) {
92 } 92 }
93 93
94 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 94 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
95 } 95 }
96 96
97 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 97 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
98 } 98 }
99 99
100 } // namespace content 100 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698