@@ -46,7 +46,6 @@ namespace {
4646const FilePath::CharType kBlobStorageParentDirectory [] =
4747 FILE_PATH_LITERAL (" blob_storage" );
4848
49- #if !BUILDFLAG(ENABLE_COBALT_HERMETIC_HACKS)
5049// Removes all folders in the parent directory except for the
5150// |current_run_dir| folder. If this path is empty, then we delete all folders.
5251void RemoveOldBlobStorageDirectories (FilePath blob_storage_parent,
@@ -63,7 +62,6 @@ void RemoveOldBlobStorageDirectories(FilePath blob_storage_parent,
6362 base::DeletePathRecursively (name);
6463 }
6564}
66- #endif
6765
6866class BlobHandleImpl : public BlobHandle {
6967 public:
@@ -125,8 +123,6 @@ ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor(
125123 // paging/saving blob data to disk.
126124 scoped_refptr<base::TaskRunner> file_task_runner;
127125
128- // TODO, Cobalt: This causes a runtime crash for Evergreen builds.
129- #if !BUILDFLAG(ENABLE_COBALT_HERMETIC_HACKS)
130126 // If we're not incognito mode, schedule all of our file tasks to enable
131127 // disk on the storage context.
132128 if (!context->IsOffTheRecord () && io_thread_valid) {
@@ -139,7 +135,6 @@ ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor(
139135 base::BindOnce (&RemoveOldBlobStorageDirectories,
140136 std::move (blob_storage_parent), blob_storage_dir));
141137 }
142- #endif
143138
144139 if (io_thread_valid) {
145140 GetIOThreadTaskRunner ({})->PostTask (
0 commit comments