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

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

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing include in code gen wich causes win compile failure Created 7 years, 5 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 /* 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 17 matching lines...) Expand all
28 28
29 #include "wtf/PassRefPtr.h" 29 #include "wtf/PassRefPtr.h"
30 #include "wtf/RefCounted.h" 30 #include "wtf/RefCounted.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class IDBCallbacks; 34 class IDBCallbacks;
35 class IDBKey; 35 class IDBKey;
36 class IDBRequest; 36 class IDBRequest;
37 37
38 typedef int ExceptionCode;
39
40 class IDBCursorBackendInterface : public RefCounted<IDBCursorBackendInterface> { 38 class IDBCursorBackendInterface : public RefCounted<IDBCursorBackendInterface> {
41 public: 39 public:
42 virtual ~IDBCursorBackendInterface() {} 40 virtual ~IDBCursorBackendInterface() {}
43 41
44 virtual void advance(unsigned long count, PassRefPtr<IDBCallbacks>) = 0; 42 virtual void advance(unsigned long count, PassRefPtr<IDBCallbacks>) = 0;
45 virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback s>) = 0; 43 virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback s>) = 0;
46 virtual void postSuccessHandlerCallback() = 0; 44 virtual void postSuccessHandlerCallback() = 0;
47 }; 45 };
48 46
49 } // namespace WebCore 47 } // namespace WebCore
50 48
51 #endif // IDBCursorBackendInterface_h 49 #endif // IDBCursorBackendInterface_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698