Chromium Code Reviews| Index: chrome/browser/extensions/external_pref_loader.h |
| diff --git a/chrome/browser/extensions/external_pref_loader.h b/chrome/browser/extensions/external_pref_loader.h |
| index 96e4f5723e365ea3e2640a15c3a63561c37363be..b6ebd77ca947599330bf2c165cf8de305cb0841c 100644 |
| --- a/chrome/browser/extensions/external_pref_loader.h |
| +++ b/chrome/browser/extensions/external_pref_loader.h |
| @@ -27,7 +27,11 @@ class ExternalPrefLoader : public ExternalLoader { |
| // Ensure that only root can force an external install by checking |
| // that all components of the path to external extensions files are |
| // owned by root and not writable by any non-root user. |
| - ENSURE_PATH_CONTROLLED_BY_ADMIN = 1 << 0 |
| + ENSURE_PATH_CONTROLLED_BY_ADMIN = 1 << 0, |
| + |
| + // Delay external preference load. It delays default apps installation |
| + // to don't overload system on first time user login. |
|
asargent_no_longer_on_chrome
2014/10/23 22:34:35
grammar nit: should be "... to not overload the sy
Dmitry Polukhin
2014/10/24 11:40:42
Done.
|
| + DELAY_LOAD = 1 << 1, |
| }; |
| // |base_path_id| is the directory containing the external_extensions.json |