| 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 18 matching lines...) Expand all Loading... |
| 29 #include "core/inspector/InspectorBaseAgent.h" | 29 #include "core/inspector/InspectorBaseAgent.h" |
| 30 #include "core/loader/appcache/ApplicationCacheHost.h" | 30 #include "core/loader/appcache/ApplicationCacheHost.h" |
| 31 #include "wtf/Noncopyable.h" | 31 #include "wtf/Noncopyable.h" |
| 32 #include "wtf/PassOwnPtr.h" | 32 #include "wtf/PassOwnPtr.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class LocalFrame; | 36 class LocalFrame; |
| 37 class InspectorFrontend; | 37 class InspectorFrontend; |
| 38 class InspectorPageAgent; | 38 class InspectorPageAgent; |
| 39 class InstrumentingAgents; | |
| 40 | 39 |
| 41 typedef String ErrorString; | 40 typedef String ErrorString; |
| 42 | 41 |
| 43 class InspectorApplicationCacheAgent final : public InspectorBaseAgent<Inspector
ApplicationCacheAgent>, public InspectorBackendDispatcher::ApplicationCacheComma
ndHandler { | 42 class InspectorApplicationCacheAgent final : public InspectorBaseAgent<Inspector
ApplicationCacheAgent>, public InspectorBackendDispatcher::ApplicationCacheComma
ndHandler { |
| 44 WTF_MAKE_NONCOPYABLE(InspectorApplicationCacheAgent); | 43 WTF_MAKE_NONCOPYABLE(InspectorApplicationCacheAgent); |
| 45 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 44 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 46 public: | 45 public: |
| 47 static PassOwnPtrWillBeRawPtr<InspectorApplicationCacheAgent> create(Inspect
orPageAgent* pageAgent) | 46 static PassOwnPtrWillBeRawPtr<InspectorApplicationCacheAgent> create(Inspect
orPageAgent* pageAgent) |
| 48 { | 47 { |
| 49 return adoptPtrWillBeNoop(new InspectorApplicationCacheAgent(pageAgent))
; | 48 return adoptPtrWillBeNoop(new InspectorApplicationCacheAgent(pageAgent))
; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 74 | 73 |
| 75 DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId); | 74 DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId); |
| 76 | 75 |
| 77 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 76 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
| 78 InspectorFrontend::ApplicationCache* m_frontend; | 77 InspectorFrontend::ApplicationCache* m_frontend; |
| 79 }; | 78 }; |
| 80 | 79 |
| 81 } // namespace blink | 80 } // namespace blink |
| 82 | 81 |
| 83 #endif // InspectorApplicationCacheAgent_h | 82 #endif // InspectorApplicationCacheAgent_h |
| OLD | NEW |