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

Side by Side Diff: third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h

Issue 2110363002: Rename SameThreadClosure to Closure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_ExplicitWTFBind
Patch Set: Add WTF:: to Closure Created 4 years, 5 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 Supplement<LocalFrame>::trace(visitor); 70 Supplement<LocalFrame>::trace(visitor);
71 Supplement<WorkerClients>::trace(visitor); 71 Supplement<WorkerClients>::trace(visitor);
72 } 72 }
73 73
74 private: 74 private:
75 explicit LocalFileSystem(std::unique_ptr<FileSystemClient>); 75 explicit LocalFileSystem(std::unique_ptr<FileSystemClient>);
76 76
77 WebFileSystem* getFileSystem() const; 77 WebFileSystem* getFileSystem() const;
78 void fileSystemNotAvailable(ExecutionContext*, CallbackWrapper*); 78 void fileSystemNotAvailable(ExecutionContext*, CallbackWrapper*);
79 79
80 void requestFileSystemAccessInternal(ExecutionContext*, std::unique_ptr<Same ThreadClosure> allowed, std::unique_ptr<SameThreadClosure> denied); 80 void requestFileSystemAccessInternal(ExecutionContext*, std::unique_ptr<WTF: :Closure> allowed, std::unique_ptr<WTF::Closure> denied);
81 void fileSystemNotAllowedInternal(ExecutionContext*, CallbackWrapper*); 81 void fileSystemNotAllowedInternal(ExecutionContext*, CallbackWrapper*);
82 void fileSystemAllowedInternal(ExecutionContext*, FileSystemType, CallbackWr apper*); 82 void fileSystemAllowedInternal(ExecutionContext*, FileSystemType, CallbackWr apper*);
83 void resolveURLInternal(ExecutionContext*, const KURL&, CallbackWrapper*); 83 void resolveURLInternal(ExecutionContext*, const KURL&, CallbackWrapper*);
84 void deleteFileSystemInternal(ExecutionContext*, FileSystemType, CallbackWra pper*); 84 void deleteFileSystemInternal(ExecutionContext*, FileSystemType, CallbackWra pper*);
85 85
86 std::unique_ptr<FileSystemClient> m_client; 86 std::unique_ptr<FileSystemClient> m_client;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // LocalFileSystem_h 91 #endif // LocalFileSystem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698