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

Unified Diff: chromecast/common/chromecast_switches.cc

Issue 944733003: Add flag to communicate last casted app to renderer process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Additional comments Created 5 years, 10 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 | « chromecast/common/chromecast_switches.h ('k') | chromecast/renderer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/chromecast_switches.cc
diff --git a/chromecast/common/chromecast_switches.cc b/chromecast/common/chromecast_switches.cc
index cb58d05774a5dfc67dd4abed0e1842a5d7d85e58..aca640d5bc98ac362b9af1873d473886a510c720 100644
--- a/chromecast/common/chromecast_switches.cc
+++ b/chromecast/common/chromecast_switches.cc
@@ -20,4 +20,12 @@ const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url";
// Disable features that require WiFi management.
const char kNoWifi[] = "no-wifi";
+// Pass the app id information to the renderer process, to be used for logging.
+// last-launched-app should be the app that just launched and is spawning the
+// renderer.
+const char kLastLaunchedApp[] = "last-launched-app";
+// previous-app should be the app that was running when last-launched-app
+// started.
+const char kPreviousApp[] = "previous-app";
+
} // namespace switches
« no previous file with comments | « chromecast/common/chromecast_switches.h ('k') | chromecast/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698