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

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, 1 month 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
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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 protected: 320 protected:
320 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); 321 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*);
321 322
322 private: 323 private:
323 WebURLRequestPrivate* m_private; 324 WebURLRequestPrivate* m_private;
324 }; 325 };
325 326
326 } // namespace blink 327 } // namespace blink
327 328
328 #endif 329 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/RequestTest.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698