Index: chrome/browser/search/instant_io_context.h |
diff --git a/chrome/browser/search/instant_io_context.h b/chrome/browser/search/instant_io_context.h |
index 1d5eadbbd3dd94326905d1cb04bcadaf5f3ef3ca..bec4b3662d8e4b0122673c4e90ccc7f35506bfd3 100644 |
--- a/chrome/browser/search/instant_io_context.h |
+++ b/chrome/browser/search/instant_io_context.h |
@@ -10,14 +10,12 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
+class GURL; |
+ |
namespace content { |
class ResourceContext; |
} |
-namespace net { |
-class URLRequest; |
-} |
- |
// IO thread data held for Instant. This reflects the data held in |
// InstantService for use on the IO thread. Owned by ResourceContext |
// as user data. |
@@ -48,7 +46,9 @@ class InstantIOContext : public base::RefCountedThreadSafe<InstantIOContext> { |
// Determine if this chrome-search: request is coming from an Instant render |
// process. |
- static bool ShouldServiceRequest(const net::URLRequest* request); |
+ static bool ShouldServiceRequest(const GURL& url, |
+ content::ResourceContext* resource_context, |
+ int render_process_id); |
protected: |
virtual ~InstantIOContext(); |