Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: webkit/glue/webdatasource_impl.h

Issue 115575: Move ExtraData from WebRequest to WebDataSource.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/glue/webdatasource_impl.h
===================================================================
--- webkit/glue/webdatasource_impl.h (revision 16382)
+++ webkit/glue/webdatasource_impl.h (working copy)
@@ -44,17 +44,12 @@
virtual base::Time GetFinishLoadTime() const;
virtual base::Time GetFirstLayoutTime() const;
virtual WebNavigationType GetNavigationType() const;
+ virtual ExtraData* GetExtraData() const;
+ virtual void SetExtraData(ExtraData*);
static WebNavigationType NavigationTypeToWebNavigationType(
WebCore::NavigationType type);
- // Called after creating a new data source if there is request info
- // available. Since we store copies of the WebRequests, the original
- // WebRequest that the embedder created was lost, and the exra data would
- // go with it. This preserves the request info so retrieving the requests
- // later will have the same data.
- void SetExtraData(WebRequest::ExtraData* extra);
-
void ClearRedirectChain();
void AppendRedirect(const GURL& url);
@@ -127,6 +122,8 @@
scoped_ptr<const SearchableFormData> searchable_form_data_;
scoped_ptr<const PasswordForm> password_form_data_;
+ OwnPtr<ExtraData> extra_data_;
+
bool form_submit_;
// See webdatasource.h for a description of these time stamps.

Powered by Google App Engine
This is Rietveld 408576698