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

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

Issue 7624031: Treat files downloaded from the address bar as "always safe" (including extensions per discussion... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 ResourceLoaderBridge::RequestInfo::RequestInfo() 51 ResourceLoaderBridge::RequestInfo::RequestInfo()
52 : load_flags(0), 52 : load_flags(0),
53 requestor_pid(0), 53 requestor_pid(0),
54 request_type(ResourceType::MAIN_FRAME), 54 request_type(ResourceType::MAIN_FRAME),
55 request_context(0), 55 request_context(0),
56 appcache_host_id(0), 56 appcache_host_id(0),
57 routing_id(0), 57 routing_id(0),
58 download_to_file(false), 58 download_to_file(false),
59 has_user_gesture(false) { 59 has_user_gesture(false),
60 is_main_frame(false),
61 frame_id(-1),
62 transition_type(PageTransition::LINK) {
60 } 63 }
61 64
62 ResourceLoaderBridge::RequestInfo::~RequestInfo() { 65 ResourceLoaderBridge::RequestInfo::~RequestInfo() {
63 } 66 }
64 67
65 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() { 68 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {
66 } 69 }
67 70
68 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 71 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
69 } 72 }
70 73
71 ResourceLoaderBridge::ResourceLoaderBridge() { 74 ResourceLoaderBridge::ResourceLoaderBridge() {
72 } 75 }
73 76
74 ResourceLoaderBridge::~ResourceLoaderBridge() { 77 ResourceLoaderBridge::~ResourceLoaderBridge() {
75 } 78 }
76 79
77 } // namespace webkit_glue 80 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698