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 #include "webkit/appcache/appcache_interfaces.h" | 5 #include "webkit/appcache/appcache_interfaces.h" |
6 | 6 |
7 #include "googleurl/src/gurl.h" | 7 #include "googleurl/src/gurl.h" |
8 #include "net/url_request/url_request.h" | 8 #include "net/url_request/url_request.h" |
9 #include "webkit/api/public/WebApplicationCacheHost.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebApplicationCacheHost.h" |
10 | 10 |
11 using WebKit::WebApplicationCacheHost; | 11 using WebKit::WebApplicationCacheHost; |
12 | 12 |
13 namespace appcache { | 13 namespace appcache { |
14 | 14 |
15 const char kManifestMimeType[] = "text/cache-manifest"; | 15 const char kManifestMimeType[] = "text/cache-manifest"; |
16 | 16 |
17 const char kHttpScheme[] = "http"; | 17 const char kHttpScheme[] = "http"; |
18 const char kHttpsScheme[] = "https"; | 18 const char kHttpsScheme[] = "https"; |
19 const char kHttpGETMethod[] = "GET"; | 19 const char kHttpGETMethod[] = "GET"; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 COMPILE_ASSERT((int)WebApplicationCacheHost::ProgressEvent == | 61 COMPILE_ASSERT((int)WebApplicationCacheHost::ProgressEvent == |
62 (int)PROGRESS_EVENT, ProgressEvent); | 62 (int)PROGRESS_EVENT, ProgressEvent); |
63 COMPILE_ASSERT((int)WebApplicationCacheHost::UpdateReadyEvent == | 63 COMPILE_ASSERT((int)WebApplicationCacheHost::UpdateReadyEvent == |
64 (int)UPDATE_READY_EVENT, UpdateReadyEvent); | 64 (int)UPDATE_READY_EVENT, UpdateReadyEvent); |
65 COMPILE_ASSERT((int)WebApplicationCacheHost::CachedEvent == | 65 COMPILE_ASSERT((int)WebApplicationCacheHost::CachedEvent == |
66 (int)CACHED_EVENT, CachedEvent); | 66 (int)CACHED_EVENT, CachedEvent); |
67 COMPILE_ASSERT((int)WebApplicationCacheHost::ObsoleteEvent == | 67 COMPILE_ASSERT((int)WebApplicationCacheHost::ObsoleteEvent == |
68 (int)OBSOLETE_EVENT, ObsoleteEvent); | 68 (int)OBSOLETE_EVENT, ObsoleteEvent); |
69 | 69 |
70 } // namespace | 70 } // namespace |
OLD | NEW |