summaryrefslogtreecommitdiffstats
path: root/components/arc/arc_service_manager.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert of Add ArcEnabled policy implementationnya2016-03-231-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Reason for revert: This change broke --disable-arc-opt-in-verification used for autotests. > Add ArcEnabled policy implementation > > Hide "ARC OptIn" control from Chrome:Settings for enterprise users, > map ArcEnabled policy to ArcEnabled pref. > > BUG=582440 > > Review URL: https://codereview.chromium.org/1684063002 > > Cr-Commit-Position: refs/heads/master@{#382266} TBR=pbond@chromium.org,bartfab@chromium.org,jochen@chromium.org,dbeam@chromium.org,tnagel@chromium.org,hidehiko@chromium.org,hashimoto@chromium.org BUG=582440 Review URL: https://codereview.chromium.org/1825143003 Cr-Commit-Position: refs/heads/master@{#382819}
* Add ArcEnabled policy implementationpbond2016-03-211-0/+4
| | | | | | | | | | | Hide "ARC OptIn" control from Chrome:Settings for enterprise users, map ArcEnabled policy to ArcEnabled pref. BUG=582440 Review URL: https://codereview.chromium.org/1684063002 Cr-Commit-Position: refs/heads/master@{#382266}
* arc-bridge: Introduce the ArcService classlhchavez2016-01-211-24/+8
| | | | | | | | | | | | | | Several services managed by ARC were introducing empty, opaque classes just to be able to be constructed outside of components/. This was becoming ugly, so introduce just one interface that all services must implement and whose lifecycle will be managed by ArcServiceManager. BUG=None TEST=trybots Review URL: https://codereview.chromium.org/1596663002 Cr-Commit-Position: refs/heads/master@{#370825}
* Host-side implementation of ARC Intent handleryusukes2016-01-201-0/+3
| | | | | | | | | | | | | | | | The new interface, OnOpenUrl(), is implemented in arc_intent_helper_bridge_impl.cc. ARC-side CLs for the interfacve are ag/845051/ and ag/845044/. BUG=577929 TEST=http, https, and mailto URLs are passed from ARC Committed: https://crrev.com/379e0814ff680203c0b4d88cc77d339f0d03f70f Cr-Commit-Position: refs/heads/master@{#370240} Review URL: https://codereview.chromium.org/1590723003 Cr-Commit-Position: refs/heads/master@{#370487}
* Revert of Host-side implementation of ARC Intent handler (patchset #5 ↵raymes2016-01-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:80001 of https://codereview.chromium.org/1590723003/ ) Reason for revert: This may have broken the ChromeOS trybots: https://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/81609/steps/compile%20%28with%20patch%29/logs/stdio ../../chrome/browser/chromeos/arc/arc_intent_helper_bridge_impl.cc: In member function 'virtual void arc::ArcIntentHelperBridgeImpl::OnOpenUrl(const mojo::String&)': ../../chrome/browser/chromeos/arc/arc_intent_helper_bridge_impl.cc:39:16: error: no matching function for call to 'GURL::GURL(const mojo::String&)' GURL gurl(url); Original issue's description: > Host-side implementation of ARC Intent handler > > The new interface, OnOpenUrl(), is implemented in > arc_intent_helper_bridge_impl.cc. ARC-side CLs for > the interfacve are ag/845051/ and ag/845044/. > > BUG=577929 > TEST=http, https, and mailto URLs are passed from ARC > > Committed: https://crrev.com/379e0814ff680203c0b4d88cc77d339f0d03f70f > Cr-Commit-Position: refs/heads/master@{#370240} TBR=dcheng@chromium.org,hidehiko@chromium.org,lhchavez@chromium.org,xiyuan@chromium.org,yusukes@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=577929 Review URL: https://codereview.chromium.org/1607603005 Cr-Commit-Position: refs/heads/master@{#370289}
* Host-side implementation of ARC Intent handleryusukes2016-01-201-0/+3
| | | | | | | | | | | | | The new interface, OnOpenUrl(), is implemented in arc_intent_helper_bridge_impl.cc. ARC-side CLs for the interfacve are ag/845051/ and ag/845044/. BUG=577929 TEST=http, https, and mailto URLs are passed from ARC Review URL: https://codereview.chromium.org/1590723003 Cr-Commit-Position: refs/heads/master@{#370240}
* Host-side implementation of ARC IME.kinaba2016-01-151-0/+2
| | | | | | | | | | | | | | | | | | | Changes directly below components/arc/ are for adding mojo IPC definitions and for boilerplate set-up code for the IPC handling. components/arc/ime/arc_ime_ipc_host* concentrates in converting the Chrome's IME framework interface to the defined IPC, so that the upper layer code becomes independent from Mojo details. components/arc/ime/arc_ime_bridge* implements ui::TextInputClient for ARC windows. All it does is to manage focused ARC window and to forward all IME related things to the arc_ime_ipc_host. BUG=574311 Review URL: https://codereview.chromium.org/1557943003 Cr-Commit-Position: refs/heads/master@{#369695}
* Add ArcNotificationManager for new ARC notificationyoshiki2016-01-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | This change comes along with: - http://crrev.com/1475583002 (ArcBridge part) - http://crrev.com/1477733002 (UI part, this patch) - http://ag/824594 - http://ag/824724 - http://ag/818913 These patch adds minimal support of new ARC notification: - Showing notifications - Closing ARC notifications from either side This chromium-side change should do nothing until the android side change is landed. BUG=560682 Review URL: https://codereview.chromium.org/1477733002 Cr-Commit-Position: refs/heads/master@{#368924}
* Implement GpuArcVideoService for arc video acceleratorkcwu2016-01-121-2/+5
| | | | | | | | | | | GpuArcVideoService creates new channel and dispatch IPC to ArcVideoAccelerator. BUG=b/25057601 Review URL: https://codereview.chromium.org/1451353002 Cr-Commit-Position: refs/heads/master@{#368797}
* Minimum implementation of ARC Clipboard Bridge.cnwan2016-01-111-0/+2
| | | | | | | | | | | | | | All change sets include: - http://crrev.com/1495723004 (Chromium) - http://ag/833451 (Android device/google/cheets) - http://ag/833422 (Android platform/frameworks/base) BUG=565283 TEST=Build both sides. Ctrl-C/Ctrl-V from either side reflect to the other. Review URL: https://codereview.chromium.org/1495723004 Cr-Commit-Position: refs/heads/master@{#368547}
* Add ArcAuthService to handle IPC request from ARCvictorhsieh2016-01-071-1/+6
| | | | | | | | | | | | | This change currently returns a dummy string to ARC. Corresponding changes: ag/839326, ag/839593 R=lhchavez, dcheng, achuith BUG=crbug.com/571146 Review URL: https://codereview.chromium.org/1553613002 Cr-Commit-Position: refs/heads/master@{#368092}
* power, arc: add ArcPowerBridgeejcaruso2015-12-221-0/+2
| | | | | | | | | | | | | | | | Using new functionality in PowerPolicyController, we can take Chrome wake locks instead of powerd wake locks, so we don't need to route requests through PowerManagerClient or use dbus. ArcPowerBridge keeps track of the Chrome wake locks that ARC has taken, and releases them when the instance stops to prevent wake lock leaks. BUG=b:24671115 TEST=run apps that use wake locks, check logs for policy changes Review URL: https://codereview.chromium.org/1488343002 Cr-Commit-Position: refs/heads/master@{#366657}
* arc: Add settings bridgebenhansen2015-12-181-1/+3
| | | | | | | | | | | | | | | | | | | 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}
* This CL adds the ArcInputBridge which hooks intodenniskempin2015-12-091-0/+2
| | | | | | | | | | | | | aura::Windows that are running ARC applications to translate and transmit their ui::Events to the ARC instance. BUG=chromium:558499 TEST=Mouse, Touch and Keyboard events should be properly working on an ARC application window. Review URL: https://codereview.chromium.org/1408263006 Cr-Commit-Position: refs/heads/master@{#363941}
* arc-bridge: Migrate to Mojolhchavez2015-12-071-12/+3
| | | | | | | | | | | | | | | | | | This change is a refactoring to use mojo as an IPC mechanism instead of Chrome IPC. The connection will bootstrap using a UNIX socket in the filesystem. This also refactors the state machine used to establish the connection since it is now much more complicated and was going to make testing more difficult. BUG=559517 TEST=components_unittests TEST=ARC still boots Review URL: https://codereview.chromium.org/1466553004 Cr-Commit-Position: refs/heads/master@{#363610}
* arc: Add ArcServiceManager to own all future ARC servicesdenniskempin2015-12-071-0/+49
Currently the ArcBridgeService is the only ARC related service, but we have more services coming. To initialize those services along with the ArcBridgeService, this CL adds an ArcServiceManager which owns, initializes and destroys them. This way we will not have to litter ChromeBrowserMainPartsChromeos with multiple ARC services. BUG=chromium:558499 TEST=This is a refactoring, check that the ArcBridgeService is still operating as expected. Review URL: https://codereview.chromium.org/1496193002 Cr-Commit-Position: refs/heads/master@{#363522}