Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef InspectorIndexedDBAgent_h 31 #ifndef InspectorIndexedDBAgent_h
32 #define InspectorIndexedDBAgent_h 32 #define InspectorIndexedDBAgent_h
33 33
34 #include "core/inspector/InspectorBaseAgent.h" 34 #include "core/inspector/InspectorBaseAgent.h"
35 #include "core/inspector/protocol/IndexedDB.h" 35 #include "core/inspector/protocol/IndexedDB.h"
36 #include "modules/ModulesExport.h" 36 #include "modules/ModulesExport.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace v8_inspector {
40 class V8InspectorSession;
41 }
42
39 namespace blink { 43 namespace blink {
40 44
41 class InspectedFrames; 45 class InspectedFrames;
42 class V8InspectorSession;
43 46
44 class MODULES_EXPORT InspectorIndexedDBAgent final : public InspectorBaseAgent<p rotocol::IndexedDB::Metainfo> { 47 class MODULES_EXPORT InspectorIndexedDBAgent final : public InspectorBaseAgent<p rotocol::IndexedDB::Metainfo> {
45 public: 48 public:
46 InspectorIndexedDBAgent(InspectedFrames*, V8InspectorSession*); 49 InspectorIndexedDBAgent(InspectedFrames*, v8_inspector::V8InspectorSession*) ;
47 ~InspectorIndexedDBAgent() override; 50 ~InspectorIndexedDBAgent() override;
48 DECLARE_VIRTUAL_TRACE(); 51 DECLARE_VIRTUAL_TRACE();
49 52
50 void restore() override; 53 void restore() override;
51 void didCommitLoadForLocalFrame(LocalFrame*) override; 54 void didCommitLoadForLocalFrame(LocalFrame*) override;
52 55
53 // Called from the front-end. 56 // Called from the front-end.
54 void enable(ErrorString*) override; 57 void enable(ErrorString*) override;
55 void disable(ErrorString*) override; 58 void disable(ErrorString*) override;
56 void requestDatabaseNames(const String& securityOrigin, std::unique_ptr<Requ estDatabaseNamesCallback>) override; 59 void requestDatabaseNames(const String& securityOrigin, std::unique_ptr<Requ estDatabaseNamesCallback>) override;
57 void requestDatabase(const String& securityOrigin, const String& databaseNam e, std::unique_ptr<RequestDatabaseCallback>) override; 60 void requestDatabase(const String& securityOrigin, const String& databaseNam e, std::unique_ptr<RequestDatabaseCallback>) override;
58 void requestData(const String& securityOrigin, const String& databaseName, c onst String& objectStoreName, const String& indexName, int skipCount, int pageSi ze, const Maybe<protocol::IndexedDB::KeyRange>&, std::unique_ptr<RequestDataCall back>) override; 61 void requestData(const String& securityOrigin, const String& databaseName, c onst String& objectStoreName, const String& indexName, int skipCount, int pageSi ze, const Maybe<protocol::IndexedDB::KeyRange>&, std::unique_ptr<RequestDataCall back>) override;
59 void clearObjectStore(const String& securityOrigin, const String& databaseNa me, const String& objectStoreName, std::unique_ptr<ClearObjectStoreCallback>) ov erride; 62 void clearObjectStore(const String& securityOrigin, const String& databaseNa me, const String& objectStoreName, std::unique_ptr<ClearObjectStoreCallback>) ov erride;
60 63
61 private: 64 private:
62 Member<InspectedFrames> m_inspectedFrames; 65 Member<InspectedFrames> m_inspectedFrames;
63 V8InspectorSession* m_v8Session; 66 v8_inspector::V8InspectorSession* m_v8Session;
64 }; 67 };
65 68
66 } // namespace blink 69 } // namespace blink
67 70
68 #endif // !defined(InspectorIndexedDBAgent_h) 71 #endif // !defined(InspectorIndexedDBAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698