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

Side by Side Diff: device/media_transfer_protocol/media_transfer_protocol_manager.h

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 // 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 DEVICE_MEDIA_TRANSFER_PROTOCOL_MEDIA_TRANSFER_PROTOCOL_MANAGER_H_ 5 #ifndef DEVICE_MEDIA_TRANSFER_PROTOCOL_MEDIA_TRANSFER_PROTOCOL_MANAGER_H_
6 #define DEVICE_MEDIA_TRANSFER_PROTOCOL_MEDIA_TRANSFER_PROTOCOL_MANAGER_H_ 6 #define DEVICE_MEDIA_TRANSFER_PROTOCOL_MEDIA_TRANSFER_PROTOCOL_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 // Deletes |object_id|. 170 // Deletes |object_id|.
171 virtual void DeleteObject(const std::string& storage_handle, 171 virtual void DeleteObject(const std::string& storage_handle,
172 const uint32_t object_id, 172 const uint32_t object_id,
173 const DeleteObjectCallback& callback) = 0; 173 const DeleteObjectCallback& callback) = 0;
174 174
175 // Creates and returns the global MediaTransferProtocolManager instance. 175 // Creates and returns the global MediaTransferProtocolManager instance.
176 // On Linux, |task_runner| specifies the task runner to process asynchronous 176 // On Linux, |task_runner| specifies the task runner to process asynchronous
177 // operations. 177 // operations.
178 // On ChromeOS, |task_runner| should just be set to NULL because ChromeOS 178 // On ChromeOS, |task_runner| should just be set to NULL because ChromeOS
179 // already has a dedicated message loop proxy. 179 // already has a dedicated task runner.
180 static MediaTransferProtocolManager* Initialize( 180 static MediaTransferProtocolManager* Initialize(
181 scoped_refptr<base::SequencedTaskRunner> task_runner); 181 scoped_refptr<base::SequencedTaskRunner> task_runner);
182 }; 182 };
183 183
184 } // namespace device 184 } // namespace device
185 185
186 #endif // DEVICE_MEDIA_TRANSFER_PROTOCOL_MEDIA_TRANSFER_PROTOCOL_MANAGER_H_ 186 #endif // DEVICE_MEDIA_TRANSFER_PROTOCOL_MEDIA_TRANSFER_PROTOCOL_MANAGER_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_url_request_context_getter.cc ('k') | extensions/browser/api/api_resource_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698