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

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

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years 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/IDBFactoryBackendImpl.cpp ('k') | Source/modules/indexeddb/IDBIndex.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // This class is shared by IDBFactory (async) and IDBFactorySync (sync). 46 // This class is shared by IDBFactory (async) and IDBFactorySync (sync).
47 // This is implemented by IDBFactoryBackendImpl and optionally others (in order to proxy 47 // This is implemented by IDBFactoryBackendImpl and optionally others (in order to proxy
48 // calls across process barriers). All calls to these classes should be non-bloc king and 48 // calls across process barriers). All calls to these classes should be non-bloc king and
49 // trigger work on a background thread if necessary. 49 // trigger work on a background thread if necessary.
50 class IDBFactoryBackendInterface : public HeapAllocatedFinalized<IDBFactoryBacke ndInterface> { 50 class IDBFactoryBackendInterface : public HeapAllocatedFinalized<IDBFactoryBacke ndInterface> {
51 DECLARE_GC_INFO 51 DECLARE_GC_INFO
52 public: 52 public:
53 static IDBFactoryBackendInterface* create(); 53 static IDBFactoryBackendInterface* create();
54 virtual ~IDBFactoryBackendInterface() { } 54 virtual ~IDBFactoryBackendInterface() { }
55 55
56 virtual void getDatabaseNames(PassRefPtr<IDBCallbacks>, const String& databa seIdentifier, ScriptExecutionContext*, const String& dataDir) = 0; 56 virtual void getDatabaseNames(IDBCallbacks*, const String& databaseIdentifie r, ScriptExecutionContext*, const String& dataDir) = 0;
57 virtual void open(const String& name, int64_t version, int64_t transactionId , PassRefPtr<IDBCallbacks>, PassRefPtr<IDBDatabaseCallbacks>, const String& data baseIdentifier, ScriptExecutionContext*, const String& dataDir) = 0; 57 virtual void open(const String& name, int64_t version, int64_t transactionId , IDBCallbacks*, IDBDatabaseCallbacks*, const String& databaseIdentifier, Script ExecutionContext*, const String& dataDir) = 0;
58 virtual void deleteDatabase(const String& name, PassRefPtr<IDBCallbacks>, co nst String& databaseIdentifier, ScriptExecutionContext*, const String& dataDir) = 0; 58 virtual void deleteDatabase(const String& name, IDBCallbacks*, const String& databaseIdentifier, ScriptExecutionContext*, const String& dataDir) = 0;
59 59
60 virtual void trace(Visitor*) = 0; 60 virtual void trace(Visitor*) = 0;
61 }; 61 };
62 62
63 } // namespace WebCore 63 } // namespace WebCore
64 64
65 #endif // IDBFactoryBackendInterface_h 65 #endif // IDBFactoryBackendInterface_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBFactoryBackendImpl.cpp ('k') | Source/modules/indexeddb/IDBIndex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698