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

Side by Side Diff: Source/modules/indexeddb/IDBObjectStore.h

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/indexeddb/IDBKeyRange.cpp ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool autoIncrement() const { return m_metadata.autoIncrement; } 65 bool autoIncrement() const { return m_metadata.autoIncrement; }
66 66
67 PassRefPtr<IDBRequest> openCursor(ExecutionContext*, const ScriptValue& rang e, const String& direction, ExceptionState&); 67 PassRefPtr<IDBRequest> openCursor(ExecutionContext*, const ScriptValue& rang e, const String& direction, ExceptionState&);
68 PassRefPtr<IDBRequest> openKeyCursor(ExecutionContext*, const ScriptValue& r ange, const String& direction, ExceptionState&); 68 PassRefPtr<IDBRequest> openKeyCursor(ExecutionContext*, const ScriptValue& r ange, const String& direction, ExceptionState&);
69 PassRefPtr<IDBRequest> get(ExecutionContext*, const ScriptValue& key, Except ionState&); 69 PassRefPtr<IDBRequest> get(ExecutionContext*, const ScriptValue& key, Except ionState&);
70 PassRefPtr<IDBRequest> add(ScriptState*, ScriptValue&, const ScriptValue& ke y, ExceptionState&); 70 PassRefPtr<IDBRequest> add(ScriptState*, ScriptValue&, const ScriptValue& ke y, ExceptionState&);
71 PassRefPtr<IDBRequest> put(ScriptState*, ScriptValue&, const ScriptValue& ke y, ExceptionState&); 71 PassRefPtr<IDBRequest> put(ScriptState*, ScriptValue&, const ScriptValue& ke y, ExceptionState&);
72 PassRefPtr<IDBRequest> deleteFunction(ExecutionContext*, const ScriptValue& key, ExceptionState&); 72 PassRefPtr<IDBRequest> deleteFunction(ExecutionContext*, const ScriptValue& key, ExceptionState&);
73 PassRefPtr<IDBRequest> clear(ExecutionContext*, ExceptionState&); 73 PassRefPtr<IDBRequest> clear(ExecutionContext*, ExceptionState&);
74 74
75 PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& na me, const String& keyPath, const Dictionary& options, ExceptionState& es) { retu rn createIndex(context, name, IDBKeyPath(keyPath), options, es); } 75 PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& na me, const String& keyPath, const Dictionary& options, ExceptionState& exceptionS tate) { return createIndex(context, name, IDBKeyPath(keyPath), options, exceptio nState); }
76 PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& na me, const Vector<String>& keyPath, const Dictionary& options, ExceptionState& es ) { return createIndex(context, name, IDBKeyPath(keyPath), options, es); } 76 PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& na me, const Vector<String>& keyPath, const Dictionary& options, ExceptionState& ex ceptionState) { return createIndex(context, name, IDBKeyPath(keyPath), options, exceptionState); }
77 PassRefPtr<IDBIndex> index(const String& name, ExceptionState&); 77 PassRefPtr<IDBIndex> index(const String& name, ExceptionState&);
78 void deleteIndex(const String& name, ExceptionState&); 78 void deleteIndex(const String& name, ExceptionState&);
79 79
80 PassRefPtr<IDBRequest> count(ExecutionContext*, const ScriptValue& range, Ex ceptionState&); 80 PassRefPtr<IDBRequest> count(ExecutionContext*, const ScriptValue& range, Ex ceptionState&);
81 81
82 // Used by IDBCursor::update(): 82 // Used by IDBCursor::update():
83 PassRefPtr<IDBRequest> put(IDBDatabaseBackendInterface::PutMode, PassRefPtr< IDBAny> source, ScriptState*, ScriptValue&, PassRefPtr<IDBKey>, ExceptionState&) ; 83 PassRefPtr<IDBRequest> put(IDBDatabaseBackendInterface::PutMode, PassRefPtr< IDBAny> source, ScriptState*, ScriptValue&, PassRefPtr<IDBKey>, ExceptionState&) ;
84 84
85 // Used internally and by InspectorIndexedDBAgent: 85 // Used internally and by InspectorIndexedDBAgent:
86 PassRefPtr<IDBRequest> openCursor(ExecutionContext*, PassRefPtr<IDBKeyRange> , IndexedDB::CursorDirection, IDBDatabaseBackendInterface::TaskType = IDBDatabas eBackendInterface::NormalTask); 86 PassRefPtr<IDBRequest> openCursor(ExecutionContext*, PassRefPtr<IDBKeyRange> , IndexedDB::CursorDirection, IDBDatabaseBackendInterface::TaskType = IDBDatabas eBackendInterface::NormalTask);
(...skipping 27 matching lines...) Expand all
114 RefPtr<IDBTransaction> m_transaction; 114 RefPtr<IDBTransaction> m_transaction;
115 bool m_deleted; 115 bool m_deleted;
116 116
117 typedef HashMap<String, RefPtr<IDBIndex> > IDBIndexMap; 117 typedef HashMap<String, RefPtr<IDBIndex> > IDBIndexMap;
118 IDBIndexMap m_indexMap; 118 IDBIndexMap m_indexMap;
119 }; 119 };
120 120
121 } // namespace WebCore 121 } // namespace WebCore
122 122
123 #endif // IDBObjectStore_h 123 #endif // IDBObjectStore_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBKeyRange.cpp ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698