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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2498433002: Revert of Expose GlobalRequestID in NavigationHandle and ResourceRequestInfo. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 76a0cf7cb7259ac1f241d2a6c1cfac2ed91db715..b6ae5c7d0bdf999e8ea87b749888a5a40149e608 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -6,7 +6,6 @@
#define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
#include <memory>
-#include <string>
#include "content/common/content_export.h"
#include "content/public/browser/navigation_throttle.h"
@@ -22,7 +21,6 @@
} // namespace net
namespace content {
-struct GlobalRequestID;
class NavigationData;
class NavigationThrottle;
class RenderFrameHost;
@@ -185,14 +183,6 @@
virtual void CancelDeferredNavigation(
NavigationThrottle::ThrottleCheckResult result) = 0;
- // Returns the ID of the URLRequest associated with this navigation. Can only
- // be called from NavigationThrottle::WillProcessResponse and
- // WebContentsObserver::ReadyToCommitNavigation.
- // In the case of transfer navigations, this is the ID of the first request
- // made. The transferred request's ID will not be tracked by the
- // NavigationHandle.
- virtual const GlobalRequestID& GetGlobalRequestID() = 0;
-
// Testing methods ----------------------------------------------------------
//
// The following methods should be used exclusively for writing unit tests.
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698