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

Side by Side Diff: Source/modules/webdatabase/DatabaseManager.h

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #if ENABLE(ASSERT) 57 #if ENABLE(ASSERT)
58 void didConstructDatabaseContext(); 58 void didConstructDatabaseContext();
59 void didDestructDatabaseContext(); 59 void didDestructDatabaseContext();
60 #else 60 #else
61 void didConstructDatabaseContext() { } 61 void didConstructDatabaseContext() { }
62 void didDestructDatabaseContext() { } 62 void didDestructDatabaseContext() { }
63 #endif 63 #endif
64 64
65 static void throwExceptionForDatabaseError(DatabaseError, const String& erro rMessage, ExceptionState&); 65 static void throwExceptionForDatabaseError(DatabaseError, const String& erro rMessage, ExceptionState&);
66 66
67 PassRefPtrWillBeRawPtr<Database> openDatabase(ExecutionContext*, const Strin g& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize, PassOwnPtrWillBeRawPtr<DatabaseCallback>, DatabaseError&, String & errorMessage); 67 PassRefPtrWillBeRawPtr<Database> openDatabase(ExecutionContext*, const Strin g& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize, DatabaseCallback*, DatabaseError&, String& errorMessage);
68 68
69 String fullPathForDatabase(SecurityOrigin*, const String& name, bool createI fDoesNotExist = true); 69 String fullPathForDatabase(SecurityOrigin*, const String& name, bool createI fDoesNotExist = true);
70 70
71 private: 71 private:
72 DatabaseManager(); 72 DatabaseManager();
73 ~DatabaseManager(); 73 ~DatabaseManager();
74 74
75 // This gets a DatabaseContext for the specified ExecutionContext. 75 // This gets a DatabaseContext for the specified ExecutionContext.
76 // If one doesn't already exist, it will create a new one. 76 // If one doesn't already exist, it will create a new one.
77 DatabaseContext* databaseContextFor(ExecutionContext*); 77 DatabaseContext* databaseContextFor(ExecutionContext*);
(...skipping 11 matching lines...) Expand all
89 ContextMap m_contextMap; 89 ContextMap m_contextMap;
90 #if ENABLE(ASSERT) 90 #if ENABLE(ASSERT)
91 int m_databaseContextRegisteredCount; 91 int m_databaseContextRegisteredCount;
92 int m_databaseContextInstanceCount; 92 int m_databaseContextInstanceCount;
93 #endif 93 #endif
94 }; 94 };
95 95
96 } // namespace blink 96 } // namespace blink
97 97
98 #endif // DatabaseManager_h 98 #endif // DatabaseManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698