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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.h

Issue 639293005: Content Shell: Introduce LayoutTestContentBrowserClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698