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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseContext.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google, Inc. All Rights Reserved. 3 * Copyright (C) 2011 Google, Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 23 matching lines...) Expand all
34 namespace blink { 34 namespace blink {
35 35
36 class DatabaseContext; 36 class DatabaseContext;
37 class DatabaseThread; 37 class DatabaseThread;
38 class ExecutionContext; 38 class ExecutionContext;
39 class SecurityOrigin; 39 class SecurityOrigin;
40 40
41 class DatabaseContext final 41 class DatabaseContext final
42 : public GarbageCollectedFinalized<DatabaseContext> 42 : public GarbageCollectedFinalized<DatabaseContext>
43 , public ActiveDOMObject { 43 , public ActiveDOMObject {
44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DatabaseContext); 44 USING_GARBAGE_COLLECTED_MIXIN(DatabaseContext);
45 public: 45 public:
46 friend class DatabaseManager; 46 friend class DatabaseManager;
47 47
48 static DatabaseContext* create(ExecutionContext*); 48 static DatabaseContext* create(ExecutionContext*);
49 49
50 ~DatabaseContext() override; 50 ~DatabaseContext() override;
51 DECLARE_VIRTUAL_TRACE(); 51 DECLARE_VIRTUAL_TRACE();
52 52
53 // For life-cycle management (inherited from ActiveDOMObject): 53 // For life-cycle management (inherited from ActiveDOMObject):
54 void contextDestroyed() override; 54 void contextDestroyed() override;
(...skipping 16 matching lines...) Expand all
71 explicit DatabaseContext(ExecutionContext*); 71 explicit DatabaseContext(ExecutionContext*);
72 72
73 Member<DatabaseThread> m_databaseThread; 73 Member<DatabaseThread> m_databaseThread;
74 bool m_hasOpenDatabases; // This never changes back to false, even after the database thread is closed. 74 bool m_hasOpenDatabases; // This never changes back to false, even after the database thread is closed.
75 bool m_hasRequestedTermination; 75 bool m_hasRequestedTermination;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // DatabaseContext_h 80 #endif // DatabaseContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698