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

Side by Side Diff: Source/web/WebDataSourceImpl.h

Issue 40323004: Add WebDataSource::appendRedirect for cross-process redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Original patch Created 7 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/web/WebDataSourceImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 { 54 {
55 return static_cast<WebDataSourceImpl*>(loader); 55 return static_cast<WebDataSourceImpl*>(loader);
56 } 56 }
57 57
58 // WebDataSource methods: 58 // WebDataSource methods:
59 virtual const WebURLRequest& originalRequest() const; 59 virtual const WebURLRequest& originalRequest() const;
60 virtual const WebURLRequest& request() const; 60 virtual const WebURLRequest& request() const;
61 virtual const WebURLResponse& response() const; 61 virtual const WebURLResponse& response() const;
62 virtual bool hasUnreachableURL() const; 62 virtual bool hasUnreachableURL() const;
63 virtual WebURL unreachableURL() const; 63 virtual WebURL unreachableURL() const;
64 virtual void appendRedirect(const WebURL&);
64 virtual void redirectChain(WebVector<WebURL>&) const; 65 virtual void redirectChain(WebVector<WebURL>&) const;
65 virtual bool isClientRedirect() const; 66 virtual bool isClientRedirect() const;
66 virtual bool replacesCurrentHistoryItem() const; 67 virtual bool replacesCurrentHistoryItem() const;
67 virtual WebNavigationType navigationType() const; 68 virtual WebNavigationType navigationType() const;
68 virtual double triggeringEventTime() const; 69 virtual double triggeringEventTime() const;
69 virtual ExtraData* extraData() const; 70 virtual ExtraData* extraData() const;
70 virtual void setExtraData(ExtraData*); 71 virtual void setExtraData(ExtraData*);
71 virtual WebApplicationCacheHost* applicationCacheHost(); 72 virtual WebApplicationCacheHost* applicationCacheHost();
72 virtual void setDeferMainResourceDataLoad(bool); 73 virtual void setDeferMainResourceDataLoad(bool);
73 virtual void setNavigationStartTime(double); 74 virtual void setNavigationStartTime(double);
(...skipping 13 matching lines...) Expand all
87 mutable WrappedResourceRequest m_requestWrapper; 88 mutable WrappedResourceRequest m_requestWrapper;
88 mutable WrappedResourceResponse m_responseWrapper; 89 mutable WrappedResourceResponse m_responseWrapper;
89 90
90 OwnPtr<ExtraData> m_extraData; 91 OwnPtr<ExtraData> m_extraData;
91 OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver; 92 OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver;
92 }; 93 };
93 94
94 } // namespace WebKit 95 } // namespace WebKit
95 96
96 #endif // WebDataSourceImpl_h 97 #endif // WebDataSourceImpl_h
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebDataSourceImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698