| Index: chrome/renderer/chrome_render_view_observer.h
|
| diff --git a/chrome/renderer/chrome_render_view_observer.h b/chrome/renderer/chrome_render_view_observer.h
|
| index 20fe6d52d2ae7a94e9f113cb92a4e3e28ca95ede..371cf1d2c2aaece15270d9ffd6d34a0e9588b3f1 100644
|
| --- a/chrome/renderer/chrome_render_view_observer.h
|
| +++ b/chrome/renderer/chrome_render_view_observer.h
|
| @@ -146,11 +146,13 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
|
| bool animate);
|
| #endif
|
|
|
| - void CapturePageInfoLater(bool preliminary_capture, base::TimeDelta delay);
|
| + void CapturePageInfoLater(int page_id,
|
| + bool preliminary_capture,
|
| + base::TimeDelta delay);
|
|
|
| // Captures the thumbnail and text contents for indexing for the given load
|
| // ID. Kicks off analysis of the captured text.
|
| - void CapturePageInfo(bool preliminary_capture);
|
| + void CapturePageInfo(int page_id, bool preliminary_capture);
|
|
|
| // Retrieves the text from the given frame contents, the page text up to the
|
| // maximum amount kMaxIndexChars will be placed into the given buffer.
|
| @@ -166,6 +168,9 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
|
| const extensions::Extension* GetExtension(
|
| const WebKit::WebSecurityOrigin& origin) const;
|
|
|
| + // Checks if a page contains <meta http-equiv="refresh" ...> tag.
|
| + bool HasRefreshMetaTag(WebKit::WebFrame* frame);
|
| +
|
| // Save the JavaScript to preload if a ViewMsg_WebUIJavaScript is received.
|
| scoped_ptr<WebUIJavaScript> webui_javascript_;
|
|
|
|
|