| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ | 5 #ifndef WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ |
| 6 #define WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ | 6 #define WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "webkit/api/public/WebApplicationCacheHostClient.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebApplicationCacheHostClien
t.h" |
| 10 #include "webkit/api/public/WebURLResponse.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" |
| 11 #include "webkit/appcache/appcache_interfaces.h" | 11 #include "webkit/appcache/appcache_interfaces.h" |
| 12 | 12 |
| 13 namespace appcache { | 13 namespace appcache { |
| 14 | 14 |
| 15 class WebApplicationCacheHostImpl : public WebKit::WebApplicationCacheHost { | 15 class WebApplicationCacheHostImpl : public WebKit::WebApplicationCacheHost { |
| 16 public: | 16 public: |
| 17 // Returns the host having given id or NULL if there is no such host. | 17 // Returns the host having given id or NULL if there is no such host. |
| 18 static WebApplicationCacheHostImpl* FromId(int id); | 18 static WebApplicationCacheHostImpl* FromId(int id); |
| 19 | 19 |
| 20 WebApplicationCacheHostImpl(WebKit::WebApplicationCacheHostClient* client, | 20 WebApplicationCacheHostImpl(WebKit::WebApplicationCacheHostClient* client, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 WebKit::WebURLResponse document_response_; | 56 WebKit::WebURLResponse document_response_; |
| 57 GURL document_url_; | 57 GURL document_url_; |
| 58 bool is_scheme_supported_; | 58 bool is_scheme_supported_; |
| 59 bool is_get_method_; | 59 bool is_get_method_; |
| 60 IsNewMasterEntry is_new_master_entry_; | 60 IsNewMasterEntry is_new_master_entry_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace | 63 } // namespace |
| 64 | 64 |
| 65 #endif // WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ | 65 #endif // WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ |
| OLD | NEW |