- // Optional parameters that affect the display of an error page.
- struct ErrorPageParams {
- ErrorPageParams();
- ~ErrorPageParams();
-
- // Overrides whether reloading is suggested.
- bool suggest_reload;
- int reload_tracking_id;
-
- // Overrides default suggestions. Each entry must contain a header and may
- // optionally contain a body as well. Must not be NULL.
- scoped_ptr<base::ListValue> override_suggestions;
-
- // Prefix to prepend to search terms. Search box is only shown if this is
- // a valid url. The search terms will be appended to the end of this URL to
- // conduct a search.
- GURL search_url;
- // Default search terms. Ignored if |search_url| is invalid.
- std::string search_terms;
- int search_tracking_id;
- };
-