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

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

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 | « Source/web/WebDataSourceImpl.h ('k') | Source/web/tests/WebFrameTest.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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool WebDataSourceImpl::hasUnreachableURL() const 74 bool WebDataSourceImpl::hasUnreachableURL() const
75 { 75 {
76 return !DocumentLoader::unreachableURL().isEmpty(); 76 return !DocumentLoader::unreachableURL().isEmpty();
77 } 77 }
78 78
79 WebURL WebDataSourceImpl::unreachableURL() const 79 WebURL WebDataSourceImpl::unreachableURL() const
80 { 80 {
81 return DocumentLoader::unreachableURL(); 81 return DocumentLoader::unreachableURL();
82 } 82 }
83 83
84 void WebDataSourceImpl::appendRedirect(const WebURL& url)
85 {
86 DocumentLoader::appendRedirect(url);
87 }
88
84 void WebDataSourceImpl::redirectChain(WebVector<WebURL>& result) const 89 void WebDataSourceImpl::redirectChain(WebVector<WebURL>& result) const
85 { 90 {
86 result.assign(m_redirectChain); 91 result.assign(m_redirectChain);
87 } 92 }
88 93
89 bool WebDataSourceImpl::isClientRedirect() const 94 bool WebDataSourceImpl::isClientRedirect() const
90 { 95 {
91 return DocumentLoader::isClientRedirect(); 96 return DocumentLoader::isClientRedirect();
92 } 97 }
93 98
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 179
175 ASSERT(nextPluginLoadObserver()->url() == WebURL(request.url())); 180 ASSERT(nextPluginLoadObserver()->url() == WebURL(request.url()));
176 m_pluginLoadObserver = nextPluginLoadObserver().release(); 181 m_pluginLoadObserver = nextPluginLoadObserver().release();
177 } 182 }
178 183
179 WebDataSourceImpl::~WebDataSourceImpl() 184 WebDataSourceImpl::~WebDataSourceImpl()
180 { 185 {
181 } 186 }
182 187
183 } // namespace WebKit 188 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/WebDataSourceImpl.h ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698