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

Side by Side Diff: third_party/WebKit/Source/modules/notifications/NotificationData.h

Issue 2392543004: Reflow comments in the Push and Notification modules. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 NotificationData_h 5 #ifndef NotificationData_h
6 #define NotificationData_h 6 #define NotificationData_h
7 7
8 #include "modules/ModulesExport.h" 8 #include "modules/ModulesExport.h"
9 #include "public/platform/modules/notifications/WebNotificationData.h" 9 #include "public/platform/modules/notifications/WebNotificationData.h"
10 10
11 namespace WTF { 11 namespace WTF {
12 class String; 12 class String;
13 } 13 }
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class ExceptionState; 17 class ExceptionState;
18 class ExecutionContext; 18 class ExecutionContext;
19 class NotificationOptions; 19 class NotificationOptions;
20 20
21 // Creates a WebNotificationData object based on the developer-provided notifica tion data. When the 21 // Creates a WebNotificationData object based on the developer-provided
22 // data is deemed invalid, an exception will be thrown to the passed exception s tate. 22 // notification options. An exception will be thrown on the ExceptionState when
23 // the given options do not match the constraints imposed by the specification.
23 MODULES_EXPORT WebNotificationData 24 MODULES_EXPORT WebNotificationData
24 createWebNotificationData(ExecutionContext*, 25 createWebNotificationData(ExecutionContext*,
25 const String& title, 26 const String& title,
26 const NotificationOptions&, 27 const NotificationOptions&,
27 ExceptionState&); 28 ExceptionState&);
28 29
29 } // namespace blink 30 } // namespace blink
30 31
31 #endif // NotificationData_h 32 #endif // NotificationData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698