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

Side by Side Diff: Source/modules/notifications/NotificationCenter.h

Issue 23583043: Fix linking problem on Windows with ENABLE_LEGACY_NOTIFICATIONS disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fixup Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/modules/notifications/NotificationCenter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 14 matching lines...) Expand all
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef NotificationCenter_h 32 #ifndef NotificationCenter_h
33 #define NotificationCenter_h 33 #define NotificationCenter_h
34 34
35 #if ENABLE(LEGACY_NOTIFICATIONS)
36
35 #include "bindings/v8/ExceptionState.h" 37 #include "bindings/v8/ExceptionState.h"
36 #include "bindings/v8/ScriptWrappable.h" 38 #include "bindings/v8/ScriptWrappable.h"
37 #include "core/dom/ExceptionCode.h" 39 #include "core/dom/ExceptionCode.h"
38 #include "core/dom/ScriptExecutionContext.h" 40 #include "core/dom/ScriptExecutionContext.h"
39 #include "core/html/VoidCallback.h" 41 #include "core/html/VoidCallback.h"
40 #include "core/platform/Supplementable.h" 42 #include "core/platform/Supplementable.h"
41 #include "core/platform/Timer.h" 43 #include "core/platform/Timer.h"
42 #include "modules/notifications/Notification.h" 44 #include "modules/notifications/Notification.h"
43 #include "wtf/OwnPtr.h" 45 #include "wtf/OwnPtr.h"
44 #include "wtf/PassRefPtr.h" 46 #include "wtf/PassRefPtr.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }; 93 };
92 94
93 void requestTimedOut(NotificationRequestCallback*); 95 void requestTimedOut(NotificationRequestCallback*);
94 96
95 NotificationClient* m_client; 97 NotificationClient* m_client;
96 HashSet<RefPtr<NotificationRequestCallback> > m_callbacks; 98 HashSet<RefPtr<NotificationRequestCallback> > m_callbacks;
97 }; 99 };
98 100
99 } // namespace WebCore 101 } // namespace WebCore
100 102
103 #endif // ENABLE(LEGACY_NOTIFICATIONS)
104
101 #endif // NotificationCenter_h 105 #endif // NotificationCenter_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/notifications/NotificationCenter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698