| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_APPCACHE_CHROME_APPCACHE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ | 6 #define CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
| 10 #include "chrome/browser/browser_thread.h" | 10 #include "chrome/browser/browser_thread.h" |
| 11 #include "chrome/browser/host_content_settings_map.h" | 11 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 12 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 13 #include "webkit/appcache/appcache_policy.h" | 13 #include "webkit/appcache/appcache_policy.h" |
| 14 #include "webkit/appcache/appcache_service.h" | 14 #include "webkit/appcache/appcache_service.h" |
| 15 | 15 |
| 16 class ChromeURLRequestContext; | 16 class ChromeURLRequestContext; |
| 17 class FilePath; | 17 class FilePath; |
| 18 | 18 |
| 19 // An AppCacheService subclass used by the chrome. There is an instance | 19 // An AppCacheService subclass used by the chrome. There is an instance |
| 20 // associated with each Profile. This derivation adds refcounting semantics | 20 // associated with each Profile. This derivation adds refcounting semantics |
| 21 // since a profile has multiple URLRequestContexts which refer to the same | 21 // since a profile has multiple URLRequestContexts which refer to the same |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // NotificationObserver override | 58 // NotificationObserver override |
| 59 virtual void Observe(NotificationType type, | 59 virtual void Observe(NotificationType type, |
| 60 const NotificationSource& source, | 60 const NotificationSource& source, |
| 61 const NotificationDetails& details); | 61 const NotificationDetails& details); |
| 62 | 62 |
| 63 scoped_refptr<HostContentSettingsMap> host_contents_settings_map_; | 63 scoped_refptr<HostContentSettingsMap> host_contents_settings_map_; |
| 64 NotificationRegistrar registrar_; | 64 NotificationRegistrar registrar_; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 #endif // CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ | 67 #endif // CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ |
| OLD | NEW |