| 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 static InspectorIndexedDBAgent* create(InspectedFrames*); | 46 static InspectorIndexedDBAgent* create(InspectedFrames*); |
| 47 | 47 |
| 48 ~InspectorIndexedDBAgent() override; | 48 ~InspectorIndexedDBAgent() override; |
| 49 DECLARE_VIRTUAL_TRACE(); | 49 DECLARE_VIRTUAL_TRACE(); |
| 50 | 50 |
| 51 void restore() override; | 51 void restore() override; |
| 52 | 52 |
| 53 // Called from the front-end. | 53 // Called from the front-end. |
| 54 void enable(ErrorString*) override; | 54 void enable(ErrorString*) override; |
| 55 void disable(ErrorString*) override; | 55 void disable(ErrorString*) override; |
| 56 void requestDatabaseNames(ErrorString*, const String& securityOrigin, PassOw
nPtr<RequestDatabaseNamesCallback>) override; | 56 void requestDatabaseNames(ErrorString*, const String& securityOrigin, std::u
nique_ptr<RequestDatabaseNamesCallback>) override; |
| 57 void requestDatabase(ErrorString*, const String& securityOrigin, const Strin
g& databaseName, PassOwnPtr<RequestDatabaseCallback>) override; | 57 void requestDatabase(ErrorString*, const String& securityOrigin, const Strin
g& databaseName, std::unique_ptr<RequestDatabaseCallback>) override; |
| 58 void requestData(ErrorString*, const String& securityOrigin, const String& d
atabaseName, const String& objectStoreName, const String& indexName, int skipCou
nt, int pageSize, const Maybe<protocol::IndexedDB::KeyRange>&, PassOwnPtr<Reques
tDataCallback>) override; | 58 void requestData(ErrorString*, const String& securityOrigin, const String& d
atabaseName, const String& objectStoreName, const String& indexName, int skipCou
nt, int pageSize, const Maybe<protocol::IndexedDB::KeyRange>&, std::unique_ptr<R
equestDataCallback>) override; |
| 59 void clearObjectStore(ErrorString*, const String& securityOrigin, const Stri
ng& databaseName, const String& objectStoreName, PassOwnPtr<ClearObjectStoreCall
back>) override; | 59 void clearObjectStore(ErrorString*, const String& securityOrigin, const Stri
ng& databaseName, const String& objectStoreName, std::unique_ptr<ClearObjectStor
eCallback>) override; |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 explicit InspectorIndexedDBAgent(InspectedFrames*); | 62 explicit InspectorIndexedDBAgent(InspectedFrames*); |
| 63 | 63 |
| 64 Member<InspectedFrames> m_inspectedFrames; | 64 Member<InspectedFrames> m_inspectedFrames; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace blink | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // !defined(InspectorIndexedDBAgent_h) | 69 #endif // !defined(InspectorIndexedDBAgent_h) |
| OLD | NEW |