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

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

Issue 1279163005: Initial Fetch integration for Subresource Integrity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 BodyStreamBuffer_h 5 #ifndef BodyStreamBuffer_h
6 #define BodyStreamBuffer_h 6 #define BodyStreamBuffer_h
7 7
8 #include "core/dom/DOMException.h" 8 #include "core/dom/DOMException.h"
9 #include "core/streams/ReadableByteStream.h" 9 #include "core/streams/ReadableByteStream.h"
10 #include "core/streams/ReadableByteStreamReader.h" 10 #include "core/streams/ReadableByteStreamReader.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 OwnPtr<FetchDataConsumerHandle::Reader> m_reader; 83 OwnPtr<FetchDataConsumerHandle::Reader> m_reader;
84 Member<ReadableByteStream> m_stream; 84 Member<ReadableByteStream> m_stream;
85 Member<ReadableByteStreamReader> m_streamReader; 85 Member<ReadableByteStreamReader> m_streamReader;
86 HeapHashSet<Member<FetchDataLoader::Client>> m_loaders; 86 HeapHashSet<Member<FetchDataLoader::Client>> m_loaders;
87 // We need this variable because we cannot lock closed or erroed stream 87 // We need this variable because we cannot lock closed or erroed stream
88 // although we should return true for hasPendingActivity() when someone 88 // although we should return true for hasPendingActivity() when someone
89 // calls |startLoading| but the loding is not yet done. 89 // calls |startLoading| but the loding is not yet done.
90 unsigned m_lockLevel; 90 unsigned m_lockLevel;
91 const bool m_hasBody; 91 const bool m_hasBody;
92 bool m_streamNeedsMore; 92 bool m_streamNeedsMore;
93 String m_integrity;
yhirano 2015/08/11 09:22:08 Is this needed? BodyStreamBuffer is the source obj
jww 2015/08/12 16:40:14 Removed.
93 }; 94 };
94 95
95 } // namespace blink 96 } // namespace blink
96 97
97 #endif // BodyStreamBuffer_h 98 #endif // BodyStreamBuffer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698