| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "ApplicationCacheHost.h" | 29 #include "ApplicationCacheHost.h" |
| 30 #include "DocumentLoader.h" | 30 #include "DocumentLoader.h" |
| 31 #include "Frame.h" | 31 #include "Frame.h" |
| 32 #include "FrameLoader.h" | 32 #include "FrameLoader.h" |
| 33 #include "InspectorAgent.h" | 33 #include "InspectorAgent.h" |
| 34 #include "InspectorFrontend.h" | 34 #include "InspectorFrontend.h" |
| 35 #include "InspectorPageAgent.h" | 35 #include "InspectorPageAgent.h" |
| 36 #include "InspectorState.h" | 36 #include "InspectorState.h" |
| 37 #include "InspectorValues.h" | 37 #include "InspectorValues.h" |
| 38 #include "InstrumentingAgents.h" | 38 #include "InstrumentingAgents.h" |
| 39 #include "NetworkStateNotifier.h" | |
| 40 #include "Page.h" | 39 #include "Page.h" |
| 41 #include "ResourceResponse.h" | 40 #include "core/platform/network/NetworkStateNotifier.h" |
| 41 #include "core/platform/network/ResourceResponse.h" |
| 42 | 42 |
| 43 namespace WebCore { | 43 namespace WebCore { |
| 44 | 44 |
| 45 namespace ApplicationCacheAgentState { | 45 namespace ApplicationCacheAgentState { |
| 46 static const char applicationCacheAgentEnabled[] = "applicationCacheAgentEnabled
"; | 46 static const char applicationCacheAgentEnabled[] = "applicationCacheAgentEnabled
"; |
| 47 } | 47 } |
| 48 | 48 |
| 49 InspectorApplicationCacheAgent::InspectorApplicationCacheAgent(InstrumentingAgen
ts* instrumentingAgents, InspectorCompositeState* state, InspectorPageAgent* pag
eAgent) | 49 InspectorApplicationCacheAgent::InspectorApplicationCacheAgent(InstrumentingAgen
ts* instrumentingAgents, InspectorCompositeState* state, InspectorPageAgent* pag
eAgent) |
| 50 : InspectorBaseAgent<InspectorApplicationCacheAgent>("ApplicationCache", ins
trumentingAgents, state) | 50 : InspectorBaseAgent<InspectorApplicationCacheAgent>("ApplicationCache", ins
trumentingAgents, state) |
| 51 , m_pageAgent(pageAgent) | 51 , m_pageAgent(pageAgent) |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 RefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> value = Type
Builder::ApplicationCache::ApplicationCacheResource::create() | 202 RefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> value = Type
Builder::ApplicationCache::ApplicationCacheResource::create() |
| 203 .setUrl(resourceInfo.m_resource.string()) | 203 .setUrl(resourceInfo.m_resource.string()) |
| 204 .setSize(static_cast<int>(resourceInfo.m_size)) | 204 .setSize(static_cast<int>(resourceInfo.m_size)) |
| 205 .setType(types); | 205 .setType(types); |
| 206 return value; | 206 return value; |
| 207 } | 207 } |
| 208 | 208 |
| 209 } // namespace WebCore | 209 } // namespace WebCore |
| 210 | 210 |
| OLD | NEW |