Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: components/arc/arc_bridge_service.cc

Issue 2272813003: Add ARC++ specific fields to launch data for specific apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chrome build fix. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/arc_bridge_service.h ('k') | extensions/browser/api/app_runtime/app_runtime_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_bridge_service.cc
diff --git a/components/arc/arc_bridge_service.cc b/components/arc/arc_bridge_service.cc
index 221bffd8133b2b1e510573ad657342f3dd4f9949..5d942067bd399a3be3ba04e2e8ce5ffbd671bced 100644
--- a/components/arc/arc_bridge_service.cc
+++ b/components/arc/arc_bridge_service.cc
@@ -53,6 +53,11 @@ bool ArcBridgeService::GetEnabled(const base::CommandLine* command_line) {
base::FeatureList::IsEnabled(kArcEnabledFeature));
}
+// static
+bool ArcBridgeService::GetAvailable(const base::CommandLine* command_line) {
+ return command_line->HasSwitch(chromeos::switches::kArcAvailable);
+}
+
void ArcBridgeService::AddObserver(Observer* observer) {
DCHECK(CalledOnValidThread());
observer_list_.AddObserver(observer);
« no previous file with comments | « components/arc/arc_bridge_service.h ('k') | extensions/browser/api/app_runtime/app_runtime_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698