OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
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 21 matching lines...) Expand all Loading... |
32 #include "core/InspectorFrontend.h" | 32 #include "core/InspectorFrontend.h" |
33 #include "core/inspector/InspectorBaseAgent.h" | 33 #include "core/inspector/InspectorBaseAgent.h" |
34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
35 #include "wtf/HashMap.h" | 35 #include "wtf/HashMap.h" |
36 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class Database; | 41 class Database; |
42 class DocumentLoader; | |
43 class LocalFrame; | |
44 class InspectorDatabaseResource; | 42 class InspectorDatabaseResource; |
45 class InspectorFrontend; | 43 class InspectorFrontend; |
46 class InstrumentingAgents; | |
47 | 44 |
48 typedef String ErrorString; | 45 typedef String ErrorString; |
49 | 46 |
50 class InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabase
Agent>, public InspectorBackendDispatcher::DatabaseCommandHandler { | 47 class InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabase
Agent>, public InspectorBackendDispatcher::DatabaseCommandHandler { |
51 public: | 48 public: |
52 static PassOwnPtrWillBeRawPtr<InspectorDatabaseAgent> create() | 49 static PassOwnPtrWillBeRawPtr<InspectorDatabaseAgent> create() |
53 { | 50 { |
54 return adoptPtrWillBeNoop(new InspectorDatabaseAgent()); | 51 return adoptPtrWillBeNoop(new InspectorDatabaseAgent()); |
55 } | 52 } |
56 virtual ~InspectorDatabaseAgent(); | 53 virtual ~InspectorDatabaseAgent(); |
(...skipping 20 matching lines...) Expand all Loading... |
77 | 74 |
78 InspectorFrontend::Database* m_frontend; | 75 InspectorFrontend::Database* m_frontend; |
79 typedef PersistentHeapHashMapWillBeHeapHashMap<String, Member<InspectorDatab
aseResource> > DatabaseResourcesHeapMap; | 76 typedef PersistentHeapHashMapWillBeHeapHashMap<String, Member<InspectorDatab
aseResource> > DatabaseResourcesHeapMap; |
80 DatabaseResourcesHeapMap m_resources; | 77 DatabaseResourcesHeapMap m_resources; |
81 bool m_enabled; | 78 bool m_enabled; |
82 }; | 79 }; |
83 | 80 |
84 } // namespace blink | 81 } // namespace blink |
85 | 82 |
86 #endif // !defined(InspectorDatabaseAgent_h) | 83 #endif // !defined(InspectorDatabaseAgent_h) |
OLD | NEW |