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

Side by Side Diff: third_party/WebKit/Source/modules/quota/StorageErrorCallback.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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef StorageErrorCallback_h 31 #ifndef StorageErrorCallback_h
32 #define StorageErrorCallback_h 32 #define StorageErrorCallback_h
33 33
34 #include "core/dom/ExceptionCode.h" 34 #include "core/dom/ExceptionCode.h"
35 #include "modules/ModulesExport.h" 35 #include "modules/ModulesExport.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "wtf/Forward.h" 37 #include "platform/wtf/Forward.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class DOMError; 41 class DOMError;
42 42
43 class StorageErrorCallback 43 class StorageErrorCallback
44 : public GarbageCollectedFinalized<StorageErrorCallback> { 44 : public GarbageCollectedFinalized<StorageErrorCallback> {
45 public: 45 public:
46 virtual ~StorageErrorCallback() {} 46 virtual ~StorageErrorCallback() {}
47 DEFINE_INLINE_VIRTUAL_TRACE() {} 47 DEFINE_INLINE_VIRTUAL_TRACE() {}
48 virtual void handleEvent(DOMError*) = 0; 48 virtual void handleEvent(DOMError*) = 0;
49 49
50 MODULES_EXPORT static std::unique_ptr<WTF::Closure> CreateSameThreadTask( 50 MODULES_EXPORT static std::unique_ptr<WTF::Closure> CreateSameThreadTask(
51 StorageErrorCallback*, 51 StorageErrorCallback*,
52 ExceptionCode); 52 ExceptionCode);
53 53
54 private: 54 private:
55 static void Run(StorageErrorCallback*, ExceptionCode); 55 static void Run(StorageErrorCallback*, ExceptionCode);
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // StorageErrorCallback_h 60 #endif // StorageErrorCallback_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698