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..66c09d3596818215a32102db15c30ae6f95fefba 100644 |
--- a/components/web_view/pending_web_view_load.h |
+++ b/components/web_view/pending_web_view_load.h |
@@ -5,6 +5,8 @@ |
#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" |
@@ -30,11 +32,14 @@ class PendingWebViewLoad { |
return is_content_handler_id_valid_; |
} |
+ const std::string& pending_url() const { return pending_url_; } |
+ |
private: |
void OnGotContentHandlerID(); |
WebViewImpl* web_view_; |
+ std::string pending_url_; |
sky
2015/09/23 15:31:44
Can we make this a GURL?
sadrul
2015/09/27 05:29:39
Done. (the new TopLevelNavigationStarted() interfa
|
bool is_content_handler_id_valid_; |
scoped_ptr<FrameConnection> frame_connection_; |