| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ | 5 #ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ |
| 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ | 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "webkit/browser/appcache/appcache_host.h" | 9 #include "webkit/browser/appcache/appcache_host.h" |
| 10 #include "webkit/storage/webkit_storage_export.h" | 10 #include "webkit/browser/webkit_storage_browser_export.h" |
| 11 | 11 |
| 12 namespace appcache { | 12 namespace appcache { |
| 13 | 13 |
| 14 class AppCacheService; | 14 class AppCacheService; |
| 15 | 15 |
| 16 class WEBKIT_STORAGE_EXPORT AppCacheBackendImpl { | 16 class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheBackendImpl { |
| 17 public: | 17 public: |
| 18 AppCacheBackendImpl(); | 18 AppCacheBackendImpl(); |
| 19 ~AppCacheBackendImpl(); | 19 ~AppCacheBackendImpl(); |
| 20 | 20 |
| 21 void Initialize(AppCacheService* service, | 21 void Initialize(AppCacheService* service, |
| 22 AppCacheFrontend* frontend, | 22 AppCacheFrontend* frontend, |
| 23 int process_id); | 23 int process_id); |
| 24 | 24 |
| 25 int process_id() const { return process_id_; } | 25 int process_id() const { return process_id_; } |
| 26 | 26 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 private: | 60 private: |
| 61 AppCacheService* service_; | 61 AppCacheService* service_; |
| 62 AppCacheFrontend* frontend_; | 62 AppCacheFrontend* frontend_; |
| 63 int process_id_; | 63 int process_id_; |
| 64 HostMap hosts_; | 64 HostMap hosts_; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace | 67 } // namespace |
| 68 | 68 |
| 69 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ | 69 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ |
| OLD | NEW |