Lines Matching defs:StatementRef
104 class StatementRef; // Forward declaration, see real one below.
235 scoped_refptr<StatementRef> GetCachedStatement(const StatementID& id,
243 scoped_refptr<StatementRef> GetUniqueStatement(const char* sql);
276 // Statement access StatementRef which we don't want to expose to erverybody
285 // A StatementRef is a refcounted wrapper around a sqlite statement pointer.
294 // The Connection may revoke a StatementRef in some error cases, so callers
296 class StatementRef : public base::RefCounted<StatementRef> {
299 StatementRef();
300 StatementRef(Connection* connection, sqlite3_stmt* stmt);
318 friend class base::RefCounted<StatementRef>;
320 ~StatementRef();
325 DISALLOW_COPY_AND_ASSIGN(StatementRef);
327 friend class StatementRef;
333 // Called by a StatementRef when it's being created or destroyed. See
335 void StatementRefCreated(StatementRef* ref);
336 void StatementRefDeleted(StatementRef* ref);
360 typedef std::map<StatementID, scoped_refptr<StatementRef> >
367 typedef std::set<StatementRef*> StatementRefSet;