Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 19 matching lines...) Expand all
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 InspectedFrames; 37 class InspectedFrames;
38 class InspectorFrontend; 38 class InspectorFrontend;
39 39
40 typedef String ErrorString;
41
42 class CORE_EXPORT InspectorApplicationCacheAgent final : public InspectorBaseAge nt<InspectorApplicationCacheAgent, protocol::Frontend::ApplicationCache>, public protocol::Dispatcher::ApplicationCacheCommandHandler { 40 class CORE_EXPORT InspectorApplicationCacheAgent final : public InspectorBaseAge nt<InspectorApplicationCacheAgent, protocol::Frontend::ApplicationCache>, public protocol::Dispatcher::ApplicationCacheCommandHandler {
43 WTF_MAKE_NONCOPYABLE(InspectorApplicationCacheAgent); 41 WTF_MAKE_NONCOPYABLE(InspectorApplicationCacheAgent);
44 USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorApplicationCacheAgent); 42 USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorApplicationCacheAgent);
45 public: 43 public:
46 static PassOwnPtrWillBeRawPtr<InspectorApplicationCacheAgent> create(Inspect edFrames* inspectedFrames) 44 static PassOwnPtrWillBeRawPtr<InspectorApplicationCacheAgent> create(Inspect edFrames* inspectedFrames)
47 { 45 {
48 return adoptPtrWillBeNoop(new InspectorApplicationCacheAgent(inspectedFr ames)); 46 return adoptPtrWillBeNoop(new InspectorApplicationCacheAgent(inspectedFr ames));
49 } 47 }
50 ~InspectorApplicationCacheAgent() override { } 48 ~InspectorApplicationCacheAgent() override { }
51 DECLARE_VIRTUAL_TRACE(); 49 DECLARE_VIRTUAL_TRACE();
(...skipping 20 matching lines...) Expand all
72 PassOwnPtr<protocol::ApplicationCache::ApplicationCacheResource> buildObject ForApplicationCacheResource(const ApplicationCacheHost::ResourceInfo&); 70 PassOwnPtr<protocol::ApplicationCache::ApplicationCacheResource> buildObject ForApplicationCacheResource(const ApplicationCacheHost::ResourceInfo&);
73 71
74 DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId); 72 DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId);
75 73
76 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; 74 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
77 }; 75 };
78 76
79 } // namespace blink 77 } // namespace blink
80 78
81 #endif // InspectorApplicationCacheAgent_h 79 #endif // InspectorApplicationCacheAgent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/DOMEditor.h ('k') | third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698