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

Side by Side Diff: content/public/browser/resource_dispatcher_host.h

Issue 10414035: Move TransferNavigationResourceThrottle to content since that's where it belongs. This is a step in… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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) 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 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "content/public/browser/download_id.h" 10 #include "content/public/browser/download_id.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ResourceContext* context, 46 ResourceContext* context,
47 int child_id, 47 int child_id,
48 int route_id, 48 int route_id,
49 bool prefer_cache, 49 bool prefer_cache,
50 const DownloadSaveInfo& save_info, 50 const DownloadSaveInfo& save_info,
51 const DownloadStartedCallback& started_callback) = 0; 51 const DownloadStartedCallback& started_callback) = 0;
52 52
53 // Clears the ResourceDispatcherHostLoginDelegate associated with the request. 53 // Clears the ResourceDispatcherHostLoginDelegate associated with the request.
54 virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0; 54 virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0;
55 55
56 // Marks the request as "parked". This happens if a request is
57 // redirected cross-site and needs to be resumed by a new render view.
58 virtual void MarkAsTransferredNavigation(net::URLRequest* request) = 0;
59
60 protected: 56 protected:
61 virtual ~ResourceDispatcherHost() {} 57 virtual ~ResourceDispatcherHost() {}
62 }; 58 };
63 59
64 } // namespace content 60 } // namespace content
65 61
66 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ 62 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698