| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <utility> | 12 #include <utility> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "chrome/common/features.h" | 20 #include "chrome/common/features.h" |
| 21 #include "components/keyed_service/core/keyed_service.h" | 21 #include "components/keyed_service/core/keyed_service.h" |
| 22 #include "content/public/browser/notification_observer.h" | 22 #include "content/public/browser/notification_observer.h" |
| 23 #include "content/public/browser/notification_registrar.h" | 23 #include "content/public/browser/notification_registrar.h" |
| 24 #include "extensions/features/features.h" | 24 #include "extensions/features/features.h" |
| 25 #include "ui/base/theme_provider.h" | 25 #include "ui/base/theme_provider.h" |
| 26 | 26 |
| 27 class CustomThemeSupplier; | 27 class CustomThemeSupplier; |
| 28 class BrowserThemePack; | |
| 29 class ThemeSyncableService; | 28 class ThemeSyncableService; |
| 30 class Profile; | 29 class Profile; |
| 31 | 30 |
| 32 namespace base { | 31 namespace base { |
| 33 class FilePath; | 32 class FilePath; |
| 34 } | 33 } |
| 35 | 34 |
| 36 namespace color_utils { | 35 namespace color_utils { |
| 37 struct HSL; | 36 struct HSL; |
| 38 } | 37 } |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 | 327 |
| 329 BrowserThemeProvider original_theme_provider_; | 328 BrowserThemeProvider original_theme_provider_; |
| 330 BrowserThemeProvider incognito_theme_provider_; | 329 BrowserThemeProvider incognito_theme_provider_; |
| 331 | 330 |
| 332 base::WeakPtrFactory<ThemeService> weak_ptr_factory_; | 331 base::WeakPtrFactory<ThemeService> weak_ptr_factory_; |
| 333 | 332 |
| 334 DISALLOW_COPY_AND_ASSIGN(ThemeService); | 333 DISALLOW_COPY_AND_ASSIGN(ThemeService); |
| 335 }; | 334 }; |
| 336 | 335 |
| 337 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 336 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| OLD | NEW |