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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBAny.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 23 matching lines...) Expand all
34 #include "wtf/Forward.h" 34 #include "wtf/Forward.h"
35 #include "wtf/text/WTFString.h" 35 #include "wtf/text/WTFString.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class IDBCursor; 39 class IDBCursor;
40 class IDBCursorWithValue; 40 class IDBCursorWithValue;
41 class IDBDatabase; 41 class IDBDatabase;
42 class IDBIndex; 42 class IDBIndex;
43 class IDBObjectStore; 43 class IDBObjectStore;
44 class WebBlobInfo;
45 44
46 // IDBAny is used for: 45 // IDBAny is used for:
47 // * source of IDBCursor (IDBObjectStore or IDBIndex) 46 // * source of IDBCursor (IDBObjectStore or IDBIndex)
48 // * source of IDBRequest (IDBObjectStore, IDBIndex, IDBCursor, or null) 47 // * source of IDBRequest (IDBObjectStore, IDBIndex, IDBCursor, or null)
49 // * result of IDBRequest (IDBDatabase, IDBCursor, DOMStringList, undefined, 48 // * result of IDBRequest (IDBDatabase, IDBCursor, DOMStringList, undefined,
50 // integer, key or value) 49 // integer, key or value)
51 // 50 //
52 // This allows for lazy conversion to script values (via IDBBindingUtilities), 51 // This allows for lazy conversion to script values (via IDBBindingUtilities),
53 // and avoids the need for many dedicated union types. 52 // and avoids the need for many dedicated union types.
54 53
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 const Member<IDBObjectStore> m_idbObjectStore; 123 const Member<IDBObjectStore> m_idbObjectStore;
125 const Member<IDBKey> m_idbKey; 124 const Member<IDBKey> m_idbKey;
126 const RefPtr<IDBValue> m_idbValue; 125 const RefPtr<IDBValue> m_idbValue;
127 const Vector<RefPtr<IDBValue>> m_idbValues; 126 const Vector<RefPtr<IDBValue>> m_idbValues;
128 const int64_t m_integer = 0; 127 const int64_t m_integer = 0;
129 }; 128 };
130 129
131 } // namespace blink 130 } // namespace blink
132 131
133 #endif // IDBAny_h 132 #endif // IDBAny_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698