| 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.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 "components/keyed_service/core/keyed_service.h" | 20 #include "components/keyed_service/core/keyed_service.h" |
| 20 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
| 21 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.h" |
| 22 #include "ui/base/theme_provider.h" | 23 #include "ui/base/theme_provider.h" |
| 23 | 24 |
| 24 class CustomThemeSupplier; | 25 class CustomThemeSupplier; |
| 25 class BrowserThemePack; | 26 class BrowserThemePack; |
| 26 class ThemeSyncableService; | 27 class ThemeSyncableService; |
| 27 class Profile; | 28 class Profile; |
| 28 | 29 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 299 |
| 299 BrowserThemeProvider original_theme_provider_; | 300 BrowserThemeProvider original_theme_provider_; |
| 300 BrowserThemeProvider otr_theme_provider_; | 301 BrowserThemeProvider otr_theme_provider_; |
| 301 | 302 |
| 302 base::WeakPtrFactory<ThemeService> weak_ptr_factory_; | 303 base::WeakPtrFactory<ThemeService> weak_ptr_factory_; |
| 303 | 304 |
| 304 DISALLOW_COPY_AND_ASSIGN(ThemeService); | 305 DISALLOW_COPY_AND_ASSIGN(ThemeService); |
| 305 }; | 306 }; |
| 306 | 307 |
| 307 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 308 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| OLD | NEW |