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

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

Issue 1422673002: Extract Notifications kClickWasNotAnAction constant Base URL: https://chromium.googlesource.com/chromium/src.git@actions_spec_sync
Patch Set: Created 5 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/layout_test/layout_test_notification_manager.h b/content/shell/browser/layout_test/layout_test_notification_manager.h
index fdcdeb87af14accf9b1b517bf31848e95e143ff1..c845c3f460e6c393770cf30b6eb6c13cdde59b37 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
@@ -28,8 +28,8 @@ class LayoutTestNotificationManager : public PlatformNotificationService {
~LayoutTestNotificationManager() override;
// Simulates a click on the notification titled |title|. |action_index|
- // indicates which action was clicked, or -1 if the main notification body was
- // clicked. Must be called on the UI thread.
+ // indicates which action was clicked, or kNotificationClickWasNotAnAction if
+ // the main notification body was clicked. Must be called on the UI thread.
void SimulateClick(const std::string& title, int action_index);
// PlatformNotificationService implementation.

Powered by Google App Engine
This is Rietveld 408576698