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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 /* 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 ASSERT(m_type == IDBValueArrayType); 115 ASSERT(m_type == IDBValueArrayType);
116 return &m_idbValues; 116 return &m_idbValues;
117 } 117 }
118 118
119 int64_t IDBAny::integer() const 119 int64_t IDBAny::integer() const
120 { 120 {
121 ASSERT(m_type == IntegerType); 121 ASSERT(m_type == IntegerType);
122 return m_integer; 122 return m_integer;
123 } 123 }
124 124
125 IDBAny::IDBAny(PassRefPtrWillBeRawPtr<DOMStringList> value) 125 IDBAny::IDBAny(RawPtr<DOMStringList> value)
126 : m_type(DOMStringListType) 126 : m_type(DOMStringListType)
127 , m_domStringList(value) 127 , m_domStringList(value)
128 { 128 {
129 } 129 }
130 130
131 IDBAny::IDBAny(IDBCursor* value) 131 IDBAny::IDBAny(IDBCursor* value)
132 : m_type(value->isCursorWithValue() ? IDBCursorWithValueType : IDBCursorType ) 132 : m_type(value->isCursorWithValue() ? IDBCursorWithValueType : IDBCursorType )
133 , m_idbCursor(value) 133 , m_idbCursor(value)
134 { 134 {
135 } 135 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 { 180 {
181 visitor->trace(m_domStringList); 181 visitor->trace(m_domStringList);
182 visitor->trace(m_idbCursor); 182 visitor->trace(m_idbCursor);
183 visitor->trace(m_idbDatabase); 183 visitor->trace(m_idbDatabase);
184 visitor->trace(m_idbIndex); 184 visitor->trace(m_idbIndex);
185 visitor->trace(m_idbObjectStore); 185 visitor->trace(m_idbObjectStore);
186 visitor->trace(m_idbKey); 186 visitor->trace(m_idbKey);
187 } 187 }
188 188
189 } // namespace blink 189 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBAny.h ('k') | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698