Chromium Code Reviews| Index: chrome/browser/predictors/resource_prefetch_predictor_tables.h |
| diff --git a/chrome/browser/predictors/resource_prefetch_predictor_tables.h b/chrome/browser/predictors/resource_prefetch_predictor_tables.h |
| index ff9c5ea220f9be08f63e4a8f7477c862d644b032..3636a4a39f138001c59fffdf6bd4c0c68d9b8de4 100644 |
| --- a/chrome/browser/predictors/resource_prefetch_predictor_tables.h |
| +++ b/chrome/browser/predictors/resource_prefetch_predictor_tables.h |
| @@ -104,6 +104,9 @@ class ResourcePrefetchPredictorTables : public PredictorTableBase { |
| // The maximum length of the string that can be stored in the DB. |
| static constexpr size_t kMaxStringLength = 1024; |
| + // The maximum size in bytes of the manifest that can be stored in the DB. |
| + static constexpr size_t kMaxManifestByteSize = 16384; // 16 KB |
|
Benoit L
2017/03/20 16:51:53
tiny nit: 16 * (1 << 10)?
Then you can drop the co
alexilin
2017/03/21 09:50:34
Done.
|
| + |
| protected: |
| // Protected for testing. Use PredictorDatabase::resource_prefetch_tables() |
| // instead of this constructor. |