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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/Iterable.h

Issue 2386173002: reflow comments in Source/bindings/core/v8 (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/bindings/core/v8/Iterable.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/Iterable.h b/third_party/WebKit/Source/bindings/core/v8/Iterable.h
index a36e82a11b5a7b8024291363bf70ab253215e0ed..bf126f6441041a4b5621b5c2b3bc84025ae3f1b7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/Iterable.h
+++ b/third_party/WebKit/Source/bindings/core/v8/Iterable.h
@@ -88,8 +88,8 @@ class Iterable {
public:
virtual ~IterationSource() {}
- // If end of iteration has been reached or an exception thrown: return false.
- // Otherwise: set |key| and |value| and return true.
+ // If end of iteration has been reached or an exception thrown: return
+ // false. Otherwise: set |key| and |value| and return true.
virtual bool next(ScriptState*, KeyType&, ValueType&, ExceptionState&) = 0;
DEFINE_INLINE_VIRTUAL_TRACE() {}
@@ -164,7 +164,8 @@ class Iterable {
};
};
-// Utiltity mixin base-class for classes implementing IDL interfaces with "iterable<T>".
+// Utiltity mixin base-class for classes implementing IDL interfaces with
+// "iterable<T>".
template <typename ValueType>
class ValueIterable : public Iterable<unsigned, ValueType> {
public:
@@ -179,7 +180,8 @@ class ValueIterable : public Iterable<unsigned, ValueType> {
~IterationSource() override {}
- // If end of iteration has been reached or an exception thrown: return false.
+ // If end of iteration has been reached or an exception thrown: return
+ // false.
// Otherwise: set |value| and return true.
// Note: |this->m_index| is the index being accessed.
virtual bool next(ScriptState*, ValueType&, ExceptionState&) = 0;
@@ -201,7 +203,8 @@ class ValueIterable : public Iterable<unsigned, ValueType> {
};
};
-// Utiltity mixin base-class for classes implementing IDL interfaces with "iterable<T1, T2>".
+// Utiltity mixin base-class for classes implementing IDL interfaces with
+// "iterable<T1, T2>".
template <typename KeyType, typename ValueType>
class PairIterable : public Iterable<KeyType, ValueType> {
public:
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp ('k') | third_party/WebKit/Source/bindings/core/v8/Microtask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698