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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseManager.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, 10 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 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 Database* openDatabaseInternal(ExecutionContext*, 81 Database* openDatabaseInternal(ExecutionContext*,
82 const String& name, const String& expectedVersion, const String& display Name, 82 const String& name, const String& expectedVersion, const String& display Name,
83 unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError &, String& errorMessage); 83 unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError &, String& errorMessage);
84 84
85 static void logErrorMessage(ExecutionContext*, const String& message); 85 static void logErrorMessage(ExecutionContext*, const String& message);
86 86
87 // m_contextMap can have two or more entries even though we don't support 87 // m_contextMap can have two or more entries even though we don't support
88 // Web SQL on workers because single Blink process can have multiple main 88 // Web SQL on workers because single Blink process can have multiple main
89 // contexts. 89 // contexts.
90 typedef PersistentHeapHashMap<RawPtrWillBeMember<ExecutionContext>, Member<D atabaseContext>> ContextMap; 90 typedef PersistentHeapHashMap<Member<ExecutionContext>, Member<DatabaseConte xt>> ContextMap;
91 ContextMap m_contextMap; 91 ContextMap m_contextMap;
92 #if ENABLE(ASSERT) 92 #if ENABLE(ASSERT)
93 int m_databaseContextRegisteredCount; 93 int m_databaseContextRegisteredCount;
94 int m_databaseContextInstanceCount; 94 int m_databaseContextInstanceCount;
95 #endif 95 #endif
96 }; 96 };
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // DatabaseManager_h 100 #endif // DatabaseManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698