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

Side by Side Diff: chrome/browser/notifications/non_persistent_notification_handler.h

Issue 2921263002: Remove many delegates, let's see what breaks
Patch Set: fix test Created 3 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CHROME_BROWSER_NOTIFICATIONS_NON_PERSISTENT_NOTIFICATION_HANDLER_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NON_PERSISTENT_NOTIFICATION_HANDLER_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NON_PERSISTENT_NOTIFICATION_HANDLER_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_NON_PERSISTENT_NOTIFICATION_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/notifications/notification_handler.h" 9 #include "chrome/browser/notifications/notification_handler.h"
10 10
(...skipping 10 matching lines...) Expand all
21 const std::string& notification_id, 21 const std::string& notification_id,
22 bool by_user) override; 22 bool by_user) override;
23 23
24 void OnClick(Profile* profile, 24 void OnClick(Profile* profile,
25 const std::string& origin, 25 const std::string& origin,
26 const std::string& notification_id, 26 const std::string& notification_id,
27 int action_index, 27 int action_index,
28 const base::NullableString16& reply) override; 28 const base::NullableString16& reply) override;
29 29
30 void OpenSettings(Profile* profile) override; 30 void OpenSettings(Profile* profile) override;
31 bool ShouldDisplayOnFullScreen(Profile* profile,
32 const std::string& origin) const override;
31 33
32 private: 34 private:
33 DISALLOW_COPY_AND_ASSIGN(NonPersistentNotificationHandler); 35 DISALLOW_COPY_AND_ASSIGN(NonPersistentNotificationHandler);
34 }; 36 };
35 37
36 #endif // CHROME_BROWSER_NOTIFICATIONS_NON_PERSISTENT_NOTIFICATION_HANDLER_H_ 38 #endif // CHROME_BROWSER_NOTIFICATIONS_NON_PERSISTENT_NOTIFICATION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698