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

Side by Side Diff: content/child/resource_dispatcher.cc

Issue 293353007: Move resource_response_info from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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/child/resource_dispatcher.h" 7 #include "content/child/resource_dispatcher.h"
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/public/child/resource_dispatcher_delegate.h" 25 #include "content/public/child/resource_dispatcher_delegate.h"
26 #include "content/public/common/resource_response.h" 26 #include "content/public/common/resource_response.h"
27 #include "net/base/net_errors.h" 27 #include "net/base/net_errors.h"
28 #include "net/base/net_util.h" 28 #include "net/base/net_util.h"
29 #include "net/base/request_priority.h" 29 #include "net/base/request_priority.h"
30 #include "net/http/http_response_headers.h" 30 #include "net/http/http_response_headers.h"
31 #include "webkit/child/resource_loader_bridge.h" 31 #include "webkit/child/resource_loader_bridge.h"
32 #include "webkit/common/resource_type.h" 32 #include "webkit/common/resource_type.h"
33 33
34 using webkit_glue::ResourceLoaderBridge; 34 using webkit_glue::ResourceLoaderBridge;
35 using webkit_glue::ResourceResponseInfo;
36 35
37 namespace content { 36 namespace content {
38 37
39 namespace { 38 namespace {
40 39
41 // Converts |time| from a remote to local TimeTicks, overwriting the original 40 // Converts |time| from a remote to local TimeTicks, overwriting the original
42 // value. 41 // value.
43 void RemoteToLocalTimeTicks( 42 void RemoteToLocalTimeTicks(
44 const InterProcessTimeTicksConverter& converter, 43 const InterProcessTimeTicksConverter& converter,
45 base::TimeTicks* time) { 44 base::TimeTicks* time) {
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 void ResourceDispatcher::ReleaseResourcesInMessageQueue(MessageQueue* queue) { 807 void ResourceDispatcher::ReleaseResourcesInMessageQueue(MessageQueue* queue) {
809 while (!queue->empty()) { 808 while (!queue->empty()) {
810 IPC::Message* message = queue->front(); 809 IPC::Message* message = queue->front();
811 ReleaseResourcesInDataMessage(*message); 810 ReleaseResourcesInDataMessage(*message);
812 queue->pop_front(); 811 queue->pop_front();
813 delete message; 812 delete message;
814 } 813 }
815 } 814 }
816 815
817 } // namespace content 816 } // namespace content
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698