Index: athena/system/orientation_controller.h |
diff --git a/athena/system/orientation_controller.h b/athena/system/orientation_controller.h |
index 3a92913e631f7bc11cf29742fcea231157a3e52d..500f46d8537ad94befe7fcb65331fdc80ac67a79 100644 |
--- a/athena/system/orientation_controller.h |
+++ b/athena/system/orientation_controller.h |
@@ -28,19 +28,22 @@ class OrientationController |
public: |
OrientationController(); |
- void InitWith(scoped_refptr<base::TaskRunner> io_task_runner); |
+ void InitWith(scoped_refptr<base::TaskRunner> file_task_runner); |
+ |
+ // Stop watching the socket path. |
+ void StopWatchingSocketPath(); |
private: |
friend class base::RefCountedThreadSafe<OrientationController>; |
virtual ~OrientationController(); |
- // Watch for the socket path to be created, called on the IO thread. |
- void WatchForSocketPathOnIO(); |
- void OnFilePathChangedOnIO(const base::FilePath& path, bool error); |
+ // Watch for the socket path to be created, called on the FILE thread. |
+ void WatchForSocketPathOnFILE(); |
+ void OnFilePathChangedOnFILE(const base::FilePath& path, bool error); |
// Overridden from device::DeviceSocketListener: |
- virtual void OnDataAvailableOnIO(const void* data) OVERRIDE; |
+ virtual void OnDataAvailableOnFILE(const void* data) OVERRIDE; |
// Rotates the display to |rotation|, called on the UI thread. |
void RotateOnUI(gfx::Display::Rotation rotation); |