Index: chrome/browser/tab_contents/provisional_load_details.h |
diff --git a/chrome/browser/tab_contents/provisional_load_details.h b/chrome/browser/tab_contents/provisional_load_details.h |
index 92ac9b1405e2b54756c5f23c7ab00da7286652c1..2073db0573f5497f44fa06c198bc1839eadb8c19 100644 |
--- a/chrome/browser/tab_contents/provisional_load_details.h |
+++ b/chrome/browser/tab_contents/provisional_load_details.h |
@@ -9,6 +9,7 @@ |
#include <string> |
#include "base/basictypes.h" |
+#include "chrome/common/page_transition_types.h" |
#include "googleurl/src/gurl.h" |
// This class captures some of the information associated to the provisional |
@@ -32,6 +33,13 @@ class ProvisionalLoadDetails { |
void set_error_code(int error_code) { error_code_ = error_code; } |
int error_code() const { return error_code_; } |
+ void set_transition_type(PageTransition::Type transition_type) { |
+ transition_type_ = transition_type; |
+ } |
+ PageTransition::Type transition_type() const { |
+ return transition_type_; |
+ } |
+ |
const GURL& url() const { return url_; } |
bool main_frame() const { return is_main_frame_; } |
@@ -50,6 +58,7 @@ class ProvisionalLoadDetails { |
private: |
int error_code_; |
+ PageTransition::Type transition_type_; |
GURL url_; |
bool is_main_frame_; |
bool is_in_page_navigation_; |