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

Side by Side Diff: Source/modules/serviceworkers/ServiceWorkerContainer.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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) 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 * * 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 : public RefCountedWillBeGarbageCollectedFinalized<ServiceWorkerContainer> 58 : public RefCountedWillBeGarbageCollectedFinalized<ServiceWorkerContainer>
59 , public ScriptWrappable 59 , public ScriptWrappable
60 , public ContextLifecycleObserver 60 , public ContextLifecycleObserver
61 , public blink::WebServiceWorkerProviderClient { 61 , public blink::WebServiceWorkerProviderClient {
62 public: 62 public:
63 static PassRefPtrWillBeRawPtr<ServiceWorkerContainer> create(ExecutionContex t*); 63 static PassRefPtrWillBeRawPtr<ServiceWorkerContainer> create(ExecutionContex t*);
64 ~ServiceWorkerContainer(); 64 ~ServiceWorkerContainer();
65 65
66 void willBeDetachedFromFrame(); 66 void willBeDetachedFromFrame();
67 67
68 void trace(Visitor*); 68 virtual void trace(Visitor*);
69 69
70 PassRefPtrWillBeRawPtr<ServiceWorker> active() { return m_active.get(); } 70 PassRefPtrWillBeRawPtr<ServiceWorker> active() { return m_active.get(); }
71 PassRefPtrWillBeRawPtr<ServiceWorker> controller() { return m_controller.get (); } 71 PassRefPtrWillBeRawPtr<ServiceWorker> controller() { return m_controller.get (); }
72 PassRefPtrWillBeRawPtr<ServiceWorker> installing() { return m_installing.get (); } 72 PassRefPtrWillBeRawPtr<ServiceWorker> installing() { return m_installing.get (); }
73 PassRefPtrWillBeRawPtr<ServiceWorker> waiting() { return m_waiting.get(); } 73 PassRefPtrWillBeRawPtr<ServiceWorker> waiting() { return m_waiting.get(); }
74 ScriptPromise ready(ScriptState*); 74 ScriptPromise ready(ScriptState*);
75 blink::WebServiceWorkerProvider* provider() { return m_provider; } 75 blink::WebServiceWorkerProvider* provider() { return m_provider; }
76 76
77 ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, con st Dictionary&); 77 ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, con st Dictionary&);
78 ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope); 78 ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope);
(...skipping 16 matching lines...) Expand all
95 RefPtrWillBeMember<ServiceWorker> m_active; 95 RefPtrWillBeMember<ServiceWorker> m_active;
96 RefPtrWillBeMember<ServiceWorker> m_controller; 96 RefPtrWillBeMember<ServiceWorker> m_controller;
97 RefPtrWillBeMember<ServiceWorker> m_installing; 97 RefPtrWillBeMember<ServiceWorker> m_installing;
98 RefPtrWillBeMember<ServiceWorker> m_waiting; 98 RefPtrWillBeMember<ServiceWorker> m_waiting;
99 PersistentWillBeMember<ReadyProperty> m_ready; 99 PersistentWillBeMember<ReadyProperty> m_ready;
100 }; 100 };
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif // ServiceWorkerContainer_h 104 #endif // ServiceWorkerContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698