| 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 d5297c8ffaadf6a00ec47d52acac769cd7345a08..815fbe88b161fe941cd86f45db692366e5ebd271 100644
|
| --- a/chrome/renderer/chrome_render_view_observer.h
|
| +++ b/chrome/renderer/chrome_render_view_observer.h
|
| @@ -61,6 +61,8 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
|
| bool notify_result;
|
| };
|
|
|
| + static bool HasRefreshMetaTag(WebKit::WebFrame* frame);
|
| +
|
| // RenderViewObserver implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| virtual void DidStartLoading() OVERRIDE;
|
| @@ -139,11 +141,14 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
|
| void OnGetFPS();
|
| void OnAddStrictSecurityHost(const std::string& host);
|
|
|
| - void CapturePageInfoLater(bool preliminary_capture, base::TimeDelta delay);
|
| + void CapturePageInfoLater(int page_id,
|
| + bool has_refresh,
|
| + 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 has_refresh, 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.
|
|
|