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

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

Issue 7601011: Fix resource loads dropped when iframe is transferred to a new window and original window closes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crash in tests (RenderThread::current() is NULL) 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
« no previous file with comments | « content/renderer/render_view.cc ('k') | webkit/glue/resource_loader_bridge.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) 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 // The intent of this file is to provide a type-neutral abstraction between 5 // The intent of this file is to provide a type-neutral abstraction between
6 // Chrome and WebKit for resource loading. This pure-virtual interface is 6 // Chrome and WebKit for resource loading. This pure-virtual interface is
7 // implemented by the embedder, which also provides a factory method Create 7 // implemented by the embedder, which also provides a factory method Create
8 // to instantiate this object. 8 // to instantiate this object.
9 // 9 //
10 // One of these objects will be created by WebKit for each request. WebKit 10 // One of these objects will be created by WebKit for each request. WebKit
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Indicates if the current request is the main frame load, a sub-frame 230 // Indicates if the current request is the main frame load, a sub-frame
231 // load, or a sub objects load. 231 // load, or a sub objects load.
232 ResourceType::Type request_type; 232 ResourceType::Type request_type;
233 233
234 // Used for plugin to browser requests. 234 // Used for plugin to browser requests.
235 uint32 request_context; 235 uint32 request_context;
236 236
237 // Identifies what appcache host this request is associated with. 237 // Identifies what appcache host this request is associated with.
238 int appcache_host_id; 238 int appcache_host_id;
239 239
240 // WebKit 'identifier' of the request. Used to match subsequent
241 // notifications from WebKit about this request, like transferring a pending
242 // request from one WebFrame to another.
243 int identifier;
244
240 // Used to associated the bridge with a frame's network context. 245 // Used to associated the bridge with a frame's network context.
241 int routing_id; 246 int routing_id;
242 247
243 // If true, then the response body will be downloaded to a file and the 248 // If true, then the response body will be downloaded to a file and the
244 // path to that file will be provided in ResponseInfo::download_file_path. 249 // path to that file will be provided in ResponseInfo::download_file_path.
245 bool download_to_file; 250 bool download_to_file;
246 251
247 // True if the request was user initiated. 252 // True if the request was user initiated.
248 bool has_user_gesture; 253 bool has_user_gesture;
249 254
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 // construction must go through Create() 398 // construction must go through Create()
394 ResourceLoaderBridge(); 399 ResourceLoaderBridge();
395 400
396 private: 401 private:
397 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); 402 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge);
398 }; 403 };
399 404
400 } // namespace webkit_glue 405 } // namespace webkit_glue
401 406
402 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ 407 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view.cc ('k') | webkit/glue/resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698