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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursor.h

Issue 2890023003: [IndexedDB] Adding async tracing for renderer calls. (Closed)
Patch Set: fixed blink tests Created 3 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBCursor.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void continuePrimaryKey(ScriptState*, 80 void continuePrimaryKey(ScriptState*,
81 const ScriptValue& key, 81 const ScriptValue& key,
82 const ScriptValue& primary_key, 82 const ScriptValue& primary_key,
83 ExceptionState&); 83 ExceptionState&);
84 IDBRequest* deleteFunction(ScriptState*, ExceptionState&); 84 IDBRequest* deleteFunction(ScriptState*, ExceptionState&);
85 85
86 bool isKeyDirty() const { return key_dirty_; } 86 bool isKeyDirty() const { return key_dirty_; }
87 bool isPrimaryKeyDirty() const { return primary_key_dirty_; } 87 bool isPrimaryKeyDirty() const { return primary_key_dirty_; }
88 bool isValueDirty() const { return value_dirty_; } 88 bool isValueDirty() const { return value_dirty_; }
89 89
90 void Continue(IDBKey*, IDBKey* primary_key, ExceptionState&); 90 void Continue(IDBKey*,
91 IDBKey* primary_key,
92 IDBRequest::AsyncTraceState,
93 ExceptionState&);
91 void PostSuccessHandlerCallback(); 94 void PostSuccessHandlerCallback();
92 bool IsDeleted() const; 95 bool IsDeleted() const;
93 void Close(); 96 void Close();
94 void SetValueReady(IDBKey*, IDBKey* primary_key, PassRefPtr<IDBValue>); 97 void SetValueReady(IDBKey*, IDBKey* primary_key, PassRefPtr<IDBValue>);
95 IDBKey* IdbPrimaryKey() const { return primary_key_; } 98 IDBKey* IdbPrimaryKey() const { return primary_key_; }
96 virtual bool IsKeyCursor() const { return true; } 99 virtual bool IsKeyCursor() const { return true; }
97 virtual bool IsCursorWithValue() const { return false; } 100 virtual bool IsCursorWithValue() const { return false; }
98 101
99 protected: 102 protected:
100 IDBCursor(std::unique_ptr<WebIDBCursor>, 103 IDBCursor(std::unique_ptr<WebIDBCursor>,
(...skipping 15 matching lines...) Expand all
116 bool primary_key_dirty_ = true; 119 bool primary_key_dirty_ = true;
117 bool value_dirty_ = true; 120 bool value_dirty_ = true;
118 Member<IDBKey> key_; 121 Member<IDBKey> key_;
119 Member<IDBKey> primary_key_; 122 Member<IDBKey> primary_key_;
120 RefPtr<IDBValue> value_; 123 RefPtr<IDBValue> value_;
121 }; 124 };
122 125
123 } // namespace blink 126 } // namespace blink
124 127
125 #endif // IDBCursor_h 128 #endif // IDBCursor_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698