diff options
author | benhansen <benhansen@google.com> | 2015-12-18 11:26:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 19:28:21 +0000 |
commit | 97f351d4cd4c16638fcaebc791d883dddb4fb848 (patch) | |
tree | d0dbd09b5c8abd4a09d39ef78ceef7bc1a57f88b /components/arc/arc_bridge_service_impl.h | |
parent | d5ced07756084491d67575fabf0e2a6c88266586 (diff) | |
download | chromium_src-97f351d4cd4c16638fcaebc791d883dddb4fb848.zip chromium_src-97f351d4cd4c16638fcaebc791d883dddb4fb848.tar.gz chromium_src-97f351d4cd4c16638fcaebc791d883dddb4fb848.tar.bz2 |
arc: Add settings bridge
Synchronize font and spoken feedback enabled settings from Chrome to
Android on Android start and keep settings in sync by listening for
Chrome preference changes.
Related changes:
* ag/822770
* ag/822726
BUG=561003
TEST=./unit_tests --gtest_filter='Arc*'
TEST=Build both sides. Change font size in chrome://settings or enable
spoken feedback (Ctrl+Alt+Z). Observe change in Android.
Review URL: https://codereview.chromium.org/1539633002
Cr-Commit-Position: refs/heads/master@{#366145}
Diffstat (limited to 'components/arc/arc_bridge_service_impl.h')
-rw-r--r-- | components/arc/arc_bridge_service_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/arc/arc_bridge_service_impl.h b/components/arc/arc_bridge_service_impl.h index 8c744e1..969e0cb 100644 --- a/components/arc/arc_bridge_service_impl.h +++ b/components/arc/arc_bridge_service_impl.h @@ -40,6 +40,11 @@ class ArcBridgeServiceImpl : public ArcBridgeService, const std::string& device_type, base::ScopedFD fd) override; + bool SendBroadcast(const std::string& action, + const std::string& package, + const std::string& clazz, + const base::DictionaryValue& extras) override; + bool SendNotificationEventToAndroid(const std::string& key, ArcNotificationEvent event) override; |