Chromium Code Reviews

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

Issue 463433002: Oilpan: fix build after r179934. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.h ('k') | Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 102 matching lines...)
113 ASSERT(m_workerGlobalScope); 113 ASSERT(m_workerGlobalScope);
114 m_workerGlobalScope->dispatchEvent(Event::create(EventTypeNames::sync)); 114 m_workerGlobalScope->dispatchEvent(Event::create(EventTypeNames::sync));
115 ServiceWorkerGlobalScopeClient::from(m_workerGlobalScope)->didHandleSyncEven t(eventID); 115 ServiceWorkerGlobalScopeClient::from(m_workerGlobalScope)->didHandleSyncEven t(eventID);
116 } 116 }
117 117
118 void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) 118 void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL)
119 { 119 {
120 m_client.reportException(errorMessage, lineNumber, columnNumber, sourceURL); 120 m_client.reportException(errorMessage, lineNumber, columnNumber, sourceURL);
121 } 121 }
122 122
123 void ServiceWorkerGlobalScopeProxy::reportConsoleMessage(PassRefPtr<blink::Conso leMessage> consoleMessage) 123 void ServiceWorkerGlobalScopeProxy::reportConsoleMessage(PassRefPtrWillBeRawPtr< ConsoleMessage> consoleMessage)
124 { 124 {
125 m_client.reportConsoleMessage(consoleMessage->source(), consoleMessage->leve l(), consoleMessage->message(), consoleMessage->lineNumber(), consoleMessage->ur l()); 125 m_client.reportConsoleMessage(consoleMessage->source(), consoleMessage->leve l(), consoleMessage->message(), consoleMessage->lineNumber(), consoleMessage->ur l());
126 } 126 }
127 127
128 void ServiceWorkerGlobalScopeProxy::postMessageToPageInspector(const String& mes sage) 128 void ServiceWorkerGlobalScopeProxy::postMessageToPageInspector(const String& mes sage)
129 { 129 {
130 m_client.dispatchDevToolsMessage(message); 130 m_client.dispatchDevToolsMessage(message);
131 } 131 }
132 132
133 void ServiceWorkerGlobalScopeProxy::updateInspectorStateCookie(const String& mes sage) 133 void ServiceWorkerGlobalScopeProxy::updateInspectorStateCookie(const String& mes sage)
(...skipping 26 matching lines...)
160 160
161 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm pl& embeddedWorker, ExecutionContext& executionContext, WebServiceWorkerContextC lient& client) 161 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm pl& embeddedWorker, ExecutionContext& executionContext, WebServiceWorkerContextC lient& client)
162 : m_embeddedWorker(embeddedWorker) 162 : m_embeddedWorker(embeddedWorker)
163 , m_executionContext(executionContext) 163 , m_executionContext(executionContext)
164 , m_client(client) 164 , m_client(client)
165 , m_workerGlobalScope(0) 165 , m_workerGlobalScope(0)
166 { 166 {
167 } 167 }
168 168
169 } // namespace blink 169 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.h ('k') | Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine