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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: added class-level comment Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h b/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h
index 8e552f0ccb37d88ca97357b7e75d27f54a461eeb..79239d2d37a267b840345699446849d2230a3c85 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h
@@ -44,19 +44,20 @@ class ExecutionContext;
class InspectorDatabaseAgent;
class Page;
-class MODULES_EXPORT DatabaseClient : public Supplement<Page> {
+class MODULES_EXPORT DatabaseClient : public GarbageCollected<DatabaseClient>,
+ public Supplement<Page> {
+ USING_GARBAGE_COLLECTED_MIXIN(DatabaseClient);
WTF_MAKE_NONCOPYABLE(DatabaseClient);
public:
DatabaseClient();
- virtual ~DatabaseClient() {}
DECLARE_VIRTUAL_TRACE();
- virtual bool allowDatabase(ExecutionContext*,
- const String& name,
- const String& displayName,
- unsigned estimatedSize) = 0;
+ bool allowDatabase(ExecutionContext*,
+ const String& name,
+ const String& displayName,
+ unsigned estimatedSize);
void didOpenDatabase(Database*,
const String& domain,

Powered by Google App Engine
This is Rietveld 408576698