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

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

Issue 1752213003: DevTools: migrate protocol dispatcher off RefPtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 9 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 static PassOwnPtrWillBeRawPtr<InspectorIndexedDBAgent> create(InspectedFrame s*); 47 static PassOwnPtrWillBeRawPtr<InspectorIndexedDBAgent> create(InspectedFrame s*);
48 48
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 53
54 // Called from the front-end. 54 // Called from the front-end.
55 void enable(ErrorString*) override; 55 void enable(ErrorString*) override;
56 void disable(ErrorString*) override; 56 void disable(ErrorString*) override;
57 void requestDatabaseNames(ErrorString*, const String& securityOrigin, PassRe fPtr<RequestDatabaseNamesCallback>) override; 57 void requestDatabaseNames(ErrorString*, const String& securityOrigin, PassOw nPtr<RequestDatabaseNamesCallback>) override;
58 void requestDatabase(ErrorString*, const String& securityOrigin, const Strin g& databaseName, PassRefPtr<RequestDatabaseCallback>) override; 58 void requestDatabase(ErrorString*, const String& securityOrigin, const Strin g& databaseName, PassOwnPtr<RequestDatabaseCallback>) override;
59 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>&, PassRefPtr<Reques tDataCallback>) override; 59 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;
60 void clearObjectStore(ErrorString*, const String& securityOrigin, const Stri ng& databaseName, const String& objectStoreName, PassRefPtr<ClearObjectStoreCall back>) override; 60 void clearObjectStore(ErrorString*, const String& securityOrigin, const Stri ng& databaseName, const String& objectStoreName, PassOwnPtr<ClearObjectStoreCall back>) override;
61 61
62 private: 62 private:
63 explicit InspectorIndexedDBAgent(InspectedFrames*); 63 explicit InspectorIndexedDBAgent(InspectedFrames*);
64 64
65 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; 65 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
66 }; 66 };
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // !defined(InspectorIndexedDBAgent_h) 70 #endif // !defined(InspectorIndexedDBAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698