OLD | NEW |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "modules/indexeddb/IDBVersionChangeEvent.h" | 43 #include "modules/indexeddb/IDBVersionChangeEvent.h" |
44 #include "modules/indexeddb/WebIDBDatabaseCallbacksImpl.h" | 44 #include "modules/indexeddb/WebIDBDatabaseCallbacksImpl.h" |
45 #include "public/platform/Platform.h" | 45 #include "public/platform/Platform.h" |
46 #include "public/platform/WebIDBKeyPath.h" | 46 #include "public/platform/WebIDBKeyPath.h" |
47 #include "public/platform/WebIDBTypes.h" | 47 #include "public/platform/WebIDBTypes.h" |
48 #include "wtf/Atomics.h" | 48 #include "wtf/Atomics.h" |
49 #include <limits> | 49 #include <limits> |
50 | 50 |
51 using blink::WebIDBDatabase; | 51 using blink::WebIDBDatabase; |
52 | 52 |
53 namespace WebCore { | 53 namespace blink { |
54 | 54 |
55 const char IDBDatabase::indexDeletedErrorMessage[] = "The index or its object st
ore has been deleted."; | 55 const char IDBDatabase::indexDeletedErrorMessage[] = "The index or its object st
ore has been deleted."; |
56 const char IDBDatabase::isKeyCursorErrorMessage[] = "The cursor is a key cursor.
"; | 56 const char IDBDatabase::isKeyCursorErrorMessage[] = "The cursor is a key cursor.
"; |
57 const char IDBDatabase::noKeyOrKeyRangeErrorMessage[] = "No key or key range spe
cified."; | 57 const char IDBDatabase::noKeyOrKeyRangeErrorMessage[] = "No key or key range spe
cified."; |
58 const char IDBDatabase::noSuchIndexErrorMessage[] = "The specified index was not
found."; | 58 const char IDBDatabase::noSuchIndexErrorMessage[] = "The specified index was not
found."; |
59 const char IDBDatabase::noSuchObjectStoreErrorMessage[] = "The specified object
store was not found."; | 59 const char IDBDatabase::noSuchObjectStoreErrorMessage[] = "The specified object
store was not found."; |
60 const char IDBDatabase::noValueErrorMessage[] = "The cursor is being iterated or
has iterated past its end."; | 60 const char IDBDatabase::noValueErrorMessage[] = "The cursor is being iterated or
has iterated past its end."; |
61 const char IDBDatabase::notValidKeyErrorMessage[] = "The parameter is not a vali
d key."; | 61 const char IDBDatabase::notValidKeyErrorMessage[] = "The parameter is not a vali
d key."; |
62 const char IDBDatabase::notVersionChangeTransactionErrorMessage[] = "The databas
e is not running a version change transaction."; | 62 const char IDBDatabase::notVersionChangeTransactionErrorMessage[] = "The databas
e is not running a version change transaction."; |
63 const char IDBDatabase::objectStoreDeletedErrorMessage[] = "The object store has
been deleted."; | 63 const char IDBDatabase::objectStoreDeletedErrorMessage[] = "The object store has
been deleted."; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 const AtomicString& IDBDatabase::interfaceName() const | 470 const AtomicString& IDBDatabase::interfaceName() const |
471 { | 471 { |
472 return EventTargetNames::IDBDatabase; | 472 return EventTargetNames::IDBDatabase; |
473 } | 473 } |
474 | 474 |
475 ExecutionContext* IDBDatabase::executionContext() const | 475 ExecutionContext* IDBDatabase::executionContext() const |
476 { | 476 { |
477 return ActiveDOMObject::executionContext(); | 477 return ActiveDOMObject::executionContext(); |
478 } | 478 } |
479 | 479 |
480 } // namespace WebCore | 480 } // namespace blink |
OLD | NEW |