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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 if (m_mode == WebIDBTransactionModeVersionChange) 329 if (m_mode == WebIDBTransactionModeVersionChange)
330 return m_database->objectStoreNames(); 330 return m_database->objectStoreNames();
331 331
332 RefPtrWillBeRawPtr<DOMStringList> objectStoreNames = DOMStringList::create(D OMStringList::IndexedDB); 332 RefPtrWillBeRawPtr<DOMStringList> objectStoreNames = DOMStringList::create(D OMStringList::IndexedDB);
333 for (const String& name : m_objectStoreNames) 333 for (const String& name : m_objectStoreNames)
334 objectStoreNames->append(name); 334 objectStoreNames->append(name);
335 objectStoreNames->sort(); 335 objectStoreNames->sort();
336 return objectStoreNames.release(); 336 return objectStoreNames.release();
337 } 337 }
338 338
339 IDBDatabase* IDBTransaction::db() const
340 {
341 return m_database;
342 }
343
344 DOMException* IDBTransaction::error() const
345 {
346 return m_error;
347 }
348
339 const AtomicString& IDBTransaction::interfaceName() const 349 const AtomicString& IDBTransaction::interfaceName() const
340 { 350 {
341 return EventTargetNames::IDBTransaction; 351 return EventTargetNames::IDBTransaction;
342 } 352 }
343 353
344 ExecutionContext* IDBTransaction::executionContext() const 354 ExecutionContext* IDBTransaction::executionContext() const
345 { 355 {
346 return ActiveDOMObject::executionContext(); 356 return ActiveDOMObject::executionContext();
347 } 357 }
348 358
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 event->setTarget(this); 414 event->setTarget(this);
405 eventQueue->enqueueEvent(event); 415 eventQueue->enqueueEvent(event);
406 } 416 }
407 417
408 WebIDBDatabase* IDBTransaction::backendDB() const 418 WebIDBDatabase* IDBTransaction::backendDB() const
409 { 419 {
410 return m_database->backend(); 420 return m_database->backend();
411 } 421 }
412 422
413 } // namespace blink 423 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698