| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 using blink::protocol::Array; | 65 using blink::protocol::Array; |
| 66 using blink::protocol::IndexedDB::DatabaseWithObjectStores; | 66 using blink::protocol::IndexedDB::DatabaseWithObjectStores; |
| 67 using blink::protocol::IndexedDB::DataEntry; | 67 using blink::protocol::IndexedDB::DataEntry; |
| 68 using blink::protocol::IndexedDB::Key; | 68 using blink::protocol::IndexedDB::Key; |
| 69 using blink::protocol::IndexedDB::KeyPath; | 69 using blink::protocol::IndexedDB::KeyPath; |
| 70 using blink::protocol::IndexedDB::KeyRange; | 70 using blink::protocol::IndexedDB::KeyRange; |
| 71 using blink::protocol::IndexedDB::ObjectStore; | 71 using blink::protocol::IndexedDB::ObjectStore; |
| 72 using blink::protocol::IndexedDB::ObjectStoreIndex; | 72 using blink::protocol::IndexedDB::ObjectStoreIndex; |
| 73 | 73 |
| 74 typedef blink::protocol::Dispatcher::IndexedDBCommandHandler::RequestDatabaseNam
esCallback RequestDatabaseNamesCallback; | 74 typedef blink::protocol::Backend::CallbackBase RequestCallback; |
| 75 typedef blink::protocol::Dispatcher::IndexedDBCommandHandler::RequestDatabaseCal
lback RequestDatabaseCallback; | 75 typedef blink::protocol::Backend::IndexedDB::RequestDatabaseNamesCallback Reques
tDatabaseNamesCallback; |
| 76 typedef blink::protocol::Dispatcher::IndexedDBCommandHandler::RequestDataCallbac
k RequestDataCallback; | 76 typedef blink::protocol::Backend::IndexedDB::RequestDatabaseCallback RequestData
baseCallback; |
| 77 typedef blink::protocol::Dispatcher::CallbackBase RequestCallback; | 77 typedef blink::protocol::Backend::IndexedDB::RequestDataCallback RequestDataCall
back; |
| 78 typedef blink::protocol::Dispatcher::IndexedDBCommandHandler::ClearObjectStoreCa
llback ClearObjectStoreCallback; | 78 typedef blink::protocol::Backend::IndexedDB::ClearObjectStoreCallback ClearObjec
tStoreCallback; |
| 79 | 79 |
| 80 namespace blink { | 80 namespace blink { |
| 81 | 81 |
| 82 namespace IndexedDBAgentState { | 82 namespace IndexedDBAgentState { |
| 83 static const char indexedDBAgentEnabled[] = "indexedDBAgentEnabled"; | 83 static const char indexedDBAgentEnabled[] = "indexedDBAgentEnabled"; |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 namespace { | 86 namespace { |
| 87 | 87 |
| 88 class GetDatabaseNamesCallback final : public EventListener { | 88 class GetDatabaseNamesCallback final : public EventListener { |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 clearObjectStore->start(idbFactory, document->getSecurityOrigin(), databaseN
ame); | 805 clearObjectStore->start(idbFactory, document->getSecurityOrigin(), databaseN
ame); |
| 806 } | 806 } |
| 807 | 807 |
| 808 DEFINE_TRACE(InspectorIndexedDBAgent) | 808 DEFINE_TRACE(InspectorIndexedDBAgent) |
| 809 { | 809 { |
| 810 visitor->trace(m_inspectedFrames); | 810 visitor->trace(m_inspectedFrames); |
| 811 InspectorBaseAgent::trace(visitor); | 811 InspectorBaseAgent::trace(visitor); |
| 812 } | 812 } |
| 813 | 813 |
| 814 } // namespace blink | 814 } // namespace blink |
| OLD | NEW |