Index: chromecast/common/cast_paths.cc |
diff --git a/chromecast/common/cast_paths.cc b/chromecast/common/cast_paths.cc |
index b3a77166d96bb6ce5acfa3f41fdecf87ad7f9ecf..46b6c282414ad5dc5baf0708d52c59866589e048 100644 |
--- a/chromecast/common/cast_paths.cc |
+++ b/chromecast/common/cast_paths.cc |
@@ -26,6 +26,17 @@ bool PathProvider(int key, base::FilePath* result) { |
#endif |
return true; |
} |
+ case FILE_CAST_CONFIG: { |
+ base::FilePath data_dir; |
+#if defined(OS_ANDROID) |
+ CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &data_dir); |
+ *result = data_dir.Append(".eureka.conf"); |
lcwu1
2014/08/08 00:22:38
Why not name the config file the same as Chromecas
gunsch
2014/08/08 00:26:36
Whoa, this is backwards. Thanks for catching. It w
|
+#else |
+ CHECK(PathService::Get(DIR_CAST_HOME, &data_dir)); |
+ *result = data_dir.Append("cast_shell.conf"); |
+#endif // defined(OS_ANDROID) |
+ return true; |
+ } |
} |
return false; |
} |