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

Side by Side Diff: content/shell/browser/layout_test/layout_test_notification_manager.h

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/renderer/service_worker/service_worker_script_context.cc ('k') | no next file » | 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 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/public/browser/platform_notification_service.h" 13 #include "content/public/browser/platform_notification_service.h"
14 #include "content/public/common/platform_notification_data.h" 14 #include "content/public/common/platform_notification_data.h"
15 #include "third_party/WebKit/public/platform/WebNotificationPermission.h" 15 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onPermission.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 class DesktopNotificationDelegate; 20 class DesktopNotificationDelegate;
21 struct PlatformNotificationData; 21 struct PlatformNotificationData;
22 22
23 // Responsible for tracking active notifications and allowed origins for the 23 // Responsible for tracking active notifications and allowed origins for the
24 // Web Notification API when running layout tests. 24 // Web Notification API when running layout tests.
25 class LayoutTestNotificationManager : public PlatformNotificationService { 25 class LayoutTestNotificationManager : public PlatformNotificationService {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 std::map<std::string, std::string> replacements_; 96 std::map<std::string, std::string> replacements_;
97 97
98 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_; 98 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager); 100 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager);
101 }; 101 };
102 102
103 } // content 103 } // content
104 104
105 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ 105 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/service_worker/service_worker_script_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698