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

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

Issue 610403002: [ServiceWorker] Plumbing the request credentials mode to the ServiceWorker. [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « public/platform/WebServiceWorkerRequest.h ('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 /* 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 RequestContextSharedWorker, 95 RequestContextSharedWorker,
96 RequestContextSubresource, 96 RequestContextSubresource,
97 RequestContextStyle, 97 RequestContextStyle,
98 RequestContextTrack, 98 RequestContextTrack,
99 RequestContextVideo, 99 RequestContextVideo,
100 RequestContextWorker, 100 RequestContextWorker,
101 RequestContextXMLHttpRequest, 101 RequestContextXMLHttpRequest,
102 RequestContextXSLT 102 RequestContextXSLT
103 }; 103 };
104 104
105 // Corresponds to Fetch's "context frame type": http://fetch.spec.whatwg.org /#concept-request-context-frame-type 105 // Corresponds to Fetch's "context frame type": http://fetch.spec.whatwg.org /#concept-request-context-frame-type
yhirano 2014/09/30 05:18:52 Not related to this CL, but can you wrap the comme
horo 2014/09/30 07:14:08 Done.
106 enum FrameType { 106 enum FrameType {
107 FrameTypeAuxiliary, 107 FrameTypeAuxiliary,
108 FrameTypeNested, 108 FrameTypeNested,
109 FrameTypeNone, 109 FrameTypeNone,
110 FrameTypeTopLevel 110 FrameTypeTopLevel
111 }; 111 };
112 112
113 enum FetchRequestCredentialsMode {
114 FetchRequestCredentialsModeOmit,
115 FetchRequestCredentialsModeSameOrigin,
116 FetchRequestCredentialsModeInclude
117 };
118
113 class ExtraData { 119 class ExtraData {
114 public: 120 public:
115 virtual ~ExtraData() { } 121 virtual ~ExtraData() { }
116 }; 122 };
117 123
118 ~WebURLRequest() { reset(); } 124 ~WebURLRequest() { reset(); }
119 125
120 WebURLRequest() : m_private(0) { } 126 WebURLRequest() : m_private(0) { }
121 WebURLRequest(const WebURLRequest& r) : m_private(0) { assign(r); } 127 WebURLRequest(const WebURLRequest& r) : m_private(0) { assign(r); }
122 WebURLRequest& operator=(const WebURLRequest& r) 128 WebURLRequest& operator=(const WebURLRequest& r)
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 protected: 241 protected:
236 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); 242 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*);
237 243
238 private: 244 private:
239 WebURLRequestPrivate* m_private; 245 WebURLRequestPrivate* m_private;
240 }; 246 };
241 247
242 } // namespace blink 248 } // namespace blink
243 249
244 #endif 250 #endif
OLDNEW
« no previous file with comments | « public/platform/WebServiceWorkerRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698