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

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

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (Closed)
Patch Set: Created 3 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 #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 <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <unordered_map> 10 #include <unordered_map>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "content/public/browser/platform_notification_service.h" 15 #include "content/public/browser/platform_notification_service.h"
16 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat us.mojom.h" 16 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat us.mojom.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 namespace base {
20 class NullableString16;
21 }
22
19 namespace content { 23 namespace content {
20 24
21 class DesktopNotificationDelegate; 25 class DesktopNotificationDelegate;
22 struct NotificationResources; 26 struct NotificationResources;
23 struct PlatformNotificationData; 27 struct PlatformNotificationData;
24 28
25 // Responsible for tracking active notifications and allowed origins for the 29 // Responsible for tracking active notifications and allowed origins for the
26 // Web Notification API when running layout tests. 30 // Web Notification API when running layout tests.
27 class LayoutTestNotificationManager : public PlatformNotificationService { 31 class LayoutTestNotificationManager : public PlatformNotificationService {
28 public: 32 public:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 std::unordered_map<std::string, std::string> notification_id_map_; 102 std::unordered_map<std::string, std::string> notification_id_map_;
99 103
100 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_; 104 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_;
101 105
102 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager); 106 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager);
103 }; 107 };
104 108
105 } // content 109 } // content
106 110
107 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ 111 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « content/shell/browser/layout_test/layout_test_message_filter.h ('k') | content/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698