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

Side by Side Diff: content/renderer/service_worker/service_worker_script_context.cc

Issue 893993002: Mechanical change for updating the paths to Notification Blink API files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/service_worker/service_worker_script_context.h" 5 #include "content/renderer/service_worker/service_worker_script_context.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "content/child/notifications/notification_data_conversions.h" 10 #include "content/child/notifications/notification_data_conversions.h"
11 #include "content/child/service_worker/web_service_worker_registration_impl.h" 11 #include "content/child/service_worker/web_service_worker_registration_impl.h"
12 #include "content/child/thread_safe_sender.h" 12 #include "content/child/thread_safe_sender.h"
13 #include "content/child/webmessageportchannel_impl.h" 13 #include "content/child/webmessageportchannel_impl.h"
14 #include "content/common/message_port_messages.h" 14 #include "content/common/message_port_messages.h"
15 #include "content/common/service_worker/service_worker_messages.h" 15 #include "content/common/service_worker/service_worker_messages.h"
16 #include "content/public/common/referrer.h" 16 #include "content/public/common/referrer.h"
17 #include "content/renderer/service_worker/embedded_worker_context_client.h" 17 #include "content/renderer/service_worker/embedded_worker_context_client.h"
18 #include "ipc/ipc_message.h" 18 #include "ipc/ipc_message.h"
19 #include "third_party/WebKit/public/platform/WebCrossOriginServiceWorkerClient.h " 19 #include "third_party/WebKit/public/platform/WebCrossOriginServiceWorkerClient.h "
20 #include "third_party/WebKit/public/platform/WebNotificationData.h"
21 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 20 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
22 #include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h" 21 #include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h"
23 #include "third_party/WebKit/public/platform/WebString.h" 22 #include "third_party/WebKit/public/platform/WebString.h"
24 #include "third_party/WebKit/public/platform/WebURL.h" 23 #include "third_party/WebKit/public/platform/WebURL.h"
24 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onData.h"
25 #include "third_party/WebKit/public/web/WebServiceWorkerContextClient.h" 25 #include "third_party/WebKit/public/web/WebServiceWorkerContextClient.h"
26 #include "third_party/WebKit/public/web/WebServiceWorkerContextProxy.h" 26 #include "third_party/WebKit/public/web/WebServiceWorkerContextProxy.h"
27 27
28 namespace content { 28 namespace content {
29 29
30 namespace { 30 namespace {
31 31
32 void SendPostMessageToDocumentOnMainThread( 32 void SendPostMessageToDocumentOnMainThread(
33 ThreadSafeSender* sender, 33 ThreadSafeSender* sender,
34 int routing_id, 34 int routing_id,
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 pending_skip_waiting_callbacks_.Lookup(request_id); 454 pending_skip_waiting_callbacks_.Lookup(request_id);
455 if (!callbacks) { 455 if (!callbacks) {
456 NOTREACHED() << "Got stray response: " << request_id; 456 NOTREACHED() << "Got stray response: " << request_id;
457 return; 457 return;
458 } 458 }
459 callbacks->onSuccess(); 459 callbacks->onSuccess();
460 pending_skip_waiting_callbacks_.Remove(request_id); 460 pending_skip_waiting_callbacks_.Remove(request_id);
461 } 461 }
462 462
463 } // namespace content 463 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698