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

Unified 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: Initializing variables is a good idea. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/DOMFormData.h ('k') | Source/modules/fetch/Body.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Body.h
diff --git a/Source/modules/fetch/Body.h b/Source/modules/fetch/Body.h
index 1e9ee5374eb14ee5d5a8cdba5b51b8c763dc7da7..e297d4f85e55c3cfe7bdb65cc4f4a461eecadda1 100644
--- a/Source/modules/fetch/Body.h
+++ b/Source/modules/fetch/Body.h
@@ -50,10 +50,14 @@ public:
ActiveDOMObject::trace(visitor);
}
+ void makeOpaque() { m_opaque = true; }
+ bool opaque() const { return m_opaque; }
+
private:
virtual String mimeType() const = 0;
bool m_bodyPassed;
+ bool m_opaque;
};
} // namespace blink
« no previous file with comments | « Source/core/html/DOMFormData.h ('k') | Source/modules/fetch/Body.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698