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

Side by Side Diff: content/child/fileapi/file_system_dispatcher.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
6 #define CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_ 6 #define CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const base::File::Info& file_info); 140 const base::File::Info& file_info);
141 void OnDidCreateSnapshotFile(int request_id, 141 void OnDidCreateSnapshotFile(int request_id,
142 const base::File::Info& file_info, 142 const base::File::Info& file_info,
143 const base::FilePath& platform_path); 143 const base::FilePath& platform_path);
144 void OnDidReadDirectory(int request_id, 144 void OnDidReadDirectory(int request_id,
145 const std::vector<storage::DirectoryEntry>& entries, 145 const std::vector<storage::DirectoryEntry>& entries,
146 bool has_more); 146 bool has_more);
147 void OnDidFail(int request_id, base::File::Error error_code); 147 void OnDidFail(int request_id, base::File::Error error_code);
148 void OnDidWrite(int request_id, int64_t bytes, bool complete); 148 void OnDidWrite(int request_id, int64_t bytes, bool complete);
149 149
150 IDMap<CallbackDispatcher, IDMapOwnPointer> dispatchers_; 150 IDMap<std::unique_ptr<CallbackDispatcher>> dispatchers_;
151 151
152 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcher); 152 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcher);
153 }; 153 };
154 154
155 } // namespace content 155 } // namespace content
156 156
157 #endif // CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_ 157 #endif // CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/appcache/web_application_cache_host_impl.cc ('k') | content/child/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698