| 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 15 matching lines...) Expand all Loading... |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 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 "platform/wtf/HashMap.h" |
| 37 #include "wtf/Noncopyable.h" | 37 #include "platform/wtf/Noncopyable.h" |
| 38 #include "wtf/text/WTFString.h" | 38 #include "platform/wtf/text/WTFString.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class Database; | 42 class Database; |
| 43 class InspectorDatabaseResource; | 43 class InspectorDatabaseResource; |
| 44 class Page; | 44 class Page; |
| 45 | 45 |
| 46 class MODULES_EXPORT InspectorDatabaseAgent final | 46 class MODULES_EXPORT InspectorDatabaseAgent final |
| 47 : public InspectorBaseAgent<protocol::Database::Metainfo> { | 47 : public InspectorBaseAgent<protocol::Database::Metainfo> { |
| 48 WTF_MAKE_NONCOPYABLE(InspectorDatabaseAgent); | 48 WTF_MAKE_NONCOPYABLE(InspectorDatabaseAgent); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 Member<Page> page_; | 82 Member<Page> page_; |
| 83 typedef HeapHashMap<String, Member<InspectorDatabaseResource>> | 83 typedef HeapHashMap<String, Member<InspectorDatabaseResource>> |
| 84 DatabaseResourcesHeapMap; | 84 DatabaseResourcesHeapMap; |
| 85 DatabaseResourcesHeapMap resources_; | 85 DatabaseResourcesHeapMap resources_; |
| 86 bool enabled_; | 86 bool enabled_; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace blink | 89 } // namespace blink |
| 90 | 90 |
| 91 #endif // !defined(InspectorDatabaseAgent_h) | 91 #endif // !defined(InspectorDatabaseAgent_h) |
| OLD | NEW |