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

Side by Side Diff: Source/modules/indexeddb/IDBIndex.cpp

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/indexeddb/IDBIndex.h ('k') | Source/modules/indexeddb/IDBKey.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 #include "modules/indexeddb/IDBObjectStore.h" 35 #include "modules/indexeddb/IDBObjectStore.h"
36 #include "modules/indexeddb/IDBTracing.h" 36 #include "modules/indexeddb/IDBTracing.h"
37 #include "modules/indexeddb/IDBTransaction.h" 37 #include "modules/indexeddb/IDBTransaction.h"
38 #include "modules/indexeddb/WebIDBCallbacksImpl.h" 38 #include "modules/indexeddb/WebIDBCallbacksImpl.h"
39 #include "public/platform/WebIDBKeyRange.h" 39 #include "public/platform/WebIDBKeyRange.h"
40 40
41 using blink::WebIDBCallbacks; 41 using blink::WebIDBCallbacks;
42 using blink::WebIDBCursor; 42 using blink::WebIDBCursor;
43 using blink::WebIDBDatabase; 43 using blink::WebIDBDatabase;
44 44
45 namespace WebCore { 45 namespace blink {
46 46
47 IDBIndex::IDBIndex(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore , IDBTransaction* transaction) 47 IDBIndex::IDBIndex(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore , IDBTransaction* transaction)
48 : m_metadata(metadata) 48 : m_metadata(metadata)
49 , m_objectStore(objectStore) 49 , m_objectStore(objectStore)
50 , m_transaction(transaction) 50 , m_transaction(transaction)
51 , m_deleted(false) 51 , m_deleted(false)
52 { 52 {
53 ASSERT(m_objectStore); 53 ASSERT(m_objectStore);
54 ASSERT(m_transaction); 54 ASSERT(m_transaction);
55 ASSERT(m_metadata.id != IDBIndexMetadata::InvalidId); 55 ASSERT(m_metadata.id != IDBIndexMetadata::InvalidId);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 WebIDBDatabase* IDBIndex::backendDB() const 220 WebIDBDatabase* IDBIndex::backendDB() const
221 { 221 {
222 return m_transaction->backendDB(); 222 return m_transaction->backendDB();
223 } 223 }
224 224
225 bool IDBIndex::isDeleted() const 225 bool IDBIndex::isDeleted() const
226 { 226 {
227 return m_deleted || m_objectStore->isDeleted(); 227 return m_deleted || m_objectStore->isDeleted();
228 } 228 }
229 229
230 } // namespace WebCore 230 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBIndex.h ('k') | Source/modules/indexeddb/IDBKey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698