Index: services/catalog/reader.cc |
diff --git a/services/catalog/reader.cc b/services/catalog/reader.cc |
index 0253bfb756045327a5d99148ff56a15bddd2e999..ad8dd74887387b0bbb87b7287489088a42323048 100644 |
--- a/services/catalog/reader.cc |
+++ b/services/catalog/reader.cc |
@@ -107,8 +107,10 @@ void ScanDir( |
// build (e.g. for applications that are packaged into others) and are not |
// valid standalone packages. |
base::FilePath package_path = GetPackagePath(package_dir, entry->name()); |
- if (!base::PathExists(package_path)) |
+ if (entry->name() != "mojo:shell" && entry->name() != "mojo:catalog" && |
+ !base::PathExists(package_path)) { |
continue; |
+ } |
original_thread_task_runner->PostTask( |
FROM_HERE, |