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

Side by Side Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 1391583002: Introduce "navigate" mode in Requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 FrameTypeAuxiliary, 107 FrameTypeAuxiliary,
108 FrameTypeNested, 108 FrameTypeNested,
109 FrameTypeNone, 109 FrameTypeNone,
110 FrameTypeTopLevel 110 FrameTypeTopLevel
111 }; 111 };
112 112
113 enum FetchRequestMode { 113 enum FetchRequestMode {
114 FetchRequestModeSameOrigin, 114 FetchRequestModeSameOrigin,
115 FetchRequestModeNoCORS, 115 FetchRequestModeNoCORS,
116 FetchRequestModeCORS, 116 FetchRequestModeCORS,
117 FetchRequestModeCORSWithForcedPreflight 117 FetchRequestModeCORSWithForcedPreflight,
118 FetchRequestModeNavigate
philipj_slow 2015/10/20 08:00:32 Here and elsewhere, can you use the same order as
shiva.jm 2015/10/21 08:34:59 We thought of having same order as in spec, but di
philipj_slow 2015/10/21 09:10:02 Acknowledged.
118 }; 119 };
119 120
120 enum FetchCredentialsMode { 121 enum FetchCredentialsMode {
121 FetchCredentialsModeOmit, 122 FetchCredentialsModeOmit,
122 FetchCredentialsModeSameOrigin, 123 FetchCredentialsModeSameOrigin,
123 FetchCredentialsModeInclude 124 FetchCredentialsModeInclude
124 }; 125 };
125 126
126 enum FetchRedirectMode { 127 enum FetchRedirectMode {
127 FetchRedirectModeFollow, 128 FetchRedirectModeFollow,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 protected: 309 protected:
309 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); 310 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*);
310 311
311 private: 312 private:
312 WebURLRequestPrivate* m_private; 313 WebURLRequestPrivate* m_private;
313 }; 314 };
314 315
315 } // namespace blink 316 } // namespace blink
316 317
317 #endif 318 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698