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

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

Issue 232053005: Implement navigator.sendBeacon() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust unrelated test expectation Created 6 years, 8 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 TargetIsMedia = 8, 78 TargetIsMedia = 8,
79 TargetIsWorker = 9, 79 TargetIsWorker = 9,
80 TargetIsSharedWorker = 10, 80 TargetIsSharedWorker = 10,
81 TargetIsPrefetch = 11, 81 TargetIsPrefetch = 11,
82 TargetIsFavicon = 12, 82 TargetIsFavicon = 12,
83 TargetIsXHR = 13, 83 TargetIsXHR = 13,
84 TargetIsTextTrack = 14, 84 TargetIsTextTrack = 14,
85 TargetIsPing = 15, 85 TargetIsPing = 15,
86 TargetIsServiceWorker = 16, 86 TargetIsServiceWorker = 16,
87 TargetIsUnspecified = 17, 87 TargetIsUnspecified = 17,
88 // FIXME: add for real.
89 TargetIsBeacon = TargetIsPing
88 }; 90 };
89 91
90 class ExtraData { 92 class ExtraData {
91 public: 93 public:
92 virtual ~ExtraData() { } 94 virtual ~ExtraData() { }
93 }; 95 };
94 96
95 ~WebURLRequest() { reset(); } 97 ~WebURLRequest() { reset(); }
96 98
97 WebURLRequest() : m_private(0) { } 99 WebURLRequest() : m_private(0) { }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 protected: 206 protected:
205 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); 207 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*);
206 208
207 private: 209 private:
208 WebURLRequestPrivate* m_private; 210 WebURLRequestPrivate* m_private;
209 }; 211 };
210 212
211 } // namespace blink 213 } // namespace blink
212 214
213 #endif 215 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698