| 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 CONTENT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ |
| 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ | 6 #define CONTENT_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 "content/browser/appcache/appcache_host.h" |
| 10 #include "webkit/browser/webkit_storage_browser_export.h" | 10 #include "content/common/content_export.h" |
| 11 | 11 |
| 12 namespace appcache { | 12 namespace content { |
| 13 | 13 |
| 14 class AppCacheServiceImpl; | 14 class AppCacheServiceImpl; |
| 15 | 15 |
| 16 class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheBackendImpl { | 16 class CONTENT_EXPORT AppCacheBackendImpl { |
| 17 public: | 17 public: |
| 18 AppCacheBackendImpl(); | 18 AppCacheBackendImpl(); |
| 19 ~AppCacheBackendImpl(); | 19 ~AppCacheBackendImpl(); |
| 20 | 20 |
| 21 void Initialize(AppCacheServiceImpl* service, | 21 void Initialize(AppCacheServiceImpl* 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 private: | 66 private: |
| 67 AppCacheServiceImpl* service_; | 67 AppCacheServiceImpl* service_; |
| 68 AppCacheFrontend* frontend_; | 68 AppCacheFrontend* frontend_; |
| 69 int process_id_; | 69 int process_id_; |
| 70 HostMap hosts_; | 70 HostMap hosts_; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace | 73 } // namespace |
| 74 | 74 |
| 75 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ | 75 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_BACKEND_IMPL_H_ |
| OLD | NEW |