| Index: chrome/browser/themes/theme_service.h
|
| diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h
|
| index 37e951f51431f3db95dce34dc73919cbc1fe8573..9038446ac6a5965b9364afdc7bedbc05af890714 100644
|
| --- a/chrome/browser/themes/theme_service.h
|
| +++ b/chrome/browser/themes/theme_service.h
|
| @@ -185,6 +185,11 @@ class ThemeService : public base::NonThreadSafe,
|
| return theme_supplier_.get();
|
| }
|
|
|
| + // True if the theme service is ready to be used.
|
| + // TODO(pkotwicz): Add DCHECKS to the theme service's getters once
|
| + // ThemeSource no longer uses the ThemeService when it is not ready.
|
| + bool ready_;
|
| +
|
| private:
|
| friend class theme_service_internal::ThemeServiceTest;
|
|
|
| @@ -239,11 +244,6 @@ class ThemeService : public base::NonThreadSafe,
|
| ui::ResourceBundle& rb_;
|
| Profile* profile_;
|
|
|
| - // True if the theme service is ready to be used.
|
| - // TODO(pkotwicz): Add DCHECKS to the theme service's getters once
|
| - // ThemeSource no longer uses the ThemeService when it is not ready.
|
| - bool ready_;
|
| -
|
| scoped_refptr<CustomThemeSupplier> theme_supplier_;
|
|
|
| // The id of the theme extension which has just been installed but has not
|
|
|