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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years 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
349 const AtomicString& IDBTransaction::interfaceName() const 339 const AtomicString& IDBTransaction::interfaceName() const
350 { 340 {
351 return EventTargetNames::IDBTransaction; 341 return EventTargetNames::IDBTransaction;
352 } 342 }
353 343
354 ExecutionContext* IDBTransaction::executionContext() const 344 ExecutionContext* IDBTransaction::executionContext() const
355 { 345 {
356 return ActiveDOMObject::executionContext(); 346 return ActiveDOMObject::executionContext();
357 } 347 }
358 348
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 event->setTarget(this); 404 event->setTarget(this);
415 eventQueue->enqueueEvent(event); 405 eventQueue->enqueueEvent(event);
416 } 406 }
417 407
418 WebIDBDatabase* IDBTransaction::backendDB() const 408 WebIDBDatabase* IDBTransaction::backendDB() const
419 { 409 {
420 return m_database->backend(); 410 return m_database->backend();
421 } 411 }
422 412
423 } // namespace blink 413 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698