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

Side by Side Diff: public/platform/WebIDBCursor.h

Issue 16320013: IndexedDB: Remove prefetching method stubs from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unintelligible comment Created 7 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/WebIDBCallbacks.h ('k') | no next file » | 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 29 matching lines...) Expand all
40 40
41 enum Direction { 41 enum Direction {
42 Next = 0, 42 Next = 0,
43 NextNoDuplicate = 1, 43 NextNoDuplicate = 1,
44 Prev = 2, 44 Prev = 2,
45 PrevNoDuplicate = 3, 45 PrevNoDuplicate = 3,
46 }; 46 };
47 47
48 virtual void advance(unsigned long, WebIDBCallbacks*) { WEBKIT_ASSERT_NOT_RE ACHED(); } 48 virtual void advance(unsigned long, WebIDBCallbacks*) { WEBKIT_ASSERT_NOT_RE ACHED(); }
49 virtual void continueFunction(const WebIDBKey&, WebIDBCallbacks*) { WEBKIT_A SSERT_NOT_REACHED(); } 49 virtual void continueFunction(const WebIDBKey&, WebIDBCallbacks*) { WEBKIT_A SSERT_NOT_REACHED(); }
50 virtual void prefetchContinue(int numberToFetch, WebIDBCallbacks*) { WEBKIT_ ASSERT_NOT_REACHED(); }
51 virtual void prefetchReset(int usedPrefetches, int unusedPrefetches) { WEBKI T_ASSERT_NOT_REACHED(); }
52 virtual void postSuccessHandlerCallback() { } // Only used in frontend. 50 virtual void postSuccessHandlerCallback() { } // Only used in frontend.
53 51
54 protected: 52 protected:
55 WebIDBCursor() { } 53 WebIDBCursor() { }
56 }; 54 };
57 55
58 } // namespace WebKit 56 } // namespace WebKit
59 57
60 #endif // WebIDBCursor_h 58 #endif // WebIDBCursor_h
OLDNEW
« no previous file with comments | « public/platform/WebIDBCallbacks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698