Index: components/web_view/pending_web_view_load.h |
diff --git a/components/web_view/pending_web_view_load.h b/components/web_view/pending_web_view_load.h |
index 47bc831f617c1244eaa63219e2a1e65413b44ab6..b2a11217803bbc42ef4743e127fba35a15c4e0a9 100644 |
--- a/components/web_view/pending_web_view_load.h |
+++ b/components/web_view/pending_web_view_load.h |
@@ -5,8 +5,11 @@ |
#ifndef COMPONENTS_WEB_VIEW_PENDING_WEB_VIEW_LOAD_H_ |
#define COMPONENTS_WEB_VIEW_PENDING_WEB_VIEW_LOAD_H_ |
+#include <string> |
+ |
#include "base/memory/scoped_ptr.h" |
#include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
+#include "url/gurl.h" |
namespace web_view { |
@@ -30,11 +33,14 @@ class PendingWebViewLoad { |
return is_content_handler_id_valid_; |
} |
+ const GURL& pending_url() const { return pending_url_; } |
+ |
private: |
void OnGotContentHandlerID(); |
WebViewImpl* web_view_; |
+ GURL pending_url_; |
bool is_content_handler_id_valid_; |
scoped_ptr<FrameConnection> frame_connection_; |