Index: content/browser/renderer_host/resource_dispatcher_host_request_info.h |
=================================================================== |
--- content/browser/renderer_host/resource_dispatcher_host_request_info.h (revision 98485) |
+++ content/browser/renderer_host/resource_dispatcher_host_request_info.h (working copy) |
@@ -11,6 +11,7 @@ |
#include "base/basictypes.h" |
#include "base/time.h" |
#include "content/common/child_process_info.h" |
+#include "content/common/page_transition_types.h" |
#include "net/base/load_states.h" |
#include "net/url_request/url_request.h" |
#include "webkit/glue/resource_type.h" |
@@ -45,6 +46,7 @@ |
bool is_main_frame, |
int64 frame_id, |
ResourceType::Type resource_type, |
+ PageTransition::Type transition_type, |
uint64 upload_size, |
bool is_download, |
bool allow_download, |
@@ -130,6 +132,8 @@ |
// Identifies the type of resource, such as subframe, media, etc. |
ResourceType::Type resource_type() const { return resource_type_; } |
+ PageTransition::Type transition_type() const { return transition_type_; } |
+ |
// When there is upload data, this is the byte count of that data. When there |
// is no upload, this will be 0. |
uint64 upload_size() const { return upload_size_; } |
@@ -220,6 +224,7 @@ |
bool has_user_gesture_; |
int pause_count_; |
ResourceType::Type resource_type_; |
+ PageTransition::Type transition_type_; |
uint64 upload_size_; |
uint64 last_upload_position_; |
base::TimeTicks last_upload_ticks_; |