OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void updateApplicationCacheStatus(LocalFrame*); | 59 void updateApplicationCacheStatus(LocalFrame*); |
60 void networkStateChanged(LocalFrame*, bool online); | 60 void networkStateChanged(LocalFrame*, bool online); |
61 | 61 |
62 // ApplicationCache API for InspectorFrontend | 62 // ApplicationCache API for InspectorFrontend |
63 void enable(ErrorString*) override; | 63 void enable(ErrorString*) override; |
64 void getFramesWithManifests(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuil
der::ApplicationCache::FrameWithManifest>>& result) override; | 64 void getFramesWithManifests(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuil
der::ApplicationCache::FrameWithManifest>>& result) override; |
65 void getManifestForFrame(ErrorString*, const String& frameId, String* manife
stURL) override; | 65 void getManifestForFrame(ErrorString*, const String& frameId, String* manife
stURL) override; |
66 void getApplicationCacheForFrame(ErrorString*, const String& frameId, RefPtr
<TypeBuilder::ApplicationCache::ApplicationCache>&) override; | 66 void getApplicationCacheForFrame(ErrorString*, const String& frameId, RefPtr
<TypeBuilder::ApplicationCache::ApplicationCache>&) override; |
67 | 67 |
68 private: | 68 private: |
69 InspectorApplicationCacheAgent(InspectedFrames*); | 69 explicit InspectorApplicationCacheAgent(InspectedFrames*); |
| 70 |
70 PassRefPtr<TypeBuilder::ApplicationCache::ApplicationCache> buildObjectForAp
plicationCache(const ApplicationCacheHost::ResourceInfoList&, const ApplicationC
acheHost::CacheInfo&); | 71 PassRefPtr<TypeBuilder::ApplicationCache::ApplicationCache> buildObjectForAp
plicationCache(const ApplicationCacheHost::ResourceInfoList&, const ApplicationC
acheHost::CacheInfo&); |
71 PassRefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCach
eResource> > buildArrayForApplicationCacheResources(const ApplicationCacheHost::
ResourceInfoList&); | 72 PassRefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCach
eResource> > buildArrayForApplicationCacheResources(const ApplicationCacheHost::
ResourceInfoList&); |
72 PassRefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> buildObj
ectForApplicationCacheResource(const ApplicationCacheHost::ResourceInfo&); | 73 PassRefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> buildObj
ectForApplicationCacheResource(const ApplicationCacheHost::ResourceInfo&); |
73 | 74 |
74 DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId); | 75 DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId); |
75 | 76 |
76 InspectedFrames* m_inspectedFrames; | 77 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; |
77 }; | 78 }; |
78 | 79 |
79 } // namespace blink | 80 } // namespace blink |
80 | 81 |
81 #endif // InspectorApplicationCacheAgent_h | 82 #endif // InspectorApplicationCacheAgent_h |
OLD | NEW |