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

Side by Side Diff: chrome/renderer/renderer_webidbdatabase_impl.h

Issue 3107029: Revert 56862 - Add transaction coordinator. Allow idle transactions to be abo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebFrame; 14 class WebFrame;
15 class WebIDBCallbacks; 15 class WebIDBCallbacks;
16 class WebString; 16 class WebString;
17 class WebIDBTransaction;
18 } 17 }
19 18
20 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase { 19 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
21 public: 20 public:
22 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id); 21 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id);
23 virtual ~RendererWebIDBDatabaseImpl(); 22 virtual ~RendererWebIDBDatabaseImpl();
24 23
25 // WebKit::WebIDBDatabase 24 // WebKit::WebIDBDatabase
26 virtual WebKit::WebString name() const; 25 virtual WebKit::WebString name() const;
27 virtual WebKit::WebString description() const; 26 virtual WebKit::WebString description() const;
28 virtual WebKit::WebString version() const; 27 virtual WebKit::WebString version() const;
29 virtual WebKit::WebDOMStringList objectStores() const; 28 virtual WebKit::WebDOMStringList objectStores() const;
30 virtual void createObjectStore( 29 virtual void createObjectStore(
31 const WebKit::WebString& name, const WebKit::WebString& key_path, 30 const WebKit::WebString& name, const WebKit::WebString& key_path,
32 bool auto_increment, WebKit::WebIDBCallbacks* callbacks); 31 bool auto_increment, WebKit::WebIDBCallbacks* callbacks);
33 virtual WebKit::WebIDBTransaction* transaction( 32
34 const WebKit::WebDOMStringList& names,
35 unsigned short mode, unsigned long timeout);
36 private: 33 private:
37 int32 idb_database_id_; 34 int32 idb_database_id_;
38 }; 35 };
39 36
40 #endif // CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_ 37 #endif // CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/indexed_db_dispatcher.cc ('k') | chrome/renderer/renderer_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698