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

Side by Side Diff: webkit/glue/resource_loader_bridge.cc

Issue 113931: Remove code path that passes a file handle to the renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/glue/resource_loader_bridge.h ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 5
6 #include "config.h" 6 #include "config.h"
7 7
8 #include "webkit/glue/resource_loader_bridge.h" 8 #include "webkit/glue/resource_loader_bridge.h"
9 #include "webkit/glue/webappcachecontext.h" 9 #include "webkit/glue/webappcachecontext.h"
10 10
11 #include "net/http/http_response_headers.h" 11 #include "net/http/http_response_headers.h"
12 12
13 namespace webkit_glue { 13 namespace webkit_glue {
14 14
15 ResourceLoaderBridge::ResponseInfo::ResponseInfo() { 15 ResourceLoaderBridge::ResponseInfo::ResponseInfo() {
16 content_length = -1; 16 content_length = -1;
17 app_cache_id = WebAppCacheContext::kNoAppCacheId; 17 app_cache_id = WebAppCacheContext::kNoAppCacheId;
18 #if defined(OS_WIN)
19 response_data_file = base::kInvalidPlatformFileValue;
20 #elif defined(OS_POSIX)
21 response_data_file.fd = base::kInvalidPlatformFileValue;
22 response_data_file.auto_close = false;
23 #endif
24 } 18 }
25 19
26 ResourceLoaderBridge::ResponseInfo::~ResponseInfo() { 20 ResourceLoaderBridge::ResponseInfo::~ResponseInfo() {
27 } 21 }
28 22
29 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() { 23 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {
30 } 24 }
31 25
32 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 26 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
33 } 27 }
34 28
35 ResourceLoaderBridge::ResourceLoaderBridge() { 29 ResourceLoaderBridge::ResourceLoaderBridge() {
36 } 30 }
37 31
38 ResourceLoaderBridge::~ResourceLoaderBridge() { 32 ResourceLoaderBridge::~ResourceLoaderBridge() {
39 } 33 }
40 34
41 } // namespace webkit_glue 35 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698