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

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

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Fix typo Created 4 years, 9 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // EventTarget 51 // EventTarget
52 const AtomicString& interfaceName() const override; 52 const AtomicString& interfaceName() const override;
53 53
54 DEFINE_ATTRIBUTE_EVENT_LISTENER(blocked); 54 DEFINE_ATTRIBUTE_EVENT_LISTENER(blocked);
55 DEFINE_ATTRIBUTE_EVENT_LISTENER(upgradeneeded); 55 DEFINE_ATTRIBUTE_EVENT_LISTENER(upgradeneeded);
56 56
57 protected: 57 protected:
58 bool shouldEnqueueEvent() const override; 58 bool shouldEnqueueEvent() const override;
59 59
60 // EventTarget 60 // EventTarget
61 bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override; 61 DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) ove rride;
62 62
63 private: 63 private:
64 IDBOpenDBRequest(ScriptState*, IDBDatabaseCallbacks*, int64_t transactionId, int64_t version); 64 IDBOpenDBRequest(ScriptState*, IDBDatabaseCallbacks*, int64_t transactionId, int64_t version);
65 65
66 Member<IDBDatabaseCallbacks> m_databaseCallbacks; 66 Member<IDBDatabaseCallbacks> m_databaseCallbacks;
67 const int64_t m_transactionId; 67 const int64_t m_transactionId;
68 int64_t m_version; 68 int64_t m_version;
69 }; 69 };
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // IDBOpenDBRequest_h 73 #endif // IDBOpenDBRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698