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

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

Issue 1403001: Modifying the "dangerous download" algorithm. (Closed)
Patch Set: Adding .sys and .drv as Dangerous extensions Created 10 years 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
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/weburlloader_impl.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 "webkit/glue/resource_loader_bridge.h" 5 #include "webkit/glue/resource_loader_bridge.h"
6 6
7 #include "webkit/appcache/appcache_interfaces.h" 7 #include "webkit/appcache/appcache_interfaces.h"
8 #include "net/http/http_response_headers.h" 8 #include "net/http/http_response_headers.h"
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ResourceResponseInfo::~ResourceResponseInfo() { 47 ResourceResponseInfo::~ResourceResponseInfo() {
48 } 48 }
49 49
50 ResourceLoaderBridge::RequestInfo::RequestInfo() 50 ResourceLoaderBridge::RequestInfo::RequestInfo()
51 : load_flags(0), 51 : load_flags(0),
52 requestor_pid(0), 52 requestor_pid(0),
53 request_type(ResourceType::MAIN_FRAME), 53 request_type(ResourceType::MAIN_FRAME),
54 request_context(0), 54 request_context(0),
55 appcache_host_id(0), 55 appcache_host_id(0),
56 routing_id(0), 56 routing_id(0),
57 download_to_file(false) { 57 download_to_file(false),
58 has_user_gesture(false) {
58 } 59 }
59 60
60 ResourceLoaderBridge::RequestInfo::~RequestInfo() { 61 ResourceLoaderBridge::RequestInfo::~RequestInfo() {
61 } 62 }
62 63
63 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() { 64 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {
64 } 65 }
65 66
66 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 67 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
67 } 68 }
68 69
69 ResourceLoaderBridge::ResourceLoaderBridge() { 70 ResourceLoaderBridge::ResourceLoaderBridge() {
70 } 71 }
71 72
72 ResourceLoaderBridge::~ResourceLoaderBridge() { 73 ResourceLoaderBridge::~ResourceLoaderBridge() {
73 } 74 }
74 75
75 } // namespace webkit_glue 76 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698