#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
+using content::ResourceType;
+
const int kNonInstantRendererPID = 0;
const char kNonInstantOrigin[] = "http://evil";
const int kInstantRendererPID = 1;
NULL,
resource_context_.GetRequestContext());
if (allocate_info) {
- content::ResourceRequestInfo::AllocateForTesting(request,
- ResourceType::SUB_FRAME,
- &resource_context_,
- render_process_id,
- render_frame_id,
- MSG_ROUTING_NONE,
- false);
+ content::ResourceRequestInfo::AllocateForTesting(
+ request,
+ content::RESOURCE_TYPE_SUB_FRAME,
+ &resource_context_,
+ render_process_id,
+ render_frame_id,
+ MSG_ROUTING_NONE,
+ false);
}
return request;
}