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

Unified Diff: athena/system/device_socket_listener.h

Issue 490033003: Fixes three crashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add file thread Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/main/athena_main.cc ('k') | athena/system/device_socket_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/system/device_socket_listener.h
diff --git a/athena/system/device_socket_listener.h b/athena/system/device_socket_listener.h
index aa37701e7551260a286587a11d8d966a22fa340c..6bdb649e2c6767f8f4f24a6f98ffbc9ab684872d 100644
--- a/athena/system/device_socket_listener.h
+++ b/athena/system/device_socket_listener.h
@@ -27,10 +27,10 @@ class DeviceSocketListener {
scoped_refptr<base::TaskRunner> io_task_runner);
static void ShutdownSocketManager();
- // This is called on the IO thread when data is available on the socket.
+ // This is called on the FILE thread when data is available on the socket.
// |data| is guaranteed to be of exactly |data_size| length. Note that the
// implementation must not mutate or free the data.
- virtual void OnDataAvailableOnIO(const void* data) = 0;
+ virtual void OnDataAvailableOnFILE(const void* data) = 0;
protected:
void StartListening();
« no previous file with comments | « athena/main/athena_main.cc ('k') | athena/system/device_socket_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698