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 18 matching lines...) Expand all Loading... |
29 #ifndef InspectorDatabaseAgent_h | 29 #ifndef InspectorDatabaseAgent_h |
30 #define InspectorDatabaseAgent_h | 30 #define InspectorDatabaseAgent_h |
31 | 31 |
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 WebCore { | 39 namespace blink { |
40 | 40 |
41 class Database; | 41 class Database; |
42 class DocumentLoader; | 42 class DocumentLoader; |
43 class LocalFrame; | 43 class LocalFrame; |
44 class InspectorDatabaseResource; | 44 class InspectorDatabaseResource; |
45 class InspectorFrontend; | 45 class InspectorFrontend; |
46 class InstrumentingAgents; | 46 class InstrumentingAgents; |
47 | 47 |
48 typedef String ErrorString; | 48 typedef String ErrorString; |
49 | 49 |
(...skipping 23 matching lines...) Expand all Loading... |
73 | 73 |
74 Database* databaseForId(const String& databaseId); | 74 Database* databaseForId(const String& databaseId); |
75 InspectorDatabaseResource* findByFileName(const String& fileName); | 75 InspectorDatabaseResource* findByFileName(const String& fileName); |
76 | 76 |
77 InspectorFrontend::Database* m_frontend; | 77 InspectorFrontend::Database* m_frontend; |
78 typedef WillBePersistentHeapHashMap<String, RefPtrWillBeMember<InspectorData
baseResource> > DatabaseResourcesHeapMap; | 78 typedef WillBePersistentHeapHashMap<String, RefPtrWillBeMember<InspectorData
baseResource> > DatabaseResourcesHeapMap; |
79 DatabaseResourcesHeapMap m_resources; | 79 DatabaseResourcesHeapMap m_resources; |
80 bool m_enabled; | 80 bool m_enabled; |
81 }; | 81 }; |
82 | 82 |
83 } // namespace WebCore | 83 } // namespace blink |
84 | 84 |
85 #endif // !defined(InspectorDatabaseAgent_h) | 85 #endif // !defined(InspectorDatabaseAgent_h) |
OLD | NEW |