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

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

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 namespace content { 7 namespace content {
8 8
9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
10 int child_id, 10 int child_id,
11 int route_id, 11 int route_id,
12 const std::string& method, 12 const std::string& method,
13 const GURL& url, 13 const GURL& url,
14 ResourceType::Type resource_type, 14 ResourceType::Type resource_type,
15 ResourceContext* resource_context, 15 ResourceContext* resource_context,
16 const Referrer& referrer) { 16 const Referrer& referrer) {
17 return true; 17 return true;
18 } 18 }
19 19
20 void ResourceDispatcherHostDelegate::RequestBeginning( 20 void ResourceDispatcherHostDelegate::RequestBeginning(
21 net::URLRequest* request, 21 net::URLRequest* request,
22 ResourceContext* resource_context, 22 ResourceContext* resource_context,
23 appcache::AppCacheService* appcache_service,
23 ResourceType::Type resource_type, 24 ResourceType::Type resource_type,
24 int child_id, 25 int child_id,
25 int route_id, 26 int route_id,
26 bool is_continuation_of_transferred_request, 27 bool is_continuation_of_transferred_request,
27 ScopedVector<ResourceThrottle>* throttles) { 28 ScopedVector<ResourceThrottle>* throttles) {
28 } 29 }
29 30
30 void ResourceDispatcherHostDelegate::DownloadStarting( 31 void ResourceDispatcherHostDelegate::DownloadStarting(
31 net::URLRequest* request, 32 net::URLRequest* request,
32 ResourceContext* resource_context, 33 ResourceContext* resource_context,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ResourceResponse* response) { 82 ResourceResponse* response) {
82 } 83 }
83 84
84 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 85 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
85 } 86 }
86 87
87 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 88 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
88 } 89 }
89 90
90 } // namespace content 91 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698