diff options
author | timvolodine <timvolodine@chromium.org> | 2016-03-24 12:51:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-24 19:53:31 +0000 |
commit | 81b94784b431b36441e4b34fe3fc429db5be5e7a (patch) | |
tree | 8ee1587c984cfe1cc4f85a50892116463a0ae138 /content/content_browser.gypi | |
parent | 4a7dfade000b7e4722a0f6b5b5307d0d5d3564a1 (diff) | |
download | chromium_src-81b94784b431b36441e4b34fe3fc429db5be5e7a.zip chromium_src-81b94784b431b36441e4b34fe3fc429db5be5e7a.tar.gz chromium_src-81b94784b431b36441e4b34fe3fc429db5be5e7a.tar.bz2 |
Refactor common code in browser/device_sensors message filters.
Introduce a base class device_sensor_message_filter.{h,cc} and make the
other sensor-related message filters derive from it. This removes
duplicate code and saves a few lines and bytes.
BUG=
TBR=avi@chromium.org
Review URL: https://codereview.chromium.org/1813223002
Cr-Commit-Position: refs/heads/master@{#383125}
Diffstat (limited to 'content/content_browser.gypi')
-rw-r--r-- | content/content_browser.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content_browser.gypi b/content/content_browser.gypi index bc66319..b359e05a8 100644 --- a/content/content_browser.gypi +++ b/content/content_browser.gypi @@ -568,6 +568,8 @@ 'browser/device_sensors/device_orientation_absolute_message_filter.h', 'browser/device_sensors/device_orientation_message_filter.cc', 'browser/device_sensors/device_orientation_message_filter.h', + 'browser/device_sensors/device_sensor_message_filter.cc', + 'browser/device_sensors/device_sensor_message_filter.h', 'browser/device_sensors/device_sensors_consts.h', 'browser/device_sensors/sensor_manager_android.cc', 'browser/device_sensors/sensor_manager_android.h', |