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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ExtendableEvent.h

Issue 2877543003: [ServiceWorker] Allow waitUntil to be called multiple times asynchronously (Closed)
Patch Set: Fix other tests using waitUntil incorrectly Created 3 years, 7 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 const AtomicString& InterfaceName() const override; 57 const AtomicString& InterfaceName() const override;
58 DECLARE_VIRTUAL_TRACE(); 58 DECLARE_VIRTUAL_TRACE();
59 59
60 protected: 60 protected:
61 ExtendableEvent(const AtomicString& type, const ExtendableEventInit&); 61 ExtendableEvent(const AtomicString& type, const ExtendableEventInit&);
62 ExtendableEvent(const AtomicString& type, 62 ExtendableEvent(const AtomicString& type,
63 const ExtendableEventInit&, 63 const ExtendableEventInit&,
64 WaitUntilObserver*); 64 WaitUntilObserver*);
65 65
66 bool created_by_script_;
shimazu 2017/05/22 03:48:41 const?
leonhsl(Using Gerrit) 2017/05/22 05:01:42 Acknowledged.
66 Member<WaitUntilObserver> observer_; 67 Member<WaitUntilObserver> observer_;
67 }; 68 };
68 69
69 } // namespace blink 70 } // namespace blink
70 71
71 #endif // ExtendableEvent_h 72 #endif // ExtendableEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698