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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #ifndef InspectorDatabaseAgent_h | 29 #ifndef InspectorDatabaseAgent_h |
30 #define InspectorDatabaseAgent_h | 30 #define InspectorDatabaseAgent_h |
31 | 31 |
32 #include "core/inspector/InspectorBaseAgent.h" | 32 #include "core/inspector/InspectorBaseAgent.h" |
33 #include "core/inspector/protocol/Database.h" | 33 #include "core/inspector/protocol/Database.h" |
34 #include "modules/ModulesExport.h" | 34 #include "modules/ModulesExport.h" |
35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
36 #include "wtf/HashMap.h" | 36 #include "wtf/HashMap.h" |
37 #include "wtf/Noncopyable.h" | 37 #include "wtf/Noncopyable.h" |
| 38 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
39 | 40 |
40 namespace blink { | 41 namespace blink { |
41 | 42 |
42 class Database; | 43 class Database; |
43 class InspectorDatabaseResource; | 44 class InspectorDatabaseResource; |
44 class Page; | 45 class Page; |
45 | 46 |
46 | 47 |
47 class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<pr
otocol::Database::Metainfo> { | 48 class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<pr
otocol::Database::Metainfo> { |
(...skipping 25 matching lines...) Expand all Loading... |
73 | 74 |
74 Member<Page> m_page; | 75 Member<Page> m_page; |
75 typedef HeapHashMap<String, Member<InspectorDatabaseResource>> DatabaseResou
rcesHeapMap; | 76 typedef HeapHashMap<String, Member<InspectorDatabaseResource>> DatabaseResou
rcesHeapMap; |
76 DatabaseResourcesHeapMap m_resources; | 77 DatabaseResourcesHeapMap m_resources; |
77 bool m_enabled; | 78 bool m_enabled; |
78 }; | 79 }; |
79 | 80 |
80 } // namespace blink | 81 } // namespace blink |
81 | 82 |
82 #endif // !defined(InspectorDatabaseAgent_h) | 83 #endif // !defined(InspectorDatabaseAgent_h) |
OLD | NEW |