| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2012 Google Inc. All rights reserved. | 2  * Copyright (C) 2012 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 are | 5  * modification, are permitted provided that the following conditions are | 
| 6  * met: | 6  * met: | 
| 7  * | 7  * | 
| 8  *     * Redistributions of source code must retain the above copyright | 8  *     * 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  *     * Redistributions in binary form must reproduce the above | 10  *     * Redistributions in binary form must reproduce the above | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 46     : public InspectorBaseAgent<protocol::IndexedDB::Metainfo> { | 46     : public InspectorBaseAgent<protocol::IndexedDB::Metainfo> { | 
| 47  public: | 47  public: | 
| 48   InspectorIndexedDBAgent(InspectedFrames*, v8_inspector::V8InspectorSession*); | 48   InspectorIndexedDBAgent(InspectedFrames*, v8_inspector::V8InspectorSession*); | 
| 49   ~InspectorIndexedDBAgent() override; | 49   ~InspectorIndexedDBAgent() override; | 
| 50   DECLARE_VIRTUAL_TRACE(); | 50   DECLARE_VIRTUAL_TRACE(); | 
| 51 | 51 | 
| 52   void restore() override; | 52   void restore() override; | 
| 53   void didCommitLoadForLocalFrame(LocalFrame*) override; | 53   void didCommitLoadForLocalFrame(LocalFrame*) override; | 
| 54 | 54 | 
| 55   // Called from the front-end. | 55   // Called from the front-end. | 
| 56   void enable(ErrorString*) override; | 56   Response enable() override; | 
| 57   void disable(ErrorString*) override; | 57   Response disable() override; | 
| 58   void requestDatabaseNames( | 58   void requestDatabaseNames( | 
| 59       const String& securityOrigin, | 59       const String& securityOrigin, | 
| 60       std::unique_ptr<RequestDatabaseNamesCallback>) override; | 60       std::unique_ptr<RequestDatabaseNamesCallback>) override; | 
| 61   void requestDatabase(const String& securityOrigin, | 61   void requestDatabase(const String& securityOrigin, | 
| 62                        const String& databaseName, | 62                        const String& databaseName, | 
| 63                        std::unique_ptr<RequestDatabaseCallback>) override; | 63                        std::unique_ptr<RequestDatabaseCallback>) override; | 
| 64   void requestData(const String& securityOrigin, | 64   void requestData(const String& securityOrigin, | 
| 65                    const String& databaseName, | 65                    const String& databaseName, | 
| 66                    const String& objectStoreName, | 66                    const String& objectStoreName, | 
| 67                    const String& indexName, | 67                    const String& indexName, | 
| 68                    int skipCount, | 68                    int skipCount, | 
| 69                    int pageSize, | 69                    int pageSize, | 
| 70                    const Maybe<protocol::IndexedDB::KeyRange>&, | 70                    Maybe<protocol::IndexedDB::KeyRange>, | 
| 71                    std::unique_ptr<RequestDataCallback>) override; | 71                    std::unique_ptr<RequestDataCallback>) override; | 
| 72   void clearObjectStore(const String& securityOrigin, | 72   void clearObjectStore(const String& securityOrigin, | 
| 73                         const String& databaseName, | 73                         const String& databaseName, | 
| 74                         const String& objectStoreName, | 74                         const String& objectStoreName, | 
| 75                         std::unique_ptr<ClearObjectStoreCallback>) override; | 75                         std::unique_ptr<ClearObjectStoreCallback>) override; | 
| 76 | 76 | 
| 77  private: | 77  private: | 
| 78   Member<InspectedFrames> m_inspectedFrames; | 78   Member<InspectedFrames> m_inspectedFrames; | 
| 79   v8_inspector::V8InspectorSession* m_v8Session; | 79   v8_inspector::V8InspectorSession* m_v8Session; | 
| 80 }; | 80 }; | 
| 81 | 81 | 
| 82 }  // namespace blink | 82 }  // namespace blink | 
| 83 | 83 | 
| 84 #endif  // !defined(InspectorIndexedDBAgent_h) | 84 #endif  // !defined(InspectorIndexedDBAgent_h) | 
| OLD | NEW | 
|---|