| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2009, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 const String& error_url, | 149 const String& error_url, |
| 150 int error_status, | 150 int error_status, |
| 151 const String& error_message); | 151 const String& error_message); |
| 152 | 152 |
| 153 void | 153 void |
| 154 StopDeferringEvents(); // Also raises the events that have been queued up. | 154 StopDeferringEvents(); // Also raises the events that have been queued up. |
| 155 | 155 |
| 156 void FillResourceList(ResourceInfoList*); | 156 void FillResourceList(ResourceInfoList*); |
| 157 CacheInfo ApplicationCacheInfo(); | 157 CacheInfo ApplicationCacheInfo(); |
| 158 | 158 |
| 159 int GetHostID() const; |
| 160 |
| 159 DECLARE_TRACE(); | 161 DECLARE_TRACE(); |
| 160 | 162 |
| 161 private: | 163 private: |
| 162 explicit ApplicationCacheHost(DocumentLoader*); | 164 explicit ApplicationCacheHost(DocumentLoader*); |
| 163 | 165 |
| 164 void WillStartLoadingMainResource(ResourceRequest&); | 166 void WillStartLoadingMainResource(ResourceRequest&); |
| 165 void WillStartLoadingResource(ResourceRequest&); | 167 void WillStartLoadingResource(ResourceRequest&); |
| 166 | 168 |
| 167 // WebApplicationCacheHostClient implementation | 169 // WebApplicationCacheHostClient implementation |
| 168 void DidChangeCacheAssociation() final; | 170 void DidChangeCacheAssociation() final; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 219 |
| 218 std::unique_ptr<WebApplicationCacheHost> host_; | 220 std::unique_ptr<WebApplicationCacheHost> host_; |
| 219 | 221 |
| 220 FRIEND_TEST_ALL_PREFIXES(DocumentTest, SandboxDisablesAppCache); | 222 FRIEND_TEST_ALL_PREFIXES(DocumentTest, SandboxDisablesAppCache); |
| 221 FRIEND_TEST_ALL_PREFIXES(DocumentTest, SuboriginDisablesAppCache); | 223 FRIEND_TEST_ALL_PREFIXES(DocumentTest, SuboriginDisablesAppCache); |
| 222 }; | 224 }; |
| 223 | 225 |
| 224 } // namespace blink | 226 } // namespace blink |
| 225 | 227 |
| 226 #endif // ApplicationCacheHost_h | 228 #endif // ApplicationCacheHost_h |
| OLD | NEW |