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.h

Issue 9922001: Remove magic iframe load transfer support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resync, resolve Created 8 years, 6 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_impl.cc ('k') | webkit/glue/weburlloader_impl.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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. 7 // implemented by the embedder.
8 // 8 //
9 // One of these objects will be created by WebKit for each request. WebKit 9 // One of these objects will be created by WebKit for each request. WebKit
10 // will own the pointer to the bridge, and will delete it when the request is 10 // will own the pointer to the bridge, and will delete it when the request is
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 391
392 // Call this method to load the resource synchronously (i.e., in one shot). 392 // Call this method to load the resource synchronously (i.e., in one shot).
393 // This is an alternative to the Start method. Be warned that this method 393 // This is an alternative to the Start method. Be warned that this method
394 // will block the calling thread until the resource is fully downloaded or an 394 // will block the calling thread until the resource is fully downloaded or an
395 // error occurs. It could block the calling thread for a long time, so only 395 // error occurs. It could block the calling thread for a long time, so only
396 // use this if you really need it! There is also no way for the caller to 396 // use this if you really need it! There is also no way for the caller to
397 // interrupt this method. Errors are reported via the status field of the 397 // interrupt this method. Errors are reported via the status field of the
398 // response parameter. 398 // response parameter.
399 virtual void SyncLoad(SyncLoadResponse* response) = 0; 399 virtual void SyncLoad(SyncLoadResponse* response) = 0;
400 400
401 // When loader is transferred from one page to another, the IPC routing id
402 // can change (they are associated with pages).
403 virtual void UpdateRoutingId(int new_routing_id) = 0;
404
405 protected: 401 protected:
406 // Construction must go through 402 // Construction must go through
407 // WebKitPlatformSupportImpl::CreateResourceLoader() 403 // WebKitPlatformSupportImpl::CreateResourceLoader()
408 // For HTTP(S) POST requests, the AppendDataToUpload and AppendFileToUpload 404 // For HTTP(S) POST requests, the AppendDataToUpload and AppendFileToUpload
409 // methods may be called to construct the body of the request. 405 // methods may be called to construct the body of the request.
410 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); 406 WEBKIT_GLUE_EXPORT ResourceLoaderBridge();
411 407
412 private: 408 private:
413 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); 409 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge);
414 }; 410 };
415 411
416 } // namespace webkit_glue 412 } // namespace webkit_glue
417 413
418 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ 414 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/weburlloader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698