Index: chrome/browser/ui/ash/ash_init.cc |
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc |
index 78e617b9c0ad23c98f3f79c145c76260ff6e4473..5136feeaa59c45e421892afabc7a590327975e0f 100644 |
--- a/chrome/browser/ui/ash/ash_init.cc |
+++ b/chrome/browser/ui/ash/ash_init.cc |
@@ -105,4 +105,10 @@ void CloseAsh() { |
ash::Shell::DeleteInstance(); |
} |
+#if defined(OS_WIN) |
+bool IsAshProcess() { |
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kViewerConnect); |
+} |
+#endif |
+ |
} // namespace chrome |