Chromium Code Reviews| Index: chromeos/printing/ppd_cache.cc |
| diff --git a/chromeos/printing/ppd_cache.cc b/chromeos/printing/ppd_cache.cc |
| index 918b0e84cf9426a14b1565dab0dc7520354cf35a..25d08104a7f32fbc6e8cdceedd2918095902ca44 100644 |
| --- a/chromeos/printing/ppd_cache.cc |
| +++ b/chromeos/printing/ppd_cache.cc |
| @@ -116,6 +116,11 @@ void StoreImpl(const base::FilePath& cache_dir, |
| } |
| } |
| +// Implementation of the PpdCache that uses two separate task runners for Store |
| +// and Fetch since the two operations have different priorities. It is okay |
| +// that Store and Fetch are not synchronized because we assume that we won't |
| +// overwrite a file that we're trying to read simultaneously. If this |
| +// assumption is invalidated, the sequencing will require revisiting. |
|
Carlson
2017/06/29 18:47:09
The more I think about it, the more I'm convinced
skau
2017/06/30 20:55:49
Okay. It's updated. Really, what we're saying is
|
| class PpdCacheImpl : public PpdCache { |
| public: |
| explicit PpdCacheImpl(const base::FilePath& cache_base_dir) |