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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (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 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 NotificationResourcesLoader_h 5 #ifndef NotificationResourcesLoader_h
6 #define NotificationResourcesLoader_h 6 #define NotificationResourcesLoader_h
7 7
8 #include <memory>
8 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
9 #include "modules/notifications/NotificationImageLoader.h" 10 #include "modules/notifications/NotificationImageLoader.h"
10 #include "platform/heap/GarbageCollected.h" 11 #include "platform/heap/GarbageCollected.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "platform/heap/HeapAllocator.h" 13 #include "platform/heap/HeapAllocator.h"
13 #include "platform/heap/ThreadState.h" 14 #include "platform/heap/ThreadState.h"
14 #include "third_party/skia/include/core/SkBitmap.h" 15 #include "third_party/skia/include/core/SkBitmap.h"
15 #include "wtf/Functional.h" 16 #include "wtf/Functional.h"
16 #include "wtf/Vector.h" 17 #include "wtf/Vector.h"
17 #include <memory>
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class ExecutionContext; 21 class ExecutionContext;
22 struct WebNotificationData; 22 struct WebNotificationData;
23 struct WebNotificationResources; 23 struct WebNotificationResources;
24 24
25 // Fetches the resources specified in a given WebNotificationData. Uses a 25 // Fetches the resources specified in a given WebNotificationData. Uses a
26 // callback to notify the caller when all fetches have finished. 26 // callback to notify the caller when all fetches have finished.
27 class MODULES_EXPORT NotificationResourcesLoader final 27 class MODULES_EXPORT NotificationResourcesLoader final
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 HeapVector<Member<NotificationImageLoader>> m_imageLoaders; 74 HeapVector<Member<NotificationImageLoader>> m_imageLoaders;
75 SkBitmap m_image; 75 SkBitmap m_image;
76 SkBitmap m_icon; 76 SkBitmap m_icon;
77 SkBitmap m_badge; 77 SkBitmap m_badge;
78 Vector<SkBitmap> m_actionIcons; 78 Vector<SkBitmap> m_actionIcons;
79 }; 79 };
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif // NotificationResourcesLoader_h 83 #endif // NotificationResourcesLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698