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

Side by Side Diff: Source/modules/fetch/Body.h

Issue 1305183009: CREDENTIAL: Extend FormData opacity to created Request objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 Body_h 5 #ifndef Body_h
6 #define Body_h 6 #define Body_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "core/dom/ActiveDOMObject.h" 10 #include "core/dom/ActiveDOMObject.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void setBodyPassed() { m_bodyPassed = true; } 43 void setBodyPassed() { m_bodyPassed = true; }
44 44
45 // ActiveDOMObject override. 45 // ActiveDOMObject override.
46 bool hasPendingActivity() const override; 46 bool hasPendingActivity() const override;
47 47
48 DEFINE_INLINE_VIRTUAL_TRACE() 48 DEFINE_INLINE_VIRTUAL_TRACE()
49 { 49 {
50 ActiveDOMObject::trace(visitor); 50 ActiveDOMObject::trace(visitor);
51 } 51 }
52 52
53 void makeOpaque() { m_opaque = true; }
54 bool opaque() const { return m_opaque; }
55
53 private: 56 private:
54 virtual String mimeType() const = 0; 57 virtual String mimeType() const = 0;
55 58
56 bool m_bodyPassed; 59 bool m_bodyPassed;
60 bool m_opaque;
57 }; 61 };
58 62
59 } // namespace blink 63 } // namespace blink
60 64
61 #endif // Body_h 65 #endif // Body_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698