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

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

Issue 1403001: Modifying the "dangerous download" algorithm. (Closed)
Patch Set: Removing unnecessary namespace qualifier Created 10 years, 1 month 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ResourceResponseInfo::~ResourceResponseInfo() { 45 ResourceResponseInfo::~ResourceResponseInfo() {
46 } 46 }
47 47
48 ResourceLoaderBridge::RequestInfo::RequestInfo() 48 ResourceLoaderBridge::RequestInfo::RequestInfo()
49 : load_flags(0), 49 : load_flags(0),
50 requestor_pid(0), 50 requestor_pid(0),
51 request_type(ResourceType::MAIN_FRAME), 51 request_type(ResourceType::MAIN_FRAME),
52 request_context(0), 52 request_context(0),
53 appcache_host_id(0), 53 appcache_host_id(0),
54 routing_id(0), 54 routing_id(0),
55 download_to_file(false) { 55 download_to_file(false),
56 has_user_gesture(false) {
56 } 57 }
57 58
58 ResourceLoaderBridge::RequestInfo::~RequestInfo() { 59 ResourceLoaderBridge::RequestInfo::~RequestInfo() {
59 } 60 }
60 61
61 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() { 62 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {
62 } 63 }
63 64
64 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 65 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
65 } 66 }
66 67
67 ResourceLoaderBridge::ResourceLoaderBridge() { 68 ResourceLoaderBridge::ResourceLoaderBridge() {
68 } 69 }
69 70
70 ResourceLoaderBridge::~ResourceLoaderBridge() { 71 ResourceLoaderBridge::~ResourceLoaderBridge() {
71 } 72 }
72 73
73 } // namespace webkit_glue 74 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698