summaryrefslogtreecommitdiffstats
path: root/device/hid/hid_service_linux.h
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2015-01-12 14:05:43 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-12 22:06:35 +0000
commit3497d226e1a9032b511167962cb1b98a1062adaf (patch)
tree8d02b91670d1936dd280edbf89293192dcf93e91 /device/hid/hid_service_linux.h
parentfec4eb7f6153a2075546b5dafc7e8f7d7de983b0 (diff)
downloadchromium_src-3497d226e1a9032b511167962cb1b98a1062adaf.zip
chromium_src-3497d226e1a9032b511167962cb1b98a1062adaf.tar.gz
chromium_src-3497d226e1a9032b511167962cb1b98a1062adaf.tar.bz2
Rename HidServiceLinux and HidConnectionLinux helper classes.
This change documents that these helper classes live on the FILE thread by naming them HidServiceLinux::FileThreadHelper and HidConnectionLinux::FileThreadHelper. BUG= Review URL: https://codereview.chromium.org/851543002 Cr-Commit-Position: refs/heads/master@{#311120}
Diffstat (limited to 'device/hid/hid_service_linux.h')
-rw-r--r--device/hid/hid_service_linux.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/device/hid/hid_service_linux.h b/device/hid/hid_service_linux.h
index fd833b6..3cb75c5 100644
--- a/device/hid/hid_service_linux.h
+++ b/device/hid/hid_service_linux.h
@@ -24,8 +24,7 @@ class HidServiceLinux : public HidService {
private:
struct ConnectParams;
- class Helper;
- friend class Helper;
+ class FileThreadHelper;
~HidServiceLinux() override;
@@ -50,7 +49,7 @@ class HidServiceLinux : public HidService {
// The helper lives on the FILE thread and holds a weak reference back to the
// service that owns it.
- scoped_ptr<Helper> helper_;
+ scoped_ptr<FileThreadHelper> helper_;
base::WeakPtrFactory<HidServiceLinux> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(HidServiceLinux);