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

Side by Side Diff: content/child/notifications/notification_manager.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
« no previous file with comments | « content/child/notifications/notification_manager.h ('k') | content/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/child/notifications/notification_manager.h" 5 #include "content/child/notifications/notification_manager.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/threading/thread_local.h" 9 #include "base/threading/thread_local.h"
10 #include "content/child/notifications/notification_data_conversions.h" 10 #include "content/child/notifications/notification_data_conversions.h"
11 #include "content/child/notifications/notification_dispatcher.h" 11 #include "content/child/notifications/notification_dispatcher.h"
12 #include "content/child/notifications/notification_image_loader.h" 12 #include "content/child/notifications/notification_image_loader.h"
13 #include "content/child/service_worker/web_service_worker_registration_impl.h" 13 #include "content/child/service_worker/web_service_worker_registration_impl.h"
14 #include "content/child/thread_safe_sender.h" 14 #include "content/child/thread_safe_sender.h"
15 #include "content/child/worker_task_runner.h" 15 #include "content/child/worker_task_runner.h"
16 #include "content/common/platform_notification_messages.h" 16 #include "content/common/platform_notification_messages.h"
17 #include "content/public/common/platform_notification_data.h" 17 #include "content/public/common/platform_notification_data.h"
18 #include "third_party/WebKit/public/platform/WebNotificationData.h"
19 #include "third_party/WebKit/public/platform/WebNotificationDelegate.h"
20 #include "third_party/WebKit/public/platform/WebSerializedOrigin.h" 18 #include "third_party/WebKit/public/platform/WebSerializedOrigin.h"
19 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onData.h"
20 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onDelegate.h"
21 #include "third_party/skia/include/core/SkBitmap.h" 21 #include "third_party/skia/include/core/SkBitmap.h"
22 22
23 using blink::WebNotificationPermission; 23 using blink::WebNotificationPermission;
24 24
25 namespace content { 25 namespace content {
26 namespace { 26 namespace {
27 27
28 int CurrentWorkerId() { 28 int CurrentWorkerId() {
29 return WorkerTaskRunner::Instance()->CurrentWorkerId(); 29 return WorkerTaskRunner::Instance()->CurrentWorkerId();
30 } 30 }
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 blink::WebNotificationDelegate* delegate) { 280 blink::WebNotificationDelegate* delegate) {
281 const auto& iter = pending_page_notifications_.find(delegate); 281 const auto& iter = pending_page_notifications_.find(delegate);
282 if (iter == pending_page_notifications_.end()) 282 if (iter == pending_page_notifications_.end())
283 return false; 283 return false;
284 284
285 pending_page_notifications_.erase(iter); 285 pending_page_notifications_.erase(iter);
286 return true; 286 return true;
287 } 287 }
288 288
289 } // namespace content 289 } // namespace content
OLDNEW
« no previous file with comments | « content/child/notifications/notification_manager.h ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698