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

Side by Side Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 6 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 | Annotate | Revision Log
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 22 matching lines...) Expand all
33 33
34 #include "modules/serviceworkers/Response.h" 34 #include "modules/serviceworkers/Response.h"
35 #include "platform/NotImplemented.h" 35 #include "platform/NotImplemented.h"
36 #include "public/platform/WebServiceWorkerResponse.h" 36 #include "public/platform/WebServiceWorkerResponse.h"
37 #include "public/platform/WebURL.h" 37 #include "public/platform/WebURL.h"
38 #include "public/web/WebServiceWorkerContextClient.h" 38 #include "public/web/WebServiceWorkerContextClient.h"
39 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 PassOwnPtr<WebCore::ServiceWorkerGlobalScopeClient> ServiceWorkerGlobalScopeClie ntImpl::create(PassOwnPtr<WebServiceWorkerContextClient> client) 43 PassOwnPtrWillBeRawPtr<WebCore::ServiceWorkerGlobalScopeClient> ServiceWorkerGlo balScopeClientImpl::create(PassOwnPtr<WebServiceWorkerContextClient> client)
44 { 44 {
45 return adoptPtr(new ServiceWorkerGlobalScopeClientImpl(client)); 45 return adoptPtrWillBeNoop(new ServiceWorkerGlobalScopeClientImpl(client));
46 } 46 }
47 47
48 ServiceWorkerGlobalScopeClientImpl::~ServiceWorkerGlobalScopeClientImpl() 48 ServiceWorkerGlobalScopeClientImpl::~ServiceWorkerGlobalScopeClientImpl()
49 { 49 {
50 } 50 }
51 51
52 void ServiceWorkerGlobalScopeClientImpl::getClients(WebServiceWorkerClientsCallb acks* callbacks) 52 void ServiceWorkerGlobalScopeClientImpl::getClients(WebServiceWorkerClientsCallb acks* callbacks)
53 { 53 {
54 m_client->getClients(callbacks); 54 m_client->getClients(callbacks);
55 } 55 }
(...skipping 30 matching lines...) Expand all
86 m_client->didHandleSyncEvent(syncEventID); 86 m_client->didHandleSyncEvent(syncEventID);
87 } 87 }
88 88
89 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(PassOwnPt r<WebServiceWorkerContextClient> client) 89 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(PassOwnPt r<WebServiceWorkerContextClient> client)
90 : m_client(client) 90 : m_client(client)
91 { 91 {
92 ASSERT(m_client); 92 ASSERT(m_client);
93 } 93 }
94 94
95 } // namespace blink 95 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698