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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.h

Issue 2370643004: Port messages sent by WebIDBFactoryImpl to Mojo. (Closed)
Patch Set: Require explicit wrapping when discarding map keys. Created 4 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * 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 * 10 *
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void onSuccess() override; 67 void onSuccess() override;
68 void onSuccess(const WebIDBKey&, 68 void onSuccess(const WebIDBKey&,
69 const WebIDBKey& primaryKey, 69 const WebIDBKey& primaryKey,
70 const WebIDBValue&) override; 70 const WebIDBValue&) override;
71 void onBlocked(long long oldVersion) override; 71 void onBlocked(long long oldVersion) override;
72 void onUpgradeNeeded(long long oldVersion, 72 void onUpgradeNeeded(long long oldVersion,
73 WebIDBDatabase*, 73 WebIDBDatabase*,
74 const WebIDBMetadata&, 74 const WebIDBMetadata&,
75 unsigned short dataLoss, 75 unsigned short dataLoss,
76 WebString dataLossMessage) override; 76 WebString dataLossMessage) override;
77 void detach() override;
77 78
78 private: 79 private:
79 explicit WebIDBCallbacksImpl(IDBRequest*); 80 explicit WebIDBCallbacksImpl(IDBRequest*);
80 81
81 Persistent<IDBRequest> m_request; 82 Persistent<IDBRequest> m_request;
82 }; 83 };
83 84
84 } // namespace blink 85 } // namespace blink
85 86
86 #endif // WebIDBCallbacksImpl_h 87 #endif // WebIDBCallbacksImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698