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

Side by Side Diff: Source/modules/filesystem/SyncCallbackHelper.h

Issue 1194093002: Remove unused FS callback partial specializations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/modules/filesystem/FileWriter.h ('k') | no next file » | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2013 Samsung Electronics. 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 26 matching lines...) Expand all
37 #include "core/html/VoidCallback.h" 37 #include "core/html/VoidCallback.h"
38 #include "modules/filesystem/DirectoryEntry.h" 38 #include "modules/filesystem/DirectoryEntry.h"
39 #include "modules/filesystem/EntriesCallback.h" 39 #include "modules/filesystem/EntriesCallback.h"
40 #include "modules/filesystem/EntryCallback.h" 40 #include "modules/filesystem/EntryCallback.h"
41 #include "modules/filesystem/EntrySync.h" 41 #include "modules/filesystem/EntrySync.h"
42 #include "modules/filesystem/ErrorCallback.h" 42 #include "modules/filesystem/ErrorCallback.h"
43 #include "modules/filesystem/FileEntry.h" 43 #include "modules/filesystem/FileEntry.h"
44 #include "modules/filesystem/FileSystemCallback.h" 44 #include "modules/filesystem/FileSystemCallback.h"
45 #include "modules/filesystem/MetadataCallback.h" 45 #include "modules/filesystem/MetadataCallback.h"
46 #include "platform/heap/Handle.h" 46 #include "platform/heap/Handle.h"
47 #include "wtf/PassRefPtr.h"
48 47
49 namespace blink { 48 namespace blink {
50 49
51 template <typename ResultType, typename CallbackArg> 50 template <typename ResultType, typename CallbackArg>
52 struct HelperResultType { 51 struct HelperResultType {
53 DISALLOW_ALLOCATION(); 52 DISALLOW_ALLOCATION();
54 public: 53 public:
55 typedef ResultType* ReturnType; 54 typedef ResultType* ReturnType;
56 typedef Member<ResultType> StorageType; 55 typedef Member<ResultType> StorageType;
57 56
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 }; 170 };
172 171
173 typedef SyncCallbackHelper<EntryCallback, Entry*, EntrySync> EntrySyncCallbackHe lper; 172 typedef SyncCallbackHelper<EntryCallback, Entry*, EntrySync> EntrySyncCallbackHe lper;
174 typedef SyncCallbackHelper<MetadataCallback, Metadata*, Metadata> MetadataSyncCa llbackHelper; 173 typedef SyncCallbackHelper<MetadataCallback, Metadata*, Metadata> MetadataSyncCa llbackHelper;
175 typedef SyncCallbackHelper<VoidCallback, EmptyType*, EmptyType> VoidSyncCallback Helper; 174 typedef SyncCallbackHelper<VoidCallback, EmptyType*, EmptyType> VoidSyncCallback Helper;
176 typedef SyncCallbackHelper<FileSystemCallback, DOMFileSystem*, DOMFileSystemSync > FileSystemSyncCallbackHelper; 175 typedef SyncCallbackHelper<FileSystemCallback, DOMFileSystem*, DOMFileSystemSync > FileSystemSyncCallbackHelper;
177 176
178 } // namespace blink 177 } // namespace blink
179 178
180 #endif // SyncCallbackHelper_h 179 #endif // SyncCallbackHelper_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/FileWriter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698