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

Side by Side Diff: content/public/browser/navigation_entry.h

Issue 2310363002: Persist offline page info in a navigation entry if needed (Closed)
Patch Set: Fix win compiling error due to using unique_ptr map in SESSIONS_EXPORT class Created 4 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 | « content/browser/frame_host/navigation_entry_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 virtual void SetHttpStatusCode(int http_status_code) = 0; 218 virtual void SetHttpStatusCode(int http_status_code) = 0;
219 virtual int GetHttpStatusCode() const = 0; 219 virtual int GetHttpStatusCode() const = 0;
220 220
221 // The redirect chain traversed during this navigation, from the initial 221 // The redirect chain traversed during this navigation, from the initial
222 // redirecting URL to the final non-redirecting current URL. 222 // redirecting URL to the final non-redirecting current URL.
223 virtual void SetRedirectChain(const std::vector<GURL>& redirects) = 0; 223 virtual void SetRedirectChain(const std::vector<GURL>& redirects) = 0;
224 virtual const std::vector<GURL>& GetRedirectChain() const = 0; 224 virtual const std::vector<GURL>& GetRedirectChain() const = 0;
225 225
226 // True if this entry is restored and hasn't been loaded. 226 // True if this entry is restored and hasn't been loaded.
227 virtual bool IsRestored() const = 0; 227 virtual bool IsRestored() const = 0;
228
229 // Returns the extra headers (separated by \r\n) to send during the request.
230 virtual std::string GetExtraHeaders() const = 0;
231
232 // Adds more extra headers (separated by \r\n) to send during the request.
233 virtual void AddExtraHeaders(const std::string& extra_headers) = 0;
228 }; 234 };
229 235
230 } // namespace content 236 } // namespace content
231 237
232 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 238 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698