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

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

Issue 17060008: Add dataLoss property to IDB's upgradeneeded event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove debug 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&) { WEBKIT_ASSE RT_NOT_REACHED(); } 54 virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&) { WEBKIT_ASSE RT_NOT_REACHED(); }
55 virtual void onSuccess(const WebIDBKey&) { WEBKIT_ASSERT_NOT_REACHED(); } 55 virtual void onSuccess(const WebIDBKey&) { WEBKIT_ASSERT_NOT_REACHED(); }
56 virtual void onSuccess(const WebData&) { WEBKIT_ASSERT_NOT_REACHED(); } 56 virtual void onSuccess(const WebData&) { WEBKIT_ASSERT_NOT_REACHED(); }
57 virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath &) { WEBKIT_ASSERT_NOT_REACHED(); } 57 virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath &) { WEBKIT_ASSERT_NOT_REACHED(); }
58 virtual void onSuccess(long long) { WEBKIT_ASSERT_NOT_REACHED(); } 58 virtual void onSuccess(long long) { WEBKIT_ASSERT_NOT_REACHED(); }
59 virtual void onSuccess() { WEBKIT_ASSERT_NOT_REACHED(); } 59 virtual void onSuccess() { WEBKIT_ASSERT_NOT_REACHED(); }
60 virtual void onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, co nst WebData&) { WEBKIT_ASSERT_NOT_REACHED(); } 60 virtual void onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, co nst WebData&) { WEBKIT_ASSERT_NOT_REACHED(); }
61 // FIXME: Remove the following overload once callers are updated: 61 // FIXME: Remove the following overload once callers are updated:
62 virtual void onBlocked() { WEBKIT_ASSERT_NOT_REACHED(); } 62 virtual void onBlocked() { WEBKIT_ASSERT_NOT_REACHED(); }
63 virtual void onBlocked(long long oldVersion) { WEBKIT_ASSERT_NOT_REACHED(); } 63 virtual void onBlocked(long long oldVersion) { WEBKIT_ASSERT_NOT_REACHED(); }
64 virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const We bIDBMetadata&) { WEBKIT_ASSERT_NOT_REACHED(); } 64 virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const We bIDBMetadata&, bool dataLoss) { WEBKIT_ASSERT_NOT_REACHED(); }
65 }; 65 };
66 66
67 } // namespace WebKit 67 } // namespace WebKit
68 68
69 #endif // WebIDBCallbacks_h 69 #endif // WebIDBCallbacks_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698