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

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

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 "platform/blob/BlobData.h" 9 #include "platform/blob/BlobData.h"
10 #include "platform/heap/Heap.h" 10 #include "platform/heap/Heap.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // observer was already registered 52 // observer was already registered
53 bool readAllAndCreateBlobHandle(const String& contentType, BlobHandleCreator Client*); 53 bool readAllAndCreateBlobHandle(const String& contentType, BlobHandleCreator Client*);
54 54
55 // When an observer was registered this function fails and returns false. 55 // When an observer was registered this function fails and returns false.
56 bool registerObserver(Observer*); 56 bool registerObserver(Observer*);
57 void unregisterObserver(); 57 void unregisterObserver();
58 bool isObserverRegistered() const { return m_observer.get(); } 58 bool isObserverRegistered() const { return m_observer.get(); }
59 void trace(Visitor*); 59 void trace(Visitor*);
60 60
61 private: 61 private:
62 Deque<RefPtr<DOMArrayBuffer> > m_queue; 62 Deque<RefPtr<DOMArrayBuffer>> m_queue;
63 bool m_isClosed; 63 bool m_isClosed;
64 RefPtrWillBeMember<DOMException> m_exception; 64 RefPtrWillBeMember<DOMException> m_exception;
65 Member<Observer> m_observer; 65 Member<Observer> m_observer;
66 }; 66 };
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // BodyStreamBuffer_h 70 #endif // BodyStreamBuffer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698