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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 NotificationImageLoader_h 5 #ifndef NotificationImageLoader_h
6 #define NotificationImageLoader_h 6 #define NotificationImageLoader_h
7 7
8 #include <memory>
8 #include "core/loader/ThreadableLoader.h" 9 #include "core/loader/ThreadableLoader.h"
9 #include "core/loader/ThreadableLoaderClient.h" 10 #include "core/loader/ThreadableLoaderClient.h"
10 #include "modules/ModulesExport.h" 11 #include "modules/ModulesExport.h"
11 #include "platform/SharedBuffer.h" 12 #include "platform/SharedBuffer.h"
12 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 #include "platform/wtf/Functional.h"
15 #include "platform/wtf/RefPtr.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "wtf/Functional.h"
15 #include "wtf/RefPtr.h"
16 #include <memory>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class ExecutionContext; 20 class ExecutionContext;
21 class KURL; 21 class KURL;
22 class ResourceError; 22 class ResourceError;
23 23
24 // Asynchronously downloads an image when given a url, decodes the loaded data, 24 // Asynchronously downloads an image when given a url, decodes the loaded data,
25 // and passes the bitmap to the given callback. 25 // and passes the bitmap to the given callback.
26 class MODULES_EXPORT NotificationImageLoader final 26 class MODULES_EXPORT NotificationImageLoader final
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 bool stopped_; 66 bool stopped_;
67 double start_time_; 67 double start_time_;
68 RefPtr<SharedBuffer> data_; 68 RefPtr<SharedBuffer> data_;
69 std::unique_ptr<ImageCallback> image_callback_; 69 std::unique_ptr<ImageCallback> image_callback_;
70 Member<ThreadableLoader> threadable_loader_; 70 Member<ThreadableLoader> threadable_loader_;
71 }; 71 };
72 72
73 } // namespace blink 73 } // namespace blink
74 74
75 #endif // NotificationImageLoader_h 75 #endif // NotificationImageLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698