| Index: content/shell/browser/layout_test/layout_test_notification_manager.h
|
| diff --git a/content/shell/browser/shell_notification_manager.h b/content/shell/browser/layout_test/layout_test_notification_manager.h
|
| similarity index 76%
|
| rename from content/shell/browser/shell_notification_manager.h
|
| rename to content/shell/browser/layout_test/layout_test_notification_manager.h
|
| index 7520d15e67829d01938134ba6c7800efd4cb9786..b97efa44166ac46b7953797c3c393bed41eeb0d1 100644
|
| --- a/content/shell/browser/shell_notification_manager.h
|
| +++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_SHELL_BROWSER_SHELL_NOTIFICATION_MANAGER_H_
|
| -#define CONTENT_SHELL_BROWSER_SHELL_NOTIFICATION_MANAGER_H_
|
| +#ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
|
| +#define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
|
|
|
| #include <map>
|
|
|
| @@ -16,10 +16,10 @@ namespace content {
|
| // Responsible for tracking active notifications and allowed origins for the
|
| // Web Notification API when running layout tests. The methods in this class
|
| // should only be used on the IO thread.
|
| -class ShellNotificationManager {
|
| +class LayoutTestNotificationManager {
|
| public:
|
| - ShellNotificationManager();
|
| - ~ShellNotificationManager();
|
| + LayoutTestNotificationManager();
|
| + ~LayoutTestNotificationManager();
|
|
|
| // Checks whether |origin| has permission to display notifications in tests.
|
| blink::WebNotificationPermission CheckPermission(
|
| @@ -42,9 +42,9 @@ class ShellNotificationManager {
|
| NotificationPermissionMap;
|
| NotificationPermissionMap permission_map_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(ShellNotificationManager);
|
| + DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager);
|
| };
|
|
|
| } // content
|
|
|
| -#endif // CONTENT_SHELL_BROWSER_SHELL_NOTIFICATION_MANAGER_H_
|
| +#endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
|
|
|